@rpcbase/ui 0.241.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/DayPickerField/index.d.ts.map +1 -1
- package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/country-options.d.ts +1 -1
- package/dist/components/PhoneNumberInput/country-options.d.ts.map +1 -1
- package/dist/index100.js +8 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +5 -8
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +3 -3
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +6 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +152 -6
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +38 -144
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -39
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +7 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +12 -6
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +13 -13
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +7 -13
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +30 -6
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +10 -31
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +10 -10
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +8 -10
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +13 -8
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +101 -13
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +20 -102
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +54 -20
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +70 -51
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +9 -72
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +20 -9
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +16 -20
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +23 -16
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +6 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +5 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +23 -5
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +35 -24
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +14 -35
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +5 -16
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +4 -6
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -4
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +3 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -3
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +22 -7
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -24
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +4 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +5 -6
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +3 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +4 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +3 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +4 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -3
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -3
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +5 -3
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +68 -5
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +2 -69
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +386 -2
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +201 -303
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +46 -247
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +42 -56
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +169 -46
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +96 -156
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +24 -109
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +8 -25
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +91 -91
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +5 -8
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +5 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +4 -5
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +487 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +151 -428
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +13 -185
- package/dist/index165.js.map +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +6 -6
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +3 -6
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +15 -17
- package/dist/index169.js.map +1 -1
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +12 -9
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +10 -10
- package/dist/index172.js.map +1 -1
- package/dist/index173.js.map +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +13 -12
- package/dist/index176.js.map +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js.map +1 -1
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +1 -1
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +2 -2
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +6 -8
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +161 -246
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +279 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +5 -28
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +23 -122
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +126 -5
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +59 -74
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +7 -65
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +16 -9
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +31 -16
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +65 -88
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +58 -65
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -45
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +77 -48
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +19 -8
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +15 -86
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +4 -18
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +4 -15
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -5
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -6
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -4
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -6
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -16
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +12 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +9 -4
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +13 -12
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +13 -9
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +4 -13
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -13
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -4
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +54 -6
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +4 -54
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +4 -8
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -4
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -8
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -4
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -4
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +8 -9
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -9
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -10
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -10
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -9
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +4 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -5
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -4
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +16 -6
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +7 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +9 -15
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +10 -7
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +21 -10
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +8 -10
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +9 -21
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +9 -10
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +4 -9
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +16 -4
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +9 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +18 -16
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +20 -9
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +8 -14
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +29 -15
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +12 -12
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +24 -28
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +5 -12
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +152 -23
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +32 -5
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +12 -20
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +44 -61
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -6
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -11
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +41 -48
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +98 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +84 -27
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +103 -14
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +52 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +11 -21
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +4 -51
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +37 -25
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +8 -41
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +132 -36
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +421 -350
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +18 -45
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +14 -19
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +3 -70
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +34 -15
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +20 -11
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +8 -27
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +9 -13
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +24 -18
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +27 -35
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +16 -262
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +20 -279
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +64 -66
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +6 -99
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +5 -83
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +11 -3
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +3 -29
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +50 -16
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +4 -35
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +28 -15
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +16 -3
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +48 -29
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +5 -26
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +20 -27
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +54 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +18 -76
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +37 -265
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +39 -11
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +45 -10
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +20 -25
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +69 -15
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +14 -122
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +3 -5
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +11 -40
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +12 -64
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +19 -14
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +36 -7
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +239 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +252 -3
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +68 -10
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +99 -7
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +80 -130
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +194 -184
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +3 -399
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +29 -52
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +15 -10
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +35 -12
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +17 -13
- 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 -29
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +28 -9
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +4 -49
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +77 -10
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +3 -3
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +271 -43
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +11 -95
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +11 -87
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +24 -104
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +16 -52
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +124 -10
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +5 -37
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +65 -8
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +14 -4
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +7 -9
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +5 -116
- 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 -36
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +131 -18
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +398 -7
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +5 -20
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +50 -26
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +11 -16
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +27 -8
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +7 -61
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +11 -11
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +8 -8
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +11 -13
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +8 -3
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +13 -3
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +3 -17
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +3 -51
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +17 -5
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +60 -121
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +65 -31
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +29 -30
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +47 -69
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +5 -142
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +7 -60
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +4 -49
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +12 -15
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +21 -8
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +17 -5
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +8 -12
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +144 -21
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +79 -4
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +52 -53
- package/dist/index36.js.map +1 -1
- package/dist/index360.js +61 -17
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +15 -13
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +4 -11
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +18 -17
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +13 -4
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +4 -5
- 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/index37.js.map +1 -1
- package/dist/index370.js +3 -201
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +20 -77
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +45 -21
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +18 -9
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +5 -26
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +196 -22
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +73 -137
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +121 -10
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +7 -225
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +27 -4
- package/dist/index379.js.map +1 -1
- package/dist/index38.js.map +1 -1
- package/dist/index380.js +136 -18
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +10 -75
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +47 -12
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +3 -3
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +19 -69
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +76 -9
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +12 -16
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +3 -4
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +71 -4
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +36 -4
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +3 -3
- package/dist/index39.js.map +1 -1
- package/dist/index390.js +7 -16
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +15 -8
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +4 -5
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +4 -4
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +4 -546
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +16 -47
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +8 -17
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +5 -5
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +4 -7
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +545 -6
- package/dist/index399.js.map +1 -1
- package/dist/index40.js.map +1 -1
- package/dist/index400.js +47 -8
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +17 -11
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +5 -8
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +7 -12
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +7 -3
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +8 -3
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +11 -14
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +8 -491
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +12 -4
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +3 -56
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +45 -40
- package/dist/index41.js.map +1 -1
- package/dist/index410.js +3 -68
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +15 -31
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +3 -9
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +488 -149
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +66 -106
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +31 -8
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +9 -2
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +150 -41
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +108 -56
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +4 -7
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +56 -2
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +7 -54
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +2 -56
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +44 -2
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +56 -2
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +8 -2
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +2 -2
- package/dist/index427.js +54 -15
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +55 -28
- package/dist/index428.js.map +1 -1
- package/dist/index429.js +31 -11
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +14 -5
- package/dist/index430.js.map +1 -1
- package/dist/index431.js +32 -0
- package/dist/index431.js.map +1 -0
- package/dist/index432.js +16 -0
- package/dist/index432.js.map +1 -0
- package/dist/index433.js +10 -0
- package/dist/index433.js.map +1 -0
- package/dist/index434.js +5 -0
- package/dist/index434.js.map +1 -0
- package/dist/index435.js +5 -0
- package/dist/index435.js.map +1 -0
- package/dist/index436.js +5 -0
- package/dist/index436.js.map +1 -0
- package/dist/index437.js +5 -0
- package/dist/index437.js.map +1 -0
- package/dist/index48.js +2 -2
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +274 -268
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +182 -184
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +3 -3
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +105 -103
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +5 -5
- package/dist/index53.js.map +1 -1
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +102 -110
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +4 -4
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +5 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +9 -9
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +5 -5
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +43 -48
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +90 -86
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +2 -2
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +24 -26
- package/dist/index62.js.map +1 -1
- package/dist/index76.js +1 -1
- package/dist/index77.js +2 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -2
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +50 -52
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +4 -4
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +12 -4
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -15
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +7 -5
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +17 -7
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -16
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +1 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +5 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +4 -4
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +4 -5
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +2 -2
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +5 -3
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +24 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +4 -24
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +4 -6
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +2 -2
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +5 -6
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +4 -5
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -3
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -5
- package/dist/index99.js.map +1 -1
- package/package.json +14 -12
package/dist/index29.js
CHANGED
|
@@ -1,40 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
var e, r, a, m = "The Google Maps JavaScript API", n = "google", p = "importLibrary", _ = "__ib__", l = document, E = window, u = E[n] || (E[n] = {}), i = u.maps || (u.maps = {}), f = /* @__PURE__ */ new Set(), t = new URLSearchParams(), S = () => e || (e = new Promise(async (s, c) => {
|
|
6
|
-
await (r = l.createElement("script")), t.set("libraries", [...f] + "");
|
|
7
|
-
for (a in o)
|
|
8
|
-
t.set(a.replace(/[A-Z]/g, (b) => "_" + b[0].toLowerCase()), o[a]);
|
|
9
|
-
t.set("callback", n + ".maps." + _), w(r, "https://maps.googleapis.com/maps/api/js?" + t), i[_] = s, r.onerror = () => e = c(Error(m + " could not load.")), r.nonce = l.querySelector("script[nonce]")?.nonce || "", l.head.append(r);
|
|
10
|
-
}));
|
|
11
|
-
i[p] ? console.warn(m + " only loads once. Ignoring:", o) : i[p] = (s, ...c) => f.add(s) && S().then(() => i[p](s, ...c));
|
|
12
|
-
}, y = (o) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(o)}) will be ignored.`, O = (o) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(o)}) will be ignored.`, T = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", L = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", h = process.env.NODE_ENV !== "production", d = h ? (o) => {
|
|
13
|
-
console.warn(`[@googlemaps/js-api-loader] ${o}`);
|
|
1
|
+
const w = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, L = (e) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`, O = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", v = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", I = "The 'apiKey' parameter was used in setOptions(), but 'key' is the correct parameter name. Please update your configuration.", A = (e, o) => `Failed to create Trusted Types policy "${e}": ${o instanceof Error ? o.message : String(o)}.
|
|
2
|
+
|
|
3
|
+
If your Content Security Policy uses "require-trusted-types-for 'script'", allow this policy with "trusted-types ${e} google-maps-api-loader google-maps-api#html lit-html". The "google-maps-api-loader", "lit-html", and "google-maps-api#html" policies are required for full Maps JavaScript API execution. Falling back to a string script URL.`, T = process.env.NODE_ENV !== "production", i = T ? (e) => {
|
|
4
|
+
console.warn(`[@googlemaps/js-api-loader] ${e}`);
|
|
14
5
|
} : () => {
|
|
15
|
-
},
|
|
16
|
-
console.info(`[@googlemaps/js-api-loader] ${
|
|
6
|
+
}, M = T ? (e) => {
|
|
7
|
+
console.info(`[@googlemaps/js-api-loader] ${e}`);
|
|
17
8
|
} : () => {
|
|
18
|
-
},
|
|
19
|
-
let
|
|
20
|
-
function
|
|
21
|
-
if (
|
|
22
|
-
|
|
9
|
+
}, S = "@googlemaps/js-api-loader", h = { createScriptURL: (e) => e };
|
|
10
|
+
let t;
|
|
11
|
+
function N() {
|
|
12
|
+
if (t)
|
|
13
|
+
return t;
|
|
14
|
+
const e = globalThis.trustedTypes;
|
|
15
|
+
if (!e)
|
|
16
|
+
return t = h, t;
|
|
17
|
+
try {
|
|
18
|
+
t = e.createPolicy(S, {
|
|
19
|
+
createScriptURL: (o) => o
|
|
20
|
+
});
|
|
21
|
+
} catch (o) {
|
|
22
|
+
i(A(S, o)), t = h;
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
}
|
|
26
|
+
function R(e, o) {
|
|
27
|
+
e.src = N().createScriptURL(o);
|
|
28
|
+
}
|
|
29
|
+
const D = (e) => {
|
|
30
|
+
var o, r, l, u = "The Google Maps JavaScript API", c = "google", p = "importLibrary", _ = "__ib__", g = document, y = window, f = y[c] || (y[c] = {}), a = f.maps || (f.maps = {}), E = /* @__PURE__ */ new Set(), s = new URLSearchParams(), P = () => o || (o = new Promise(async (n, d) => {
|
|
31
|
+
await (r = g.createElement("script")), s.set("libraries", [...E] + "");
|
|
32
|
+
for (l in e)
|
|
33
|
+
s.set(l.replace(/[A-Z]/g, (b) => "_" + b[0].toLowerCase()), e[l]);
|
|
34
|
+
s.set("callback", c + ".maps." + _), R(r, "https://maps.googleapis.com/maps/api/js?" + s), a[_] = n, r.onerror = () => o = d(Error(u + " could not load.")), r.nonce = g.querySelector("script[nonce]")?.nonce || "", g.head.append(r);
|
|
35
|
+
}));
|
|
36
|
+
a[p] ? console.warn(u + " only loads once. Ignoring:", e) : a[p] = (n, ...d) => E.add(n) && P().then(() => a[p](n, ...d));
|
|
37
|
+
}, G = process.env.NODE_ENV !== "production";
|
|
38
|
+
let m = !1;
|
|
39
|
+
function k(e) {
|
|
40
|
+
if (m) {
|
|
41
|
+
i(w(e));
|
|
23
42
|
return;
|
|
24
43
|
}
|
|
25
|
-
|
|
44
|
+
e.apiKey && (i(I), e.key || (e.key = e.apiKey)), U(e), m = !0;
|
|
26
45
|
}
|
|
27
|
-
async function
|
|
28
|
-
if (
|
|
46
|
+
async function C(e) {
|
|
47
|
+
if (m || i(O), !window?.google?.maps?.importLibrary)
|
|
29
48
|
throw new Error("google.maps.importLibrary is not installed.");
|
|
30
|
-
return await google.maps.importLibrary(
|
|
49
|
+
return await google.maps.importLibrary(e);
|
|
31
50
|
}
|
|
32
|
-
function
|
|
33
|
-
const
|
|
34
|
-
|
|
51
|
+
function U(e) {
|
|
52
|
+
const o = !!window.google?.maps?.importLibrary;
|
|
53
|
+
o ? M(L(e)) : G && document.querySelector('script[src*="maps.googleapis.com/maps/api/js"]') && i(v), o || D(e);
|
|
35
54
|
}
|
|
36
55
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
56
|
+
C as importLibrary,
|
|
57
|
+
k as setOptions
|
|
39
58
|
};
|
|
40
59
|
//# sourceMappingURL=index29.js.map
|
package/dist/index29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index29.js","sources":["../../../node_modules/@googlemaps/js-api-loader/dist/index.js"],"sourcesContent":["/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nfunction setScriptSrc(script, src) {\n script.src = src;\n}\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nconst bootstrap = bootstrapParams => {\n var bootstrapPromise;\n var script;\n var bootstrapParamsKey;\n var PRODUCT_NAME = \"The Google Maps JavaScript API\";\n var GOOGLE = \"google\";\n var IMPORT_API_NAME = \"importLibrary\";\n var PENDING_BOOTSTRAP_KEY = \"__ib__\";\n var doc = document;\n var global_ = window;\n var google_ = global_[GOOGLE] || (global_[GOOGLE] = {});\n var namespace = google_.maps || (google_.maps = {});\n var libraries = new Set();\n var searchParams = new URLSearchParams();\n var triggerBootstrap = () => bootstrapPromise || (bootstrapPromise = new Promise(async(resolve, reject) => {\n await (script = doc.createElement(\"script\"));\n searchParams.set(\"libraries\", [...libraries] + \"\");\n for (bootstrapParamsKey in bootstrapParams) {\n searchParams.set(bootstrapParamsKey.replace(/[A-Z]/g, g => \"_\" + g[0].toLowerCase()), bootstrapParams[bootstrapParamsKey]);\n }\n searchParams.set(\"callback\", GOOGLE + \".maps.\" + PENDING_BOOTSTRAP_KEY);\n setScriptSrc(script, \"https://maps.googleapis.com/maps/api/js?\" + searchParams);\n namespace[PENDING_BOOTSTRAP_KEY] = resolve;\n script.onerror = () => bootstrapPromise = reject(Error(PRODUCT_NAME + \" could not load.\"));\n script.nonce = doc.querySelector(\"script[nonce]\")?.nonce || \"\";\n doc.head.append(script);\n }));\n namespace[IMPORT_API_NAME] ? console.warn(PRODUCT_NAME + \" only loads once. Ignoring:\", bootstrapParams) : namespace[IMPORT_API_NAME] = (libraryName, ...args) => libraries.add(libraryName) && triggerBootstrap().then(() => namespace[IMPORT_API_NAME](libraryName, ...args));\n};\n\nconst MSG_DEPRECATED_LOADER = \"The Loader class is no longer available in this version.\" +\n \"\\nPlease use the new functional API: setOptions() and importLibrary().\" +\n \"\\nFor more information, see the updated documentation at: \" +\n \"https://github.com/googlemaps/js-api-loader/blob/main/README.md\";\nconst MSG_REPEATED_SET_OPTIONS = (options) => `The setOptions() function should only be called once. The options passed ` +\n `to the additional call (${JSON.stringify(options)}) will be ignored.`;\nconst MSG_IMPORT_LIBRARY_EXISTS = (options) => `The google.maps.importLibrary() function is already defined, and ` +\n `@googlemaps/js-api-loader will use the existing function instead of ` +\n `overwriting it. The options passed to setOptions ` +\n `(${JSON.stringify(options)}) will be ignored.`;\nconst MSG_SET_OPTIONS_NOT_CALLED = \"No options were set before calling importLibrary. Make sure to configure \" +\n \"the loader using setOptions().\";\nconst MSG_SCRIPT_ELEMENT_EXISTS = \"There already is a script loading the Google Maps JavaScript \" +\n \"API, and no google.maps.importLibrary function is defined. \" +\n \"@googlemaps/js-api-loader will proceed to bootstrap the API \" +\n \"with the specified options, but the existing script might cause \" +\n \"problems using the API. Make sure to remove the script \" +\n \"loading the API.\";\nconst __DEV__$1 = process.env.NODE_ENV !== 'production';\nconst logDevWarning = __DEV__$1\n ? (message) => {\n console.warn(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\nconst logDevNotice = __DEV__$1\n ? (message) => {\n console.info(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars */\n/**\n * @deprecated Use the new functional API: `setOptions()` and `importLibrary()`.\n * See the migration guide for more details: MIGRATION.md\n */\nclass Loader {\n constructor(...args) {\n throw new Error(`[@googlemaps/js-api-loader]: ${MSG_DEPRECATED_LOADER}`);\n }\n}\n\n/*\n * Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst __DEV__ = process.env.NODE_ENV !== 'production';\nlet setOptionsWasCalled_ = false;\n/**\n * Sets the options for the Maps JavaScript API.\n *\n * Has to be called before any library is loaded.\n *\n * See https://developers.google.com/maps/documentation/javascript/load-maps-js-api#required_parameters\n * for the full documentation of available options.\n *\n * @param options The options to set.\n */\nfunction setOptions(options) {\n if (setOptionsWasCalled_) {\n logDevWarning(MSG_REPEATED_SET_OPTIONS(options));\n return;\n }\n installImportLibrary_(options);\n setOptionsWasCalled_ = true;\n}\nasync function importLibrary(libraryName) {\n if (!setOptionsWasCalled_) {\n logDevWarning(MSG_SET_OPTIONS_NOT_CALLED);\n }\n if (!window?.google?.maps?.importLibrary) {\n throw new Error(\"google.maps.importLibrary is not installed.\");\n }\n return (await google.maps.importLibrary(libraryName));\n}\n/**\n * The installImportLibrary_ function makes sure that a usable version of the\n * `google.maps.importLibrary` function exists.\n */\nfunction installImportLibrary_(options) {\n const importLibraryExists = Boolean(window.google?.maps?.importLibrary);\n if (importLibraryExists) {\n logDevNotice(MSG_IMPORT_LIBRARY_EXISTS(options));\n }\n else if (__DEV__) {\n const scriptEl = document.querySelector('script[src*=\"maps.googleapis.com/maps/api/js\"]');\n if (scriptEl) {\n logDevWarning(MSG_SCRIPT_ELEMENT_EXISTS);\n }\n }\n // If the google.maps.importLibrary function already exists, bootstrap()\n // won't do anything, so we won't call it\n if (!importLibraryExists) {\n bootstrap(options);\n }\n}\n\nexport { Loader, importLibrary, setOptions };\n//# sourceMappingURL=index.js.map\n"],"names":["setScriptSrc","script","src","bootstrap","bootstrapParams","bootstrapPromise","bootstrapParamsKey","PRODUCT_NAME","GOOGLE","IMPORT_API_NAME","PENDING_BOOTSTRAP_KEY","doc","global_","google_","namespace","libraries","searchParams","triggerBootstrap","resolve","reject","g","libraryName","args","MSG_REPEATED_SET_OPTIONS","options","MSG_IMPORT_LIBRARY_EXISTS","MSG_SET_OPTIONS_NOT_CALLED","MSG_SCRIPT_ELEMENT_EXISTS","__DEV__$1","logDevWarning","message","logDevNotice","__DEV__","setOptionsWasCalled_","setOptions","installImportLibrary_","importLibrary","importLibraryExists"],"mappings":"AAIA,SAASA,EAAaC,GAAQC,GAAK;AAC/B,EAAAD,EAAO,MAAMC;AACjB;AAQA,MAAMC,IAAY,CAAAC,MAAmB;AACnC,MAAIC,GACAJ,GACAK,GACAC,IAAe,kCACfC,IAAS,UACTC,IAAkB,iBAClBC,IAAwB,UACxBC,IAAM,UACNC,IAAU,QACVC,IAAUD,EAAQJ,CAAM,MAAMI,EAAQJ,CAAM,IAAI,KAChDM,IAAYD,EAAQ,SAASA,EAAQ,OAAO,CAAA,IAC5CE,IAAY,oBAAI,IAAG,GACnBC,IAAe,IAAI,gBAAe,GAClCC,IAAmB,MAAMZ,MAAqBA,IAAmB,IAAI,QAAQ,OAAMa,GAASC,MAAW;AACzG,WAAOlB,IAASU,EAAI,cAAc,QAAQ,IAC1CK,EAAa,IAAI,aAAa,CAAC,GAAGD,CAAS,IAAI,EAAE;AACjD,SAAKT,KAAsBF;AACzB,MAAAY,EAAa,IAAIV,EAAmB,QAAQ,UAAU,CAAAc,MAAK,MAAMA,EAAE,CAAC,EAAE,YAAW,CAAE,GAAGhB,EAAgBE,CAAkB,CAAC;AAE3H,IAAAU,EAAa,IAAI,YAAYR,IAAS,WAAWE,CAAqB,GACtEV,EAAaC,GAAQ,6CAA6Ce,CAAY,GAC9EF,EAAUJ,CAAqB,IAAIQ,GACnCjB,EAAO,UAAU,MAAMI,IAAmBc,EAAO,MAAMZ,IAAe,kBAAkB,CAAC,GACzFN,EAAO,QAAQU,EAAI,cAAc,eAAe,GAAG,SAAS,IAC5DA,EAAI,KAAK,OAAOV,CAAM;AAAA,EACxB,CAAC;AACD,EAAAa,EAAUL,CAAe,IAAI,QAAQ,KAAKF,IAAe,+BAA+BH,CAAe,IAAIU,EAAUL,CAAe,IAAI,CAACY,MAAgBC,MAASP,EAAU,IAAIM,CAAW,KAAKJ,EAAgB,EAAG,KAAK,MAAMH,EAAUL,CAAe,EAAEY,GAAa,GAAGC,CAAI,CAAC;AAChR,GAMMC,IAA2B,CAACC,MAAY,oGACf,KAAK,UAAUA,CAAO,CAAC,sBAChDC,IAA4B,CAACD,MAAY,0LAGvC,KAAK,UAAUA,CAAO,CAAC,sBACzBE,IAA6B,2GAE7BC,IAA4B,+TAM5BC,IAAY,QAAQ,IAAI,aAAa,cACrCC,IAAgBD,IAChB,CAACE,MAAY;AACX,UAAQ,KAAK,+BAA+BA,CAAO,EAAE;AACzD,IACE,MAAM;AAAE,GACRC,IAAeH,IACf,CAACE,MAAY;AACX,UAAQ,KAAK,+BAA+BA,CAAO,EAAE;AACzD,IACE,MAAM;AAAE,GAgCRE,IAAU,QAAQ,IAAI,aAAa;AACzC,IAAIC,IAAuB;AAW3B,SAASC,EAAWV,GAAS;AACzB,MAAIS,GAAsB;AACtB,IAAAJ,EAAcN,EAAyBC,CAAO,CAAC;AAC/C;AAAA,EACJ;AACA,EAAAW,EAAsBX,CAAO,GAC7BS,IAAuB;AAC3B;AACA,eAAeG,EAAcf,GAAa;AAItC,MAHKY,KACDJ,EAAcH,CAA0B,GAExC,CAAC,QAAQ,QAAQ,MAAM;AACvB,UAAM,IAAI,MAAM,6CAA6C;AAEjE,SAAQ,MAAM,OAAO,KAAK,cAAcL,CAAW;AACvD;AAKA,SAASc,EAAsBX,GAAS;AACpC,QAAMa,IAAsB,EAAQ,OAAO,QAAQ,MAAM;AACzD,EAAIA,IACAN,EAAaN,EAA0BD,CAAO,CAAC,IAE1CQ,KACY,SAAS,cAAc,gDAAgD,KAEpFH,EAAcF,CAAyB,GAK1CU,KACDlC,EAAUqB,CAAO;AAEzB;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index29.js","sources":["../../../node_modules/@googlemaps/js-api-loader/dist/index.js"],"sourcesContent":["const MSG_DEPRECATED_LOADER = \"The Loader class is no longer available in this version.\" +\n \"\\nPlease use the new functional API: setOptions() and importLibrary().\" +\n \"\\nFor more information, see the updated documentation at: \" +\n \"https://github.com/googlemaps/js-api-loader/blob/main/README.md\";\nconst MSG_REPEATED_SET_OPTIONS = (options) => `The setOptions() function should only be called once. The options passed ` +\n `to the additional call (${JSON.stringify(options)}) will be ignored.`;\nconst MSG_IMPORT_LIBRARY_EXISTS = (options) => `The google.maps.importLibrary() function is already defined, and ` +\n `@googlemaps/js-api-loader will use the existing function instead of ` +\n `overwriting it. The options passed to setOptions ` +\n `(${JSON.stringify(options)}) will be ignored.`;\nconst MSG_SET_OPTIONS_NOT_CALLED = \"No options were set before calling importLibrary. Make sure to configure \" +\n \"the loader using setOptions().\";\nconst MSG_SCRIPT_ELEMENT_EXISTS = \"There already is a script loading the Google Maps JavaScript \" +\n \"API, and no google.maps.importLibrary function is defined. \" +\n \"@googlemaps/js-api-loader will proceed to bootstrap the API \" +\n \"with the specified options, but the existing script might cause \" +\n \"problems using the API. Make sure to remove the script \" +\n \"loading the API.\";\nconst MSG_API_KEY_USED = \"The 'apiKey' parameter was used in setOptions(), but 'key' is the correct \" +\n \"parameter name. Please update your configuration.\";\nconst MSG_TRUSTED_TYPES_POLICY_FAILED = (policyName, error) => `Failed to create Trusted Types policy \"${policyName}\": ${error instanceof Error ? error.message : String(error)}.\\n\\n` +\n `If your Content Security Policy uses \"require-trusted-types-for 'script'\", ` +\n `allow this policy with \"trusted-types ${policyName} google-maps-api-loader google-maps-api#html lit-html\". ` +\n `The \"google-maps-api-loader\", \"lit-html\", and \"google-maps-api#html\" policies are required for full Maps JavaScript API execution. ` +\n `Falling back to a string script URL.`;\nconst __DEV__$1 = process.env.NODE_ENV !== 'production';\nconst logDevWarning = __DEV__$1\n ? (message) => {\n console.warn(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\nconst logDevNotice = __DEV__$1\n ? (message) => {\n console.info(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nconst TRUSTED_TYPES_POLICY_NAME = \"@googlemaps/js-api-loader\";\nconst fallbackPolicy = { createScriptURL: (url) => url };\nlet policy;\n/*\n * Tries to create a Trusted Types policy when supported. Falls back to a string passthrough\n * when Trusted Types is unsupported, blocked by CSP, or already registered.\n */\nfunction getPolicy() {\n if (policy) {\n return policy;\n }\n const trustedTypes = globalThis.trustedTypes;\n if (!trustedTypes) {\n policy = fallbackPolicy;\n return policy;\n }\n try {\n policy = trustedTypes.createPolicy(TRUSTED_TYPES_POLICY_NAME, {\n createScriptURL: (url) => url,\n });\n }\n catch (e) {\n logDevWarning(MSG_TRUSTED_TYPES_POLICY_FAILED(TRUSTED_TYPES_POLICY_NAME, e));\n policy = fallbackPolicy;\n }\n return policy;\n}\nfunction setScriptSrc(script, src) {\n script.src = getPolicy().createScriptURL(src);\n}\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nconst bootstrap = bootstrapParams => {\n var bootstrapPromise;\n var script;\n var bootstrapParamsKey;\n var PRODUCT_NAME = \"The Google Maps JavaScript API\";\n var GOOGLE = \"google\";\n var IMPORT_API_NAME = \"importLibrary\";\n var PENDING_BOOTSTRAP_KEY = \"__ib__\";\n var doc = document;\n var global_ = window;\n var google_ = global_[GOOGLE] || (global_[GOOGLE] = {});\n var namespace = google_.maps || (google_.maps = {});\n var libraries = new Set();\n var searchParams = new URLSearchParams();\n var triggerBootstrap = () => bootstrapPromise || (bootstrapPromise = new Promise(async(resolve, reject) => {\n await (script = doc.createElement(\"script\"));\n searchParams.set(\"libraries\", [...libraries] + \"\");\n for (bootstrapParamsKey in bootstrapParams) {\n searchParams.set(bootstrapParamsKey.replace(/[A-Z]/g, g => \"_\" + g[0].toLowerCase()), bootstrapParams[bootstrapParamsKey]);\n }\n searchParams.set(\"callback\", GOOGLE + \".maps.\" + PENDING_BOOTSTRAP_KEY);\n setScriptSrc(script, \"https://maps.googleapis.com/maps/api/js?\" + searchParams);\n namespace[PENDING_BOOTSTRAP_KEY] = resolve;\n script.onerror = () => bootstrapPromise = reject(Error(PRODUCT_NAME + \" could not load.\"));\n script.nonce = doc.querySelector(\"script[nonce]\")?.nonce || \"\";\n doc.head.append(script);\n }));\n namespace[IMPORT_API_NAME] ? console.warn(PRODUCT_NAME + \" only loads once. Ignoring:\", bootstrapParams) : namespace[IMPORT_API_NAME] = (libraryName, ...args) => libraries.add(libraryName) && triggerBootstrap().then(() => namespace[IMPORT_API_NAME](libraryName, ...args));\n};\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars */\n/**\n * @deprecated Use the new functional API: `setOptions()` and `importLibrary()`.\n * See the migration guide for more details: MIGRATION.md\n */\nclass Loader {\n constructor(...args) {\n throw new Error(`[@googlemaps/js-api-loader]: ${MSG_DEPRECATED_LOADER}`);\n }\n}\n\n/*\n * Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst __DEV__ = process.env.NODE_ENV !== \"production\";\nlet setOptionsWasCalled_ = false;\n/**\n * Sets the options for the Maps JavaScript API.\n *\n * Has to be called before any library is loaded.\n *\n * See https://developers.google.com/maps/documentation/javascript/load-maps-js-api#required_parameters\n * for the full documentation of available options.\n *\n * @param options The options to set.\n */\nfunction setOptions(options) {\n if (setOptionsWasCalled_) {\n logDevWarning(MSG_REPEATED_SET_OPTIONS(options));\n return;\n }\n if (options.apiKey) {\n logDevWarning(MSG_API_KEY_USED);\n if (!options.key) {\n options.key = options.apiKey;\n }\n }\n installImportLibrary_(options);\n setOptionsWasCalled_ = true;\n}\nasync function importLibrary(libraryName) {\n if (!setOptionsWasCalled_) {\n logDevWarning(MSG_SET_OPTIONS_NOT_CALLED);\n }\n if (!window?.google?.maps?.importLibrary) {\n throw new Error(\"google.maps.importLibrary is not installed.\");\n }\n return (await google.maps.importLibrary(libraryName));\n}\n/**\n * The installImportLibrary_ function makes sure that a usable version of the\n * `google.maps.importLibrary` function exists.\n */\nfunction installImportLibrary_(options) {\n const importLibraryExists = Boolean(window.google?.maps?.importLibrary);\n if (importLibraryExists) {\n logDevNotice(MSG_IMPORT_LIBRARY_EXISTS(options));\n }\n else if (__DEV__) {\n const scriptEl = document.querySelector('script[src*=\"maps.googleapis.com/maps/api/js\"]');\n if (scriptEl) {\n logDevWarning(MSG_SCRIPT_ELEMENT_EXISTS);\n }\n }\n // If the google.maps.importLibrary function already exists, bootstrap()\n // won't do anything, so we won't call it\n if (!importLibraryExists) {\n bootstrap(options);\n }\n}\n\nexport { Loader, importLibrary, setOptions };\n//# sourceMappingURL=index.js.map\n"],"names":["MSG_REPEATED_SET_OPTIONS","options","MSG_IMPORT_LIBRARY_EXISTS","MSG_SET_OPTIONS_NOT_CALLED","MSG_SCRIPT_ELEMENT_EXISTS","MSG_API_KEY_USED","MSG_TRUSTED_TYPES_POLICY_FAILED","policyName","error","__DEV__$1","logDevWarning","message","logDevNotice","TRUSTED_TYPES_POLICY_NAME","fallbackPolicy","url","policy","getPolicy","trustedTypes","e","setScriptSrc","script","src","bootstrap","bootstrapParams","bootstrapPromise","bootstrapParamsKey","PRODUCT_NAME","GOOGLE","IMPORT_API_NAME","PENDING_BOOTSTRAP_KEY","doc","global_","google_","namespace","libraries","searchParams","triggerBootstrap","resolve","reject","g","libraryName","args","__DEV__","setOptionsWasCalled_","setOptions","installImportLibrary_","importLibrary","importLibraryExists"],"mappings":"AAIA,MAAMA,IAA2B,CAACC,MAAY,oGACf,KAAK,UAAUA,CAAO,CAAC,sBAChDC,IAA4B,CAACD,MAAY,0LAGvC,KAAK,UAAUA,CAAO,CAAC,sBACzBE,IAA6B,2GAE7BC,IAA4B,+TAM5BC,IAAmB,+HAEnBC,IAAkC,CAACC,GAAYC,MAAU,0CAA0CD,CAAU,MAAMC,aAAiB,QAAQA,EAAM,UAAU,OAAOA,CAAK,CAAC;AAAA;AAAA,mHAElID,CAAU,mOAGjDE,IAAY,QAAQ,IAAI,aAAa,cACrCC,IAAgBD,IAChB,CAACE,MAAY;AACX,UAAQ,KAAK,+BAA+BA,CAAO,EAAE;AACzD,IACE,MAAM;AAAE,GACRC,IAAeH,IACf,CAACE,MAAY;AACX,UAAQ,KAAK,+BAA+BA,CAAO,EAAE;AACzD,IACE,MAAM;AAAE,GAMRE,IAA4B,6BAC5BC,IAAiB,EAAE,iBAAiB,CAACC,MAAQA,EAAG;AACtD,IAAIC;AAKJ,SAASC,IAAY;AACjB,MAAID;AACA,WAAOA;AAEX,QAAME,IAAe,WAAW;AAChC,MAAI,CAACA;AACD,WAAAF,IAASF,GACFE;AAEX,MAAI;AACA,IAAAA,IAASE,EAAa,aAAaL,GAA2B;AAAA,MAC1D,iBAAiB,CAACE,MAAQA;AAAA,IACtC,CAAS;AAAA,EACL,SACOI,GAAG;AACN,IAAAT,EAAcJ,EAAgCO,GAA2BM,CAAC,CAAC,GAC3EH,IAASF;AAAA,EACb;AACA,SAAOE;AACX;AACA,SAASI,EAAaC,GAAQC,GAAK;AAC/B,EAAAD,EAAO,MAAMJ,IAAY,gBAAgBK,CAAG;AAChD;AAQA,MAAMC,IAAY,CAAAC,MAAmB;AACnC,MAAIC,GACAJ,GACAK,GACAC,IAAe,kCACfC,IAAS,UACTC,IAAkB,iBAClBC,IAAwB,UACxBC,IAAM,UACNC,IAAU,QACVC,IAAUD,EAAQJ,CAAM,MAAMI,EAAQJ,CAAM,IAAI,KAChDM,IAAYD,EAAQ,SAASA,EAAQ,OAAO,CAAA,IAC5CE,IAAY,oBAAI,IAAG,GACnBC,IAAe,IAAI,gBAAe,GAClCC,IAAmB,MAAMZ,MAAqBA,IAAmB,IAAI,QAAQ,OAAMa,GAASC,MAAW;AACzG,WAAOlB,IAASU,EAAI,cAAc,QAAQ,IAC1CK,EAAa,IAAI,aAAa,CAAC,GAAGD,CAAS,IAAI,EAAE;AACjD,SAAKT,KAAsBF;AACzB,MAAAY,EAAa,IAAIV,EAAmB,QAAQ,UAAU,CAAAc,MAAK,MAAMA,EAAE,CAAC,EAAE,YAAW,CAAE,GAAGhB,EAAgBE,CAAkB,CAAC;AAE3H,IAAAU,EAAa,IAAI,YAAYR,IAAS,WAAWE,CAAqB,GACtEV,EAAaC,GAAQ,6CAA6Ce,CAAY,GAC9EF,EAAUJ,CAAqB,IAAIQ,GACnCjB,EAAO,UAAU,MAAMI,IAAmBc,EAAO,MAAMZ,IAAe,kBAAkB,CAAC,GACzFN,EAAO,QAAQU,EAAI,cAAc,eAAe,GAAG,SAAS,IAC5DA,EAAI,KAAK,OAAOV,CAAM;AAAA,EACxB,CAAC;AACD,EAAAa,EAAUL,CAAe,IAAI,QAAQ,KAAKF,IAAe,+BAA+BH,CAAe,IAAIU,EAAUL,CAAe,IAAI,CAACY,MAAgBC,MAASP,EAAU,IAAIM,CAAW,KAAKJ,EAAgB,EAAG,KAAK,MAAMH,EAAUL,CAAe,EAAEY,GAAa,GAAGC,CAAI,CAAC;AAChR,GAgCMC,IAAU,QAAQ,IAAI,aAAa;AACzC,IAAIC,IAAuB;AAW3B,SAASC,EAAW5C,GAAS;AACzB,MAAI2C,GAAsB;AACtB,IAAAlC,EAAcV,EAAyBC,CAAO,CAAC;AAC/C;AAAA,EACJ;AACA,EAAIA,EAAQ,WACRS,EAAcL,CAAgB,GACzBJ,EAAQ,QACTA,EAAQ,MAAMA,EAAQ,UAG9B6C,EAAsB7C,CAAO,GAC7B2C,IAAuB;AAC3B;AACA,eAAeG,EAAcN,GAAa;AAItC,MAHKG,KACDlC,EAAcP,CAA0B,GAExC,CAAC,QAAQ,QAAQ,MAAM;AACvB,UAAM,IAAI,MAAM,6CAA6C;AAEjE,SAAQ,MAAM,OAAO,KAAK,cAAcsC,CAAW;AACvD;AAKA,SAASK,EAAsB7C,GAAS;AACpC,QAAM+C,IAAsB,EAAQ,OAAO,QAAQ,MAAM;AACzD,EAAIA,IACApC,EAAaV,EAA0BD,CAAO,CAAC,IAE1C0C,KACY,SAAS,cAAc,gDAAgD,KAEpFjC,EAAcN,CAAyB,GAK1C4C,KACDzB,EAAUtB,CAAO;AAEzB;","x_google_ignoreList":[0]}
|
package/dist/index290.js
CHANGED
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import { FOCUSABLE_ATTRIBUTE as u, TYPEABLE_SELECTOR as n } from "./index385.js";
|
|
3
|
-
function a(t, r) {
|
|
4
|
-
if (r == null)
|
|
5
|
-
return !1;
|
|
6
|
-
if ("composedPath" in t)
|
|
7
|
-
return t.composedPath().includes(r);
|
|
8
|
-
const o = t;
|
|
9
|
-
return o.target != null && r.contains(o.target);
|
|
10
|
-
}
|
|
11
|
-
function b(t) {
|
|
12
|
-
return t.matches("html,body");
|
|
13
|
-
}
|
|
14
|
-
function e(t) {
|
|
15
|
-
return i(t) && t.matches(n);
|
|
16
|
-
}
|
|
17
|
-
function f(t) {
|
|
18
|
-
return t ? t.getAttribute("role") === "combobox" && e(t) : !1;
|
|
19
|
-
}
|
|
20
|
-
function T(t) {
|
|
21
|
-
return t ? t.hasAttribute(u) ? t : t.querySelector(`[${u}]`) || t : null;
|
|
1
|
+
function e() {
|
|
22
2
|
}
|
|
3
|
+
const t = Object.freeze([]), c = Object.freeze({});
|
|
23
4
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
f as isTypeableCombobox,
|
|
28
|
-
e as isTypeableElement
|
|
5
|
+
t as EMPTY_ARRAY,
|
|
6
|
+
c as EMPTY_OBJECT,
|
|
7
|
+
e as NOOP
|
|
29
8
|
};
|
|
30
9
|
//# sourceMappingURL=index290.js.map
|
package/dist/index290.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index290.js","sources":["
|
|
1
|
+
{"version":3,"file":"index290.js","sources":["../node_modules/@base-ui/utils/empty.mjs"],"sourcesContent":["export function NOOP() {}\nexport const EMPTY_ARRAY = Object.freeze([]);\nexport const EMPTY_OBJECT = Object.freeze({});"],"names":["NOOP","EMPTY_ARRAY","EMPTY_OBJECT"],"mappings":"AAAO,SAASA,IAAO;AAAC;AACZ,MAACC,IAAc,OAAO,OAAO,CAAA,CAAE,GAC9BC,IAAe,OAAO,OAAO,CAAA,CAAE;","x_google_ignoreList":[0]}
|
package/dist/index291.js
CHANGED
|
@@ -1,32 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import o from "./index190.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
const n = /* @__PURE__ */ e.createContext(null);
|
|
4
|
+
process.env.NODE_ENV !== "production" && (n.displayName = "SelectRootContext");
|
|
5
|
+
const c = /* @__PURE__ */ e.createContext(null);
|
|
6
|
+
process.env.NODE_ENV !== "production" && (c.displayName = "SelectFloatingContext");
|
|
7
|
+
function s() {
|
|
8
|
+
const t = e.useContext(n);
|
|
9
|
+
if (t === null)
|
|
10
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>." : o(60));
|
|
11
|
+
return t;
|
|
7
12
|
}
|
|
8
|
-
function
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return !0;
|
|
14
|
-
if (n && r(n)) {
|
|
15
|
-
let o = e;
|
|
16
|
-
for (; o; ) {
|
|
17
|
-
if (t === o)
|
|
18
|
-
return !0;
|
|
19
|
-
o = o.parentNode || o.host;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return !1;
|
|
23
|
-
}
|
|
24
|
-
function f(t) {
|
|
25
|
-
return "composedPath" in t ? t.composedPath()[0] : t.target;
|
|
13
|
+
function i() {
|
|
14
|
+
const t = e.useContext(c);
|
|
15
|
+
if (t === null)
|
|
16
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SelectFloatingContext is missing. Select parts must be placed within <Select.Root>." : o(61));
|
|
17
|
+
return t;
|
|
26
18
|
}
|
|
27
19
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
20
|
+
c as SelectFloatingContext,
|
|
21
|
+
n as SelectRootContext,
|
|
22
|
+
i as useSelectFloatingContext,
|
|
23
|
+
s as useSelectRootContext
|
|
31
24
|
};
|
|
32
25
|
//# sourceMappingURL=index291.js.map
|
package/dist/index291.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index291.js","sources":["
|
|
1
|
+
{"version":3,"file":"index291.js","sources":["../node_modules/@base-ui/react/select/root/SelectRootContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectRootContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") SelectRootContext.displayName = \"SelectRootContext\";\nexport const SelectFloatingContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") SelectFloatingContext.displayName = \"SelectFloatingContext\";\nexport function useSelectRootContext() {\n const context = React.useContext(SelectRootContext);\n if (context === null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>.' : _formatErrorMessage(60));\n }\n return context;\n}\nexport function useSelectFloatingContext() {\n const context = React.useContext(SelectFloatingContext);\n if (context === null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectFloatingContext is missing. Select parts must be placed within <Select.Root>.' : _formatErrorMessage(61));\n }\n return context;\n}"],"names":["SelectRootContext","React","SelectFloatingContext","useSelectRootContext","context","_formatErrorMessage","useSelectFloatingContext"],"mappings":";;AAIY,MAACA,IAAiC,gBAAAC,EAAM,cAAc,IAAI;AAClE,QAAQ,IAAI,aAAa,iBAAcD,EAAkB,cAAc;AAC/D,MAACE,IAAqC,gBAAAD,EAAM,cAAc,IAAI;AACtE,QAAQ,IAAI,aAAa,iBAAcC,EAAsB,cAAc;AACxE,SAASC,IAAuB;AACrC,QAAMC,IAAUH,EAAM,WAAWD,CAAiB;AAClD,MAAII,MAAY;AACd,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,6FAA6FC,EAAoB,EAAE,CAAC;AAE9K,SAAOD;AACT;AACO,SAASE,IAA2B;AACzC,QAAMF,IAAUH,EAAM,WAAWC,CAAqB;AACtD,MAAIE,MAAY;AACd,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,iGAAiGC,EAAoB,EAAE,CAAC;AAElL,SAAOD;AACT;","x_google_ignoreList":[0]}
|
package/dist/index292.js
CHANGED
|
@@ -1,7 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import a from "./index190.js";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { NOOP as e, EMPTY_OBJECT as d } from "./index290.js";
|
|
4
|
+
import { DEFAULT_FIELD_ROOT_STATE as l, DEFAULT_FIELD_STATE_ATTRIBUTES as i, DEFAULT_VALIDITY_STATE as s } from "./index313.js";
|
|
5
|
+
const u = {
|
|
6
|
+
invalid: void 0,
|
|
7
|
+
name: void 0,
|
|
8
|
+
validityData: {
|
|
9
|
+
state: s,
|
|
10
|
+
errors: [],
|
|
11
|
+
error: "",
|
|
12
|
+
value: "",
|
|
13
|
+
initialValue: null
|
|
14
|
+
},
|
|
15
|
+
setValidityData: e,
|
|
16
|
+
disabled: void 0,
|
|
17
|
+
touched: i.touched,
|
|
18
|
+
setTouched: e,
|
|
19
|
+
dirty: i.dirty,
|
|
20
|
+
setDirty: e,
|
|
21
|
+
filled: i.filled,
|
|
22
|
+
setFilled: e,
|
|
23
|
+
focused: i.focused,
|
|
24
|
+
setFocused: e,
|
|
25
|
+
validate: () => null,
|
|
26
|
+
validationMode: "onSubmit",
|
|
27
|
+
validationDebounceTime: 0,
|
|
28
|
+
shouldValidateOnChange: () => !1,
|
|
29
|
+
state: l,
|
|
30
|
+
markedDirtyRef: {
|
|
31
|
+
current: !1
|
|
32
|
+
},
|
|
33
|
+
registerFieldControl: e,
|
|
34
|
+
validation: {
|
|
35
|
+
getValidationProps: (o, t = d) => t,
|
|
36
|
+
inputRef: {
|
|
37
|
+
current: null
|
|
38
|
+
},
|
|
39
|
+
registerInput: e,
|
|
40
|
+
commit: async () => {
|
|
41
|
+
},
|
|
42
|
+
change: e
|
|
43
|
+
}
|
|
44
|
+
}, r = /* @__PURE__ */ n.createContext(u);
|
|
45
|
+
process.env.NODE_ENV !== "production" && (r.displayName = "FieldRootContext");
|
|
46
|
+
function f(o = !0) {
|
|
47
|
+
const t = n.useContext(r);
|
|
48
|
+
if (t.setValidityData === e && !o)
|
|
49
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>." : a(28));
|
|
50
|
+
return t;
|
|
51
|
+
}
|
|
4
52
|
export {
|
|
5
|
-
|
|
53
|
+
u as DEFAULT_FIELD_ROOT_CONTEXT,
|
|
54
|
+
r as FieldRootContext,
|
|
55
|
+
f as useFieldRootContext
|
|
6
56
|
};
|
|
7
57
|
//# sourceMappingURL=index292.js.map
|
package/dist/index292.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index292.js","sources":["
|
|
1
|
+
{"version":3,"file":"index292.js","sources":["../node_modules/@base-ui/react/internals/field-root-context/FieldRootContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { NOOP } from \"../noop.mjs\";\nimport { DEFAULT_FIELD_ROOT_STATE, DEFAULT_FIELD_STATE_ATTRIBUTES, DEFAULT_VALIDITY_STATE } from \"../field-constants/constants.mjs\";\nexport const DEFAULT_FIELD_ROOT_CONTEXT = {\n invalid: undefined,\n name: undefined,\n validityData: {\n state: DEFAULT_VALIDITY_STATE,\n errors: [],\n error: '',\n value: '',\n initialValue: null\n },\n setValidityData: NOOP,\n disabled: undefined,\n touched: DEFAULT_FIELD_STATE_ATTRIBUTES.touched,\n setTouched: NOOP,\n dirty: DEFAULT_FIELD_STATE_ATTRIBUTES.dirty,\n setDirty: NOOP,\n filled: DEFAULT_FIELD_STATE_ATTRIBUTES.filled,\n setFilled: NOOP,\n focused: DEFAULT_FIELD_STATE_ATTRIBUTES.focused,\n setFocused: NOOP,\n validate: () => null,\n validationMode: 'onSubmit',\n validationDebounceTime: 0,\n shouldValidateOnChange: () => false,\n state: DEFAULT_FIELD_ROOT_STATE,\n markedDirtyRef: {\n current: false\n },\n registerFieldControl: NOOP,\n validation: {\n getValidationProps: (_disabled, props = EMPTY_OBJECT) => props,\n inputRef: {\n current: null\n },\n registerInput: NOOP,\n commit: async () => {},\n change: NOOP\n }\n};\nexport const FieldRootContext = /*#__PURE__*/React.createContext(DEFAULT_FIELD_ROOT_CONTEXT);\nif (process.env.NODE_ENV !== \"production\") FieldRootContext.displayName = \"FieldRootContext\";\nexport function useFieldRootContext(optional = true) {\n const context = React.useContext(FieldRootContext);\n if (context.setValidityData === NOOP && !optional) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.' : _formatErrorMessage(28));\n }\n return context;\n}"],"names":["DEFAULT_FIELD_ROOT_CONTEXT","DEFAULT_VALIDITY_STATE","NOOP","DEFAULT_FIELD_STATE_ATTRIBUTES","DEFAULT_FIELD_ROOT_STATE","_disabled","props","EMPTY_OBJECT","FieldRootContext","React","useFieldRootContext","optional","context","_formatErrorMessage"],"mappings":";;;;AAOY,MAACA,IAA6B;AAAA,EACxC,SAAS;AAAA,EACT,MAAM;AAAA,EACN,cAAc;AAAA,IACZ,OAAOC;AAAA,IACP,QAAQ,CAAA;AAAA,IACR,OAAO;AAAA,IACP,OAAO;AAAA,IACP,cAAc;AAAA,EAClB;AAAA,EACE,iBAAiBC;AAAA,EACjB,UAAU;AAAA,EACV,SAASC,EAA+B;AAAA,EACxC,YAAYD;AAAA,EACZ,OAAOC,EAA+B;AAAA,EACtC,UAAUD;AAAA,EACV,QAAQC,EAA+B;AAAA,EACvC,WAAWD;AAAA,EACX,SAASC,EAA+B;AAAA,EACxC,YAAYD;AAAA,EACZ,UAAU,MAAM;AAAA,EAChB,gBAAgB;AAAA,EAChB,wBAAwB;AAAA,EACxB,wBAAwB,MAAM;AAAA,EAC9B,OAAOE;AAAA,EACP,gBAAgB;AAAA,IACd,SAAS;AAAA,EACb;AAAA,EACE,sBAAsBF;AAAA,EACtB,YAAY;AAAA,IACV,oBAAoB,CAACG,GAAWC,IAAQC,MAAiBD;AAAA,IACzD,UAAU;AAAA,MACR,SAAS;AAAA,IACf;AAAA,IACI,eAAeJ;AAAA,IACf,QAAQ,YAAY;AAAA,IAAC;AAAA,IACrB,QAAQA;AAAA,EACZ;AACA,GACaM,IAAgC,gBAAAC,EAAM,cAAcT,CAA0B;AACvF,QAAQ,IAAI,aAAa,iBAAcQ,EAAiB,cAAc;AACnE,SAASE,EAAoBC,IAAW,IAAM;AACnD,QAAMC,IAAUH,EAAM,WAAWD,CAAgB;AACjD,MAAII,EAAQ,oBAAoBV,KAAQ,CAACS;AACvC,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,0FAA0FE,EAAoB,EAAE,CAAC;AAE3K,SAAOD;AACT;","x_google_ignoreList":[0]}
|
package/dist/index293.js
CHANGED
|
@@ -1,82 +1,24 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { CompositeListContext as b } from "./index366.js";
|
|
6
|
-
import { j as D } from "./index30.js";
|
|
7
|
-
function k(h) {
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import { useIsoLayoutEffect as l } from "./index287.js";
|
|
3
|
+
import { useFieldRootContext as m } from "./index292.js";
|
|
4
|
+
function R(o, n, s, u, i = !0, c) {
|
|
8
5
|
const {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
return Array.from(i.keys()).filter((n) => n.isConnected).sort(S).forEach((n, m) => {
|
|
20
|
-
const s = i.get(n) ?? {};
|
|
21
|
-
e.set(n, {
|
|
22
|
-
...s,
|
|
23
|
-
index: m
|
|
24
|
-
});
|
|
25
|
-
}), e;
|
|
26
|
-
}, [i, p]);
|
|
27
|
-
f(() => {
|
|
28
|
-
if (typeof MutationObserver != "function" || r.size === 0)
|
|
29
|
-
return;
|
|
30
|
-
const e = new MutationObserver((u) => {
|
|
31
|
-
const n = /* @__PURE__ */ new Set(), m = (s) => n.has(s) ? n.delete(s) : n.add(s);
|
|
32
|
-
u.forEach((s) => {
|
|
33
|
-
s.removedNodes.forEach(m), s.addedNodes.forEach(m);
|
|
34
|
-
}), n.size === 0 && (c.current += 1, M(c.current));
|
|
35
|
-
});
|
|
36
|
-
return r.forEach((u, n) => {
|
|
37
|
-
n.parentElement && e.observe(n.parentElement, {
|
|
38
|
-
childList: !0
|
|
39
|
-
});
|
|
6
|
+
registerFieldControl: t
|
|
7
|
+
} = m(), r = f.useRef(null);
|
|
8
|
+
r.current || (r.current = /* @__PURE__ */ Symbol()), l(() => {
|
|
9
|
+
const e = r.current;
|
|
10
|
+
return !e || !i ? void 0 : (t(e, {
|
|
11
|
+
controlRef: o,
|
|
12
|
+
getValue: u,
|
|
13
|
+
id: n,
|
|
14
|
+
name: c,
|
|
15
|
+
value: s
|
|
40
16
|
}), () => {
|
|
41
|
-
e
|
|
42
|
-
};
|
|
43
|
-
}, [
|
|
44
|
-
c.current === p && (t.current.length !== r.size && (t.current.length = r.size), o && o.current.length !== r.size && (o.current.length = r.size), O.current = r.size), E(r);
|
|
45
|
-
}, [E, r, t, o, p]), f(() => () => {
|
|
46
|
-
t.current = [];
|
|
47
|
-
}, [t]), f(() => () => {
|
|
48
|
-
o && (o.current = []);
|
|
49
|
-
}, [o]);
|
|
50
|
-
const g = l((e) => (d.add(e), () => {
|
|
51
|
-
d.delete(e);
|
|
52
|
-
}));
|
|
53
|
-
f(() => {
|
|
54
|
-
d.forEach((e) => e(r));
|
|
55
|
-
}, [d, r]);
|
|
56
|
-
const _ = a.useMemo(() => ({
|
|
57
|
-
register: C,
|
|
58
|
-
unregister: I,
|
|
59
|
-
subscribeMapChange: g,
|
|
60
|
-
elementsRef: t,
|
|
61
|
-
labelsRef: o,
|
|
62
|
-
nextIndexRef: O
|
|
63
|
-
}), [C, I, g, t, o, O]);
|
|
64
|
-
return /* @__PURE__ */ D.jsx(b.Provider, {
|
|
65
|
-
value: _,
|
|
66
|
-
children: N
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function L() {
|
|
70
|
-
return /* @__PURE__ */ new Map();
|
|
71
|
-
}
|
|
72
|
-
function P() {
|
|
73
|
-
return /* @__PURE__ */ new Set();
|
|
74
|
-
}
|
|
75
|
-
function S(h, N) {
|
|
76
|
-
const t = h.compareDocumentPosition(N);
|
|
77
|
-
return t & Node.DOCUMENT_POSITION_FOLLOWING || t & Node.DOCUMENT_POSITION_CONTAINED_BY ? -1 : t & Node.DOCUMENT_POSITION_PRECEDING || t & Node.DOCUMENT_POSITION_CONTAINS ? 1 : 0;
|
|
17
|
+
t(e, void 0);
|
|
18
|
+
});
|
|
19
|
+
}, [o, i, u, n, c, t, s]);
|
|
78
20
|
}
|
|
79
21
|
export {
|
|
80
|
-
|
|
22
|
+
R as useRegisterFieldControl
|
|
81
23
|
};
|
|
82
24
|
//# sourceMappingURL=index293.js.map
|
package/dist/index293.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index293.js","sources":["
|
|
1
|
+
{"version":3,"file":"index293.js","sources":["../node_modules/@base-ui/react/internals/field-register-control/useRegisterFieldControl.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useFieldRootContext } from \"../field-root-context/FieldRootContext.mjs\";\nexport function useRegisterFieldControl(controlRef, id, value, getFormValueOverride, enabled = true, name) {\n const {\n registerFieldControl\n } = useFieldRootContext();\n const sourceRef = React.useRef(null);\n if (!sourceRef.current) {\n sourceRef.current = Symbol();\n }\n useIsoLayoutEffect(() => {\n const source = sourceRef.current;\n if (!source || !enabled) {\n return undefined;\n }\n const registration = {\n controlRef,\n getValue: getFormValueOverride,\n id,\n name,\n value\n };\n registerFieldControl(source, registration);\n return () => {\n registerFieldControl(source, undefined);\n };\n }, [controlRef, enabled, getFormValueOverride, id, name, registerFieldControl, value]);\n}"],"names":["useRegisterFieldControl","controlRef","id","value","getFormValueOverride","enabled","name","registerFieldControl","useFieldRootContext","sourceRef","React","useIsoLayoutEffect","source"],"mappings":";;;AAKO,SAASA,EAAwBC,GAAYC,GAAIC,GAAOC,GAAsBC,IAAU,IAAMC,GAAM;AACzG,QAAM;AAAA,IACJ,sBAAAC;AAAA,EACJ,IAAMC,EAAmB,GACjBC,IAAYC,EAAM,OAAO,IAAI;AACnC,EAAKD,EAAU,YACbA,EAAU,UAAU,uBAAM,IAE5BE,EAAmB,MAAM;AACvB,UAAMC,IAASH,EAAU;AACzB,WAAI,CAACG,KAAU,CAACP,IACd,UASFE,EAAqBK,GAPA;AAAA,MACnB,YAAAX;AAAA,MACA,UAAUG;AAAA,MACV,IAAAF;AAAA,MACA,MAAAI;AAAA,MACA,OAAAH;AAAA,IACN,CAC6C,GAClC,MAAM;AACX,MAAAI,EAAqBK,GAAQ,MAAS;AAAA,IACxC;AAAA,EACF,GAAG,CAACX,GAAYI,GAASD,GAAsBF,GAAII,GAAMC,GAAsBJ,CAAK,CAAC;AACvF;","x_google_ignoreList":[0]}
|