@rpcbase/ui 0.183.0 → 0.185.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/index10.js +25 -24
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +107 -5
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +262 -4
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +9 -4
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +42 -6
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +4 -145
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +45 -38
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +52 -5
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -7
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +3 -12
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +15 -13
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +34 -66
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +5 -7
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +7 -31
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +16 -10
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +4 -10
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +4 -8
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +5 -13
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +5 -101
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +5 -20
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +4 -53
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +6 -72
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +556 -525
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +24 -9
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +6 -20
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +4 -16
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +6 -23
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +5 -6
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -5
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +5 -23
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +5 -35
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +9 -16
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +5 -6
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +128 -118
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +4 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +4 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +6 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +145 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +39 -3
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +4 -6
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +8 -24
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +13 -7
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +13 -6
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +7 -5
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +74 -74
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +31 -3
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +10 -3
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +10 -4
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +8 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +13 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +101 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +20 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +53 -3
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +71 -45
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +9 -205
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +763 -624
- package/dist/index15.js.map +1 -1
- package/dist/index150.js +20 -21
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +16 -24
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +23 -399
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +6 -46
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +5 -605
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +23 -5
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +34 -68
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +16 -2
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +6 -363
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +4 -261
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +20 -22
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +4 -60
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +4 -46
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +4 -169
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +3 -109
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +6 -24
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +24 -8
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +7 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +6 -5
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +5 -4
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -466
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +17 -17
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +3 -185
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +4 -107
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +3 -262
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +4 -9
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +3 -42
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +3 -4
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +3 -58
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +46 -8
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +201 -62
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +22 -20
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +411 -341
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +24 -16
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +398 -4
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +604 -4
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +13 -6
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +154 -4
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +30 -7
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +9 -17
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +47 -5
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +11 -5
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +44 -13
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +626 -660
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +95 -10
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +86 -14
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +105 -14
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +52 -5
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +11 -6
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +37 -7
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +8 -6
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +116 -9
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +17 -5
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +15 -5
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +442 -634
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +3 -9
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +36 -5
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +20 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +9 -4
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +8 -11
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +19 -10
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +28 -10
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +16 -11
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +58 -11
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +8 -10
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +254 -200
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +66 -7
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +19 -6
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +16 -5
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +5 -6
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -7
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +6 -6
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +4 -55
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +7 -16
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +17 -7
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -10
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +1 -1
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +5 -10
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +13 -21
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +10 -10
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +14 -9
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +14 -9
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +5 -4
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +6 -5
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +7 -16
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +6 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +9 -18
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +27 -34
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +5 -15
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +5 -12
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +9 -29
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -12
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -25
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +4 -5
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +11 -24
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +10 -28
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +11 -5
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +11 -67
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +219 -222
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +11 -180
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +10 -46
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +7 -13
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +6 -154
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -30
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +6 -9
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +7 -47
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +6 -11
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +54 -43
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +13 -92
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +46 -50
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +7 -86
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +8 -103
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +9 -51
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +21 -11
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +10 -37
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +8 -7
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +9 -116
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +4 -17
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +5 -15
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +16 -3
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +9 -36
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +18 -20
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +15 -9
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +12 -8
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +28 -18
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +11 -27
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +23 -14
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +5 -4
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +24 -18
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +29 -13
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +5 -5
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +68 -3
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +179 -22
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +43 -109
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +20 -15
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +4 -524
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +18 -127
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +12 -133
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +5 -21
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +3 -6
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +3 -37
- package/dist/index28.js.map +1 -1
- package/dist/index280.js +23 -5
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +113 -4
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +15 -15
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +524 -8
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +127 -5
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +133 -4
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +5 -545
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +6 -47
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +4 -18
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +15 -6
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +37 -3
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +8 -8
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +5 -7
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +4 -8
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +545 -12
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +47 -10
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +17 -13
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +7 -69
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +9 -9
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +8 -14
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +9 -66
- package/dist/index299.js.map +1 -1
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +3 -125
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +12 -64
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +9 -4
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +14 -56
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +65 -68
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +68 -30
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +9 -9
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +13 -152
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +65 -107
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +4 -3
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +56 -23
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +120 -227
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +68 -16
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +31 -29
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +9 -13
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +153 -7
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +107 -22
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +4 -13
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +22 -27
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +16 -5
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +32 -0
- package/dist/index318.js.map +1 -0
- package/dist/index319.js +16 -0
- package/dist/index319.js.map +1 -0
- package/dist/index32.js +229 -21
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +10 -0
- package/dist/index320.js.map +1 -0
- package/dist/index321.js +26 -0
- package/dist/index321.js.map +1 -0
- package/dist/index322.js +16 -0
- package/dist/index322.js.map +1 -0
- package/dist/index323.js +31 -0
- package/dist/index323.js.map +1 -0
- package/dist/index324.js +8 -0
- package/dist/index324.js.map +1 -0
- package/dist/index33.js +23 -50
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +50 -2640
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +2598 -351
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +375 -214
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +230 -19
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +18 -138
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +113 -170
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +17 -15
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +209 -64
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +86 -94
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +118 -5
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +5 -843
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +832 -54
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +57 -8
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +8 -2
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +2 -24
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +11 -233
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +19 -205
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +34 -34
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +7 -3
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +2 -7
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +22 -46
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +232 -25
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +50 -47
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +2 -8
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +2 -15
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +5 -133
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +7 -10
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +5 -216
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +154 -120
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +2 -13
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +2 -34
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +6 -46
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +33 -7
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +24 -47
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +8 -4
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +11 -5
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +202 -25
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +4 -50
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +48 -9
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +29 -24
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +49 -10
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +7 -53
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +14 -5
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +133 -7
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +10 -5
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +217 -2
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +13 -2
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +47 -52
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +49 -4
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +4 -5
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +21 -24
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +5 -15
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +28 -6
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +50 -8
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +9 -17
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +5 -4
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +68 -4
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +2 -6
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +363 -5
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +261 -4
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +60 -4
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +138 -187
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +46 -6
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +169 -24
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +109 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +24 -4
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +8 -7
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -5
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +5 -4
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +4 -5
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +466 -4
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +185 -8
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index318.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
function P(t) {
|
|
2
|
+
return (n, e = {}) => {
|
|
3
|
+
const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
|
|
4
|
+
if (!i)
|
|
5
|
+
return null;
|
|
6
|
+
const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
|
|
7
|
+
// [TODO] -- I challenge you to fix the type
|
|
8
|
+
s(c, (u) => u.test(r))
|
|
9
|
+
);
|
|
10
|
+
let a;
|
|
11
|
+
a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
|
|
12
|
+
// [TODO] -- I challenge you to fix the type
|
|
13
|
+
e.valueCallback(a)
|
|
14
|
+
) : a;
|
|
15
|
+
const f = n.slice(r.length);
|
|
16
|
+
return { value: a, rest: f };
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function s(t, n) {
|
|
20
|
+
for (const e in t)
|
|
21
|
+
if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
|
|
22
|
+
return e;
|
|
23
|
+
}
|
|
24
|
+
function o(t, n) {
|
|
25
|
+
for (let e = 0; e < t.length; e++)
|
|
26
|
+
if (n(t[e]))
|
|
27
|
+
return e;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
P as buildMatchFn
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=index318.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index318.js","sources":["../../../node_modules/date-fns/locale/_lib/buildMatchFn.js"],"sourcesContent":["export function buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n\n const matchPattern =\n (width && args.matchPatterns[width]) ||\n args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n\n const parsePatterns =\n (width && args.parsePatterns[width]) ||\n args.parsePatterns[args.defaultParseWidth];\n\n const key = Array.isArray(parsePatterns)\n ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString))\n : // [TODO] -- I challenge you to fix the type\n findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n\n let value;\n\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback\n ? // [TODO] -- I challenge you to fix the type\n options.valueCallback(value)\n : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n\nfunction findKey(object, predicate) {\n for (const key in object) {\n if (\n Object.prototype.hasOwnProperty.call(object, key) &&\n predicate(object[key])\n ) {\n return key;\n }\n }\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (let key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return undefined;\n}\n"],"names":["buildMatchFn","args","string","options","width","matchPattern","matchResult","matchedString","parsePatterns","key","findIndex","pattern","findKey","value","rest","object","predicate","array"],"mappings":"AAAO,SAASA,EAAaC,GAAM;AACjC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAQD,EAAQ,OAEhBE,IACHD,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GACrCK,IAAcJ,EAAO,MAAMG,CAAY;AAE7C,QAAI,CAACC;AACH,aAAO;AAET,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IACHJ,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GAErCQ,IAAM,MAAM,QAAQD,CAAa,IACnCE,EAAUF,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAAA,MAEjEK,EAAQJ,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAEnE,QAAIM;AAEJ,IAAAA,IAAQZ,EAAK,gBAAgBA,EAAK,cAAcQ,CAAG,IAAIA,GACvDI,IAAQV,EAAQ;AAAA;AAAA,MAEZA,EAAQ,cAAcU,CAAK;AAAA,QAC3BA;AAEJ,UAAMC,IAAOZ,EAAO,MAAMK,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAM,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;AAEA,SAASF,EAAQG,GAAQC,GAAW;AAClC,aAAWP,KAAOM;AAChB,QACE,OAAO,UAAU,eAAe,KAAKA,GAAQN,CAAG,KAChDO,EAAUD,EAAON,CAAG,CAAC;AAErB,aAAOA;AAIb;AAEA,SAASC,EAAUO,GAAOD,GAAW;AACnC,WAASP,IAAM,GAAGA,IAAMQ,EAAM,QAAQR;AACpC,QAAIO,EAAUC,EAAMR,CAAG,CAAC;AACtB,aAAOA;AAIb;","x_google_ignoreList":[0]}
|
package/dist/index319.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function h(t) {
|
|
2
|
+
return (e, c = {}) => {
|
|
3
|
+
const n = e.match(t.matchPattern);
|
|
4
|
+
if (!n) return null;
|
|
5
|
+
const u = n[0], a = e.match(t.parsePattern);
|
|
6
|
+
if (!a) return null;
|
|
7
|
+
let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
|
|
8
|
+
l = c.valueCallback ? c.valueCallback(l) : l;
|
|
9
|
+
const r = e.slice(u.length);
|
|
10
|
+
return { value: l, rest: r };
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
h as buildMatchPatternFn
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=index319.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index319.js","sources":["../../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js"],"sourcesContent":["export function buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n const matchedString = matchResult[0];\n\n const parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n let value = args.valueCallback\n ? args.valueCallback(parseResult[0])\n : parseResult[0];\n\n // [TODO] I challenge you to fix the type\n value = options.valueCallback ? options.valueCallback(value) : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n"],"names":["buildMatchPatternFn","args","string","options","matchResult","matchedString","parseResult","value","rest"],"mappings":"AAAO,SAASA,EAAoBC,GAAM;AACxC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAcF,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACG,EAAa,QAAO;AACzB,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IAAcJ,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACK,EAAa,QAAO;AACzB,QAAIC,IAAQN,EAAK,gBACbA,EAAK,cAAcK,EAAY,CAAC,CAAC,IACjCA,EAAY,CAAC;AAGjB,IAAAC,IAAQJ,EAAQ,gBAAgBA,EAAQ,cAAcI,CAAK,IAAIA;AAE/D,UAAMC,IAAON,EAAO,MAAMG,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAE,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;","x_google_ignoreList":[0]}
|
package/dist/index32.js
CHANGED
|
@@ -1,27 +1,235 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import l, { useMemo as T, useCallback as h, useRef as Re } from "react";
|
|
2
|
+
import { DateLib as Ze } from "./index133.js";
|
|
3
|
+
import { createGetModifiers as Ie } from "./index134.js";
|
|
4
|
+
import { getClassNamesForModifiers as Ge } from "./index135.js";
|
|
5
|
+
import { getComponents as He } from "./index136.js";
|
|
6
|
+
import { getDataAttributes as _e } from "./index137.js";
|
|
7
|
+
import { getDefaultClassNames as Ue } from "./index138.js";
|
|
8
|
+
import { getFormatters as je } from "./index139.js";
|
|
9
|
+
import { getLabels as Ve } from "./index140.js";
|
|
10
|
+
import { getMonthOptions as $e } from "./index141.js";
|
|
11
|
+
import { getStyleForModifiers as qe } from "./index142.js";
|
|
12
|
+
import { getWeekdays as ze } from "./index143.js";
|
|
13
|
+
import { getYearOptions as Je } from "./index144.js";
|
|
14
|
+
import { createNoonOverrides as Qe } from "./index145.js";
|
|
15
|
+
import { UI as n, DayFlag as Xe, SelectionState as w } from "./index146.js";
|
|
16
|
+
import { useAnimation as et } from "./index147.js";
|
|
17
|
+
import { useCalendar as tt } from "./index148.js";
|
|
18
|
+
import { dayPickerContext as at } from "./index149.js";
|
|
19
|
+
import { useFocus as ot } from "./index150.js";
|
|
20
|
+
import { useSelection as nt } from "./index151.js";
|
|
21
|
+
import { convertMatchersToTimeZone as K } from "./index152.js";
|
|
22
|
+
import { rangeIncludesDate as st } from "./index153.js";
|
|
23
|
+
import { toTimeZone as k } from "./index154.js";
|
|
24
|
+
import { isDateRange as rt } from "./index155.js";
|
|
25
|
+
import { enUS as it } from "./index156.js";
|
|
26
|
+
function Yt(R) {
|
|
27
|
+
let e = R;
|
|
28
|
+
const u = e.timeZone;
|
|
29
|
+
if (u && (e = {
|
|
30
|
+
...R,
|
|
31
|
+
timeZone: u
|
|
32
|
+
}, e.today && (e.today = k(e.today, u)), e.month && (e.month = k(e.month, u)), e.defaultMonth && (e.defaultMonth = k(e.defaultMonth, u)), e.startMonth && (e.startMonth = k(e.startMonth, u)), e.endMonth && (e.endMonth = k(e.endMonth, u)), e.mode === "single" && e.selected ? e.selected = k(e.selected, u) : e.mode === "multiple" && e.selected ? e.selected = e.selected?.map((o) => k(o, u)) : e.mode === "range" && e.selected && (e.selected = {
|
|
33
|
+
from: e.selected.from ? k(e.selected.from, u) : e.selected.from,
|
|
34
|
+
to: e.selected.to ? k(e.selected.to, u) : e.selected.to
|
|
35
|
+
}), e.disabled !== void 0 && (e.disabled = K(e.disabled, u)), e.hidden !== void 0 && (e.hidden = K(e.hidden, u)), e.modifiers)) {
|
|
36
|
+
const o = {};
|
|
37
|
+
Object.keys(e.modifiers).forEach((i) => {
|
|
38
|
+
o[i] = K(e.modifiers?.[i], u);
|
|
39
|
+
}), e.modifiers = o;
|
|
40
|
+
}
|
|
41
|
+
const { components: m, formatters: v, labels: Z, dateLib: a, locale: se, classNames: d } = T(() => {
|
|
42
|
+
const o = { ...it, ...e.locale }, i = e.broadcastCalendar ? 1 : e.weekStartsOn, t = e.noonSafe && e.timeZone ? Qe(e.timeZone, {
|
|
43
|
+
weekStartsOn: i,
|
|
44
|
+
locale: o
|
|
45
|
+
}) : void 0, r = e.dateLib && t ? { ...t, ...e.dateLib } : e.dateLib ?? t, f = new Ze({
|
|
46
|
+
locale: o,
|
|
47
|
+
weekStartsOn: i,
|
|
48
|
+
firstWeekContainsDate: e.firstWeekContainsDate,
|
|
49
|
+
useAdditionalWeekYearTokens: e.useAdditionalWeekYearTokens,
|
|
50
|
+
useAdditionalDayOfYearTokens: e.useAdditionalDayOfYearTokens,
|
|
51
|
+
timeZone: e.timeZone,
|
|
52
|
+
numerals: e.numerals
|
|
53
|
+
}, r);
|
|
54
|
+
return {
|
|
55
|
+
dateLib: f,
|
|
56
|
+
components: He(e.components),
|
|
57
|
+
formatters: je(e.formatters),
|
|
58
|
+
labels: Ve(e.labels, f.options),
|
|
59
|
+
locale: o,
|
|
60
|
+
classNames: { ...Ue(), ...e.classNames }
|
|
61
|
+
};
|
|
62
|
+
}, [
|
|
63
|
+
e.locale,
|
|
64
|
+
e.broadcastCalendar,
|
|
65
|
+
e.weekStartsOn,
|
|
66
|
+
e.firstWeekContainsDate,
|
|
67
|
+
e.useAdditionalWeekYearTokens,
|
|
68
|
+
e.useAdditionalDayOfYearTokens,
|
|
69
|
+
e.timeZone,
|
|
70
|
+
e.numerals,
|
|
71
|
+
e.dateLib,
|
|
72
|
+
e.noonSafe,
|
|
73
|
+
e.components,
|
|
74
|
+
e.formatters,
|
|
75
|
+
e.labels,
|
|
76
|
+
e.classNames
|
|
77
|
+
]);
|
|
78
|
+
e.today || (e = { ...e, today: a.today() });
|
|
79
|
+
const { captionLayout: N, mode: C, navLayout: D, numberOfMonths: I = 1, onDayBlur: G, onDayClick: W, onDayFocus: H, onDayKeyDown: _, onDayMouseEnter: U, onDayMouseLeave: j, onNextClick: V, onPrevClick: $, showWeekNumber: q, styles: c } = e, { formatCaption: z, formatDay: J, formatMonthDropdown: re, formatWeekNumber: ie, formatWeekNumberHeader: de, formatWeekdayName: le, formatYearDropdown: me } = v, Q = tt(e, a), { days: ce, months: E, navStart: B, navEnd: O, previousMonth: p, nextMonth: b, goToMonth: y } = Q, S = Ie(ce, e, B, O, a), { isSelected: x, select: L, selected: g } = nt(e, a) ?? {}, { blur: X, focused: ee, isFocusTarget: ue, moveFocus: te, setFocused: M } = ot(e, Q, S, x ?? (() => !1), a), { labelDayButton: fe, labelGridcell: pe, labelGrid: be, labelMonthDropdown: he, labelNav: ae, labelPrevious: ye, labelNext: ke, labelWeekday: Ne, labelWeekNumber: ve, labelWeekNumberHeader: De, labelYearDropdown: ge } = Z, Me = T(() => ze(a, e.ISOWeek, e.broadcastCalendar, e.today), [a, e.ISOWeek, e.broadcastCalendar, e.today]), oe = C !== void 0 || W !== void 0, Y = h(() => {
|
|
80
|
+
p && (y(p), $?.(p));
|
|
81
|
+
}, [p, y, $]), P = h(() => {
|
|
82
|
+
b && (y(b), V?.(b));
|
|
83
|
+
}, [y, b, V]), we = h((o, i) => (t) => {
|
|
84
|
+
t.preventDefault(), t.stopPropagation(), M(o), !i.disabled && (L?.(o.date, i, t), W?.(o.date, i, t));
|
|
85
|
+
}, [L, W, M]), Ce = h((o, i) => (t) => {
|
|
86
|
+
M(o), H?.(o.date, i, t);
|
|
87
|
+
}, [H, M]), We = h((o, i) => (t) => {
|
|
88
|
+
X(), G?.(o.date, i, t);
|
|
89
|
+
}, [X, G]), Ee = h((o, i) => (t) => {
|
|
90
|
+
const r = {
|
|
91
|
+
ArrowLeft: [
|
|
92
|
+
t.shiftKey ? "month" : "day",
|
|
93
|
+
e.dir === "rtl" ? "after" : "before"
|
|
94
|
+
],
|
|
95
|
+
ArrowRight: [
|
|
96
|
+
t.shiftKey ? "month" : "day",
|
|
97
|
+
e.dir === "rtl" ? "before" : "after"
|
|
98
|
+
],
|
|
99
|
+
ArrowDown: [t.shiftKey ? "year" : "week", "after"],
|
|
100
|
+
ArrowUp: [t.shiftKey ? "year" : "week", "before"],
|
|
101
|
+
PageUp: [t.shiftKey ? "year" : "month", "before"],
|
|
102
|
+
PageDown: [t.shiftKey ? "year" : "month", "after"],
|
|
103
|
+
Home: ["startOfWeek", "before"],
|
|
104
|
+
End: ["endOfWeek", "after"]
|
|
105
|
+
};
|
|
106
|
+
if (r[t.key]) {
|
|
107
|
+
t.preventDefault(), t.stopPropagation();
|
|
108
|
+
const [f, s] = r[t.key];
|
|
109
|
+
te(f, s);
|
|
20
110
|
}
|
|
21
|
-
|
|
111
|
+
_?.(o.date, i, t);
|
|
112
|
+
}, [te, _, e.dir]), Be = h((o, i) => (t) => {
|
|
113
|
+
U?.(o.date, i, t);
|
|
114
|
+
}, [U]), Oe = h((o, i) => (t) => {
|
|
115
|
+
j?.(o.date, i, t);
|
|
116
|
+
}, [j]), Se = h((o) => (i) => {
|
|
117
|
+
const t = Number(i.target.value), r = a.setMonth(a.startOfMonth(o), t);
|
|
118
|
+
y(r);
|
|
119
|
+
}, [a, y]), xe = h((o) => (i) => {
|
|
120
|
+
const t = Number(i.target.value), r = a.setYear(a.startOfMonth(o), t);
|
|
121
|
+
y(r);
|
|
122
|
+
}, [a, y]), { className: Le, style: Ye } = T(() => ({
|
|
123
|
+
className: [d[n.Root], e.className].filter(Boolean).join(" "),
|
|
124
|
+
style: { ...c?.[n.Root], ...e.style }
|
|
125
|
+
}), [d, e.className, e.style, c]), Pe = _e(e), ne = Re(null);
|
|
126
|
+
et(ne, !!e.animate, {
|
|
127
|
+
classNames: d,
|
|
128
|
+
months: E,
|
|
129
|
+
focused: ee,
|
|
130
|
+
dateLib: a
|
|
22
131
|
});
|
|
132
|
+
const Fe = {
|
|
133
|
+
dayPickerProps: e,
|
|
134
|
+
selected: g,
|
|
135
|
+
select: L,
|
|
136
|
+
isSelected: x,
|
|
137
|
+
months: E,
|
|
138
|
+
nextMonth: b,
|
|
139
|
+
previousMonth: p,
|
|
140
|
+
goToMonth: y,
|
|
141
|
+
getModifiers: S,
|
|
142
|
+
components: m,
|
|
143
|
+
classNames: d,
|
|
144
|
+
styles: c,
|
|
145
|
+
labels: Z,
|
|
146
|
+
formatters: v
|
|
147
|
+
};
|
|
148
|
+
return l.createElement(
|
|
149
|
+
at.Provider,
|
|
150
|
+
{ value: Fe },
|
|
151
|
+
l.createElement(
|
|
152
|
+
m.Root,
|
|
153
|
+
{ rootRef: e.animate ? ne : void 0, className: Le, style: Ye, dir: e.dir, id: e.id, lang: e.lang, nonce: e.nonce, title: e.title, role: e.role, "aria-label": e["aria-label"], "aria-labelledby": e["aria-labelledby"], ...Pe },
|
|
154
|
+
l.createElement(
|
|
155
|
+
m.Months,
|
|
156
|
+
{ className: d[n.Months], style: c?.[n.Months] },
|
|
157
|
+
!e.hideNavigation && !D && l.createElement(m.Nav, { "data-animated-nav": e.animate ? "true" : void 0, className: d[n.Nav], style: c?.[n.Nav], "aria-label": ae(), onPreviousClick: Y, onNextClick: P, previousMonth: p, nextMonth: b }),
|
|
158
|
+
E.map((o, i) => l.createElement(
|
|
159
|
+
m.Month,
|
|
160
|
+
{
|
|
161
|
+
"data-animated-month": e.animate ? "true" : void 0,
|
|
162
|
+
className: d[n.Month],
|
|
163
|
+
style: c?.[n.Month],
|
|
164
|
+
// biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
|
|
165
|
+
key: i,
|
|
166
|
+
displayIndex: i,
|
|
167
|
+
calendarMonth: o
|
|
168
|
+
},
|
|
169
|
+
D === "around" && !e.hideNavigation && i === 0 && l.createElement(
|
|
170
|
+
m.PreviousMonthButton,
|
|
171
|
+
{ type: "button", className: d[n.PreviousMonthButton], tabIndex: p ? void 0 : -1, "aria-disabled": p ? void 0 : !0, "aria-label": ye(p), onClick: Y, "data-animated-button": e.animate ? "true" : void 0 },
|
|
172
|
+
l.createElement(m.Chevron, { disabled: p ? void 0 : !0, className: d[n.Chevron], orientation: e.dir === "rtl" ? "right" : "left" })
|
|
173
|
+
),
|
|
174
|
+
l.createElement(m.MonthCaption, { "data-animated-caption": e.animate ? "true" : void 0, className: d[n.MonthCaption], style: c?.[n.MonthCaption], calendarMonth: o, displayIndex: i }, N?.startsWith("dropdown") ? l.createElement(
|
|
175
|
+
m.DropdownNav,
|
|
176
|
+
{ className: d[n.Dropdowns], style: c?.[n.Dropdowns] },
|
|
177
|
+
(() => {
|
|
178
|
+
const t = N === "dropdown" || N === "dropdown-months" ? l.createElement(m.MonthsDropdown, { key: "month", className: d[n.MonthsDropdown], "aria-label": he(), classNames: d, components: m, disabled: !!e.disableNavigation, onChange: Se(o.date), options: $e(o.date, B, O, v, a), style: c?.[n.Dropdown], value: a.getMonth(o.date) }) : l.createElement("span", { key: "month" }, re(o.date, a)), r = N === "dropdown" || N === "dropdown-years" ? l.createElement(m.YearsDropdown, { key: "year", className: d[n.YearsDropdown], "aria-label": ge(a.options), classNames: d, components: m, disabled: !!e.disableNavigation, onChange: xe(o.date), options: Je(B, O, v, a, !!e.reverseYears), style: c?.[n.Dropdown], value: a.getYear(o.date) }) : l.createElement("span", { key: "year" }, me(o.date, a));
|
|
179
|
+
return a.getMonthYearOrder() === "year-first" ? [r, t] : [t, r];
|
|
180
|
+
})(),
|
|
181
|
+
l.createElement("span", { role: "status", "aria-live": "polite", style: {
|
|
182
|
+
border: 0,
|
|
183
|
+
clip: "rect(0 0 0 0)",
|
|
184
|
+
height: "1px",
|
|
185
|
+
margin: "-1px",
|
|
186
|
+
overflow: "hidden",
|
|
187
|
+
padding: 0,
|
|
188
|
+
position: "absolute",
|
|
189
|
+
width: "1px",
|
|
190
|
+
whiteSpace: "nowrap",
|
|
191
|
+
wordWrap: "normal"
|
|
192
|
+
} }, z(o.date, a.options, a))
|
|
193
|
+
) : l.createElement(m.CaptionLabel, { className: d[n.CaptionLabel], role: "status", "aria-live": "polite" }, z(o.date, a.options, a))),
|
|
194
|
+
D === "around" && !e.hideNavigation && i === I - 1 && l.createElement(
|
|
195
|
+
m.NextMonthButton,
|
|
196
|
+
{ type: "button", className: d[n.NextMonthButton], tabIndex: b ? void 0 : -1, "aria-disabled": b ? void 0 : !0, "aria-label": ke(b), onClick: P, "data-animated-button": e.animate ? "true" : void 0 },
|
|
197
|
+
l.createElement(m.Chevron, { disabled: b ? void 0 : !0, className: d[n.Chevron], orientation: e.dir === "rtl" ? "left" : "right" })
|
|
198
|
+
),
|
|
199
|
+
i === I - 1 && D === "after" && !e.hideNavigation && l.createElement(m.Nav, { "data-animated-nav": e.animate ? "true" : void 0, className: d[n.Nav], style: c?.[n.Nav], "aria-label": ae(), onPreviousClick: Y, onNextClick: P, previousMonth: p, nextMonth: b }),
|
|
200
|
+
l.createElement(
|
|
201
|
+
m.MonthGrid,
|
|
202
|
+
{ role: "grid", "aria-multiselectable": C === "multiple" || C === "range", "aria-label": be(o.date, a.options, a) || void 0, className: d[n.MonthGrid], style: c?.[n.MonthGrid] },
|
|
203
|
+
!e.hideWeekdays && l.createElement(
|
|
204
|
+
m.Weekdays,
|
|
205
|
+
{ "data-animated-weekdays": e.animate ? "true" : void 0, className: d[n.Weekdays], style: c?.[n.Weekdays] },
|
|
206
|
+
q && l.createElement(m.WeekNumberHeader, { "aria-label": De(a.options), className: d[n.WeekNumberHeader], style: c?.[n.WeekNumberHeader], scope: "col" }, de()),
|
|
207
|
+
Me.map((t) => l.createElement(m.Weekday, { "aria-label": Ne(t, a.options, a), className: d[n.Weekday], key: String(t), style: c?.[n.Weekday], scope: "col" }, le(t, a.options, a)))
|
|
208
|
+
),
|
|
209
|
+
l.createElement(m.Weeks, { "data-animated-weeks": e.animate ? "true" : void 0, className: d[n.Weeks], style: c?.[n.Weeks] }, o.weeks.map((t) => l.createElement(
|
|
210
|
+
m.Week,
|
|
211
|
+
{ className: d[n.Week], key: t.weekNumber, style: c?.[n.Week], week: t },
|
|
212
|
+
q && l.createElement(m.WeekNumber, { week: t, style: c?.[n.WeekNumber], "aria-label": ve(t.weekNumber, {
|
|
213
|
+
locale: se
|
|
214
|
+
}), className: d[n.WeekNumber], scope: "row", role: "rowheader" }, ie(t.weekNumber, a)),
|
|
215
|
+
t.days.map((r) => {
|
|
216
|
+
const { date: f } = r, s = S(r);
|
|
217
|
+
if (s[Xe.focused] = !s.hidden && !!ee?.isEqualTo(r), s[w.selected] = x?.(f) || s.selected, rt(g)) {
|
|
218
|
+
const { from: F, to: A } = g;
|
|
219
|
+
s[w.range_start] = !!(F && A && a.isSameDay(f, F)), s[w.range_end] = !!(F && A && a.isSameDay(f, A)), s[w.range_middle] = st(g, f, !0, a);
|
|
220
|
+
}
|
|
221
|
+
const Ae = qe(s, c, e.modifiersStyles), Te = Ge(s, d, e.modifiersClassNames), Ke = !oe && !s.hidden ? pe(f, s, a.options, a) : void 0;
|
|
222
|
+
return l.createElement(m.Day, { key: `${r.isoDate}_${r.displayMonthId}`, day: r, modifiers: s, className: Te.join(" "), style: Ae, role: "gridcell", "aria-selected": s.selected || void 0, "aria-label": Ke, "data-day": r.isoDate, "data-month": r.outside ? r.dateMonthId : void 0, "data-selected": s.selected || void 0, "data-disabled": s.disabled || void 0, "data-hidden": s.hidden || void 0, "data-outside": r.outside || void 0, "data-focused": s.focused || void 0, "data-today": s.today || void 0 }, !s.hidden && oe ? l.createElement(m.DayButton, { className: d[n.DayButton], style: c?.[n.DayButton], type: "button", day: r, modifiers: s, disabled: !s.focused && s.disabled || void 0, "aria-disabled": s.focused && s.disabled || void 0, tabIndex: ue(r) ? 0 : -1, "aria-label": fe(f, s, a.options, a), onClick: we(r, s), onBlur: We(r, s), onFocus: Ce(r, s), onKeyDown: Ee(r, s), onMouseEnter: Be(r, s), onMouseLeave: Oe(r, s) }, J(f, a.options, a)) : !s.hidden && J(r.date, a.options, a));
|
|
223
|
+
})
|
|
224
|
+
)))
|
|
225
|
+
)
|
|
226
|
+
))
|
|
227
|
+
),
|
|
228
|
+
e.footer && l.createElement(m.Footer, { className: d[n.Footer], style: c?.[n.Footer], role: "status", "aria-live": "polite" }, e.footer)
|
|
229
|
+
)
|
|
230
|
+
);
|
|
23
231
|
}
|
|
24
232
|
export {
|
|
25
|
-
|
|
233
|
+
Yt as DayPicker
|
|
26
234
|
};
|
|
27
235
|
//# sourceMappingURL=index32.js.map
|
package/dist/index32.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index32.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, isDatesArray, isDayOfWeekType, } from \"./typeguards.js\";\n/**\n * Checks if a given date matches at least one of the specified {@link Matcher}.\n *\n * @param date - The date to check.\n * @param matchers - The matchers to check against.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date matches any of the matchers, otherwise `false`.\n * @group Utilities\n */\nexport function dateMatchModifiers(date, matchers, dateLib = defaultDateLib) {\n const matchersArr = !Array.isArray(matchers) ? [matchers] : matchers;\n const { isSameDay, differenceInCalendarDays, isAfter } = dateLib;\n return matchersArr.some((matcher) => {\n if (typeof matcher === \"boolean\") {\n return matcher;\n }\n if (dateLib.isDate(matcher)) {\n return isSameDay(date, matcher);\n }\n if (isDatesArray(matcher, dateLib)) {\n return matcher.some((matcherDate) => isSameDay(date, matcherDate));\n }\n if (isDateRange(matcher)) {\n return rangeIncludesDate(matcher, date, false, dateLib);\n }\n if (isDayOfWeekType(matcher)) {\n if (!Array.isArray(matcher.dayOfWeek)) {\n return matcher.dayOfWeek === date.getDay();\n }\n return matcher.dayOfWeek.includes(date.getDay());\n }\n if (isDateInterval(matcher)) {\n const diffBefore = differenceInCalendarDays(matcher.before, date);\n const diffAfter = differenceInCalendarDays(matcher.after, date);\n const isDayBefore = diffBefore > 0;\n const isDayAfter = diffAfter < 0;\n const isClosedInterval = isAfter(matcher.before, matcher.after);\n if (isClosedInterval) {\n return isDayAfter && isDayBefore;\n }\n else {\n return isDayBefore || isDayAfter;\n }\n }\n if (isDateAfterType(matcher)) {\n return differenceInCalendarDays(date, matcher.after) > 0;\n }\n if (isDateBeforeType(matcher)) {\n return differenceInCalendarDays(matcher.before, date) > 0;\n }\n if (typeof matcher === \"function\") {\n return matcher(date);\n }\n return false;\n });\n}\n/**\n * @private\n * @deprecated Use {@link dateMatchModifiers} instead.\n */\nexport const isMatch = dateMatchModifiers;\n"],"names":["dateMatchModifiers","date","matchers","dateLib","defaultDateLib","matchersArr","isSameDay","differenceInCalendarDays","isAfter","matcher","isDatesArray","matcherDate","isDateRange","rangeIncludesDate","isDayOfWeekType","isDateInterval","diffBefore","diffAfter","isDayBefore","isDayAfter","isDateAfterType","isDateBeforeType"],"mappings":";;;AAYO,SAASA,EAAmBC,GAAMC,GAAUC,IAAUC,GAAgB;AACzE,QAAMC,IAAe,MAAM,QAAQH,CAAQ,IAAiBA,IAAb,CAACA,CAAQ,GAClD,EAAE,WAAAI,GAAW,0BAAAC,GAA0B,SAAAC,EAAO,IAAKL;AACzD,SAAOE,EAAY,KAAK,CAACI,MAAY;AACjC,QAAI,OAAOA,KAAY;AACnB,aAAOA;AAEX,QAAIN,EAAQ,OAAOM,CAAO;AACtB,aAAOH,EAAUL,GAAMQ,CAAO;AAElC,QAAIC,EAAaD,GAASN,CAAO;AAC7B,aAAOM,EAAQ,KAAK,CAACE,MAAgBL,EAAUL,GAAMU,CAAW,CAAC;AAErE,QAAIC,EAAYH,CAAO;AACnB,aAAOI,EAAkBJ,GAASR,GAAM,IAAOE,CAAO;AAE1D,QAAIW,EAAgBL,CAAO;AACvB,aAAK,MAAM,QAAQA,EAAQ,SAAS,IAG7BA,EAAQ,UAAU,SAASR,EAAK,OAAM,CAAE,IAFpCQ,EAAQ,cAAcR,EAAK,OAAM;AAIhD,QAAIc,EAAeN,CAAO,GAAG;AACzB,YAAMO,IAAaT,EAAyBE,EAAQ,QAAQR,CAAI,GAC1DgB,IAAYV,EAAyBE,EAAQ,OAAOR,CAAI,GACxDiB,IAAcF,IAAa,GAC3BG,IAAaF,IAAY;AAE/B,aADyBT,EAAQC,EAAQ,QAAQA,EAAQ,KAAK,IAEnDU,KAAcD,IAGdA,KAAeC;AAAA,IAE9B;AACA,WAAIC,EAAgBX,CAAO,IAChBF,EAAyBN,GAAMQ,EAAQ,KAAK,IAAI,IAEvDY,EAAiBZ,CAAO,IACjBF,EAAyBE,EAAQ,QAAQR,CAAI,IAAI,IAExD,OAAOQ,KAAY,aACZA,EAAQR,CAAI,IAEhB;AAAA,EACX,CAAC;AACL;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index32.js","sources":["../../../node_modules/react-day-picker/dist/esm/DayPicker.js"],"sourcesContent":["import React, { useCallback, useMemo, useRef } from \"react\";\nimport { DateLib, defaultLocale } from \"./classes/DateLib.js\";\nimport { createGetModifiers } from \"./helpers/createGetModifiers.js\";\nimport { getClassNamesForModifiers } from \"./helpers/getClassNamesForModifiers.js\";\nimport { getComponents } from \"./helpers/getComponents.js\";\nimport { getDataAttributes } from \"./helpers/getDataAttributes.js\";\nimport { getDefaultClassNames } from \"./helpers/getDefaultClassNames.js\";\nimport { getFormatters } from \"./helpers/getFormatters.js\";\nimport { getLabels } from \"./helpers/getLabels.js\";\nimport { getMonthOptions } from \"./helpers/getMonthOptions.js\";\nimport { getStyleForModifiers } from \"./helpers/getStyleForModifiers.js\";\nimport { getWeekdays } from \"./helpers/getWeekdays.js\";\nimport { getYearOptions } from \"./helpers/getYearOptions.js\";\nimport { createNoonOverrides } from \"./noonDateLib.js\";\nimport { DayFlag, SelectionState, UI } from \"./UI.js\";\nimport { useAnimation } from \"./useAnimation.js\";\nimport { useCalendar } from \"./useCalendar.js\";\nimport { dayPickerContext } from \"./useDayPicker.js\";\nimport { useFocus } from \"./useFocus.js\";\nimport { useSelection } from \"./useSelection.js\";\nimport { convertMatchersToTimeZone } from \"./utils/convertMatchersToTimeZone.js\";\nimport { rangeIncludesDate } from \"./utils/rangeIncludesDate.js\";\nimport { toTimeZone } from \"./utils/toTimeZone.js\";\nimport { isDateRange } from \"./utils/typeguards.js\";\n/**\n * Renders the DayPicker calendar component.\n *\n * @param initialProps - The props for the DayPicker component.\n * @returns The rendered DayPicker component.\n * @group DayPicker\n * @see https://daypicker.dev\n */\nexport function DayPicker(initialProps) {\n let props = initialProps;\n const timeZone = props.timeZone;\n if (timeZone) {\n props = {\n ...initialProps,\n timeZone,\n };\n if (props.today) {\n props.today = toTimeZone(props.today, timeZone);\n }\n if (props.month) {\n props.month = toTimeZone(props.month, timeZone);\n }\n if (props.defaultMonth) {\n props.defaultMonth = toTimeZone(props.defaultMonth, timeZone);\n }\n if (props.startMonth) {\n props.startMonth = toTimeZone(props.startMonth, timeZone);\n }\n if (props.endMonth) {\n props.endMonth = toTimeZone(props.endMonth, timeZone);\n }\n if (props.mode === \"single\" && props.selected) {\n props.selected = toTimeZone(props.selected, timeZone);\n }\n else if (props.mode === \"multiple\" && props.selected) {\n props.selected = props.selected?.map((date) => toTimeZone(date, timeZone));\n }\n else if (props.mode === \"range\" && props.selected) {\n props.selected = {\n from: props.selected.from\n ? toTimeZone(props.selected.from, timeZone)\n : props.selected.from,\n to: props.selected.to\n ? toTimeZone(props.selected.to, timeZone)\n : props.selected.to,\n };\n }\n if (props.disabled !== undefined) {\n props.disabled = convertMatchersToTimeZone(props.disabled, timeZone);\n }\n if (props.hidden !== undefined) {\n props.hidden = convertMatchersToTimeZone(props.hidden, timeZone);\n }\n if (props.modifiers) {\n const nextModifiers = {};\n Object.keys(props.modifiers).forEach((key) => {\n nextModifiers[key] = convertMatchersToTimeZone(props.modifiers?.[key], timeZone);\n });\n props.modifiers = nextModifiers;\n }\n }\n const { components, formatters, labels, dateLib, locale, classNames } = useMemo(() => {\n const locale = { ...defaultLocale, ...props.locale };\n const weekStartsOn = props.broadcastCalendar ? 1 : props.weekStartsOn;\n const noonOverrides = props.noonSafe && props.timeZone\n ? createNoonOverrides(props.timeZone, {\n weekStartsOn,\n locale,\n })\n : undefined;\n const overrides = props.dateLib && noonOverrides\n ? { ...noonOverrides, ...props.dateLib }\n : (props.dateLib ?? noonOverrides);\n const dateLib = new DateLib({\n locale,\n weekStartsOn,\n firstWeekContainsDate: props.firstWeekContainsDate,\n useAdditionalWeekYearTokens: props.useAdditionalWeekYearTokens,\n useAdditionalDayOfYearTokens: props.useAdditionalDayOfYearTokens,\n timeZone: props.timeZone,\n numerals: props.numerals,\n }, overrides);\n return {\n dateLib,\n components: getComponents(props.components),\n formatters: getFormatters(props.formatters),\n labels: getLabels(props.labels, dateLib.options),\n locale,\n classNames: { ...getDefaultClassNames(), ...props.classNames },\n };\n }, [\n props.locale,\n props.broadcastCalendar,\n props.weekStartsOn,\n props.firstWeekContainsDate,\n props.useAdditionalWeekYearTokens,\n props.useAdditionalDayOfYearTokens,\n props.timeZone,\n props.numerals,\n props.dateLib,\n props.noonSafe,\n props.components,\n props.formatters,\n props.labels,\n props.classNames,\n ]);\n if (!props.today) {\n props = { ...props, today: dateLib.today() };\n }\n const { captionLayout, mode, navLayout, numberOfMonths = 1, onDayBlur, onDayClick, onDayFocus, onDayKeyDown, onDayMouseEnter, onDayMouseLeave, onNextClick, onPrevClick, showWeekNumber, styles, } = props;\n const { formatCaption, formatDay, formatMonthDropdown, formatWeekNumber, formatWeekNumberHeader, formatWeekdayName, formatYearDropdown, } = formatters;\n const calendar = useCalendar(props, dateLib);\n const { days, months, navStart, navEnd, previousMonth, nextMonth, goToMonth, } = calendar;\n const getModifiers = createGetModifiers(days, props, navStart, navEnd, dateLib);\n const { isSelected, select, selected: selectedValue, } = useSelection(props, dateLib) ?? {};\n const { blur, focused, isFocusTarget, moveFocus, setFocused } = useFocus(props, calendar, getModifiers, isSelected ?? (() => false), dateLib);\n const { labelDayButton, labelGridcell, labelGrid, labelMonthDropdown, labelNav, labelPrevious, labelNext, labelWeekday, labelWeekNumber, labelWeekNumberHeader, labelYearDropdown, } = labels;\n const weekdays = useMemo(() => getWeekdays(dateLib, props.ISOWeek, props.broadcastCalendar, props.today), [dateLib, props.ISOWeek, props.broadcastCalendar, props.today]);\n const isInteractive = mode !== undefined || onDayClick !== undefined;\n const handlePreviousClick = useCallback(() => {\n if (!previousMonth)\n return;\n goToMonth(previousMonth);\n onPrevClick?.(previousMonth);\n }, [previousMonth, goToMonth, onPrevClick]);\n const handleNextClick = useCallback(() => {\n if (!nextMonth)\n return;\n goToMonth(nextMonth);\n onNextClick?.(nextMonth);\n }, [goToMonth, nextMonth, onNextClick]);\n const handleDayClick = useCallback((day, m) => (e) => {\n e.preventDefault();\n e.stopPropagation();\n setFocused(day);\n if (m.disabled) {\n return;\n }\n select?.(day.date, m, e);\n onDayClick?.(day.date, m, e);\n }, [select, onDayClick, setFocused]);\n const handleDayFocus = useCallback((day, m) => (e) => {\n setFocused(day);\n onDayFocus?.(day.date, m, e);\n }, [onDayFocus, setFocused]);\n const handleDayBlur = useCallback((day, m) => (e) => {\n blur();\n onDayBlur?.(day.date, m, e);\n }, [blur, onDayBlur]);\n const handleDayKeyDown = useCallback((day, modifiers) => (e) => {\n const keyMap = {\n ArrowLeft: [\n e.shiftKey ? \"month\" : \"day\",\n props.dir === \"rtl\" ? \"after\" : \"before\",\n ],\n ArrowRight: [\n e.shiftKey ? \"month\" : \"day\",\n props.dir === \"rtl\" ? \"before\" : \"after\",\n ],\n ArrowDown: [e.shiftKey ? \"year\" : \"week\", \"after\"],\n ArrowUp: [e.shiftKey ? \"year\" : \"week\", \"before\"],\n PageUp: [e.shiftKey ? \"year\" : \"month\", \"before\"],\n PageDown: [e.shiftKey ? \"year\" : \"month\", \"after\"],\n Home: [\"startOfWeek\", \"before\"],\n End: [\"endOfWeek\", \"after\"],\n };\n if (keyMap[e.key]) {\n e.preventDefault();\n e.stopPropagation();\n const [moveBy, moveDir] = keyMap[e.key];\n moveFocus(moveBy, moveDir);\n }\n onDayKeyDown?.(day.date, modifiers, e);\n }, [moveFocus, onDayKeyDown, props.dir]);\n const handleDayMouseEnter = useCallback((day, modifiers) => (e) => {\n onDayMouseEnter?.(day.date, modifiers, e);\n }, [onDayMouseEnter]);\n const handleDayMouseLeave = useCallback((day, modifiers) => (e) => {\n onDayMouseLeave?.(day.date, modifiers, e);\n }, [onDayMouseLeave]);\n const handleMonthChange = useCallback((date) => (e) => {\n const selectedMonth = Number(e.target.value);\n const month = dateLib.setMonth(dateLib.startOfMonth(date), selectedMonth);\n goToMonth(month);\n }, [dateLib, goToMonth]);\n const handleYearChange = useCallback((date) => (e) => {\n const selectedYear = Number(e.target.value);\n const month = dateLib.setYear(dateLib.startOfMonth(date), selectedYear);\n goToMonth(month);\n }, [dateLib, goToMonth]);\n const { className, style } = useMemo(() => ({\n className: [classNames[UI.Root], props.className]\n .filter(Boolean)\n .join(\" \"),\n style: { ...styles?.[UI.Root], ...props.style },\n }), [classNames, props.className, props.style, styles]);\n const dataAttributes = getDataAttributes(props);\n const rootElRef = useRef(null);\n useAnimation(rootElRef, Boolean(props.animate), {\n classNames,\n months,\n focused,\n dateLib,\n });\n const contextValue = {\n dayPickerProps: props,\n selected: selectedValue,\n select: select,\n isSelected,\n months,\n nextMonth,\n previousMonth,\n goToMonth,\n getModifiers,\n components,\n classNames,\n styles,\n labels,\n formatters,\n };\n return (React.createElement(dayPickerContext.Provider, { value: contextValue },\n React.createElement(components.Root, { rootRef: props.animate ? rootElRef : undefined, className: className, style: style, dir: props.dir, id: props.id, lang: props.lang, nonce: props.nonce, title: props.title, role: props.role, \"aria-label\": props[\"aria-label\"], \"aria-labelledby\": props[\"aria-labelledby\"], ...dataAttributes },\n React.createElement(components.Months, { className: classNames[UI.Months], style: styles?.[UI.Months] },\n !props.hideNavigation && !navLayout && (React.createElement(components.Nav, { \"data-animated-nav\": props.animate ? \"true\" : undefined, className: classNames[UI.Nav], style: styles?.[UI.Nav], \"aria-label\": labelNav(), onPreviousClick: handlePreviousClick, onNextClick: handleNextClick, previousMonth: previousMonth, nextMonth: nextMonth })),\n months.map((calendarMonth, displayIndex) => {\n return (React.createElement(components.Month, { \"data-animated-month\": props.animate ? \"true\" : undefined, className: classNames[UI.Month], style: styles?.[UI.Month], \n // biome-ignore lint/suspicious/noArrayIndexKey: breaks animation\n key: displayIndex, displayIndex: displayIndex, calendarMonth: calendarMonth },\n navLayout === \"around\" &&\n !props.hideNavigation &&\n displayIndex === 0 && (React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, \"aria-disabled\": previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: handlePreviousClick, \"data-animated-button\": props.animate ? \"true\" : undefined },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: props.dir === \"rtl\" ? \"right\" : \"left\" }))),\n React.createElement(components.MonthCaption, { \"data-animated-caption\": props.animate ? \"true\" : undefined, className: classNames[UI.MonthCaption], style: styles?.[UI.MonthCaption], calendarMonth: calendarMonth, displayIndex: displayIndex }, captionLayout?.startsWith(\"dropdown\") ? (React.createElement(components.DropdownNav, { className: classNames[UI.Dropdowns], style: styles?.[UI.Dropdowns] },\n (() => {\n const monthControl = captionLayout === \"dropdown\" ||\n captionLayout === \"dropdown-months\" ? (React.createElement(components.MonthsDropdown, { key: \"month\", className: classNames[UI.MonthsDropdown], \"aria-label\": labelMonthDropdown(), classNames: classNames, components: components, disabled: Boolean(props.disableNavigation), onChange: handleMonthChange(calendarMonth.date), options: getMonthOptions(calendarMonth.date, navStart, navEnd, formatters, dateLib), style: styles?.[UI.Dropdown], value: dateLib.getMonth(calendarMonth.date) })) : (React.createElement(\"span\", { key: \"month\" }, formatMonthDropdown(calendarMonth.date, dateLib)));\n const yearControl = captionLayout === \"dropdown\" ||\n captionLayout === \"dropdown-years\" ? (React.createElement(components.YearsDropdown, { key: \"year\", className: classNames[UI.YearsDropdown], \"aria-label\": labelYearDropdown(dateLib.options), classNames: classNames, components: components, disabled: Boolean(props.disableNavigation), onChange: handleYearChange(calendarMonth.date), options: getYearOptions(navStart, navEnd, formatters, dateLib, Boolean(props.reverseYears)), style: styles?.[UI.Dropdown], value: dateLib.getYear(calendarMonth.date) })) : (React.createElement(\"span\", { key: \"year\" }, formatYearDropdown(calendarMonth.date, dateLib)));\n const controls = dateLib.getMonthYearOrder() === \"year-first\"\n ? [yearControl, monthControl]\n : [monthControl, yearControl];\n return controls;\n })(),\n React.createElement(\"span\", { role: \"status\", \"aria-live\": \"polite\", style: {\n border: 0,\n clip: \"rect(0 0 0 0)\",\n height: \"1px\",\n margin: \"-1px\",\n overflow: \"hidden\",\n padding: 0,\n position: \"absolute\",\n width: \"1px\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\",\n } }, formatCaption(calendarMonth.date, dateLib.options, dateLib)))) : (React.createElement(components.CaptionLabel, { className: classNames[UI.CaptionLabel], role: \"status\", \"aria-live\": \"polite\" }, formatCaption(calendarMonth.date, dateLib.options, dateLib)))),\n navLayout === \"around\" &&\n !props.hideNavigation &&\n displayIndex === numberOfMonths - 1 && (React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, \"aria-disabled\": nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: handleNextClick, \"data-animated-button\": props.animate ? \"true\" : undefined },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, className: classNames[UI.Chevron], orientation: props.dir === \"rtl\" ? \"left\" : \"right\" }))),\n displayIndex === numberOfMonths - 1 &&\n navLayout === \"after\" &&\n !props.hideNavigation && (React.createElement(components.Nav, { \"data-animated-nav\": props.animate ? \"true\" : undefined, className: classNames[UI.Nav], style: styles?.[UI.Nav], \"aria-label\": labelNav(), onPreviousClick: handlePreviousClick, onNextClick: handleNextClick, previousMonth: previousMonth, nextMonth: nextMonth })),\n React.createElement(components.MonthGrid, { role: \"grid\", \"aria-multiselectable\": mode === \"multiple\" || mode === \"range\", \"aria-label\": labelGrid(calendarMonth.date, dateLib.options, dateLib) ||\n undefined, className: classNames[UI.MonthGrid], style: styles?.[UI.MonthGrid] },\n !props.hideWeekdays && (React.createElement(components.Weekdays, { \"data-animated-weekdays\": props.animate ? \"true\" : undefined, className: classNames[UI.Weekdays], style: styles?.[UI.Weekdays] },\n showWeekNumber && (React.createElement(components.WeekNumberHeader, { \"aria-label\": labelWeekNumberHeader(dateLib.options), className: classNames[UI.WeekNumberHeader], style: styles?.[UI.WeekNumberHeader], scope: \"col\" }, formatWeekNumberHeader())),\n weekdays.map((weekday) => (React.createElement(components.Weekday, { \"aria-label\": labelWeekday(weekday, dateLib.options, dateLib), className: classNames[UI.Weekday], key: String(weekday), style: styles?.[UI.Weekday], scope: \"col\" }, formatWeekdayName(weekday, dateLib.options, dateLib)))))),\n React.createElement(components.Weeks, { \"data-animated-weeks\": props.animate ? \"true\" : undefined, className: classNames[UI.Weeks], style: styles?.[UI.Weeks] }, calendarMonth.weeks.map((week) => {\n return (React.createElement(components.Week, { className: classNames[UI.Week], key: week.weekNumber, style: styles?.[UI.Week], week: week },\n showWeekNumber && (React.createElement(components.WeekNumber, { week: week, style: styles?.[UI.WeekNumber], \"aria-label\": labelWeekNumber(week.weekNumber, {\n locale,\n }), className: classNames[UI.WeekNumber], scope: \"row\", role: \"rowheader\" }, formatWeekNumber(week.weekNumber, dateLib))),\n week.days.map((day) => {\n const { date } = day;\n const modifiers = getModifiers(day);\n modifiers[DayFlag.focused] =\n !modifiers.hidden &&\n Boolean(focused?.isEqualTo(day));\n modifiers[SelectionState.selected] =\n isSelected?.(date) || modifiers.selected;\n if (isDateRange(selectedValue)) {\n // add range modifiers\n const { from, to } = selectedValue;\n modifiers[SelectionState.range_start] = Boolean(from && to && dateLib.isSameDay(date, from));\n modifiers[SelectionState.range_end] = Boolean(from && to && dateLib.isSameDay(date, to));\n modifiers[SelectionState.range_middle] =\n rangeIncludesDate(selectedValue, date, true, dateLib);\n }\n const style = getStyleForModifiers(modifiers, styles, props.modifiersStyles);\n const className = getClassNamesForModifiers(modifiers, classNames, props.modifiersClassNames);\n const ariaLabel = !isInteractive && !modifiers.hidden\n ? labelGridcell(date, modifiers, dateLib.options, dateLib)\n : undefined;\n return (React.createElement(components.Day, { key: `${day.isoDate}_${day.displayMonthId}`, day: day, modifiers: modifiers, className: className.join(\" \"), style: style, role: \"gridcell\", \"aria-selected\": modifiers.selected || undefined, \"aria-label\": ariaLabel, \"data-day\": day.isoDate, \"data-month\": day.outside ? day.dateMonthId : undefined, \"data-selected\": modifiers.selected || undefined, \"data-disabled\": modifiers.disabled || undefined, \"data-hidden\": modifiers.hidden || undefined, \"data-outside\": day.outside || undefined, \"data-focused\": modifiers.focused || undefined, \"data-today\": modifiers.today || undefined }, !modifiers.hidden && isInteractive ? (React.createElement(components.DayButton, { className: classNames[UI.DayButton], style: styles?.[UI.DayButton], type: \"button\", day: day, modifiers: modifiers, disabled: (!modifiers.focused &&\n modifiers.disabled) ||\n undefined, \"aria-disabled\": (modifiers.focused &&\n modifiers.disabled) ||\n undefined, tabIndex: isFocusTarget(day) ? 0 : -1, \"aria-label\": labelDayButton(date, modifiers, dateLib.options, dateLib), onClick: handleDayClick(day, modifiers), onBlur: handleDayBlur(day, modifiers), onFocus: handleDayFocus(day, modifiers), onKeyDown: handleDayKeyDown(day, modifiers), onMouseEnter: handleDayMouseEnter(day, modifiers), onMouseLeave: handleDayMouseLeave(day, modifiers) }, formatDay(date, dateLib.options, dateLib))) : (!modifiers.hidden &&\n formatDay(day.date, dateLib.options, dateLib))));\n })));\n })))));\n })),\n props.footer && (React.createElement(components.Footer, { className: classNames[UI.Footer], style: styles?.[UI.Footer], role: \"status\", \"aria-live\": \"polite\" }, props.footer)))));\n}\n"],"names":["DayPicker","initialProps","props","timeZone","toTimeZone","date","convertMatchersToTimeZone","nextModifiers","key","components","formatters","labels","dateLib","locale","classNames","useMemo","defaultLocale","weekStartsOn","noonOverrides","createNoonOverrides","overrides","DateLib","getComponents","getFormatters","getLabels","getDefaultClassNames","captionLayout","mode","navLayout","numberOfMonths","onDayBlur","onDayClick","onDayFocus","onDayKeyDown","onDayMouseEnter","onDayMouseLeave","onNextClick","onPrevClick","showWeekNumber","styles","formatCaption","formatDay","formatMonthDropdown","formatWeekNumber","formatWeekNumberHeader","formatWeekdayName","formatYearDropdown","calendar","useCalendar","days","months","navStart","navEnd","previousMonth","nextMonth","goToMonth","getModifiers","createGetModifiers","isSelected","select","selectedValue","useSelection","blur","focused","isFocusTarget","moveFocus","setFocused","useFocus","labelDayButton","labelGridcell","labelGrid","labelMonthDropdown","labelNav","labelPrevious","labelNext","labelWeekday","labelWeekNumber","labelWeekNumberHeader","labelYearDropdown","weekdays","getWeekdays","isInteractive","handlePreviousClick","useCallback","handleNextClick","handleDayClick","day","m","e","handleDayFocus","handleDayBlur","handleDayKeyDown","modifiers","keyMap","moveBy","moveDir","handleDayMouseEnter","handleDayMouseLeave","handleMonthChange","selectedMonth","month","handleYearChange","selectedYear","className","style","UI","dataAttributes","getDataAttributes","rootElRef","useRef","useAnimation","contextValue","React","dayPickerContext","calendarMonth","displayIndex","monthControl","getMonthOptions","yearControl","getYearOptions","weekday","week","DayFlag","SelectionState","isDateRange","from","to","rangeIncludesDate","getStyleForModifiers","getClassNamesForModifiers","ariaLabel"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgCO,SAASA,GAAUC,GAAc;AACpC,MAAIC,IAAQD;AACZ,QAAME,IAAWD,EAAM;AACvB,MAAIC,MACAD,IAAQ;AAAA,IACJ,GAAGD;AAAA,IACH,UAAAE;AAAA,EACZ,GACYD,EAAM,UACNA,EAAM,QAAQE,EAAWF,EAAM,OAAOC,CAAQ,IAE9CD,EAAM,UACNA,EAAM,QAAQE,EAAWF,EAAM,OAAOC,CAAQ,IAE9CD,EAAM,iBACNA,EAAM,eAAeE,EAAWF,EAAM,cAAcC,CAAQ,IAE5DD,EAAM,eACNA,EAAM,aAAaE,EAAWF,EAAM,YAAYC,CAAQ,IAExDD,EAAM,aACNA,EAAM,WAAWE,EAAWF,EAAM,UAAUC,CAAQ,IAEpDD,EAAM,SAAS,YAAYA,EAAM,WACjCA,EAA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AAgBM,EAAU,WAAW,QAAW,cAAcA,EAAU,SAAS,UAAa,CAACA,EAAU,UAAUX,KAAiB+B,EAAM,cAAcvG,EAAW,WAAW,EAAE,WAAWK,EAAW2F,EAAG,SAAS,GAAG,OAAOlE,IAASkE,EAAG,SAAS,GAAG,MAAM,UAAU,KAAKnB,GAAK,WAAWM,GAAW,UAAW,CAACA,EAAU,WACt0BA,EAAU,YACV,QAAW,iBAAkBA,EAAU,WACvCA,EAAU,YACV,QAAW,UAAU5B,GAAcsB,CAAG,IAAI,IAAI,IAAI,cAAclB,GAAe/D,GAAMuF,GAAWhF,EAAQ,SAASA,CAAO,GAAG,SAASyE,GAAeC,GAAKM,CAAS,GAAG,QAAQF,GAAcJ,GAAKM,CAAS,GAAG,SAASH,GAAeH,GAAKM,CAAS,GAAG,WAAWD,GAAiBL,GAAKM,CAAS,GAAG,cAAcI,GAAoBV,GAAKM,CAAS,GAAG,cAAcK,GAAoBX,GAAKM,CAAS,EAAC,GAAInD,EAAUpC,GAAMO,EAAQ,SAASA,CAAO,CAAC,IAAM,CAACgF,EAAU,UACvcnD,EAAU6C,EAAI,MAAM1E,EAAQ,SAASA,CAAO,CAAE;AAAA,cACtD,CAAC;AAAA,YAAC,CACT,CAAC;AAAA,UAAC;AAAA,QAAC,CACf;AAAA,MAAC;AAAA,MACNV,EAAM,UAAW8G,EAAM,cAAcvG,EAAW,QAAQ,EAAE,WAAWK,EAAW2F,EAAG,MAAM,GAAG,OAAOlE,IAASkE,EAAG,MAAM,GAAG,MAAM,UAAU,aAAa,YAAYvG,EAAM,MAAM;AAAA,IAAE;AAAA,EAAC;AAC5L;","x_google_ignoreList":[0]}
|
package/dist/index320.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index320.js","sources":["../../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js"],"sourcesContent":["export function buildFormatLongFn(args) {\n return (options = {}) => {\n // TODO: Remove String()\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n"],"names":["buildFormatLongFn","args","options","width"],"mappings":"AAAO,SAASA,EAAkBC,GAAM;AACtC,SAAO,CAACC,IAAU,OAAO;AAEvB,UAAMC,IAAQD,EAAQ,QAAQ,OAAOA,EAAQ,KAAK,IAAID,EAAK;AAE3D,WADeA,EAAK,QAAQE,CAAK,KAAKF,EAAK,QAAQA,EAAK,YAAY;AAAA,EAEtE;AACF;","x_google_ignoreList":[0]}
|
package/dist/index321.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var a = {
|
|
2
|
+
left: 0,
|
|
3
|
+
top: 0,
|
|
4
|
+
right: 0,
|
|
5
|
+
gap: 0
|
|
6
|
+
}, e = function(t) {
|
|
7
|
+
return parseInt(t || "", 10) || 0;
|
|
8
|
+
}, o = function(t) {
|
|
9
|
+
var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
|
|
10
|
+
return [e(i), e(r), e(d)];
|
|
11
|
+
}, f = function(t) {
|
|
12
|
+
if (t === void 0 && (t = "margin"), typeof window > "u")
|
|
13
|
+
return a;
|
|
14
|
+
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
|
15
|
+
return {
|
|
16
|
+
left: n[0],
|
|
17
|
+
top: n[1],
|
|
18
|
+
right: n[2],
|
|
19
|
+
gap: Math.max(0, r - i + n[2] - n[0])
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
f as getGapWidth,
|
|
24
|
+
a as zeroGap
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=index321.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index321.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAG,GAC1DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EAC9E;AACA;","x_google_ignoreList":[0]}
|
package/dist/index322.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { stylesheetSingleton as r } from "./index323.js";
|
|
3
|
+
var i = function() {
|
|
4
|
+
var t = r();
|
|
5
|
+
return function(e, n) {
|
|
6
|
+
o.useEffect(function() {
|
|
7
|
+
return t.add(e), function() {
|
|
8
|
+
t.remove();
|
|
9
|
+
};
|
|
10
|
+
}, [e && n]);
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
i as styleHookSingleton
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=index322.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index322.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAmB;AAC/B,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAM;AAAA,MAChB;AAAA,IACJ,GAAG,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC5B;AACJ;","x_google_ignoreList":[0]}
|
package/dist/index323.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { getNonce as o } from "./index324.js";
|
|
2
|
+
function r() {
|
|
3
|
+
if (!document)
|
|
4
|
+
return null;
|
|
5
|
+
var t = document.createElement("style");
|
|
6
|
+
t.type = "text/css";
|
|
7
|
+
var e = o();
|
|
8
|
+
return e && t.setAttribute("nonce", e), t;
|
|
9
|
+
}
|
|
10
|
+
function l(t, e) {
|
|
11
|
+
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
|
12
|
+
}
|
|
13
|
+
function a(t) {
|
|
14
|
+
var e = document.head || document.getElementsByTagName("head")[0];
|
|
15
|
+
e.appendChild(t);
|
|
16
|
+
}
|
|
17
|
+
var c = function() {
|
|
18
|
+
var t = 0, e = null;
|
|
19
|
+
return {
|
|
20
|
+
add: function(n) {
|
|
21
|
+
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
|
22
|
+
},
|
|
23
|
+
remove: function() {
|
|
24
|
+
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
c as stylesheetSingleton
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=index323.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index323.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAQ;AACpB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACJ;AAAA,IACA,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAErB;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
package/dist/index324.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index324.js","sources":["../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
|