@satoshibits/react-json-schema-builder 1.0.3 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs100.js.map +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs101.js.map +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs102.js.map +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs103.js.map +1 -1
- package/dist/index.cjs104.js +2 -0
- package/dist/index.cjs104.js.map +1 -0
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs19.js.map +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs2.js.map +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs22.js +1 -6
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs23.js +2 -2
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs24.js +2 -2
- package/dist/index.cjs24.js.map +1 -1
- package/dist/index.cjs25.js +2 -2
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs26.js +2 -2
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs27.js +6 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs29.js +1 -6
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs3.js.map +1 -1
- package/dist/index.cjs30.js +6 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs35.js.map +1 -1
- package/dist/index.cjs36.js +1 -6
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs37.js +1 -6
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs38.js +1 -6
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs44.js +6 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs45.js +6 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js +6 -7
- package/dist/index.cjs46.js.map +1 -1
- package/dist/index.cjs47.js +7 -1
- package/dist/index.cjs47.js.map +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs48.js.map +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs49.js.map +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs50.js +1 -6
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs51.js +2 -2
- package/dist/index.cjs51.js.map +1 -1
- package/dist/index.cjs52.js +2 -2
- package/dist/index.cjs52.js.map +1 -1
- package/dist/index.cjs53.js +2 -2
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js +6 -5
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js +5 -1
- package/dist/index.cjs55.js.map +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs56.js.map +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs58.js.map +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs59.js.map +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs60.js.map +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs61.js.map +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs72.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs84.js.map +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs85.js.map +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs86.js.map +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs87.js.map +1 -1
- package/dist/index.cjs88.js +1 -4
- package/dist/index.cjs88.js.map +1 -1
- package/dist/index.cjs89.js +4 -1
- package/dist/index.cjs89.js.map +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs9.js.map +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs90.js.map +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs91.js.map +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs92.js.map +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs93.js.map +1 -1
- package/dist/index.cjs94.js +1 -38
- package/dist/index.cjs94.js.map +1 -1
- package/dist/index.cjs95.js +38 -1
- package/dist/index.cjs95.js.map +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs96.js.map +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs97.js.map +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs98.js.map +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.cjs99.js.map +1 -1
- package/dist/index.es10.js +22 -46
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es100.js +23 -13
- package/dist/index.es100.js.map +1 -1
- package/dist/index.es101.js +20 -25
- package/dist/index.es101.js.map +1 -1
- package/dist/index.es102.js +12 -4
- package/dist/index.es102.js.map +1 -1
- package/dist/index.es103.js +25 -20
- package/dist/index.es103.js.map +1 -1
- package/dist/index.es104.js +8 -0
- package/dist/index.es104.js.map +1 -0
- package/dist/index.es11.js +38 -57
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es12.js +58 -21
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es13.js +21 -126
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es14.js +125 -11
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es15.js +17 -132
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es16.js +130 -133
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es17.js +114 -40
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es18.js +62 -9
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es19.js +11 -23
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es2.js +95 -85
- package/dist/index.es2.js.map +1 -1
- package/dist/index.es20.js +20 -422
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es21.js +424 -5
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es22.js +6 -13
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es23.js +7 -10
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es24.js +10 -7
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es25.js +6 -12
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es26.js +13 -4
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +10 -19
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +18 -22
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +23 -13
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +167 -176
- package/dist/index.es3.js.map +1 -1
- package/dist/index.es30.js +13 -17
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +17 -15
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +13 -2475
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +2472 -36
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +41 -33
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +32 -831
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +116 -10
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +114 -10
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +56 -10
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +20 -112
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +1 -1
- package/dist/index.es40.js +42 -111
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +84 -54
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +57 -21
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +827 -40
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +10 -86
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +10 -60
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +10 -123
- package/dist/index.es46.js.map +1 -1
- package/dist/index.es47.js +122 -62
- package/dist/index.es47.js.map +1 -1
- package/dist/index.es48.js +62 -7
- package/dist/index.es48.js.map +1 -1
- package/dist/index.es49.js +7 -4
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es5.js +7 -7
- package/dist/index.es50.js +5 -21
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +15 -3
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js +3 -32
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +32 -12
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +17 -254
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +251 -18
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +21 -3
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es58.js +25 -44
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js +62 -23
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js +6 -6
- package/dist/index.es60.js +27 -63
- package/dist/index.es60.js.map +1 -1
- package/dist/index.es61.js +5 -7
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js +23 -123
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +32 -14
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +3 -133
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +45 -10
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +7 -215
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +124 -12
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +14 -32
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +133 -7
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es7.js +6 -6
- package/dist/index.es70.js +10 -29
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +215 -3
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +13 -6
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +7 -27
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +3 -49
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +28 -9
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +50 -25
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +9 -68
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +67 -11
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +10 -203
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es8.js +7 -7
- package/dist/index.es80.js +203 -20
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +21 -392
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +390 -22
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +24 -28
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es84.js +29 -5
- package/dist/index.es84.js.map +1 -1
- package/dist/index.es85.js +5 -5
- package/dist/index.es85.js.map +1 -1
- package/dist/index.es86.js +5 -3
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js +3 -24
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js +22 -108
- package/dist/index.es88.js.map +1 -1
- package/dist/index.es89.js +108 -14
- package/dist/index.es89.js.map +1 -1
- package/dist/index.es9.js +3 -22
- package/dist/index.es9.js.map +1 -1
- package/dist/index.es90.js +14 -521
- package/dist/index.es90.js.map +1 -1
- package/dist/index.es91.js +509 -113
- package/dist/index.es91.js.map +1 -1
- package/dist/index.es92.js +121 -123
- package/dist/index.es92.js.map +1 -1
- package/dist/index.es93.js +125 -61
- package/dist/index.es93.js.map +1 -1
- package/dist/index.es94.js +65 -69
- package/dist/index.es94.js.map +1 -1
- package/dist/index.es95.js +68 -8
- package/dist/index.es95.js.map +1 -1
- package/dist/index.es96.js +9 -14
- package/dist/index.es96.js.map +1 -1
- package/dist/index.es97.js +14 -62
- package/dist/index.es97.js.map +1 -1
- package/dist/index.es98.js +62 -4
- package/dist/index.es98.js.map +1 -1
- package/dist/index.es99.js +3 -22
- package/dist/index.es99.js.map +1 -1
- package/dist/packages/builder/context.d.ts +14 -1
- package/dist/packages/builder/context.d.ts.map +1 -1
- package/dist/packages/builder/schema-builder.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.es47.js
CHANGED
|
@@ -1,66 +1,126 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { createContextScope as O } from "./index.es59.js";
|
|
3
|
+
import { useComposedRefs as u } from "./index.es58.js";
|
|
4
|
+
import { createDialogScope as A, Root as b, WarningProvider as w, Content as M, Title as x, Description as I, Close as v, Portal as L, Overlay as $, Trigger as F } from "./index.es55.js";
|
|
5
|
+
import { composeEventHandlers as G } from "./index.es57.js";
|
|
6
|
+
import { Slottable as j } from "./index.es34.js";
|
|
7
|
+
import { jsx as i, jsxs as W } from "react/jsx-runtime";
|
|
8
|
+
var f = "AlertDialog", [Y, re] = O(f, [
|
|
9
|
+
A
|
|
10
|
+
]), n = A(), D = (e) => {
|
|
11
|
+
const { __scopeAlertDialog: o, ...r } = e, t = n(o);
|
|
12
|
+
return /* @__PURE__ */ i(b, { ...t, ...r, modal: !0 });
|
|
13
|
+
};
|
|
14
|
+
D.displayName = f;
|
|
15
|
+
var q = "AlertDialogTrigger", B = l.forwardRef(
|
|
16
|
+
(e, o) => {
|
|
17
|
+
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
18
|
+
return /* @__PURE__ */ i(F, { ...a, ...t, ref: o });
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
B.displayName = q;
|
|
22
|
+
var H = "AlertDialogPortal", m = (e) => {
|
|
23
|
+
const { __scopeAlertDialog: o, ...r } = e, t = n(o);
|
|
24
|
+
return /* @__PURE__ */ i(L, { ...t, ...r });
|
|
25
|
+
};
|
|
26
|
+
m.displayName = H;
|
|
27
|
+
var V = "AlertDialogOverlay", y = l.forwardRef(
|
|
28
|
+
(e, o) => {
|
|
29
|
+
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
30
|
+
return /* @__PURE__ */ i($, { ...a, ...t, ref: o });
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
y.displayName = V;
|
|
34
|
+
var s = "AlertDialogContent", [k, z] = Y(s), _ = l.forwardRef(
|
|
35
|
+
(e, o) => {
|
|
36
|
+
const { __scopeAlertDialog: r, children: t, ...a } = e, d = n(r), p = l.useRef(null), T = u(o, p), g = l.useRef(null);
|
|
37
|
+
return /* @__PURE__ */ i(
|
|
38
|
+
w,
|
|
39
|
+
{
|
|
40
|
+
contentName: s,
|
|
41
|
+
titleName: N,
|
|
42
|
+
docsSlug: "alert-dialog",
|
|
43
|
+
children: /* @__PURE__ */ i(k, { scope: r, cancelRef: g, children: /* @__PURE__ */ W(
|
|
44
|
+
M,
|
|
45
|
+
{
|
|
46
|
+
role: "alertdialog",
|
|
47
|
+
...d,
|
|
48
|
+
...a,
|
|
49
|
+
ref: T,
|
|
50
|
+
onOpenAutoFocus: G(a.onOpenAutoFocus, (c) => {
|
|
51
|
+
c.preventDefault(), g.current?.focus({ preventScroll: !0 });
|
|
52
|
+
}),
|
|
53
|
+
onPointerDownOutside: (c) => c.preventDefault(),
|
|
54
|
+
onInteractOutside: (c) => c.preventDefault(),
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ i(j, { children: t }),
|
|
57
|
+
/* @__PURE__ */ i(K, { contentRef: p })
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
) })
|
|
41
61
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
_.displayName = s;
|
|
66
|
+
var N = "AlertDialogTitle", R = l.forwardRef(
|
|
67
|
+
(e, o) => {
|
|
68
|
+
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
69
|
+
return /* @__PURE__ */ i(x, { ...a, ...t, ref: o });
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
R.displayName = N;
|
|
73
|
+
var h = "AlertDialogDescription", C = l.forwardRef((e, o) => {
|
|
74
|
+
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
75
|
+
return /* @__PURE__ */ i(I, { ...a, ...t, ref: o });
|
|
76
|
+
});
|
|
77
|
+
C.displayName = h;
|
|
78
|
+
var J = "AlertDialogAction", E = l.forwardRef(
|
|
79
|
+
(e, o) => {
|
|
80
|
+
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
81
|
+
return /* @__PURE__ */ i(v, { ...a, ...t, ref: o });
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
E.displayName = J;
|
|
85
|
+
var P = "AlertDialogCancel", S = l.forwardRef(
|
|
86
|
+
(e, o) => {
|
|
87
|
+
const { __scopeAlertDialog: r, ...t } = e, { cancelRef: a } = z(P, r), d = n(r), p = u(o, a);
|
|
88
|
+
return /* @__PURE__ */ i(v, { ...d, ...t, ref: p });
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
S.displayName = P;
|
|
92
|
+
var K = ({ contentRef: e }) => {
|
|
93
|
+
const o = `\`${s}\` requires a description for the component to be accessible for screen reader users.
|
|
94
|
+
|
|
95
|
+
You can add a description to the \`${s}\` by passing a \`${h}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
96
|
+
|
|
97
|
+
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${s}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
98
|
+
|
|
99
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;
|
|
100
|
+
return l.useEffect(() => {
|
|
101
|
+
document.getElementById(
|
|
102
|
+
e.current?.getAttribute("aria-describedby")
|
|
103
|
+
) || console.warn(o);
|
|
104
|
+
}, [o, e]), null;
|
|
105
|
+
}, te = D, ae = m, ie = y, le = _, ne = E, se = S, ce = R, pe = C;
|
|
62
106
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
107
|
+
ne as Action,
|
|
108
|
+
D as AlertDialog,
|
|
109
|
+
E as AlertDialogAction,
|
|
110
|
+
S as AlertDialogCancel,
|
|
111
|
+
_ as AlertDialogContent,
|
|
112
|
+
C as AlertDialogDescription,
|
|
113
|
+
y as AlertDialogOverlay,
|
|
114
|
+
m as AlertDialogPortal,
|
|
115
|
+
R as AlertDialogTitle,
|
|
116
|
+
B as AlertDialogTrigger,
|
|
117
|
+
se as Cancel,
|
|
118
|
+
le as Content,
|
|
119
|
+
pe as Description,
|
|
120
|
+
ie as Overlay,
|
|
121
|
+
ae as Portal,
|
|
122
|
+
te as Root,
|
|
123
|
+
ce as Title,
|
|
124
|
+
re as createAlertDialogScope
|
|
65
125
|
};
|
|
66
126
|
//# sourceMappingURL=index.es47.js.map
|
package/dist/index.es47.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es47.js","sources":["../../../node_modules/.pnpm/use-debounce@10.0.4_react@18.3.1/node_modules/use-debounce/dist/index.module.js"],"sourcesContent":["import{useRef as r,useEffect as n,useMemo as t,useState as e,useCallback as u}from\"react\";function c(e,u,c){var i=this,a=r(null),o=r(0),f=r(null),l=r([]),v=r(),m=r(),d=r(e),g=r(!0);d.current=e;var p=\"undefined\"!=typeof window,w=!u&&0!==u&&p;if(\"function\"!=typeof e)throw new TypeError(\"Expected a function\");u=+u||0;var s=!!(c=c||{}).leading,x=!(\"trailing\"in c)||!!c.trailing,h=\"maxWait\"in c,y=\"debounceOnServer\"in c&&!!c.debounceOnServer,F=h?Math.max(+c.maxWait||0,u):null;n(function(){return g.current=!0,function(){g.current=!1}},[]);var A=t(function(){var r=function(r){var n=l.current,t=v.current;return l.current=v.current=null,o.current=r,m.current=d.current.apply(t,n)},n=function(r,n){w&&cancelAnimationFrame(f.current),f.current=w?requestAnimationFrame(r):setTimeout(r,n)},t=function(r){if(!g.current)return!1;var n=r-a.current;return!a.current||n>=u||n<0||h&&r-o.current>=F},e=function(n){return f.current=null,x&&l.current?r(n):(l.current=v.current=null,m.current)},c=function r(){var c=Date.now();if(t(c))return e(c);if(g.current){var i=u-(c-a.current),f=h?Math.min(i,F-(c-o.current)):i;n(r,f)}},A=function(){if(p||y){var e=Date.now(),d=t(e);if(l.current=[].slice.call(arguments),v.current=i,a.current=e,d){if(!f.current&&g.current)return o.current=a.current,n(c,u),s?r(a.current):m.current;if(h)return n(c,u),r(a.current)}return f.current||n(c,u),m.current}};return A.cancel=function(){f.current&&(w?cancelAnimationFrame(f.current):clearTimeout(f.current)),o.current=0,l.current=a.current=v.current=f.current=null},A.isPending=function(){return!!f.current},A.flush=function(){return f.current?e(Date.now()):m.current},A},[s,h,u,F,x,w,p,y]);return A}function i(r,n){return r===n}function a(n,t,a){var o=a&&a.equalityFn||i,f=r(n),l=e({})[1],v=c(u(function(r){f.current=r,l({})},[l]),t,a),m=r(n);return o(m.current,n)||(v(n),m.current=n),[f.current,v]}function o(r,n,t){var e=void 0===t?{}:t,u=e.leading,i=e.trailing;return c(r,n,{maxWait:n,leading:void 0===u||u,trailing:void 0===i||i})}export{a as useDebounce,c as useDebouncedCallback,o as useThrottledCallback};\n//# s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AEpB,GAAEE,CAAC,GAAEQ,EAAE;AAAA,MAAO;AAAA,IAAC;AAAE,WAAOW,EAAE,SAAO,WAAU;AAAC,MAAAd,EAAE,YAAUO,IAAE,qBAAqBP,EAAE,OAAO,IAAE,aAAaA,EAAE,OAAO,IAAGD,EAAE,UAAQ,GAAEE,EAAE,UAAQJ,EAAE,UAAQK,EAAE,UAAQF,EAAE,UAAQ;AAAA,IAAI,GAAEc,EAAE,YAAU,WAAU;AAAC,aAAM,CAAC,CAACd,EAAE;AAAA,IAAO,GAAEc,EAAE,QAAM,WAAU;AAAC,aAAOd,EAAE,UAAQN,EAAE,KAAK,IAAG,CAAE,IAAES,EAAE;AAAA,IAAO,GAAEW;AAAA,EAAC,GAAE,CAACN,GAAEE,GAAEf,GAAEiB,GAAEH,GAAEF,GAAED,GAAEK,CAAC,CAAC;AAAE,SAAOG;AAAC;AAAC,SAASlB,EAAEE,GAAEe,GAAE;AAAC,SAAOf,MAAIe;AAAC;AAAC,SAAShB,EAAEgB,GAAEE,GAAElB,GAAE;AAAC,MAAIE,IAAmBH,GAAEI,IAAEF,EAAEe,CAAC,GAAEZ,IAAEP,EAAE,EAAE,EAAE,CAAC,GAAEQ,IAAET,EAAEE,EAAE,SAASG,GAAE;AAAC,IAAAE,EAAE,UAAQF,GAAEG,EAAE,CAAE,CAAA;AAAA,EAAC,GAAE,CAACA,CAAC,CAAC,GAAEc,GAAElB,CAAC,GAAEM,IAAEL,EAAEe,CAAC;AAAE,SAAOd,EAAEI,EAAE,SAAQU,CAAC,MAAIX,EAAEW,CAAC,GAAEV,EAAE,UAAQU,IAAG,CAACb,EAAE,SAAQE,CAAC;AAAC;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.es47.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.1.6_@types+react-dom@18.3.5_@types+react@18.3.18__@types_5d3a1db41ab18a3dd4add3d1d0adc5b2/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/alert-dialog/src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Slottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ROOT_NAME","createAlertDialogContext","createAlertDialogScope","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","jsx","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","AlertDialogContent","children","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","Slottable","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Portal2","Overlay2","Content2","Action","Cancel","Title2","Description2"],"mappings":";;;;;;;AAWA,IAAIA,IAAY,eACZ,CAACC,GAA0BC,EAAsB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AAkB;AAAA,IACpD,KACoB,QAAQ,KAAK2B,CAAO;AAAA,EAC7C,GAAK,CAACA,GAAS3B,CAAU,CAAC,GACjB;AACT,GACI4B,KAAQvD,GAERwD,KAAU1C,GACV2C,KAAWvC,GACXwC,KAAWlC,GACXmC,KAASZ,GACTa,KAAST,GACTU,KAAStB,GACTuB,KAAenB;","x_google_ignoreList":[0]}
|
package/dist/index.es48.js
CHANGED
|
@@ -1,11 +1,66 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
throw new
|
|
1
|
+
import { useRef as a, useState as O, useCallback as W, useEffect as q, useMemo as P } from "react";
|
|
2
|
+
function R(u, r, i) {
|
|
3
|
+
var g = this, c = a(null), f = a(0), n = a(null), o = a([]), l = a(), s = a(), D = a(u), m = a(!0);
|
|
4
|
+
D.current = u;
|
|
5
|
+
var h = typeof window < "u", d = !r && r !== 0 && h;
|
|
6
|
+
if (typeof u != "function") throw new TypeError("Expected a function");
|
|
7
|
+
r = +r || 0;
|
|
8
|
+
var F = !!(i = i || {}).leading, E = !("trailing" in i) || !!i.trailing, v = "maxWait" in i, M = "debounceOnServer" in i && !!i.debounceOnServer, x = v ? Math.max(+i.maxWait || 0, r) : null;
|
|
9
|
+
q(function() {
|
|
10
|
+
return m.current = !0, function() {
|
|
11
|
+
m.current = !1;
|
|
12
|
+
};
|
|
13
|
+
}, []);
|
|
14
|
+
var k = P(function() {
|
|
15
|
+
var y = function(e) {
|
|
16
|
+
var t = o.current, b = l.current;
|
|
17
|
+
return o.current = l.current = null, f.current = e, s.current = D.current.apply(b, t);
|
|
18
|
+
}, p = function(e, t) {
|
|
19
|
+
d && cancelAnimationFrame(n.current), n.current = d ? requestAnimationFrame(e) : setTimeout(e, t);
|
|
20
|
+
}, S = function(e) {
|
|
21
|
+
if (!m.current) return !1;
|
|
22
|
+
var t = e - c.current;
|
|
23
|
+
return !c.current || t >= r || t < 0 || v && e - f.current >= x;
|
|
24
|
+
}, T = function(e) {
|
|
25
|
+
return n.current = null, E && o.current ? y(e) : (o.current = l.current = null, s.current);
|
|
26
|
+
}, A = function e() {
|
|
27
|
+
var t = Date.now();
|
|
28
|
+
if (S(t)) return T(t);
|
|
29
|
+
if (m.current) {
|
|
30
|
+
var b = r - (t - c.current), C = v ? Math.min(b, x - (t - f.current)) : b;
|
|
31
|
+
p(e, C);
|
|
32
|
+
}
|
|
33
|
+
}, w = function() {
|
|
34
|
+
if (h || M) {
|
|
35
|
+
var e = Date.now(), t = S(e);
|
|
36
|
+
if (o.current = [].slice.call(arguments), l.current = g, c.current = e, t) {
|
|
37
|
+
if (!n.current && m.current) return f.current = c.current, p(A, r), F ? y(c.current) : s.current;
|
|
38
|
+
if (v) return p(A, r), y(c.current);
|
|
39
|
+
}
|
|
40
|
+
return n.current || p(A, r), s.current;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
return w.cancel = function() {
|
|
44
|
+
n.current && (d ? cancelAnimationFrame(n.current) : clearTimeout(n.current)), f.current = 0, o.current = c.current = l.current = n.current = null;
|
|
45
|
+
}, w.isPending = function() {
|
|
46
|
+
return !!n.current;
|
|
47
|
+
}, w.flush = function() {
|
|
48
|
+
return n.current ? T(Date.now()) : s.current;
|
|
49
|
+
}, w;
|
|
50
|
+
}, [F, v, r, x, E, d, h, M]);
|
|
51
|
+
return k;
|
|
52
|
+
}
|
|
53
|
+
function j(u, r) {
|
|
54
|
+
return u === r;
|
|
55
|
+
}
|
|
56
|
+
function B(u, r, i) {
|
|
57
|
+
var g = j, c = a(u), f = O({})[1], n = R(W(function(l) {
|
|
58
|
+
c.current = l, f({});
|
|
59
|
+
}, [f]), r, i), o = a(u);
|
|
60
|
+
return g(o.current, u) || (n(u), o.current = u), [c.current, n];
|
|
7
61
|
}
|
|
8
62
|
export {
|
|
9
|
-
|
|
63
|
+
B as useDebounce,
|
|
64
|
+
R as useDebouncedCallback
|
|
10
65
|
};
|
|
11
66
|
//# sourceMappingURL=index.es48.js.map
|
package/dist/index.es48.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es48.js","sources":["../../../node_modules/.pnpm/
|
|
1
|
+
{"version":3,"file":"index.es48.js","sources":["../../../node_modules/.pnpm/use-debounce@10.0.4_react@18.3.1/node_modules/use-debounce/dist/index.module.js"],"sourcesContent":["import{useRef as r,useEffect as n,useMemo as t,useState as e,useCallback as u}from\"react\";function c(e,u,c){var i=this,a=r(null),o=r(0),f=r(null),l=r([]),v=r(),m=r(),d=r(e),g=r(!0);d.current=e;var p=\"undefined\"!=typeof window,w=!u&&0!==u&&p;if(\"function\"!=typeof e)throw new TypeError(\"Expected a function\");u=+u||0;var s=!!(c=c||{}).leading,x=!(\"trailing\"in c)||!!c.trailing,h=\"maxWait\"in c,y=\"debounceOnServer\"in c&&!!c.debounceOnServer,F=h?Math.max(+c.maxWait||0,u):null;n(function(){return g.current=!0,function(){g.current=!1}},[]);var A=t(function(){var r=function(r){var n=l.current,t=v.current;return l.current=v.current=null,o.current=r,m.current=d.current.apply(t,n)},n=function(r,n){w&&cancelAnimationFrame(f.current),f.current=w?requestAnimationFrame(r):setTimeout(r,n)},t=function(r){if(!g.current)return!1;var n=r-a.current;return!a.current||n>=u||n<0||h&&r-o.current>=F},e=function(n){return f.current=null,x&&l.current?r(n):(l.current=v.current=null,m.current)},c=function r(){var c=Date.now();if(t(c))return e(c);if(g.current){var i=u-(c-a.current),f=h?Math.min(i,F-(c-o.current)):i;n(r,f)}},A=function(){if(p||y){var e=Date.now(),d=t(e);if(l.current=[].slice.call(arguments),v.current=i,a.current=e,d){if(!f.current&&g.current)return o.current=a.current,n(c,u),s?r(a.current):m.current;if(h)return n(c,u),r(a.current)}return f.current||n(c,u),m.current}};return A.cancel=function(){f.current&&(w?cancelAnimationFrame(f.current):clearTimeout(f.current)),o.current=0,l.current=a.current=v.current=f.current=null},A.isPending=function(){return!!f.current},A.flush=function(){return f.current?e(Date.now()):m.current},A},[s,h,u,F,x,w,p,y]);return A}function i(r,n){return r===n}function a(n,t,a){var o=a&&a.equalityFn||i,f=r(n),l=e({})[1],v=c(u(function(r){f.current=r,l({})},[l]),t,a),m=r(n);return o(m.current,n)||(v(n),m.current=n),[f.current,v]}function o(r,n,t){var e=void 0===t?{}:t,u=e.leading,i=e.trailing;return c(r,n,{maxWait:n,leading:void 0===u||u,trailing:void 0===i||i})}export{a as useDebounce,c as useDebouncedCallback,o as useThrottledCallback};\n//# sourceMappingURL=index.module.js.map\n"],"names":["c","e","u","i","a","r","o","f","l","v","m","d","g","p","w","s","x","h","y","F","n","A","t"],"mappings":";AAA0F,SAASA,EAAEC,GAAEC,GAAEF,GAAE;AAAC,MAAIG,IAAE,MAAKC,IAAEC,EAAE,IAAI,GAAEC,IAAED,EAAE,CAAC,GAAEE,IAAEF,EAAE,IAAI,GAAEG,IAAEH,EAAE,EAAE,GAAEI,IAAEJ,EAAG,GAACK,IAAEL,EAAG,GAACM,IAAEN,EAAEJ,CAAC,GAAEW,IAAEP,EAAE,EAAE;AAAE,EAAAM,EAAE,UAAQV;AAAE,MAAIY,IAAe,OAAO,SAApB,KAA2BC,IAAE,CAACZ,KAAOA,MAAJ,KAAOW;AAAE,MAAe,OAAOZ,KAAnB,WAAqB,OAAM,IAAI,UAAU,qBAAqB;AAAE,EAAAC,IAAE,CAACA,KAAG;AAAE,MAAIa,IAAE,CAAC,EAAEf,IAAEA,KAAG,CAAE,GAAE,SAAQgB,IAAE,EAAE,cAAahB,MAAI,CAAC,CAACA,EAAE,UAASiB,IAAE,aAAYjB,GAAEkB,IAAE,sBAAqBlB,KAAG,CAAC,CAACA,EAAE,kBAAiBmB,IAAEF,IAAE,KAAK,IAAI,CAACjB,EAAE,WAAS,GAAEE,CAAC,IAAE;AAAKkB,EAAAA,EAAE,WAAU;AAAC,WAAOR,EAAE,UAAQ,IAAG,WAAU;AAAC,MAAAA,EAAE,UAAQ;AAAA,IAAE;AAAA,EAAC,GAAE,CAAA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I,EAAE,SAAQU,CAAC,MAAIX,EAAEW,CAAC,GAAEV,EAAE,UAAQU,IAAG,CAACb,EAAE,SAAQE,CAAC;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es49.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { a as o } from "./index.es50.js";
|
|
2
|
+
function a(r, t, n) {
|
|
3
|
+
let e = r.length - t.length;
|
|
4
|
+
if (e === 0) return r(...t);
|
|
5
|
+
if (e === 1) return o(r, t, n);
|
|
6
|
+
throw new Error("Wrong number of arguments");
|
|
4
7
|
}
|
|
5
8
|
export {
|
|
6
|
-
|
|
9
|
+
a
|
|
7
10
|
};
|
|
8
11
|
//# sourceMappingURL=index.es49.js.map
|
package/dist/index.es49.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es49.js","sources":["../../../node_modules/.pnpm/remeda@2.20.2/node_modules/remeda/dist/chunk-
|
|
1
|
+
{"version":3,"file":"index.es49.js","sources":["../../../node_modules/.pnpm/remeda@2.20.2/node_modules/remeda/dist/chunk-WIMGWYZL.js"],"sourcesContent":["import{a as t}from\"./chunk-D6FCK2GA.js\";function u(r,n,o){let a=r.length-n.length;if(a===0)return r(...n);if(a===1)return t(r,n,o);throw new Error(\"Wrong number of arguments\")}export{u as a};\n"],"names":["u","n","o","a","t"],"mappings":";AAAwC,SAASA,EAAE,GAAEC,GAAEC,GAAE;AAAC,MAAIC,IAAE,EAAE,SAAOF,EAAE;AAAO,MAAGE,MAAI,EAAE,QAAO,EAAE,GAAGF,CAAC;AAAE,MAAGE,MAAI,EAAE,QAAOC,EAAE,GAAEH,GAAEC,CAAC;AAAE,QAAM,IAAI,MAAM,2BAA2B;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es5.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as r, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { Input as C } from "./index.
|
|
3
|
-
import { InputErrorWrapper as l } from "./index.
|
|
4
|
-
import { Label as p } from "./index.
|
|
5
|
-
import { cn as h } from "./index.
|
|
2
|
+
import { Input as C } from "./index.es28.js";
|
|
3
|
+
import { InputErrorWrapper as l } from "./index.es29.js";
|
|
4
|
+
import { Label as p } from "./index.es15.js";
|
|
5
|
+
import { cn as h } from "./index.es22.js";
|
|
6
6
|
import { useConstraints as u } from "./index.es4.js";
|
|
7
|
-
import { Button as f } from "./index.
|
|
8
|
-
import { Switch as N } from "./index.
|
|
9
|
-
import g from "./index.
|
|
7
|
+
import { Button as f } from "./index.es11.js";
|
|
8
|
+
import { Switch as N } from "./index.es13.js";
|
|
9
|
+
import g from "./index.es30.js";
|
|
10
10
|
const v = ({
|
|
11
11
|
constraintName: i,
|
|
12
12
|
value: s,
|
package/dist/index.es50.js
CHANGED
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* @license lucide-react v0.477.0 - ISC
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the ISC license.
|
|
8
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
const u = (e, r) => {
|
|
11
|
-
const o = s(
|
|
12
|
-
({ className: t, ...a }, m) => c(l, {
|
|
13
|
-
ref: m,
|
|
14
|
-
iconNode: r,
|
|
15
|
-
className: n(`lucide-${f(e)}`, t),
|
|
16
|
-
...a
|
|
17
|
-
})
|
|
18
|
-
);
|
|
19
|
-
return o.displayName = `${e}`, o;
|
|
20
|
-
};
|
|
1
|
+
function i(r, t, a) {
|
|
2
|
+
let e = (s) => r(s, ...t);
|
|
3
|
+
return a === void 0 ? e : Object.assign(e, { lazy: a, lazyArgs: t });
|
|
4
|
+
}
|
|
21
5
|
export {
|
|
22
|
-
|
|
6
|
+
i as a
|
|
23
7
|
};
|
|
24
8
|
//# sourceMappingURL=index.es50.js.map
|
package/dist/index.es50.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es50.js","sources":["../../../node_modules/.pnpm/
|
|
1
|
+
{"version":3,"file":"index.es50.js","sources":["../../../node_modules/.pnpm/remeda@2.20.2/node_modules/remeda/dist/chunk-D6FCK2GA.js"],"sourcesContent":["function u(o,n,a){let t=r=>o(r,...n);return a===void 0?t:Object.assign(t,{lazy:a,lazyArgs:n})}export{u as a};\n"],"names":["u","o","n","t","r"],"mappings":"AAAA,SAASA,EAAEC,GAAEC,GAAE,GAAE;AAAC,MAAIC,IAAE,CAAAC,MAAGH,EAAEG,GAAE,GAAGF,CAAC;AAAE,SAAO,MAAI,SAAOC,IAAE,OAAO,OAAOA,GAAE,EAAC,MAAK,GAAE,UAASD,EAAC,CAAC;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es51.js
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
|
+
import { forwardRef as s, createElement as c } from "react";
|
|
2
|
+
import { mergeClasses as n, toKebabCase as f } from "./index.es52.js";
|
|
3
|
+
import l from "./index.es53.js";
|
|
1
4
|
/**
|
|
2
5
|
* @license lucide-react v0.477.0 - ISC
|
|
3
6
|
*
|
|
4
7
|
* This source code is licensed under the ISC license.
|
|
5
8
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
9
|
*/
|
|
7
|
-
const
|
|
10
|
+
const u = (e, r) => {
|
|
11
|
+
const o = s(
|
|
12
|
+
({ className: t, ...a }, m) => c(l, {
|
|
13
|
+
ref: m,
|
|
14
|
+
iconNode: r,
|
|
15
|
+
className: n(`lucide-${f(e)}`, t),
|
|
16
|
+
...a
|
|
17
|
+
})
|
|
18
|
+
);
|
|
19
|
+
return o.displayName = `${e}`, o;
|
|
20
|
+
};
|
|
8
21
|
export {
|
|
9
|
-
|
|
10
|
-
n as toKebabCase
|
|
22
|
+
u as default
|
|
11
23
|
};
|
|
12
24
|
//# sourceMappingURL=index.es51.js.map
|
package/dist/index.es51.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es51.js","sources":["../../../node_modules/.pnpm/lucide-react@0.477.0_react@18.3.1/node_modules/lucide-react/dist/esm/
|
|
1
|
+
{"version":3,"file":"index.es51.js","sources":["../../../node_modules/.pnpm/lucide-react@0.477.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js"],"sourcesContent":["/**\n * @license lucide-react v0.477.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses, toKebabCase } from './shared/src/utils.js';\nimport Icon from './Icon.js';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),\n ...props\n })\n );\n Component.displayName = `${iconName}`;\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.js.map\n"],"names":["createLucideIcon","iconName","iconNode","Component","forwardRef","className","props","ref","createElement","Icon","mergeClasses","toKebabCase"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWK,MAACA,IAAmB,CAACC,GAAUC,MAAa;AAC/C,QAAMC,IAAYC;AAAA,IAChB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAO,GAAEC,MAAQC,EAAcC,GAAM;AAAA,MACpD,KAAAF;AAAA,MACA,UAAAL;AAAA,MACA,WAAWQ,EAAa,UAAUC,EAAYV,CAAQ,CAAC,IAAII,CAAS;AAAA,MACpE,GAAGC;AAAA,IACJ,CAAA;AAAA,EACF;AACD,SAAAH,EAAU,cAAc,GAAGF,CAAQ,IAC5BE;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es52.js
CHANGED
|
@@ -1,41 +1,12 @@
|
|
|
1
|
-
import { forwardRef as i, createElement as o } from "react";
|
|
2
|
-
import b from "./index.es53.js";
|
|
3
|
-
import { mergeClasses as d } from "./index.es51.js";
|
|
4
1
|
/**
|
|
5
2
|
* @license lucide-react v0.477.0 - ISC
|
|
6
3
|
*
|
|
7
4
|
* This source code is licensed under the ISC license.
|
|
8
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
9
6
|
*/
|
|
10
|
-
const
|
|
11
|
-
({
|
|
12
|
-
color: m = "currentColor",
|
|
13
|
-
size: r = 24,
|
|
14
|
-
strokeWidth: e = 2,
|
|
15
|
-
absoluteStrokeWidth: a,
|
|
16
|
-
className: s = "",
|
|
17
|
-
children: t,
|
|
18
|
-
iconNode: u,
|
|
19
|
-
...f
|
|
20
|
-
}, l) => o(
|
|
21
|
-
"svg",
|
|
22
|
-
{
|
|
23
|
-
ref: l,
|
|
24
|
-
...b,
|
|
25
|
-
width: r,
|
|
26
|
-
height: r,
|
|
27
|
-
stroke: m,
|
|
28
|
-
strokeWidth: a ? Number(e) * 24 / Number(r) : e,
|
|
29
|
-
className: d("lucide", s),
|
|
30
|
-
...f
|
|
31
|
-
},
|
|
32
|
-
[
|
|
33
|
-
...u.map(([p, c]) => o(p, c)),
|
|
34
|
-
...Array.isArray(t) ? t : [t]
|
|
35
|
-
]
|
|
36
|
-
)
|
|
37
|
-
);
|
|
7
|
+
const n = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), i = (...e) => e.filter((o, r, t) => !!o && o.trim() !== "" && t.indexOf(o) === r).join(" ").trim();
|
|
38
8
|
export {
|
|
39
|
-
|
|
9
|
+
i as mergeClasses,
|
|
10
|
+
n as toKebabCase
|
|
40
11
|
};
|
|
41
12
|
//# sourceMappingURL=index.es52.js.map
|
package/dist/index.es52.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es52.js","sources":["../../../node_modules/.pnpm/lucide-react@0.477.0_react@18.3.1/node_modules/lucide-react/dist/esm/
|
|
1
|
+
{"version":3,"file":"index.es52.js","sources":["../../../node_modules/.pnpm/lucide-react@0.477.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js"],"sourcesContent":["/**\n * @license lucide-react v0.477.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\n\nexport { mergeClasses, toKebabCase };\n//# sourceMappingURL=utils.js.map\n"],"names":["toKebabCase","string","mergeClasses","classes","className","index","array"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOK,MAACA,IAAc,CAACC,MAAWA,EAAO,QAAQ,sBAAsB,OAAO,EAAE,YAAW,GACnFC,IAAe,IAAIC,MAAYA,EAAQ,OAAO,CAACC,GAAWC,GAAOC,MAC9D,EAAQF,KAAcA,EAAU,KAAI,MAAO,MAAME,EAAM,QAAQF,CAAS,MAAMC,CACtF,EAAE,KAAK,GAAG,EAAE,KAAI;","x_google_ignoreList":[0]}
|
package/dist/index.es53.js
CHANGED
|
@@ -1,21 +1,41 @@
|
|
|
1
|
+
import { forwardRef as i, createElement as o } from "react";
|
|
2
|
+
import b from "./index.es54.js";
|
|
3
|
+
import { mergeClasses as d } from "./index.es52.js";
|
|
1
4
|
/**
|
|
2
5
|
* @license lucide-react v0.477.0 - ISC
|
|
3
6
|
*
|
|
4
7
|
* This source code is licensed under the ISC license.
|
|
5
8
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
9
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
10
|
+
const N = i(
|
|
11
|
+
({
|
|
12
|
+
color: m = "currentColor",
|
|
13
|
+
size: r = 24,
|
|
14
|
+
strokeWidth: e = 2,
|
|
15
|
+
absoluteStrokeWidth: a,
|
|
16
|
+
className: s = "",
|
|
17
|
+
children: t,
|
|
18
|
+
iconNode: u,
|
|
19
|
+
...f
|
|
20
|
+
}, l) => o(
|
|
21
|
+
"svg",
|
|
22
|
+
{
|
|
23
|
+
ref: l,
|
|
24
|
+
...b,
|
|
25
|
+
width: r,
|
|
26
|
+
height: r,
|
|
27
|
+
stroke: m,
|
|
28
|
+
strokeWidth: a ? Number(e) * 24 / Number(r) : e,
|
|
29
|
+
className: d("lucide", s),
|
|
30
|
+
...f
|
|
31
|
+
},
|
|
32
|
+
[
|
|
33
|
+
...u.map(([p, c]) => o(p, c)),
|
|
34
|
+
...Array.isArray(t) ? t : [t]
|
|
35
|
+
]
|
|
36
|
+
)
|
|
37
|
+
);
|
|
18
38
|
export {
|
|
19
|
-
|
|
39
|
+
N as default
|
|
20
40
|
};
|
|
21
41
|
//# sourceMappingURL=index.es53.js.map
|
package/dist/index.es53.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es53.js","sources":["../../../node_modules/.pnpm/lucide-react@0.477.0_react@18.3.1/node_modules/lucide-react/dist/esm/
|
|
1
|
+
{"version":3,"file":"index.es53.js","sources":["../../../node_modules/.pnpm/lucide-react@0.477.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js"],"sourcesContent":["/**\n * @license lucide-react v0.477.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.js';\nimport { mergeClasses } from './shared/src/utils.js';\n\nconst Icon = forwardRef(\n ({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = \"\",\n children,\n iconNode,\n ...rest\n }, ref) => {\n return createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: mergeClasses(\"lucide\", className),\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n );\n }\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.js.map\n"],"names":["Icon","forwardRef","color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode","rest","ref","createElement","defaultAttributes","mergeClasses","tag","attrs"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWK,MAACA,IAAOC;AAAA,EACX,CAAC;AAAA,IACC,OAAAC,IAAQ;AAAA,IACR,MAAAC,IAAO;AAAA,IACP,aAAAC,IAAc;AAAA,IACd,qBAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,GAAGC;AAAA,EACJ,GAAEC,MACMC;AAAA,IACL;AAAA,IACA;AAAA,MACE,KAAAD;AAAA,MACA,GAAGE;AAAA,MACH,OAAOT;AAAA,MACP,QAAQA;AAAA,MACR,QAAQD;AAAA,MACR,aAAaG,IAAsB,OAAOD,CAAW,IAAI,KAAK,OAAOD,CAAI,IAAIC;AAAA,MAC7E,WAAWS,EAAa,UAAUP,CAAS;AAAA,MAC3C,GAAGG;AAAA,IACJ;AAAA,IACD;AAAA,MACE,GAAGD,EAAS,IAAI,CAAC,CAACM,GAAKC,CAAK,MAAMJ,EAAcG,GAAKC,CAAK,CAAC;AAAA,MAC3D,GAAG,MAAM,QAAQR,CAAQ,IAAIA,IAAW,CAACA,CAAQ;AAAA,IACzD;AAAA,EACK;AAEL;","x_google_ignoreList":[0]}
|