@rpcbase/ui 0.242.0 → 0.243.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/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
- package/dist/index105.js +36 -36
- package/dist/index117.js +6 -6
- package/dist/index120.js +10 -10
- package/dist/index122.js +2 -2
- package/dist/index123.js +3 -3
- package/dist/index124.js +1 -1
- package/dist/index126.js +2 -2
- package/dist/index128.js +2 -2
- package/dist/index150.js +3 -3
- package/dist/index156.js +1 -1
- package/dist/index16.js +91 -91
- package/dist/index16.js.map +1 -1
- package/dist/index163.js +2 -2
- package/dist/index164.js +7 -7
- package/dist/index167.js +4 -4
- package/dist/index169.js +1 -1
- package/dist/index172.js +3 -3
- package/dist/index175.js +1 -1
- package/dist/index176.js +4 -4
- package/dist/index182.js +2 -2
- package/dist/index184.js +4 -4
- package/dist/index185.js +13 -13
- package/dist/index186.js +1 -1
- package/dist/index188.js +5 -5
- package/dist/index189.js +3 -3
- package/dist/index192.js +2 -2
- package/dist/index193.js +6 -6
- package/dist/index194.js +59 -20
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -66
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +87 -6
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +19 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +16 -11
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -3
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +4 -49
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +7 -4
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -29
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -16
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -5
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -21
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -53
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +12 -20
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +9 -41
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +13 -39
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +14 -46
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +4 -20
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -70
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -17
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -3
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +54 -11
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -13
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +4 -18
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +4 -36
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -239
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -252
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -68
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -99
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -83
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -29
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -16
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +11 -35
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -17
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -3
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -26
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +4 -28
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +6 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -78
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -272
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +15 -10
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +7 -10
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +10 -25
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +10 -16
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +21 -125
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +8 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +9 -65
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +10 -14
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +4 -7
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -5
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +16 -3
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +9 -10
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +18 -7
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +19 -132
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +10 -397
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +30 -5
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +12 -52
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +25 -11
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +5 -27
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +153 -10
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +32 -58
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +11 -8
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +43 -81
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -19
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -16
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +42 -4
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +96 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +86 -6
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +105 -4
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +52 -6
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +11 -16
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +4 -4
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +37 -4
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +8 -12
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +135 -9
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +17 -13
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +15 -13
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +3 -4
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +36 -5
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +20 -6
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +8 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +9 -54
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +24 -8
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +28 -4
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +16 -4
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +20 -9
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +66 -4
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +6 -4
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +5 -3
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +11 -10
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +3 -9
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +50 -9
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +4 -11
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +29 -10
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +16 -9
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +5 -6
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +21 -5
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +53 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +20 -5
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +41 -6
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +39 -5
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +46 -17
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +20 -7
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +69 -9
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +17 -10
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +3 -21
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +11 -8
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +13 -9
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +18 -9
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +36 -4
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +239 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +251 -15
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +68 -9
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +98 -17
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +82 -19
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +3 -12
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +28 -28
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +16 -12
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +34 -25
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +17 -5
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +3 -154
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +25 -31
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +28 -11
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +4 -50
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +78 -9
- package/dist/index319.js.map +1 -1
- package/dist/index320.js +271 -10
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +11 -43
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +10 -97
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +25 -86
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +15 -104
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +123 -50
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +5 -11
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +65 -4
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +13 -37
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +7 -8
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +5 -135
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +3 -17
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +10 -15
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +7 -3
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +129 -32
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +397 -18
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +5 -10
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +52 -8
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +11 -24
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +27 -28
- package/dist/index339.js.map +1 -1
- package/dist/index340.js +11 -16
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +1 -1
- package/dist/index348.js +60 -50
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +66 -5
- package/dist/index349.js.map +1 -1
- package/dist/index350.js +50 -60
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +5 -66
- package/dist/index351.js.map +1 -1
- package/dist/index357.js +1 -1
- package/dist/index358.js +5 -5
- package/dist/index359.js +1 -1
- package/dist/index362.js +5 -4
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +18 -6
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +13 -3
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +4 -11
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +20 -20
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +4 -45
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +11 -17
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +6 -5
- package/dist/index369.js.map +1 -1
- package/dist/index370.js +3 -201
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +20 -73
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +43 -122
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +18 -5
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +4 -17
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +200 -12
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +73 -4
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +122 -19
- package/dist/index377.js.map +1 -1
- package/dist/index379.js +4 -4
- package/dist/index380.js +3 -3
- package/dist/index382.js +1 -1
- package/dist/index384.js +1 -1
- package/dist/index385.js +2 -2
- package/dist/index388.js +2 -2
- package/dist/index389.js +2 -2
- package/dist/index392.js +5 -3
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +5 -3
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +4 -5
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +15 -4
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +9 -4
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +5 -15
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +4 -8
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +545 -5
- package/dist/index399.js.map +1 -1
- package/dist/index400.js +47 -5
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +15 -543
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +6 -47
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +7 -17
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +6 -5
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +7 -7
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +11 -6
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +8 -7
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +12 -11
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +3 -9
- package/dist/index409.js.map +1 -1
- package/dist/index410.js +3 -13
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +15 -3
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +3 -15
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +1 -1
- package/dist/index414.js +68 -8
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +31 -2
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +9 -44
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +152 -55
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +108 -8
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +5 -2
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +55 -54
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +7 -55
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +2 -33
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +43 -67
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +56 -31
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +8 -9
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +2 -153
- package/dist/index426.js.map +1 -1
- package/dist/index427.js +54 -107
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +55 -4
- package/dist/index428.js.map +1 -1
- package/dist/index429.js +32 -55
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +16 -2
- package/dist/index430.js.map +1 -1
- package/dist/index431.js +29 -2
- package/dist/index431.js.map +1 -1
- package/dist/index432.js +13 -2
- package/dist/index432.js.map +1 -1
- package/dist/index433.js +7 -2
- package/dist/index433.js.map +1 -1
- package/dist/index434.js +2 -16
- package/dist/index434.js.map +1 -1
- package/dist/index435.js +2 -29
- package/dist/index435.js.map +1 -1
- package/dist/index436.js +2 -13
- package/dist/index436.js.map +1 -1
- package/dist/index437.js +2 -7
- package/dist/index437.js.map +1 -1
- package/dist/index49.js +30 -30
- package/dist/index50.js +21 -21
- package/dist/index51.js +1 -1
- package/dist/index52.js +8 -8
- package/dist/index53.js +2 -2
- package/dist/index55.js +16 -16
- package/dist/index56.js +4 -4
- package/dist/index57.js +3 -3
- package/dist/index58.js +7 -7
- package/dist/index59.js +4 -4
- package/dist/index60.js +12 -12
- package/dist/index61.js +2 -2
- package/dist/index62.js +2 -2
- package/package.json +1 -1
package/dist/index363.js
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import { formatDistance as o } from "./index414.js";
|
|
2
|
+
import { formatLong as t } from "./index415.js";
|
|
3
|
+
import { formatRelative as r } from "./index416.js";
|
|
4
|
+
import { localize as m } from "./index417.js";
|
|
5
|
+
import { match as a } from "./index418.js";
|
|
6
|
+
const p = {
|
|
7
|
+
code: "en-US",
|
|
8
|
+
formatDistance: o,
|
|
9
|
+
formatLong: t,
|
|
10
|
+
formatRelative: r,
|
|
11
|
+
localize: m,
|
|
12
|
+
match: a,
|
|
13
|
+
options: {
|
|
14
|
+
weekStartsOn: 0,
|
|
15
|
+
firstWeekContainsDate: 1
|
|
16
|
+
}
|
|
17
|
+
};
|
|
6
18
|
export {
|
|
7
|
-
|
|
19
|
+
p as enUS
|
|
8
20
|
};
|
|
9
21
|
//# sourceMappingURL=index363.js.map
|
package/dist/index363.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index363.js","sources":["
|
|
1
|
+
{"version":3,"file":"index363.js","sources":["../../../node_modules/date-fns/locale/en-US.js"],"sourcesContent":["import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n code: \"en-US\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n"],"names":["enUS","formatDistance","formatLong","formatRelative","localize","match"],"mappings":";;;;;AAcY,MAACA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,gBAAgBC;AAAA,EAChB,YAAYC;AAAA,EACZ,gBAAgBC;AAAA,EAChB,UAAUC;AAAA,EACV,OAAOC;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
|
package/dist/index364.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
function g(d, s, k, t, f, O, n) {
|
|
2
|
+
const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
|
|
3
|
+
let a = {
|
|
4
|
+
day: W,
|
|
5
|
+
week: l,
|
|
6
|
+
month: c,
|
|
7
|
+
year: u,
|
|
8
|
+
startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
|
|
9
|
+
endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
|
|
10
|
+
}[d](k, s === "after" ? 1 : -1);
|
|
11
|
+
return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
|
|
12
|
+
}
|
|
3
13
|
export {
|
|
4
|
-
|
|
14
|
+
g as getFocusableDate
|
|
5
15
|
};
|
|
6
16
|
//# sourceMappingURL=index364.js.map
|
package/dist/index364.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index364.js","sources":["
|
|
1
|
+
{"version":3,"file":"index364.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js"],"sourcesContent":["/**\n * Calculates the next date that should be focused in the calendar.\n *\n * This function determines the next focusable date based on the movement\n * direction, constraints, and calendar configuration.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDate The reference date from which to calculate the next focusable\n * date.\n * @param navStart The earliest date the user can navigate to.\n * @param navEnd The latest date the user can navigate to.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next focusable date.\n */\nexport function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {\n const { ISOWeek, broadcastCalendar } = props;\n const { addDays, addMonths, addWeeks, addYears, endOfBroadcastWeek, endOfISOWeek, endOfWeek, max, min, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const moveFns = {\n day: addDays,\n week: addWeeks,\n month: addMonths,\n year: addYears,\n startOfWeek: (date) => broadcastCalendar\n ? startOfBroadcastWeek(date, dateLib)\n : ISOWeek\n ? startOfISOWeek(date)\n : startOfWeek(date),\n endOfWeek: (date) => broadcastCalendar\n ? endOfBroadcastWeek(date)\n : ISOWeek\n ? endOfISOWeek(date)\n : endOfWeek(date),\n };\n let focusableDate = moveFns[moveBy](refDate, moveDir === \"after\" ? 1 : -1);\n if (moveDir === \"before\" && navStart) {\n focusableDate = max([navStart, focusableDate]);\n }\n else if (moveDir === \"after\" && navEnd) {\n focusableDate = min([navEnd, focusableDate]);\n }\n return focusableDate;\n}\n"],"names":["getFocusableDate","moveBy","moveDir","refDate","navStart","navEnd","props","dateLib","ISOWeek","broadcastCalendar","addDays","addMonths","addWeeks","addYears","endOfBroadcastWeek","endOfISOWeek","endOfWeek","max","min","startOfBroadcastWeek","startOfISOWeek","startOfWeek","focusableDate","date"],"mappings":"AAgBO,SAASA,EAAiBC,GAAQC,GAASC,GAASC,GAAUC,GAAQC,GAAOC,GAAS;AACzF,QAAM,EAAE,SAAAC,GAAS,mBAAAC,EAAiB,IAAKH,GACjC,EAAE,SAAAI,GAAS,WAAAC,GAAW,UAAAC,GAAU,UAAAC,GAAU,oBAAAC,GAAoB,cAAAC,GAAc,WAAAC,GAAW,KAAAC,GAAK,KAAAC,GAAK,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMd;AAiB9J,MAAIe,IAhBY;AAAA,IACZ,KAAKZ;AAAA,IACL,MAAME;AAAA,IACN,OAAOD;AAAA,IACP,MAAME;AAAA,IACN,aAAa,CAACU,MAASd,IACjBU,EAAqBI,GAAMhB,CAAO,IAClCC,IACIY,EAAeG,CAAI,IACnBF,EAAYE,CAAI;AAAA,IAC1B,WAAW,CAACA,MAASd,IACfK,EAAmBS,CAAI,IACvBf,IACIO,EAAaQ,CAAI,IACjBP,EAAUO,CAAI;AAAA,EAChC,EACgCtB,CAAM,EAAEE,GAASD,MAAY,UAAU,IAAI,EAAE;AACzE,SAAIA,MAAY,YAAYE,IACxBkB,IAAgBL,EAAI,CAACb,GAAUkB,CAAa,CAAC,IAExCpB,MAAY,WAAWG,MAC5BiB,IAAgBJ,EAAI,CAACb,GAAQiB,CAAa,CAAC,IAExCA;AACX;","x_google_ignoreList":[0]}
|
package/dist/index365.js
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
if (typeof r == "string")
|
|
5
|
-
return r;
|
|
6
|
-
try {
|
|
7
|
-
return JSON.stringify(r);
|
|
8
|
-
} catch {
|
|
9
|
-
return String(r);
|
|
10
|
-
}
|
|
1
|
+
var e = /^[A-Z]{2}$/;
|
|
2
|
+
function r(t) {
|
|
3
|
+
return e.test(t);
|
|
11
4
|
}
|
|
12
5
|
export {
|
|
13
|
-
|
|
6
|
+
r as default
|
|
14
7
|
};
|
|
15
8
|
//# sourceMappingURL=index365.js.map
|
package/dist/index365.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index365.js","sources":["../node_modules
|
|
1
|
+
{"version":3,"file":"index365.js","sources":["../node_modules/libphonenumber-js/es6/helpers/isCountryCode.js"],"sourcesContent":["var COUNTRY_CODE_REG_EXP = /^[A-Z]{2}$/;\nexport default function isCountryCode(string) {\n return COUNTRY_CODE_REG_EXP.test(string);\n}\n//# sourceMappingURL=isCountryCode.js.map"],"names":["COUNTRY_CODE_REG_EXP","isCountryCode","string"],"mappings":"AAAA,IAAIA,IAAuB;AACZ,SAASC,EAAcC,GAAQ;AAC5C,SAAOF,EAAqB,KAAKE,CAAM;AACzC;","x_google_ignoreList":[0]}
|
package/dist/index366.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
});
|
|
16
|
-
process.env.NODE_ENV !== "production" && (t.displayName = "CompositeListContext");
|
|
17
|
-
function n() {
|
|
18
|
-
return e.useContext(t);
|
|
1
|
+
import { VALID_DIGITS as n } from "./index159.js";
|
|
2
|
+
var v = "+", I = "[\\-\\.\\(\\)]?", R = "([" + n + "]|" + I + ")", i = "^\\" + v + R + "*[" + n + "]" + R + "*$", N = new RegExp(i, "g"), r = n, C = "[" + r + "]+((\\-)*[" + r + "])*", L = "a-zA-Z", f = "[" + L + "]+((\\-)*[" + r + "])*", E = "^(" + C + "\\.)*" + f + "\\.?$", O = new RegExp(E, "g"), l = "tel:", a = ";phone-context=", u = ";isub=";
|
|
3
|
+
function D(_) {
|
|
4
|
+
var t = _.indexOf(a);
|
|
5
|
+
if (t < 0)
|
|
6
|
+
return null;
|
|
7
|
+
var e = t + a.length;
|
|
8
|
+
if (e >= _.length)
|
|
9
|
+
return "";
|
|
10
|
+
var A = _.indexOf(";", e);
|
|
11
|
+
return A >= 0 ? _.substring(e, A) : _.substring(e);
|
|
12
|
+
}
|
|
13
|
+
function S(_) {
|
|
14
|
+
return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
|
|
19
15
|
}
|
|
20
16
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
v as PLUS_SIGN,
|
|
18
|
+
u as RFC3966_ISDN_SUBADDRESS_,
|
|
19
|
+
a as RFC3966_PHONE_CONTEXT_,
|
|
20
|
+
l as RFC3966_PREFIX_,
|
|
21
|
+
D as default,
|
|
22
|
+
S as isPhoneContextValid
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=index366.js.map
|
package/dist/index366.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index366.js","sources":["../node_modules
|
|
1
|
+
{"version":3,"file":"index366.js","sources":["../node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js"],"sourcesContent":["// When phone numbers are written in `RFC3966` format — `\"tel:+12133734253\"` —\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\n// Example: `\"tel:12133734253;phone-context=+1\"`.\n// This function parses the full phone number from the local number and the `phone-context`\n// when the `phone-context` contains a `+` sign.\n\nimport { VALID_DIGITS\n// PLUS_CHARS\n} from '../constants.js';\nexport var PLUS_SIGN = '+';\nvar RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?';\nvar RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')';\nvar RFC3966_GLOBAL_NUMBER_DIGITS_ = '^' + '\\\\' + PLUS_SIGN + RFC3966_PHONE_DIGIT_ + '*' + '[' + VALID_DIGITS + ']' + RFC3966_PHONE_DIGIT_ + '*' + '$';\n\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\nvar RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g');\n\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\nvar ALPHANUM_ = VALID_DIGITS;\nvar RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar VALID_ALPHA_ = 'a-zA-Z';\nvar RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$';\n\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\nvar RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g');\nexport var RFC3966_PREFIX_ = 'tel:';\nexport var RFC3966_PHONE_CONTEXT_ = ';phone-context=';\nexport var RFC3966_ISDN_SUBADDRESS_ = ';isub=';\n\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\nexport default function extractPhoneContext(numberToExtractFrom) {\n var indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_);\n // If no phone-context parameter is present\n if (indexOfPhoneContext < 0) {\n return null;\n }\n var phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length;\n // If phone-context parameter is empty\n if (phoneContextStart >= numberToExtractFrom.length) {\n return '';\n }\n var phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart);\n // If phone-context is not the last parameter\n if (phoneContextEnd >= 0) {\n return numberToExtractFrom.substring(phoneContextStart, phoneContextEnd);\n } else {\n return numberToExtractFrom.substring(phoneContextStart);\n }\n}\n\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\nexport function isPhoneContextValid(phoneContext) {\n if (phoneContext === null) {\n return true;\n }\n if (phoneContext.length === 0) {\n return false;\n }\n\n // Does phone-context value match pattern of global-number-digits or domainname.\n return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);\n}\n//# sourceMappingURL=extractPhoneContext.js.map"],"names":["PLUS_SIGN","RFC3966_VISUAL_SEPARATOR_","RFC3966_PHONE_DIGIT_","VALID_DIGITS","RFC3966_GLOBAL_NUMBER_DIGITS_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","ALPHANUM_","RFC3966_DOMAINLABEL_","VALID_ALPHA_","RFC3966_TOPLABEL_","RFC3966_DOMAINNAME_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractPhoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","isPhoneContextValid","phoneContext"],"mappings":";AASU,IAACA,IAAY,KACnBC,IAA4B,mBAC5BC,IAAuB,OAAYC,IAAe,OAAYF,IAA4B,KAC1FG,IAAgC,QAAaJ,IAAYE,IAAuB,OAAYC,IAAe,MAAMD,IAAuB,MAMxIG,IAAwC,IAAI,OAAOD,GAA+B,GAAG,GAIrFE,IAAYH,GACZI,IAAuB,MAAMD,IAAY,eAAeA,IAAY,OACpEE,IAAe,UACfC,IAAoB,MAAMD,IAAe,eAAeF,IAAY,OACpEI,IAAsB,OAAOH,IAAuB,UAAUE,IAAoB,SAMlFE,IAA8B,IAAI,OAAOD,GAAqB,GAAG,GAC1DE,IAAkB,QAClBC,IAAyB,mBACzBC,IAA2B;AASvB,SAASC,EAAoBC,GAAqB;AAC/D,MAAIC,IAAsBD,EAAoB,QAAQH,CAAsB;AAE5E,MAAII,IAAsB;AACxB,WAAO;AAET,MAAIC,IAAoBD,IAAsBJ,EAAuB;AAErE,MAAIK,KAAqBF,EAAoB;AAC3C,WAAO;AAET,MAAIG,IAAkBH,EAAoB,QAAQ,KAAKE,CAAiB;AAExE,SAAIC,KAAmB,IACdH,EAAoB,UAAUE,GAAmBC,CAAe,IAEhEH,EAAoB,UAAUE,CAAiB;AAE1D;AAQO,SAASE,EAAoBC,GAAc;AAChD,SAAIA,MAAiB,OACZ,KAELA,EAAa,WAAW,IACnB,KAIFhB,EAAsC,KAAKgB,CAAY,KAAKV,EAA4B,KAAKU,CAAY;AAClH;","x_google_ignoreList":[0]}
|
package/dist/index367.js
CHANGED
|
@@ -1,48 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
options: s,
|
|
5
|
-
async fn(i) {
|
|
6
|
-
const {
|
|
7
|
-
x: y,
|
|
8
|
-
y: j,
|
|
9
|
-
placement: x,
|
|
10
|
-
rects: n,
|
|
11
|
-
platform: f,
|
|
12
|
-
elements: l,
|
|
13
|
-
middlewareData: M
|
|
14
|
-
} = i, {
|
|
15
|
-
element: g,
|
|
16
|
-
padding: v = 0,
|
|
17
|
-
offsetParent: z = "real"
|
|
18
|
-
} = W(s, i) || {};
|
|
19
|
-
if (g == null)
|
|
20
|
-
return {};
|
|
21
|
-
const h = Y(v), m = {
|
|
22
|
-
x: y,
|
|
23
|
-
y: j
|
|
24
|
-
}, t = k(x), e = B(t), r = await f.getDimensions(g), d = t === "y", E = d ? "top" : "left", H = d ? "bottom" : "right", A = d ? "clientHeight" : "clientWidth", L = n.reference[e] + n.reference[t] - m[t] - n.floating[e], R = m[t] - n.reference[t], S = z === "real" ? await f.getOffsetParent?.(g) : l.floating;
|
|
25
|
-
let a = l.floating[A] || n.floating[e];
|
|
26
|
-
(!a || !await f.isElement?.(S)) && (a = l.floating[A] || n.floating[e]);
|
|
27
|
-
const T = L / 2 - R / 2, O = a / 2 - r[e] / 2 - 1, u = Math.min(h[E], O), b = Math.min(h[H], O), c = u, D = a - r[e] - b, o = a / 2 - r[e] / 2 + T, P = C(c, o, D), p = !M.arrow && q(x) != null && o !== P && n.reference[e] / 2 - (o < c ? u : b) - r[e] / 2 < 0, w = p ? o < c ? o - c : o - D : 0;
|
|
28
|
-
return {
|
|
29
|
-
[t]: m[t] + w,
|
|
30
|
-
data: {
|
|
31
|
-
[t]: P,
|
|
32
|
-
centerOffset: o - P - w,
|
|
33
|
-
...p && {
|
|
34
|
-
alignmentOffset: w
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
reset: p
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
}), I = (s, i) => ({
|
|
41
|
-
...F(s),
|
|
42
|
-
options: [s, i]
|
|
43
|
-
});
|
|
1
|
+
let a = /* @__PURE__ */ (function(d) {
|
|
2
|
+
return d.disabled = "data-disabled", d.valid = "data-valid", d.invalid = "data-invalid", d.touched = "data-touched", d.dirty = "data-dirty", d.filled = "data-filled", d.focused = "data-focused", d;
|
|
3
|
+
})({});
|
|
44
4
|
export {
|
|
45
|
-
|
|
46
|
-
F as baseArrow
|
|
5
|
+
a as FieldControlDataAttributes
|
|
47
6
|
};
|
|
48
7
|
//# sourceMappingURL=index367.js.map
|
package/dist/index367.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index367.js","sources":["../node_modules/@base-ui/react/
|
|
1
|
+
{"version":3,"file":"index367.js","sources":["../node_modules/@base-ui/react/field/control/FieldControlDataAttributes.mjs"],"sourcesContent":["export let FieldControlDataAttributes = /*#__PURE__*/function (FieldControlDataAttributes) {\n /**\n * Present when the field is disabled.\n */\n FieldControlDataAttributes[\"disabled\"] = \"data-disabled\";\n /**\n * Present when the field is in a valid state.\n */\n FieldControlDataAttributes[\"valid\"] = \"data-valid\";\n /**\n * Present when the field is in an invalid state.\n */\n FieldControlDataAttributes[\"invalid\"] = \"data-invalid\";\n /**\n * Present when the field has been touched.\n */\n FieldControlDataAttributes[\"touched\"] = \"data-touched\";\n /**\n * Present when the field's value has changed.\n */\n FieldControlDataAttributes[\"dirty\"] = \"data-dirty\";\n /**\n * Present when the field is filled.\n */\n FieldControlDataAttributes[\"filled\"] = \"data-filled\";\n /**\n * Present when the field control is focused.\n */\n FieldControlDataAttributes[\"focused\"] = \"data-focused\";\n return FieldControlDataAttributes;\n}({});"],"names":["FieldControlDataAttributes"],"mappings":"AAAU,IAACA,IAA0C,0BAAUA,GAA4B;AAIzF,SAAAA,EAA2B,WAAc,iBAIzCA,EAA2B,QAAW,cAItCA,EAA2B,UAAa,gBAIxCA,EAA2B,UAAa,gBAIxCA,EAA2B,QAAW,cAItCA,EAA2B,SAAY,eAIvCA,EAA2B,UAAa,gBACjCA;AACT,GAAE,CAAA,CAAE;","x_google_ignoreList":[0]}
|
package/dist/index368.js
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = e.rects.reference, r = n === 0 && i === 0 && t === 0 && d === 0;
|
|
11
|
-
return {
|
|
12
|
-
data: {
|
|
13
|
-
referenceHidden: (await c(e)).data?.referenceHidden || r
|
|
14
|
-
}
|
|
15
|
-
};
|
|
1
|
+
function t(r) {
|
|
2
|
+
if (r == null)
|
|
3
|
+
return "";
|
|
4
|
+
if (typeof r == "string")
|
|
5
|
+
return r;
|
|
6
|
+
try {
|
|
7
|
+
return JSON.stringify(r);
|
|
8
|
+
} catch {
|
|
9
|
+
return String(r);
|
|
16
10
|
}
|
|
17
|
-
}
|
|
11
|
+
}
|
|
18
12
|
export {
|
|
19
|
-
|
|
13
|
+
t as serializeValue
|
|
20
14
|
};
|
|
21
15
|
//# sourceMappingURL=index368.js.map
|
package/dist/index368.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index368.js","sources":["../node_modules/@base-ui/react/
|
|
1
|
+
{"version":3,"file":"index368.js","sources":["../node_modules/@base-ui/react/internals/serializeValue.mjs"],"sourcesContent":["export function serializeValue(value) {\n if (value == null) {\n return '';\n }\n if (typeof value === 'string') {\n return value;\n }\n try {\n return JSON.stringify(value);\n } catch {\n return String(value);\n }\n}"],"names":["serializeValue","value"],"mappings":"AAAO,SAASA,EAAeC,GAAO;AACpC,MAAIA,KAAS;AACX,WAAO;AAET,MAAI,OAAOA,KAAU;AACnB,WAAOA;AAET,MAAI;AACF,WAAO,KAAK,UAAUA,CAAK;AAAA,EAC7B,QAAQ;AACN,WAAO,OAAOA,CAAK;AAAA,EACrB;AACF;","x_google_ignoreList":[0]}
|
package/dist/index369.js
CHANGED
package/dist/index369.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index369.js","sources":["../node_modules/@base-ui/
|
|
1
|
+
{"version":3,"file":"index369.js","sources":["../node_modules/@base-ui/utils/useOnMount.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nconst EMPTY = [];\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport function useOnMount(fn) {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(fn, EMPTY);\n /* eslint-enable react-hooks/exhaustive-deps */\n}"],"names":["EMPTY","useOnMount","fn","React"],"mappings":";AAGA,MAAMA,IAAQ,CAAA;AAKP,SAASC,EAAWC,GAAI;AAG7B,EAAAC,EAAM,UAAUD,GAAIF,CAAK;AAE3B;","x_google_ignoreList":[0]}
|
package/dist/index370.js
CHANGED
|
@@ -1,204 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import * as r from "react";
|
|
4
|
-
import { useLayoutEffect as X } from "react";
|
|
5
|
-
import * as Y from "react-dom";
|
|
6
|
-
var Z = typeof document < "u", b = function() {
|
|
7
|
-
}, R = Z ? X : b;
|
|
8
|
-
function w(e, t) {
|
|
9
|
-
if (e === t)
|
|
10
|
-
return !0;
|
|
11
|
-
if (typeof e != typeof t)
|
|
12
|
-
return !1;
|
|
13
|
-
if (typeof e == "function" && e.toString() === t.toString())
|
|
14
|
-
return !0;
|
|
15
|
-
let n, f, c;
|
|
16
|
-
if (e && t && typeof e == "object") {
|
|
17
|
-
if (Array.isArray(e)) {
|
|
18
|
-
if (n = e.length, n !== t.length) return !1;
|
|
19
|
-
for (f = n; f-- !== 0; )
|
|
20
|
-
if (!w(e[f], t[f]))
|
|
21
|
-
return !1;
|
|
22
|
-
return !0;
|
|
23
|
-
}
|
|
24
|
-
if (c = Object.keys(e), n = c.length, n !== Object.keys(t).length)
|
|
25
|
-
return !1;
|
|
26
|
-
for (f = n; f-- !== 0; )
|
|
27
|
-
if (!{}.hasOwnProperty.call(t, c[f]))
|
|
28
|
-
return !1;
|
|
29
|
-
for (f = n; f-- !== 0; ) {
|
|
30
|
-
const p = c[f];
|
|
31
|
-
if (!(p === "_owner" && e.$$typeof) && !w(e[p], t[p]))
|
|
32
|
-
return !1;
|
|
33
|
-
}
|
|
34
|
-
return !0;
|
|
35
|
-
}
|
|
36
|
-
return e !== e && t !== t;
|
|
37
|
-
}
|
|
38
|
-
function L(e) {
|
|
39
|
-
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
40
|
-
}
|
|
41
|
-
function z(e, t) {
|
|
42
|
-
const n = L(e);
|
|
43
|
-
return Math.round(t * n) / n;
|
|
44
|
-
}
|
|
45
|
-
function k(e) {
|
|
46
|
-
const t = r.useRef(e);
|
|
47
|
-
return R(() => {
|
|
48
|
-
t.current = e;
|
|
49
|
-
}), t;
|
|
50
|
-
}
|
|
51
|
-
function ne(e) {
|
|
52
|
-
e === void 0 && (e = {});
|
|
53
|
-
const {
|
|
54
|
-
placement: t = "bottom",
|
|
55
|
-
strategy: n = "absolute",
|
|
56
|
-
middleware: f = [],
|
|
57
|
-
platform: c,
|
|
58
|
-
elements: {
|
|
59
|
-
reference: p,
|
|
60
|
-
floating: A
|
|
61
|
-
} = {},
|
|
62
|
-
transform: D = !0,
|
|
63
|
-
whileElementsMounted: E,
|
|
64
|
-
open: x
|
|
65
|
-
} = e, [s, C] = r.useState({
|
|
66
|
-
x: 0,
|
|
67
|
-
y: 0,
|
|
68
|
-
strategy: n,
|
|
69
|
-
placement: t,
|
|
70
|
-
middlewareData: {},
|
|
71
|
-
isPositioned: !1
|
|
72
|
-
}), [M, q] = r.useState(f);
|
|
73
|
-
w(M, f) || q(f);
|
|
74
|
-
const [B, U] = r.useState(null), [V, W] = r.useState(null), _ = r.useCallback((o) => {
|
|
75
|
-
o !== a.current && (a.current = o, U(o));
|
|
76
|
-
}, []), v = r.useCallback((o) => {
|
|
77
|
-
o !== m.current && (m.current = o, W(o));
|
|
78
|
-
}, []), i = p || B, u = A || V, a = r.useRef(null), m = r.useRef(null), y = r.useRef(s), G = E != null, S = k(E), P = k(c), F = k(x), g = r.useCallback(() => {
|
|
79
|
-
if (!a.current || !m.current)
|
|
80
|
-
return;
|
|
81
|
-
const o = {
|
|
82
|
-
placement: t,
|
|
83
|
-
strategy: n,
|
|
84
|
-
middleware: M
|
|
85
|
-
};
|
|
86
|
-
P.current && (o.platform = P.current), J(a.current, m.current, o).then((h) => {
|
|
87
|
-
const d = {
|
|
88
|
-
...h,
|
|
89
|
-
// The floating element's position may be recomputed while it's closed
|
|
90
|
-
// but still mounted (such as when transitioning out). To ensure
|
|
91
|
-
// `isPositioned` will be `false` initially on the next open, avoid
|
|
92
|
-
// setting it to `true` when `open === false` (must be specified).
|
|
93
|
-
isPositioned: F.current !== !1
|
|
94
|
-
};
|
|
95
|
-
$.current && !w(y.current, d) && (y.current = d, Y.flushSync(() => {
|
|
96
|
-
C(d);
|
|
97
|
-
}));
|
|
98
|
-
});
|
|
99
|
-
}, [M, t, n, P, F]);
|
|
100
|
-
R(() => {
|
|
101
|
-
x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, C((o) => ({
|
|
102
|
-
...o,
|
|
103
|
-
isPositioned: !1
|
|
104
|
-
})));
|
|
105
|
-
}, [x]);
|
|
106
|
-
const $ = r.useRef(!1);
|
|
107
|
-
R(() => ($.current = !0, () => {
|
|
108
|
-
$.current = !1;
|
|
109
|
-
}), []), R(() => {
|
|
110
|
-
if (i && (a.current = i), u && (m.current = u), i && u) {
|
|
111
|
-
if (S.current)
|
|
112
|
-
return S.current(i, u, g);
|
|
113
|
-
g();
|
|
114
|
-
}
|
|
115
|
-
}, [i, u, g, S, G]);
|
|
116
|
-
const O = r.useMemo(() => ({
|
|
117
|
-
reference: a,
|
|
118
|
-
floating: m,
|
|
119
|
-
setReference: _,
|
|
120
|
-
setFloating: v
|
|
121
|
-
}), [_, v]), l = r.useMemo(() => ({
|
|
122
|
-
reference: i,
|
|
123
|
-
floating: u
|
|
124
|
-
}), [i, u]), j = r.useMemo(() => {
|
|
125
|
-
const o = {
|
|
126
|
-
position: n,
|
|
127
|
-
left: 0,
|
|
128
|
-
top: 0
|
|
129
|
-
};
|
|
130
|
-
if (!l.floating)
|
|
131
|
-
return o;
|
|
132
|
-
const h = z(l.floating, s.x), d = z(l.floating, s.y);
|
|
133
|
-
return D ? {
|
|
134
|
-
...o,
|
|
135
|
-
transform: "translate(" + h + "px, " + d + "px)",
|
|
136
|
-
...L(l.floating) >= 1.5 && {
|
|
137
|
-
willChange: "transform"
|
|
138
|
-
}
|
|
139
|
-
} : {
|
|
140
|
-
position: n,
|
|
141
|
-
left: h,
|
|
142
|
-
top: d
|
|
143
|
-
};
|
|
144
|
-
}, [n, D, l.floating, s.x, s.y]);
|
|
145
|
-
return r.useMemo(() => ({
|
|
146
|
-
...s,
|
|
147
|
-
update: g,
|
|
148
|
-
refs: O,
|
|
149
|
-
elements: l,
|
|
150
|
-
floatingStyles: j
|
|
151
|
-
}), [s, g, O, l, j]);
|
|
152
|
-
}
|
|
153
|
-
const re = (e, t) => {
|
|
154
|
-
const n = N(e);
|
|
155
|
-
return {
|
|
156
|
-
name: n.name,
|
|
157
|
-
fn: n.fn,
|
|
158
|
-
options: [e, t]
|
|
159
|
-
};
|
|
160
|
-
}, oe = (e, t) => {
|
|
161
|
-
const n = Q(e);
|
|
162
|
-
return {
|
|
163
|
-
name: n.name,
|
|
164
|
-
fn: n.fn,
|
|
165
|
-
options: [e, t]
|
|
166
|
-
};
|
|
167
|
-
}, fe = (e, t) => ({
|
|
168
|
-
fn: T(e).fn,
|
|
169
|
-
options: [e, t]
|
|
170
|
-
}), se = (e, t) => {
|
|
171
|
-
const n = H(e);
|
|
172
|
-
return {
|
|
173
|
-
name: n.name,
|
|
174
|
-
fn: n.fn,
|
|
175
|
-
options: [e, t]
|
|
176
|
-
};
|
|
177
|
-
}, ie = (e, t) => {
|
|
178
|
-
const n = I(e);
|
|
179
|
-
return {
|
|
180
|
-
name: n.name,
|
|
181
|
-
fn: n.fn,
|
|
182
|
-
options: [e, t]
|
|
183
|
-
};
|
|
184
|
-
}, ue = (e, t) => {
|
|
185
|
-
const n = K(e);
|
|
186
|
-
return {
|
|
187
|
-
name: n.name,
|
|
188
|
-
fn: n.fn,
|
|
189
|
-
options: [e, t]
|
|
190
|
-
};
|
|
191
|
-
};
|
|
1
|
+
import { lowerUserAgent as o } from "./index429.js";
|
|
2
|
+
const e = /jsdom|happydom/.test(o);
|
|
192
3
|
export {
|
|
193
|
-
|
|
194
|
-
J as computePosition,
|
|
195
|
-
se as flip,
|
|
196
|
-
ue as hide,
|
|
197
|
-
fe as limitShift,
|
|
198
|
-
re as offset,
|
|
199
|
-
me as platform,
|
|
200
|
-
oe as shift,
|
|
201
|
-
ie as size,
|
|
202
|
-
ne as useFloating
|
|
4
|
+
e as jsdom
|
|
203
5
|
};
|
|
204
6
|
//# sourceMappingURL=index370.js.map
|
package/dist/index370.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index370.js","sources":["../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => {\n const result = offset$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => {\n const result = shift$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => {\n const result = limitShift$1(options);\n return {\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => {\n const result = flip$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => {\n const result = size$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => {\n const result = autoPlacement$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => {\n const result = hide$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => {\n const result = inline$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => {\n const result = arrow$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["isClient","noop","index","useLayoutEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","offset","deps","result","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1"],"mappings":";;;;;AAMA,IAAIA,IAAW,OAAO,WAAa,KAE/BC,IAAO,WAAgB;AAAC,GACxBC,IAAQF,IAAWG,IAAkBF;AAIzC,SAASG,EAAUC,GAAGC,GAAG;AACvB,MAAID,MAAMC;AACR,WAAO;AAET,MAAI,OAAOD,KAAM,OAAOC;AACtB,WAAO;AAET,MAAI,OAAOD,KAAM,cAAcA,EAAE,eAAeC,EAAE;AAChD,WAAO;AAET,MAAIC,GACAC,GACAC;AACJ,MAAIJ,KAAKC,KAAK,OAAOD,KAAM,UAAU;AACnC,QAAI,MAAM,QAAQA,CAAC,GAAG;AAEpB,UADAE,IAASF,EAAE,QACPE,MAAWD,EAAE,OAAQ,QAAO;AAChC,WAAKE,IAAID,GAAQC,QAAQ;AACvB,YAAI,CAACJ,EAAUC,EAAEG,C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GAAS2C,CAAI;AAAA,EAC3B;AACA,GAKMK,KAAa,CAAChD,GAAS2C,OAEpB;AAAA,EACL,IAFaM,EAAajD,CAAO,EAEtB;AAAA,EACX,SAAS,CAACA,GAAS2C,CAAI;AAC3B,IASMO,KAAO,CAAClD,GAAS2C,MAAS;AAC9B,QAAMC,IAASO,EAAOnD,CAAO;AAC7B,SAAO;AAAA,IACL,MAAM4C,EAAO;AAAA,IACb,IAAIA,EAAO;AAAA,IACX,SAAS,CAAC5C,GAAS2C,CAAI;AAAA,EAC3B;AACA,GAQMS,KAAO,CAACpD,GAAS2C,MAAS;AAC9B,QAAMC,IAASS,EAAOrD,CAAO;AAC7B,SAAO;AAAA,IACL,MAAM4C,EAAO;AAAA,IACb,IAAIA,EAAO;AAAA,IACX,SAAS,CAAC5C,GAAS2C,CAAI;AAAA,EAC3B;AACA,GAsBMW,KAAO,CAACtD,GAAS2C,MAAS;AAC9B,QAAMC,IAASW,EAAOvD,CAAO;AAC7B,SAAO;AAAA,IACL,MAAM4C,EAAO;AAAA,IACb,IAAIA,EAAO;AAAA,IACX,SAAS,CAAC5C,GAAS2C,CAAI;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index370.js","sources":["../node_modules/@base-ui/utils/platform/env.mjs"],"sourcesContent":["import { lowerUserAgent } from \"./shared.mjs\";\n\n/** Running in jsdom or HappyDOM (used by unit tests). */\nexport const jsdom = /jsdom|happydom/.test(lowerUserAgent);"],"names":["jsdom","lowerUserAgent"],"mappings":";AAGY,MAACA,IAAQ,iBAAiB,KAAKC,CAAc;","x_google_ignoreList":[0]}
|