@kong/kongponents 9.47.4 → 9.48.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/kongponents.css +1 -1
- package/dist/kongponents.es105.js +5 -5
- package/dist/kongponents.es107.js +3 -3
- package/dist/kongponents.es109.js +4 -4
- package/dist/kongponents.es113.js +2 -2
- package/dist/kongponents.es115.js +4 -4
- package/dist/kongponents.es117.js +2 -2
- package/dist/kongponents.es119.js +9 -9
- package/dist/kongponents.es122.js +5 -5
- package/dist/kongponents.es124.js +6 -6
- package/dist/kongponents.es128.js +2 -2
- package/dist/kongponents.es130.js +1 -1
- package/dist/kongponents.es132.js +9 -9
- package/dist/kongponents.es139.js +3 -3
- package/dist/kongponents.es141.js +1 -1
- package/dist/kongponents.es143.js +6 -6
- package/dist/kongponents.es147.js +2 -2
- package/dist/kongponents.es149.js +6 -6
- package/dist/kongponents.es154.js +3 -3
- package/dist/kongponents.es156.js +5 -5
- package/dist/kongponents.es158.js +3 -3
- package/dist/kongponents.es160.js +12 -12
- package/dist/kongponents.es170.js +1 -1
- package/dist/kongponents.es171.js +112 -178
- package/dist/kongponents.es172.js +1 -1
- package/dist/kongponents.es173.js +119 -18
- package/dist/kongponents.es174.js +119 -5
- package/dist/kongponents.es175.js +121 -0
- package/dist/kongponents.es176.js +24 -24
- package/dist/kongponents.es177.js +18 -5
- package/dist/kongponents.es178.js +5 -8
- package/dist/kongponents.es179.js +101 -59
- package/dist/kongponents.es180.js +181 -98
- package/dist/kongponents.es181.js +21 -21
- package/dist/kongponents.es182.js +102 -113
- package/dist/kongponents.es183.js +34 -34
- package/dist/kongponents.es184.js +30 -30
- package/dist/kongponents.es185.js +111 -116
- package/dist/kongponents.es186.js +13 -115
- package/dist/kongponents.es187.js +393 -116
- package/dist/kongponents.es188.js +4 -107
- package/dist/kongponents.es189.js +119 -5
- package/dist/kongponents.es190.js +119 -5
- package/dist/kongponents.es191.js +119 -7
- package/dist/kongponents.es192.js +119 -5
- package/dist/kongponents.es194.js +27 -27
- package/dist/kongponents.es195.js +5 -119
- package/dist/kongponents.es196.js +8 -119
- package/dist/kongponents.es197.js +60 -5
- package/dist/kongponents.es198.js +5 -18
- package/dist/kongponents.es199.js +5 -10
- package/dist/kongponents.es200.js +120 -5
- package/dist/kongponents.es201.js +24 -5
- package/dist/kongponents.es202.js +33 -33
- package/dist/kongponents.es203.js +23 -24
- package/dist/kongponents.es204.js +5 -24
- package/dist/kongponents.es205.js +16 -16
- package/dist/kongponents.es206.js +119 -15
- package/dist/kongponents.es207.js +20 -20
- package/dist/kongponents.es208.js +20 -20
- package/dist/kongponents.es209.js +313 -115
- package/dist/kongponents.es21.js +8 -8
- package/dist/kongponents.es210.js +38 -118
- package/dist/kongponents.es211.js +97 -118
- package/dist/kongponents.es212.js +19 -19
- package/dist/kongponents.es213.js +27 -27
- package/dist/kongponents.es214.js +18 -18
- package/dist/kongponents.es215.js +115 -313
- package/dist/kongponents.es216.js +118 -38
- package/dist/kongponents.es217.js +16 -96
- package/dist/kongponents.es218.js +50 -117
- package/dist/kongponents.es219.js +5 -119
- package/dist/kongponents.es220.js +5 -119
- package/dist/kongponents.es221.js +117 -50
- package/dist/kongponents.es222.js +7 -119
- package/dist/kongponents.es223.js +189 -2
- package/dist/kongponents.es224.js +3 -3
- package/dist/kongponents.es225.js +21 -21
- package/dist/kongponents.es226.js +15 -119
- package/dist/kongponents.es227.js +116 -111
- package/dist/kongponents.es228.js +5 -17
- package/dist/kongponents.es229.js +5 -396
- package/dist/kongponents.es230.js +5 -119
- package/dist/kongponents.es231.js +5 -119
- package/dist/kongponents.es232.js +4 -4
- package/dist/kongponents.es233.js +4 -4
- package/dist/kongponents.es234.js +4 -4
- package/dist/kongponents.es235.js +119 -5
- package/dist/kongponents.es236.js +119 -5
- package/dist/kongponents.es237.js +2 -2
- package/dist/kongponents.es238.js +10 -5
- package/dist/kongponents.es239.js +2 -5
- package/dist/kongponents.es24.js +1 -1
- package/dist/kongponents.es240.js +470 -31
- package/dist/kongponents.es241.js +31 -470
- package/dist/kongponents.es242.js +52 -173
- package/dist/kongponents.es244.js +40 -52
- package/dist/kongponents.es245.js +322 -0
- package/dist/kongponents.es246.js +97 -0
- package/dist/kongponents.es248.js +47 -0
- package/dist/kongponents.es250.js +168 -311
- package/dist/kongponents.es252.js +132 -117
- package/dist/kongponents.es253.js +2 -119
- package/dist/kongponents.es254.js +6 -119
- package/dist/kongponents.es255.js +47 -59
- package/dist/kongponents.es258.js +220 -0
- package/dist/kongponents.es259.js +2 -48
- package/dist/kongponents.es26.js +4 -4
- package/dist/kongponents.es260.js +121 -0
- package/dist/kongponents.es261.js +115 -30
- package/dist/kongponents.es262.js +121 -0
- package/dist/kongponents.es263.js +88 -20
- package/dist/kongponents.es265.js +36 -40
- package/dist/kongponents.es267.js +21 -38
- package/dist/kongponents.es269.js +47 -217
- package/dist/kongponents.es271.js +34 -7
- package/dist/kongponents.es273.js +23 -5
- package/dist/kongponents.es275.js +45 -9
- package/dist/kongponents.es277.js +40 -73
- package/dist/kongponents.es279.js +8 -19
- package/dist/kongponents.es28.js +2 -2
- package/dist/kongponents.es280.js +6 -4
- package/dist/kongponents.es281.js +8 -18
- package/dist/kongponents.es282.js +4 -7
- package/dist/kongponents.es283.js +9 -5
- package/dist/kongponents.es284.js +8 -8
- package/dist/kongponents.es285.js +636 -7
- package/dist/kongponents.es286.js +74 -5
- package/dist/kongponents.es287.js +4 -20
- package/dist/kongponents.es288.js +20 -5
- package/dist/kongponents.es289.js +4 -110
- package/dist/kongponents.es290.js +17 -171
- package/dist/kongponents.es291.js +8 -5
- package/dist/kongponents.es292.js +5 -6
- package/dist/kongponents.es293.js +9 -5
- package/dist/kongponents.es294.js +8 -5
- package/dist/kongponents.es295.js +4 -69
- package/dist/kongponents.es296.js +21 -2
- package/dist/kongponents.es297.js +5 -91
- package/dist/kongponents.es298.js +113 -0
- package/dist/kongponents.es299.js +171 -40
- package/dist/kongponents.es300.js +7 -0
- package/dist/kongponents.es301.js +6 -133
- package/dist/kongponents.es302.js +5 -2
- package/dist/kongponents.es303.js +5 -95
- package/dist/kongponents.es304.js +72 -0
- package/dist/kongponents.es305.js +2 -45
- package/dist/kongponents.es306.js +372 -0
- package/dist/kongponents.es307.js +129 -55
- package/dist/{kongponents.es247.js → kongponents.es308.js} +2 -2
- package/dist/kongponents.es339.js +1 -1
- package/dist/kongponents.es358.js +52 -5762
- package/dist/kongponents.es360.js +5774 -5
- package/dist/kongponents.es361.js +1557 -2
- package/dist/kongponents.es362.js +5 -6
- package/dist/kongponents.es363.js +6 -25
- package/dist/kongponents.es364.js +11 -95
- package/dist/kongponents.es365.js +13 -0
- package/dist/kongponents.es366.js +12 -10
- package/dist/kongponents.es367.js +10 -10
- package/dist/kongponents.es368.js +18 -12
- package/dist/kongponents.es369.js +5 -10
- package/dist/kongponents.es370.js +55 -19
- package/dist/kongponents.es371.js +2 -6
- package/dist/kongponents.es372.js +71 -54
- package/dist/kongponents.es373.js +2 -2
- package/dist/kongponents.es374.js +11 -70
- package/dist/kongponents.es375.js +23 -2
- package/dist/kongponents.es376.js +19 -10
- package/dist/kongponents.es377.js +17 -19
- package/dist/kongponents.es378.js +647 -19
- package/dist/kongponents.es379.js +82 -19
- package/dist/kongponents.es38.js +2 -2
- package/dist/kongponents.es380.js +12 -647
- package/dist/kongponents.es381.js +26 -83
- package/dist/kongponents.es382.js +12 -10
- package/dist/kongponents.es383.js +13 -25
- package/dist/kongponents.es384.js +16 -16
- package/dist/kongponents.es385.js +13 -13
- package/dist/kongponents.es386.js +23 -16
- package/dist/kongponents.es387.js +16 -13
- package/dist/kongponents.es388.js +2 -24
- package/dist/kongponents.es389.js +13 -13
- package/dist/kongponents.es390.js +65 -2
- package/dist/kongponents.es391.js +4 -17
- package/dist/kongponents.es392.js +2 -65
- package/dist/kongponents.es393.js +2 -5
- package/dist/kongponents.es394.js +25 -2
- package/dist/kongponents.es395.js +2 -2
- package/dist/kongponents.es396.js +93 -368
- package/dist/kongponents.es403.js +1 -1
- package/dist/kongponents.es413.js +3 -6
- package/dist/kongponents.es414.js +25 -29
- package/dist/kongponents.es415.js +4 -3
- package/dist/kongponents.es416.js +4 -26
- package/dist/kongponents.es417.js +4 -4
- package/dist/kongponents.es418.js +4 -4
- package/dist/kongponents.es419.js +4 -4
- package/dist/kongponents.es420.js +15 -4
- package/dist/kongponents.es421.js +6 -4
- package/dist/kongponents.es422.js +27 -12
- package/dist/kongponents.es423.js +1 -1
- package/dist/kongponents.es427.js +1 -1
- package/dist/kongponents.es434.js +1 -1
- package/dist/kongponents.es450.js +2 -2
- package/dist/kongponents.es451.js +2 -2
- package/dist/kongponents.es452.js +4 -4
- package/dist/kongponents.es453.js +4 -4
- package/dist/kongponents.es455.js +1 -1
- package/dist/kongponents.es457.js +1 -1
- package/dist/kongponents.es458.js +2 -2
- package/dist/kongponents.es460.js +2 -2
- package/dist/kongponents.es461.js +2 -19
- package/dist/kongponents.es462.js +19 -2
- package/dist/kongponents.es463.js +2 -22
- package/dist/kongponents.es464.js +22 -2
- package/dist/kongponents.es465.js +2 -16
- package/dist/kongponents.es466.js +16 -2
- package/dist/kongponents.es467.js +2 -23
- package/dist/kongponents.es468.js +18 -18
- package/dist/kongponents.es469.js +18 -21
- package/dist/kongponents.es470.js +21 -18
- package/dist/kongponents.es471.js +20 -29
- package/dist/kongponents.es472.js +29 -13
- package/dist/kongponents.es473.js +14 -65
- package/dist/kongponents.es474.js +67 -2
- package/dist/kongponents.es475.js +2 -2
- package/dist/kongponents.es476.js +2 -2
- package/dist/kongponents.es477.js +2 -2
- package/dist/kongponents.es478.js +2 -2
- package/dist/kongponents.es479.js +2 -30
- package/dist/kongponents.es480.js +30 -2
- package/dist/kongponents.es488.js +1 -1
- package/dist/kongponents.es501.js +7 -29
- package/dist/kongponents.es502.js +12 -117
- package/dist/kongponents.es503.js +27 -28
- package/dist/kongponents.es504.js +14 -9
- package/dist/kongponents.es505.js +2 -14
- package/dist/kongponents.es506.js +2 -33
- package/dist/kongponents.es507.js +2 -29
- package/dist/kongponents.es508.js +2 -11
- package/dist/kongponents.es509.js +2 -13
- package/dist/kongponents.es510.js +20 -17
- package/dist/kongponents.es511.js +23 -23
- package/dist/kongponents.es512.js +2 -17
- package/dist/kongponents.es513.js +2 -97
- package/dist/kongponents.es514.js +26 -44
- package/dist/kongponents.es515.js +26 -28
- package/dist/kongponents.es516.js +2 -72
- package/dist/kongponents.es517.js +2 -52
- package/dist/kongponents.es518.js +2 -35
- package/dist/kongponents.es519.js +2 -42
- package/dist/kongponents.es520.js +76 -6
- package/dist/kongponents.es521.js +42 -14
- package/dist/kongponents.es522.js +20 -28
- package/dist/kongponents.es523.js +132 -15
- package/dist/kongponents.es524.js +98 -2
- package/dist/kongponents.es525.js +29 -2
- package/dist/kongponents.es526.js +120 -2
- package/dist/kongponents.es527.js +30 -2
- package/dist/kongponents.es528.js +11 -2
- package/dist/kongponents.es529.js +13 -20
- package/dist/kongponents.es530.js +32 -23
- package/dist/kongponents.es531.js +29 -2
- package/dist/kongponents.es532.js +11 -2
- package/dist/kongponents.es533.js +12 -26
- package/dist/kongponents.es534.js +17 -26
- package/dist/kongponents.es535.js +24 -2
- package/dist/kongponents.es536.js +17 -2
- package/dist/kongponents.es537.js +97 -2
- package/dist/kongponents.es538.js +45 -2
- package/dist/kongponents.es539.js +28 -76
- package/dist/kongponents.es540.js +71 -42
- package/dist/kongponents.es541.js +51 -20
- package/dist/kongponents.es542.js +34 -132
- package/dist/kongponents.es543.js +41 -97
- package/dist/kongponents.es557.js +2 -4
- package/dist/kongponents.es558.js +2 -4
- package/dist/kongponents.es559.js +2 -16
- package/dist/kongponents.es560.js +2 -4
- package/dist/kongponents.es561.js +2 -10
- package/dist/kongponents.es562.js +2 -5
- package/dist/kongponents.es563.js +16 -5
- package/dist/kongponents.es564.js +2 -10
- package/dist/kongponents.es565.js +2 -8
- package/dist/kongponents.es566.js +24 -4
- package/dist/kongponents.es567.js +2 -4
- package/dist/kongponents.es568.js +39 -4
- package/dist/kongponents.es569.js +25 -11
- package/dist/kongponents.es570.js +3 -9
- package/dist/kongponents.es571.js +3 -30
- package/dist/kongponents.es572.js +15 -24
- package/dist/kongponents.es573.js +3 -51
- package/dist/kongponents.es574.js +9 -3
- package/dist/kongponents.es575.js +4 -8
- package/dist/kongponents.es576.js +5 -20
- package/dist/kongponents.es577.js +9 -7
- package/dist/kongponents.es578.js +7 -6
- package/dist/kongponents.es579.js +4 -5
- package/dist/kongponents.es580.js +3 -7
- package/dist/kongponents.es581.js +4 -16
- package/dist/kongponents.es582.js +11 -4
- package/dist/kongponents.es583.js +8 -5
- package/dist/kongponents.es584.js +30 -34
- package/dist/kongponents.es585.js +23 -7
- package/dist/kongponents.es586.js +52 -2
- package/dist/kongponents.es587.js +4 -2
- package/dist/kongponents.es588.js +9 -2
- package/dist/kongponents.es589.js +21 -2
- package/dist/kongponents.es590.js +8 -2
- package/dist/kongponents.es591.js +7 -2
- package/dist/kongponents.es592.js +5 -16
- package/dist/kongponents.es593.js +8 -2
- package/dist/kongponents.es594.js +16 -2
- package/dist/kongponents.es595.js +4 -24
- package/dist/kongponents.es596.js +7 -2
- package/dist/kongponents.es597.js +34 -38
- package/dist/kongponents.es598.js +8 -25
- package/dist/kongponents.es601.js +2 -5
- package/dist/kongponents.es602.js +2 -9
- package/dist/kongponents.es603.js +2 -7
- package/dist/kongponents.es604.js +2 -19
- package/dist/kongponents.es605.js +4 -14
- package/dist/kongponents.es606.js +9 -2
- package/dist/kongponents.es607.js +7 -2
- package/dist/kongponents.es608.js +19 -2
- package/dist/kongponents.es609.js +15 -2
- package/dist/kongponents.es72.js +6 -6
- package/dist/kongponents.es75.js +1 -1
- package/dist/kongponents.es77.js +1 -1
- package/dist/kongponents.es83.js +1 -1
- package/dist/kongponents.es87.js +3 -3
- package/dist/kongponents.es89.js +17 -16
- package/dist/kongponents.es94.js +2 -2
- package/dist/kongponents.es96.js +6 -6
- package/dist/kongponents.es99.js +2 -2
- package/dist/kongponents.umd.js +2 -2
- package/dist/kongponents105.cjs +1 -1
- package/dist/kongponents107.cjs +1 -1
- package/dist/kongponents109.cjs +1 -1
- package/dist/kongponents113.cjs +1 -1
- package/dist/kongponents115.cjs +1 -1
- package/dist/kongponents117.cjs +1 -1
- package/dist/kongponents119.cjs +1 -1
- package/dist/kongponents122.cjs +1 -1
- package/dist/kongponents124.cjs +1 -1
- package/dist/kongponents128.cjs +1 -1
- package/dist/kongponents130.cjs +1 -1
- package/dist/kongponents132.cjs +1 -1
- package/dist/kongponents139.cjs +1 -1
- package/dist/kongponents141.cjs +1 -1
- package/dist/kongponents143.cjs +1 -1
- package/dist/kongponents147.cjs +1 -1
- package/dist/kongponents149.cjs +1 -1
- package/dist/kongponents154.cjs +1 -1
- package/dist/kongponents156.cjs +1 -1
- package/dist/kongponents158.cjs +1 -1
- package/dist/kongponents160.cjs +1 -1
- package/dist/kongponents170.cjs +1 -1
- package/dist/kongponents171.cjs +1 -1
- package/dist/kongponents172.cjs +1 -1
- package/dist/kongponents173.cjs +1 -1
- package/dist/kongponents174.cjs +1 -1
- package/dist/kongponents175.cjs +1 -0
- package/dist/kongponents176.cjs +1 -1
- package/dist/kongponents177.cjs +1 -1
- package/dist/kongponents178.cjs +1 -1
- package/dist/kongponents179.cjs +5 -1
- package/dist/kongponents180.cjs +1 -5
- package/dist/kongponents181.cjs +1 -1
- package/dist/kongponents182.cjs +1 -1
- package/dist/kongponents183.cjs +1 -1
- package/dist/kongponents184.cjs +1 -1
- package/dist/kongponents185.cjs +1 -1
- package/dist/kongponents186.cjs +1 -1
- package/dist/kongponents187.cjs +1 -1
- package/dist/kongponents188.cjs +1 -1
- package/dist/kongponents189.cjs +1 -1
- package/dist/kongponents190.cjs +1 -1
- package/dist/kongponents191.cjs +1 -1
- package/dist/kongponents192.cjs +1 -1
- package/dist/kongponents194.cjs +1 -1
- package/dist/kongponents195.cjs +1 -1
- package/dist/kongponents196.cjs +1 -1
- package/dist/kongponents197.cjs +1 -1
- package/dist/kongponents198.cjs +1 -1
- package/dist/kongponents199.cjs +1 -1
- package/dist/kongponents200.cjs +2 -1
- package/dist/kongponents201.cjs +1 -1
- package/dist/kongponents202.cjs +1 -1
- package/dist/kongponents203.cjs +1 -2
- package/dist/kongponents204.cjs +1 -1
- package/dist/kongponents205.cjs +1 -1
- package/dist/kongponents206.cjs +1 -1
- package/dist/kongponents207.cjs +1 -1
- package/dist/kongponents208.cjs +1 -1
- package/dist/kongponents209.cjs +1 -1
- package/dist/kongponents21.cjs +1 -1
- package/dist/kongponents210.cjs +1 -1
- package/dist/kongponents211.cjs +2 -1
- package/dist/kongponents212.cjs +1 -1
- package/dist/kongponents213.cjs +1 -1
- package/dist/kongponents214.cjs +1 -1
- package/dist/kongponents215.cjs +1 -1
- package/dist/kongponents216.cjs +1 -1
- package/dist/kongponents217.cjs +1 -2
- package/dist/kongponents218.cjs +1 -1
- package/dist/kongponents219.cjs +1 -1
- package/dist/kongponents220.cjs +1 -1
- package/dist/kongponents221.cjs +1 -1
- package/dist/kongponents222.cjs +1 -1
- package/dist/kongponents223.cjs +1 -1
- package/dist/kongponents224.cjs +1 -1
- package/dist/kongponents225.cjs +1 -1
- package/dist/kongponents226.cjs +1 -1
- package/dist/kongponents227.cjs +1 -1
- package/dist/kongponents228.cjs +1 -1
- package/dist/kongponents229.cjs +1 -1
- package/dist/kongponents230.cjs +1 -1
- package/dist/kongponents231.cjs +1 -1
- package/dist/kongponents232.cjs +1 -1
- package/dist/kongponents233.cjs +1 -1
- package/dist/kongponents234.cjs +1 -1
- package/dist/kongponents235.cjs +1 -1
- package/dist/kongponents236.cjs +1 -1
- package/dist/kongponents237.cjs +1 -1
- package/dist/kongponents238.cjs +1 -1
- package/dist/kongponents239.cjs +1 -1
- package/dist/kongponents24.cjs +1 -1
- package/dist/kongponents240.cjs +5 -1
- package/dist/kongponents241.cjs +1 -5
- package/dist/kongponents242.cjs +1 -1
- package/dist/kongponents244.cjs +1 -1
- package/dist/kongponents245.cjs +1 -0
- package/dist/kongponents246.cjs +1 -0
- package/dist/kongponents248.cjs +1 -0
- package/dist/kongponents250.cjs +1 -1
- package/dist/kongponents252.cjs +1 -1
- package/dist/kongponents253.cjs +1 -1
- package/dist/kongponents254.cjs +1 -1
- package/dist/kongponents255.cjs +1 -1
- package/dist/kongponents258.cjs +4 -0
- package/dist/kongponents259.cjs +1 -1
- package/dist/kongponents26.cjs +1 -1
- package/dist/kongponents260.cjs +1 -0
- package/dist/kongponents261.cjs +1 -1
- package/dist/kongponents262.cjs +1 -0
- package/dist/kongponents263.cjs +1 -1
- package/dist/kongponents265.cjs +1 -1
- package/dist/kongponents267.cjs +1 -1
- package/dist/kongponents269.cjs +1 -4
- package/dist/kongponents271.cjs +1 -1
- package/dist/kongponents273.cjs +1 -1
- package/dist/kongponents275.cjs +1 -1
- package/dist/kongponents277.cjs +1 -1
- package/dist/kongponents279.cjs +1 -1
- package/dist/kongponents28.cjs +1 -1
- package/dist/kongponents280.cjs +1 -1
- package/dist/kongponents281.cjs +1 -1
- package/dist/kongponents282.cjs +1 -1
- package/dist/kongponents283.cjs +1 -1
- package/dist/kongponents284.cjs +1 -1
- package/dist/kongponents285.cjs +1 -1
- package/dist/kongponents286.cjs +1 -1
- package/dist/kongponents287.cjs +1 -1
- package/dist/kongponents288.cjs +1 -1
- package/dist/kongponents289.cjs +1 -1
- package/dist/kongponents290.cjs +1 -1
- package/dist/kongponents291.cjs +1 -1
- package/dist/kongponents292.cjs +1 -1
- package/dist/kongponents293.cjs +1 -1
- package/dist/kongponents294.cjs +1 -1
- package/dist/kongponents295.cjs +1 -1
- package/dist/kongponents296.cjs +1 -1
- package/dist/kongponents297.cjs +1 -1
- package/dist/kongponents298.cjs +1 -0
- package/dist/kongponents299.cjs +1 -1
- package/dist/kongponents300.cjs +1 -0
- package/dist/kongponents301.cjs +1 -1
- package/dist/kongponents302.cjs +1 -1
- package/dist/kongponents303.cjs +1 -1
- package/dist/kongponents304.cjs +1 -0
- package/dist/kongponents305.cjs +1 -1
- package/dist/kongponents306.cjs +1 -0
- package/dist/kongponents307.cjs +1 -1
- package/dist/{kongponents247.cjs → kongponents308.cjs} +1 -1
- package/dist/kongponents339.cjs +1 -1
- package/dist/kongponents358.cjs +1 -1
- package/dist/kongponents360.cjs +1 -1
- package/dist/kongponents361.cjs +10 -1
- package/dist/kongponents362.cjs +1 -1
- package/dist/kongponents363.cjs +1 -1
- package/dist/kongponents364.cjs +1 -1
- package/dist/kongponents365.cjs +1 -0
- package/dist/kongponents366.cjs +1 -1
- package/dist/kongponents367.cjs +1 -1
- package/dist/kongponents368.cjs +1 -1
- package/dist/kongponents369.cjs +1 -1
- package/dist/kongponents370.cjs +1 -1
- package/dist/kongponents371.cjs +1 -1
- package/dist/kongponents372.cjs +1 -1
- package/dist/kongponents373.cjs +1 -1
- package/dist/kongponents374.cjs +1 -1
- package/dist/kongponents375.cjs +1 -1
- package/dist/kongponents376.cjs +1 -1
- package/dist/kongponents377.cjs +1 -1
- package/dist/kongponents378.cjs +1 -1
- package/dist/kongponents379.cjs +1 -1
- package/dist/kongponents38.cjs +1 -1
- package/dist/kongponents380.cjs +1 -1
- package/dist/kongponents381.cjs +1 -1
- package/dist/kongponents382.cjs +1 -1
- package/dist/kongponents383.cjs +1 -1
- package/dist/kongponents384.cjs +1 -1
- package/dist/kongponents385.cjs +1 -1
- package/dist/kongponents386.cjs +1 -1
- package/dist/kongponents387.cjs +1 -1
- package/dist/kongponents388.cjs +1 -1
- package/dist/kongponents389.cjs +1 -1
- package/dist/kongponents390.cjs +1 -1
- package/dist/kongponents391.cjs +1 -1
- package/dist/kongponents392.cjs +1 -1
- package/dist/kongponents393.cjs +1 -1
- package/dist/kongponents394.cjs +1 -1
- package/dist/kongponents395.cjs +1 -1
- package/dist/kongponents396.cjs +1 -1
- package/dist/kongponents403.cjs +1 -1
- package/dist/kongponents413.cjs +1 -1
- package/dist/kongponents414.cjs +1 -1
- package/dist/kongponents415.cjs +1 -1
- package/dist/kongponents416.cjs +1 -1
- package/dist/kongponents417.cjs +1 -1
- package/dist/kongponents418.cjs +1 -1
- package/dist/kongponents419.cjs +1 -1
- package/dist/kongponents420.cjs +1 -1
- package/dist/kongponents421.cjs +1 -1
- package/dist/kongponents422.cjs +1 -1
- package/dist/kongponents423.cjs +1 -1
- package/dist/kongponents427.cjs +1 -1
- package/dist/kongponents434.cjs +1 -1
- package/dist/kongponents450.cjs +1 -1
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents452.cjs +1 -1
- package/dist/kongponents453.cjs +1 -1
- package/dist/kongponents455.cjs +1 -1
- package/dist/kongponents457.cjs +1 -1
- package/dist/kongponents458.cjs +1 -1
- package/dist/kongponents461.cjs +1 -1
- package/dist/kongponents462.cjs +1 -1
- package/dist/kongponents463.cjs +1 -1
- package/dist/kongponents464.cjs +1 -1
- package/dist/kongponents465.cjs +1 -1
- package/dist/kongponents466.cjs +1 -1
- package/dist/kongponents467.cjs +1 -1
- package/dist/kongponents468.cjs +1 -1
- package/dist/kongponents469.cjs +1 -1
- package/dist/kongponents470.cjs +1 -1
- package/dist/kongponents471.cjs +1 -1
- package/dist/kongponents472.cjs +1 -1
- package/dist/kongponents473.cjs +1 -1
- package/dist/kongponents474.cjs +1 -1
- package/dist/kongponents475.cjs +1 -1
- package/dist/kongponents476.cjs +1 -1
- package/dist/kongponents477.cjs +1 -1
- package/dist/kongponents478.cjs +1 -1
- package/dist/kongponents479.cjs +1 -1
- package/dist/kongponents480.cjs +1 -1
- package/dist/kongponents488.cjs +1 -1
- package/dist/kongponents501.cjs +1 -1
- package/dist/kongponents502.cjs +1 -1
- package/dist/kongponents503.cjs +1 -1
- package/dist/kongponents504.cjs +1 -1
- package/dist/kongponents505.cjs +1 -1
- package/dist/kongponents506.cjs +1 -1
- package/dist/kongponents507.cjs +1 -1
- package/dist/kongponents508.cjs +1 -1
- package/dist/kongponents509.cjs +1 -1
- package/dist/kongponents510.cjs +1 -1
- package/dist/kongponents511.cjs +1 -1
- package/dist/kongponents512.cjs +1 -1
- package/dist/kongponents513.cjs +1 -1
- package/dist/kongponents514.cjs +1 -1
- package/dist/kongponents515.cjs +1 -1
- package/dist/kongponents516.cjs +1 -1
- package/dist/kongponents517.cjs +1 -1
- package/dist/kongponents518.cjs +1 -1
- package/dist/kongponents519.cjs +1 -1
- package/dist/kongponents520.cjs +1 -1
- package/dist/kongponents521.cjs +1 -1
- package/dist/kongponents522.cjs +1 -1
- package/dist/kongponents523.cjs +1 -1
- package/dist/kongponents524.cjs +1 -1
- package/dist/kongponents525.cjs +1 -1
- package/dist/kongponents526.cjs +1 -1
- package/dist/kongponents527.cjs +1 -1
- package/dist/kongponents528.cjs +1 -1
- package/dist/kongponents529.cjs +1 -1
- package/dist/kongponents530.cjs +1 -1
- package/dist/kongponents531.cjs +1 -1
- package/dist/kongponents532.cjs +1 -1
- package/dist/kongponents533.cjs +1 -1
- package/dist/kongponents534.cjs +1 -1
- package/dist/kongponents535.cjs +1 -1
- package/dist/kongponents536.cjs +1 -1
- package/dist/kongponents537.cjs +1 -1
- package/dist/kongponents538.cjs +1 -1
- package/dist/kongponents539.cjs +1 -1
- package/dist/kongponents540.cjs +1 -1
- package/dist/kongponents541.cjs +1 -1
- package/dist/kongponents542.cjs +1 -1
- package/dist/kongponents543.cjs +1 -1
- package/dist/kongponents557.cjs +1 -1
- package/dist/kongponents558.cjs +1 -1
- package/dist/kongponents559.cjs +1 -1
- package/dist/kongponents560.cjs +1 -1
- package/dist/kongponents561.cjs +1 -1
- package/dist/kongponents562.cjs +1 -1
- package/dist/kongponents563.cjs +1 -1
- package/dist/kongponents564.cjs +1 -1
- package/dist/kongponents565.cjs +1 -1
- package/dist/kongponents566.cjs +1 -1
- package/dist/kongponents567.cjs +1 -1
- package/dist/kongponents568.cjs +1 -1
- package/dist/kongponents569.cjs +1 -1
- package/dist/kongponents570.cjs +1 -1
- package/dist/kongponents571.cjs +1 -1
- package/dist/kongponents572.cjs +1 -1
- package/dist/kongponents573.cjs +1 -1
- package/dist/kongponents574.cjs +1 -1
- package/dist/kongponents575.cjs +1 -1
- package/dist/kongponents576.cjs +1 -1
- package/dist/kongponents577.cjs +1 -1
- package/dist/kongponents578.cjs +1 -1
- package/dist/kongponents579.cjs +1 -1
- package/dist/kongponents580.cjs +1 -1
- package/dist/kongponents581.cjs +1 -1
- package/dist/kongponents582.cjs +1 -1
- package/dist/kongponents583.cjs +1 -1
- package/dist/kongponents584.cjs +1 -1
- package/dist/kongponents585.cjs +1 -1
- package/dist/kongponents586.cjs +1 -1
- package/dist/kongponents587.cjs +1 -1
- package/dist/kongponents588.cjs +1 -1
- package/dist/kongponents589.cjs +1 -1
- package/dist/kongponents590.cjs +1 -1
- package/dist/kongponents591.cjs +1 -1
- package/dist/kongponents592.cjs +1 -1
- package/dist/kongponents593.cjs +1 -1
- package/dist/kongponents594.cjs +1 -1
- package/dist/kongponents595.cjs +1 -1
- package/dist/kongponents596.cjs +1 -1
- package/dist/kongponents597.cjs +1 -1
- package/dist/kongponents598.cjs +1 -1
- package/dist/kongponents601.cjs +1 -1
- package/dist/kongponents602.cjs +1 -1
- package/dist/kongponents603.cjs +1 -1
- package/dist/kongponents604.cjs +1 -1
- package/dist/kongponents605.cjs +1 -1
- package/dist/kongponents606.cjs +1 -1
- package/dist/kongponents607.cjs +1 -1
- package/dist/kongponents608.cjs +1 -1
- package/dist/kongponents609.cjs +1 -1
- package/dist/kongponents72.cjs +1 -1
- package/dist/kongponents75.cjs +1 -1
- package/dist/kongponents77.cjs +1 -1
- package/dist/kongponents83.cjs +1 -1
- package/dist/kongponents87.cjs +1 -1
- package/dist/kongponents89.cjs +2 -2
- package/dist/kongponents94.cjs +1 -1
- package/dist/kongponents96.cjs +1 -1
- package/dist/kongponents99.cjs +1 -1
- package/dist/types/types/code-block.d.ts +1 -0
- package/package.json +1 -1
- package/dist/kongponents.es193.js +0 -191
- package/dist/kongponents.es249.js +0 -42
- package/dist/kongponents.es251.js +0 -4
- package/dist/kongponents.es257.js +0 -26
- package/dist/kongponents.es270.js +0 -11
- package/dist/kongponents.es272.js +0 -10
- package/dist/kongponents.es274.js +0 -12
- package/dist/kongponents.es276.js +0 -639
- package/dist/kongponents.es278.js +0 -7
- package/dist/kongponents.es309.js +0 -8
- package/dist/kongponents.es359.js +0 -1559
- package/dist/kongponents.es397.js +0 -132
- package/dist/kongponents193.cjs +0 -1
- package/dist/kongponents249.cjs +0 -1
- package/dist/kongponents251.cjs +0 -1
- package/dist/kongponents257.cjs +0 -1
- package/dist/kongponents270.cjs +0 -1
- package/dist/kongponents272.cjs +0 -1
- package/dist/kongponents274.cjs +0 -1
- package/dist/kongponents276.cjs +0 -1
- package/dist/kongponents278.cjs +0 -1
- package/dist/kongponents309.cjs +0 -1
- package/dist/kongponents359.cjs +0 -10
- package/dist/kongponents397.cjs +0 -1
|
@@ -1,97 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
props: {
|
|
6
|
-
items: { default: () => [] },
|
|
7
|
-
itemCreationEnabled: { type: Boolean },
|
|
8
|
-
filterString: { default: "" },
|
|
9
|
-
itemCreationValid: { type: Boolean, default: !0 }
|
|
10
|
-
},
|
|
11
|
-
emits: ["selected", "add-item"],
|
|
12
|
-
setup(s, { expose: k, emit: A }) {
|
|
13
|
-
const L = A, C = (n) => L("selected", n), T = g(() => {
|
|
14
|
-
var n;
|
|
15
|
-
return (n = s.items) == null ? void 0 : n.filter((t) => !t.group);
|
|
16
|
-
}), b = g(() => {
|
|
17
|
-
var n, t;
|
|
18
|
-
return [...new Set((t = (n = s.items) == null ? void 0 : n.filter((e) => e.group)) == null ? void 0 : t.map((e) => e.group))].sort((e, o) => e.toLowerCase().localeCompare(o.toLowerCase()));
|
|
19
|
-
}), x = (n) => {
|
|
20
|
-
var t;
|
|
21
|
-
return (t = s.items) == null ? void 0 : t.filter((e) => e.group === n);
|
|
22
|
-
}, E = $("itemsContainer"), B = (n) => {
|
|
23
|
-
var i, c;
|
|
24
|
-
const t = E.value;
|
|
25
|
-
if (!t)
|
|
26
|
-
return;
|
|
27
|
-
const e = t.querySelectorAll(I);
|
|
28
|
-
if (!(e != null && e.length))
|
|
29
|
-
return;
|
|
30
|
-
const o = t.querySelector(q);
|
|
31
|
-
if (o) {
|
|
32
|
-
const r = [...e].indexOf(o);
|
|
33
|
-
(i = e[n === "down" ? r + 1 : r - 1]) == null || i.focus();
|
|
34
|
-
} else
|
|
35
|
-
(c = e[n === "down" ? 0 : e.length - 1]) == null || c.focus();
|
|
36
|
-
}, a = ({ target: n, key: t }) => {
|
|
37
|
-
var e;
|
|
38
|
-
if (t === "ArrowDown" || t === "ArrowUp") {
|
|
39
|
-
const o = (e = E.value) == null ? void 0 : e.querySelectorAll(I);
|
|
40
|
-
if (o != null && o.length) {
|
|
41
|
-
const i = [...o].indexOf(n), c = t === "ArrowDown" ? i + 1 : i - 1, r = o[c];
|
|
42
|
-
r == null || r.focus();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
return k({ setFocus: B }), (n, t) => (l(), d("div", D, [
|
|
47
|
-
(l(!0), d(m, null, f(T.value, (e) => (l(), u(w, {
|
|
48
|
-
key: e.key,
|
|
49
|
-
item: e,
|
|
50
|
-
onKeydown: a,
|
|
51
|
-
onSelected: C
|
|
52
|
-
}, {
|
|
53
|
-
content: S(() => [
|
|
54
|
-
v(n.$slots, "content", { item: e }, void 0, !0)
|
|
55
|
-
]),
|
|
56
|
-
_: 2
|
|
57
|
-
}, 1032, ["item"]))), 128)),
|
|
58
|
-
(l(!0), d(m, null, f(b.value, (e) => (l(), d("div", {
|
|
59
|
-
key: `${e}-group`,
|
|
60
|
-
class: "select-group",
|
|
61
|
-
"data-propagate-clicks": "false"
|
|
62
|
-
}, [
|
|
63
|
-
p("span", O, y(e), 1),
|
|
64
|
-
(l(!0), d(m, null, f(x(e), (o) => (l(), u(w, {
|
|
65
|
-
key: o.key,
|
|
66
|
-
item: o,
|
|
67
|
-
onKeydown: a,
|
|
68
|
-
onSelected: C
|
|
69
|
-
}, {
|
|
70
|
-
content: S(() => [
|
|
71
|
-
v(n.$slots, "content", { item: o }, void 0, !0)
|
|
72
|
-
]),
|
|
73
|
-
_: 2
|
|
74
|
-
}, 1032, ["item"]))), 128))
|
|
75
|
-
]))), 128)),
|
|
76
|
-
s.itemCreationEnabled ? (l(), u(w, {
|
|
77
|
-
key: "select-add-item",
|
|
78
|
-
class: "select-add-item",
|
|
79
|
-
"data-testid": "select-add-item",
|
|
80
|
-
item: { label: `${s.filterString} (Add new value)`, value: "add_item", disabled: !s.itemCreationValid },
|
|
81
|
-
onKeydown: a,
|
|
82
|
-
onSelected: t[0] || (t[0] = (e) => n.$emit("add-item"))
|
|
83
|
-
}, {
|
|
84
|
-
content: S(() => [
|
|
85
|
-
p("div", R, [
|
|
86
|
-
V(y(s.filterString) + " ", 1),
|
|
87
|
-
t[1] || (t[1] = p("span", { class: "select-item-new-indicator" }, "(Add new value)", -1))
|
|
88
|
-
])
|
|
89
|
-
]),
|
|
90
|
-
_: 1
|
|
91
|
-
}, 8, ["item"])) : h("", !0)
|
|
92
|
-
], 512));
|
|
93
|
-
}
|
|
94
|
-
});
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "./kongponents.es481.js";
|
|
2
|
+
import { __require as o } from "./kongponents.es380.js";
|
|
3
|
+
var t = /* @__PURE__ */ o();
|
|
4
|
+
const r = /* @__PURE__ */ e(t);
|
|
95
5
|
export {
|
|
96
|
-
|
|
6
|
+
r as default
|
|
97
7
|
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import M from "./kongponents.es390.js";
|
|
2
|
+
import T from "./kongponents.es391.js";
|
|
3
|
+
var c = 36e5, D = 6e4, i = {
|
|
4
|
+
timezoneZ: /^(Z)$/,
|
|
5
|
+
timezoneHH: /^([+-]\d{2})$/,
|
|
6
|
+
timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
|
|
7
|
+
};
|
|
8
|
+
function z(e, r, n) {
|
|
9
|
+
var t, u;
|
|
10
|
+
if (!e || (t = i.timezoneZ.exec(e), t))
|
|
11
|
+
return 0;
|
|
12
|
+
var a;
|
|
13
|
+
if (t = i.timezoneHH.exec(e), t)
|
|
14
|
+
return a = parseInt(t[1], 10), l(a) ? -(a * c) : NaN;
|
|
15
|
+
if (t = i.timezoneHHMM.exec(e), t) {
|
|
16
|
+
a = parseInt(t[2], 10);
|
|
17
|
+
var o = parseInt(t[3], 10);
|
|
18
|
+
return l(a, o) ? (u = Math.abs(a) * c + o * D, t[1] === "+" ? -u : u) : NaN;
|
|
19
|
+
}
|
|
20
|
+
if (p(e)) {
|
|
21
|
+
r = new Date(r || Date.now());
|
|
22
|
+
var I = n ? r : H(r), f = v(I, e), N = n ? f : m(r, f, e);
|
|
23
|
+
return -N;
|
|
24
|
+
}
|
|
25
|
+
return NaN;
|
|
26
|
+
}
|
|
27
|
+
function H(e) {
|
|
28
|
+
return T(
|
|
29
|
+
e.getFullYear(),
|
|
30
|
+
e.getMonth(),
|
|
31
|
+
e.getDate(),
|
|
32
|
+
e.getHours(),
|
|
33
|
+
e.getMinutes(),
|
|
34
|
+
e.getSeconds(),
|
|
35
|
+
e.getMilliseconds()
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
function v(e, r) {
|
|
39
|
+
var n = M(e, r), t = T(
|
|
40
|
+
n[0],
|
|
41
|
+
n[1] - 1,
|
|
42
|
+
n[2],
|
|
43
|
+
n[3] % 24,
|
|
44
|
+
n[4],
|
|
45
|
+
n[5],
|
|
46
|
+
0
|
|
47
|
+
).getTime(), u = e.getTime(), a = u % 1e3;
|
|
48
|
+
return u -= a >= 0 ? a : 1e3 + a, t - u;
|
|
49
|
+
}
|
|
50
|
+
function m(e, r, n) {
|
|
51
|
+
var t = e.getTime(), u = t - r, a = v(new Date(u), n);
|
|
52
|
+
if (r === a)
|
|
53
|
+
return r;
|
|
54
|
+
u -= a - r;
|
|
55
|
+
var o = v(new Date(u), n);
|
|
56
|
+
return a === o ? a : Math.max(a, o);
|
|
57
|
+
}
|
|
58
|
+
function l(e, r) {
|
|
59
|
+
return -23 <= e && e <= 23 && (r == null || 0 <= r && r <= 59);
|
|
60
|
+
}
|
|
61
|
+
var s = {};
|
|
62
|
+
function p(e) {
|
|
63
|
+
if (s[e]) return !0;
|
|
64
|
+
try {
|
|
65
|
+
return new Intl.DateTimeFormat(void 0, { timeZone: e }), s[e] = !0, !0;
|
|
66
|
+
} catch {
|
|
67
|
+
return !1;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export {
|
|
71
|
+
z as default
|
|
72
|
+
};
|
|
@@ -1,47 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const k = ["aria-selected", "data-testid"], y = { class: "select-item-container" }, $ = ["disabled", "value"], h = { class: "select-item-label" }, K = /* @__PURE__ */ r({
|
|
3
|
-
__name: "KSelectItem",
|
|
4
|
-
props: {
|
|
5
|
-
item: {}
|
|
6
|
-
},
|
|
7
|
-
emits: ["selected", "arrow-down", "arrow-up"],
|
|
8
|
-
setup(e, { emit: o }) {
|
|
9
|
-
const a = o, d = (t) => {
|
|
10
|
-
if (e.item.disabled) {
|
|
11
|
-
t.stopPropagation();
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
a("selected", e.item);
|
|
15
|
-
};
|
|
16
|
-
return (t, i) => (u(), c("div", {
|
|
17
|
-
key: e.item.key,
|
|
18
|
-
"aria-selected": e.item.selected,
|
|
19
|
-
class: "select-item",
|
|
20
|
-
"data-testid": `select-item-${e.item.value}`,
|
|
21
|
-
role: "option"
|
|
22
|
-
}, [
|
|
23
|
-
l("div", y, [
|
|
24
|
-
l("button", {
|
|
25
|
-
class: v({ selected: e.item.selected }),
|
|
26
|
-
disabled: e.item.disabled === !0 ? !0 : void 0,
|
|
27
|
-
type: "button",
|
|
28
|
-
value: e.item.value,
|
|
29
|
-
onClick: d,
|
|
30
|
-
onKeydown: [
|
|
31
|
-
i[0] || (i[0] = s(n((m) => t.$emit("arrow-down"), ["prevent"]), ["down"])),
|
|
32
|
-
i[1] || (i[1] = s(n((m) => t.$emit("arrow-up"), ["prevent"]), ["up"]))
|
|
33
|
-
]
|
|
34
|
-
}, [
|
|
35
|
-
l("span", h, [
|
|
36
|
-
w(t.$slots, "content", {}, () => [
|
|
37
|
-
b(f(e.item.label), 1)
|
|
38
|
-
], !0)
|
|
39
|
-
])
|
|
40
|
-
], 42, $)
|
|
41
|
-
])
|
|
42
|
-
], 8, k));
|
|
43
|
-
}
|
|
44
|
-
});
|
|
1
|
+
var a = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;
|
|
45
2
|
export {
|
|
46
|
-
|
|
3
|
+
a as default
|
|
47
4
|
};
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { evaluate as V, getSideAxis as E, getSide as D, clamp as X, getOppositePlacement as J, getExpandedPlacements as K, getOppositeAxisPlacements as N, getAlignmentSides as G, placements as Y, getAlignment as T, getPaddingObject as Q, rectToClientRect as q, getOppositeAxis as U, getOppositeAlignmentPlacement as W, getAlignmentAxis as Z, getAxisLength as ee } from "./kongponents.es307.js";
|
|
2
|
+
function z(t, i, m) {
|
|
3
|
+
let {
|
|
4
|
+
reference: n,
|
|
5
|
+
floating: e
|
|
6
|
+
} = t;
|
|
7
|
+
const l = E(i), r = Z(i), s = ee(r), y = D(i), v = l === "y", d = n.x + n.width / 2 - e.width / 2, a = n.y + n.height / 2 - e.height / 2, c = n[s] / 2 - e[s] / 2;
|
|
8
|
+
let o;
|
|
9
|
+
switch (y) {
|
|
10
|
+
case "top":
|
|
11
|
+
o = {
|
|
12
|
+
x: d,
|
|
13
|
+
y: n.y - e.height
|
|
14
|
+
};
|
|
15
|
+
break;
|
|
16
|
+
case "bottom":
|
|
17
|
+
o = {
|
|
18
|
+
x: d,
|
|
19
|
+
y: n.y + n.height
|
|
20
|
+
};
|
|
21
|
+
break;
|
|
22
|
+
case "right":
|
|
23
|
+
o = {
|
|
24
|
+
x: n.x + n.width,
|
|
25
|
+
y: a
|
|
26
|
+
};
|
|
27
|
+
break;
|
|
28
|
+
case "left":
|
|
29
|
+
o = {
|
|
30
|
+
x: n.x - e.width,
|
|
31
|
+
y: a
|
|
32
|
+
};
|
|
33
|
+
break;
|
|
34
|
+
default:
|
|
35
|
+
o = {
|
|
36
|
+
x: n.x,
|
|
37
|
+
y: n.y
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
switch (T(i)) {
|
|
41
|
+
case "start":
|
|
42
|
+
o[r] -= c * (m && v ? -1 : 1);
|
|
43
|
+
break;
|
|
44
|
+
case "end":
|
|
45
|
+
o[r] += c * (m && v ? -1 : 1);
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
return o;
|
|
49
|
+
}
|
|
50
|
+
const ie = async (t, i, m) => {
|
|
51
|
+
const {
|
|
52
|
+
placement: n = "bottom",
|
|
53
|
+
strategy: e = "absolute",
|
|
54
|
+
middleware: l = [],
|
|
55
|
+
platform: r
|
|
56
|
+
} = m, s = l.filter(Boolean), y = await (r.isRTL == null ? void 0 : r.isRTL(i));
|
|
57
|
+
let v = await r.getElementRects({
|
|
58
|
+
reference: t,
|
|
59
|
+
floating: i,
|
|
60
|
+
strategy: e
|
|
61
|
+
}), {
|
|
62
|
+
x: d,
|
|
63
|
+
y: a
|
|
64
|
+
} = z(v, n, y), c = n, o = {}, x = 0;
|
|
65
|
+
for (let h = 0; h < s.length; h++) {
|
|
66
|
+
const {
|
|
67
|
+
name: w,
|
|
68
|
+
fn: u
|
|
69
|
+
} = s[h], {
|
|
70
|
+
x: f,
|
|
71
|
+
y: A,
|
|
72
|
+
data: P,
|
|
73
|
+
reset: g
|
|
74
|
+
} = await u({
|
|
75
|
+
x: d,
|
|
76
|
+
y: a,
|
|
77
|
+
initialPlacement: n,
|
|
78
|
+
placement: c,
|
|
79
|
+
strategy: e,
|
|
80
|
+
middlewareData: o,
|
|
81
|
+
rects: v,
|
|
82
|
+
platform: r,
|
|
83
|
+
elements: {
|
|
84
|
+
reference: t,
|
|
85
|
+
floating: i
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
d = f ?? d, a = A ?? a, o = {
|
|
89
|
+
...o,
|
|
90
|
+
[w]: {
|
|
91
|
+
...o[w],
|
|
92
|
+
...P
|
|
93
|
+
}
|
|
94
|
+
}, g && x <= 50 && (x++, typeof g == "object" && (g.placement && (c = g.placement), g.rects && (v = g.rects === !0 ? await r.getElementRects({
|
|
95
|
+
reference: t,
|
|
96
|
+
floating: i,
|
|
97
|
+
strategy: e
|
|
98
|
+
}) : g.rects), {
|
|
99
|
+
x: d,
|
|
100
|
+
y: a
|
|
101
|
+
} = z(v, c, y)), h = -1);
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
x: d,
|
|
105
|
+
y: a,
|
|
106
|
+
placement: c,
|
|
107
|
+
strategy: e,
|
|
108
|
+
middlewareData: o
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
async function I(t, i) {
|
|
112
|
+
var m;
|
|
113
|
+
i === void 0 && (i = {});
|
|
114
|
+
const {
|
|
115
|
+
x: n,
|
|
116
|
+
y: e,
|
|
117
|
+
platform: l,
|
|
118
|
+
rects: r,
|
|
119
|
+
elements: s,
|
|
120
|
+
strategy: y
|
|
121
|
+
} = t, {
|
|
122
|
+
boundary: v = "clippingAncestors",
|
|
123
|
+
rootBoundary: d = "viewport",
|
|
124
|
+
elementContext: a = "floating",
|
|
125
|
+
altBoundary: c = !1,
|
|
126
|
+
padding: o = 0
|
|
127
|
+
} = V(i, t), x = Q(o), w = s[c ? a === "floating" ? "reference" : "floating" : a], u = q(await l.getClippingRect({
|
|
128
|
+
element: (m = await (l.isElement == null ? void 0 : l.isElement(w))) == null || m ? w : w.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(s.floating)),
|
|
129
|
+
boundary: v,
|
|
130
|
+
rootBoundary: d,
|
|
131
|
+
strategy: y
|
|
132
|
+
})), f = a === "floating" ? {
|
|
133
|
+
x: n,
|
|
134
|
+
y: e,
|
|
135
|
+
width: r.floating.width,
|
|
136
|
+
height: r.floating.height
|
|
137
|
+
} : r.reference, A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s.floating)), P = await (l.isElement == null ? void 0 : l.isElement(A)) ? await (l.getScale == null ? void 0 : l.getScale(A)) || {
|
|
138
|
+
x: 1,
|
|
139
|
+
y: 1
|
|
140
|
+
} : {
|
|
141
|
+
x: 1,
|
|
142
|
+
y: 1
|
|
143
|
+
}, g = q(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
144
|
+
elements: s,
|
|
145
|
+
rect: f,
|
|
146
|
+
offsetParent: A,
|
|
147
|
+
strategy: y
|
|
148
|
+
}) : f);
|
|
149
|
+
return {
|
|
150
|
+
top: (u.top - g.top + x.top) / P.y,
|
|
151
|
+
bottom: (g.bottom - u.bottom + x.bottom) / P.y,
|
|
152
|
+
left: (u.left - g.left + x.left) / P.x,
|
|
153
|
+
right: (g.right - u.right + x.right) / P.x
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function te(t, i, m) {
|
|
157
|
+
return (t ? [...m.filter((e) => T(e) === t), ...m.filter((e) => T(e) !== t)] : m.filter((e) => D(e) === e)).filter((e) => t ? T(e) === t || (i ? W(e) !== e : !1) : !0);
|
|
158
|
+
}
|
|
159
|
+
const le = function(t) {
|
|
160
|
+
return t === void 0 && (t = {}), {
|
|
161
|
+
name: "autoPlacement",
|
|
162
|
+
options: t,
|
|
163
|
+
async fn(i) {
|
|
164
|
+
var m, n, e;
|
|
165
|
+
const {
|
|
166
|
+
rects: l,
|
|
167
|
+
middlewareData: r,
|
|
168
|
+
placement: s,
|
|
169
|
+
platform: y,
|
|
170
|
+
elements: v
|
|
171
|
+
} = i, {
|
|
172
|
+
crossAxis: d = !1,
|
|
173
|
+
alignment: a,
|
|
174
|
+
allowedPlacements: c = Y,
|
|
175
|
+
autoAlignment: o = !0,
|
|
176
|
+
...x
|
|
177
|
+
} = V(t, i), h = a !== void 0 || c === Y ? te(a || null, o, c) : c, w = await I(i, x), u = ((m = r.autoPlacement) == null ? void 0 : m.index) || 0, f = h[u];
|
|
178
|
+
if (f == null)
|
|
179
|
+
return {};
|
|
180
|
+
const A = G(f, l, await (y.isRTL == null ? void 0 : y.isRTL(v.floating)));
|
|
181
|
+
if (s !== f)
|
|
182
|
+
return {
|
|
183
|
+
reset: {
|
|
184
|
+
placement: h[0]
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
const P = [w[D(f)], w[A[0]], w[A[1]]], g = [...((n = r.autoPlacement) == null ? void 0 : n.overflows) || [], {
|
|
188
|
+
placement: f,
|
|
189
|
+
overflows: P
|
|
190
|
+
}], L = h[u + 1];
|
|
191
|
+
if (L)
|
|
192
|
+
return {
|
|
193
|
+
data: {
|
|
194
|
+
index: u + 1,
|
|
195
|
+
overflows: g
|
|
196
|
+
},
|
|
197
|
+
reset: {
|
|
198
|
+
placement: L
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
const B = g.map((p) => {
|
|
202
|
+
const O = T(p.placement);
|
|
203
|
+
return [p.placement, O && d ? (
|
|
204
|
+
// Check along the mainAxis and main crossAxis side.
|
|
205
|
+
p.overflows.slice(0, 2).reduce(($, j) => $ + j, 0)
|
|
206
|
+
) : (
|
|
207
|
+
// Check only the mainAxis.
|
|
208
|
+
p.overflows[0]
|
|
209
|
+
), p.overflows];
|
|
210
|
+
}).sort((p, O) => p[1] - O[1]), R = ((e = B.filter((p) => p[2].slice(
|
|
211
|
+
0,
|
|
212
|
+
// Aligned placements should not check their opposite crossAxis
|
|
213
|
+
// side.
|
|
214
|
+
T(p[0]) ? 2 : 3
|
|
215
|
+
).every((O) => O <= 0))[0]) == null ? void 0 : e[0]) || B[0][0];
|
|
216
|
+
return R !== s ? {
|
|
217
|
+
data: {
|
|
218
|
+
index: u + 1,
|
|
219
|
+
overflows: g
|
|
220
|
+
},
|
|
221
|
+
reset: {
|
|
222
|
+
placement: R
|
|
223
|
+
}
|
|
224
|
+
} : {};
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
}, oe = function(t) {
|
|
228
|
+
return t === void 0 && (t = {}), {
|
|
229
|
+
name: "flip",
|
|
230
|
+
options: t,
|
|
231
|
+
async fn(i) {
|
|
232
|
+
var m, n;
|
|
233
|
+
const {
|
|
234
|
+
placement: e,
|
|
235
|
+
middlewareData: l,
|
|
236
|
+
rects: r,
|
|
237
|
+
initialPlacement: s,
|
|
238
|
+
platform: y,
|
|
239
|
+
elements: v
|
|
240
|
+
} = i, {
|
|
241
|
+
mainAxis: d = !0,
|
|
242
|
+
crossAxis: a = !0,
|
|
243
|
+
fallbackPlacements: c,
|
|
244
|
+
fallbackStrategy: o = "bestFit",
|
|
245
|
+
fallbackAxisSideDirection: x = "none",
|
|
246
|
+
flipAlignment: h = !0,
|
|
247
|
+
...w
|
|
248
|
+
} = V(t, i);
|
|
249
|
+
if ((m = l.arrow) != null && m.alignmentOffset)
|
|
250
|
+
return {};
|
|
251
|
+
const u = D(e), f = E(s), A = D(s) === s, P = await (y.isRTL == null ? void 0 : y.isRTL(v.floating)), g = c || (A || !h ? [J(s)] : K(s)), L = x !== "none";
|
|
252
|
+
!c && L && g.push(...N(s, h, x, P));
|
|
253
|
+
const B = [s, ...g], M = await I(i, w), R = [];
|
|
254
|
+
let p = ((n = l.flip) == null ? void 0 : n.overflows) || [];
|
|
255
|
+
if (d && R.push(M[u]), a) {
|
|
256
|
+
const k = G(e, r, P);
|
|
257
|
+
R.push(M[k[0]], M[k[1]]);
|
|
258
|
+
}
|
|
259
|
+
if (p = [...p, {
|
|
260
|
+
placement: e,
|
|
261
|
+
overflows: R
|
|
262
|
+
}], !R.every((k) => k <= 0)) {
|
|
263
|
+
var O, $;
|
|
264
|
+
const k = (((O = l.flip) == null ? void 0 : O.index) || 0) + 1, _ = B[k];
|
|
265
|
+
if (_ && (!(a === "alignment" ? f !== E(_) : !1) || // We leave the current main axis only if every placement on that axis
|
|
266
|
+
// overflows the main axis.
|
|
267
|
+
p.every((b) => E(b.placement) === f ? b.overflows[0] > 0 : !0)))
|
|
268
|
+
return {
|
|
269
|
+
data: {
|
|
270
|
+
index: k,
|
|
271
|
+
overflows: p
|
|
272
|
+
},
|
|
273
|
+
reset: {
|
|
274
|
+
placement: _
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
let F = ($ = p.filter((C) => C.overflows[0] <= 0).sort((C, b) => C.overflows[1] - b.overflows[1])[0]) == null ? void 0 : $.placement;
|
|
278
|
+
if (!F)
|
|
279
|
+
switch (o) {
|
|
280
|
+
case "bestFit": {
|
|
281
|
+
var j;
|
|
282
|
+
const C = (j = p.filter((b) => {
|
|
283
|
+
if (L) {
|
|
284
|
+
const S = E(b.placement);
|
|
285
|
+
return S === f || // Create a bias to the `y` side axis due to horizontal
|
|
286
|
+
// reading directions favoring greater width.
|
|
287
|
+
S === "y";
|
|
288
|
+
}
|
|
289
|
+
return !0;
|
|
290
|
+
}).map((b) => [b.placement, b.overflows.filter((S) => S > 0).reduce((S, H) => S + H, 0)]).sort((b, S) => b[1] - S[1])[0]) == null ? void 0 : j[0];
|
|
291
|
+
C && (F = C);
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
case "initialPlacement":
|
|
295
|
+
F = s;
|
|
296
|
+
break;
|
|
297
|
+
}
|
|
298
|
+
if (e !== F)
|
|
299
|
+
return {
|
|
300
|
+
reset: {
|
|
301
|
+
placement: F
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
return {};
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
}, ae = function(t) {
|
|
309
|
+
return t === void 0 && (t = {}), {
|
|
310
|
+
name: "shift",
|
|
311
|
+
options: t,
|
|
312
|
+
async fn(i) {
|
|
313
|
+
const {
|
|
314
|
+
x: m,
|
|
315
|
+
y: n,
|
|
316
|
+
placement: e
|
|
317
|
+
} = i, {
|
|
318
|
+
mainAxis: l = !0,
|
|
319
|
+
crossAxis: r = !1,
|
|
320
|
+
limiter: s = {
|
|
321
|
+
fn: (w) => {
|
|
322
|
+
let {
|
|
323
|
+
x: u,
|
|
324
|
+
y: f
|
|
325
|
+
} = w;
|
|
326
|
+
return {
|
|
327
|
+
x: u,
|
|
328
|
+
y: f
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
...y
|
|
333
|
+
} = V(t, i), v = {
|
|
334
|
+
x: m,
|
|
335
|
+
y: n
|
|
336
|
+
}, d = await I(i, y), a = E(D(e)), c = U(a);
|
|
337
|
+
let o = v[c], x = v[a];
|
|
338
|
+
if (l) {
|
|
339
|
+
const w = c === "y" ? "top" : "left", u = c === "y" ? "bottom" : "right", f = o + d[w], A = o - d[u];
|
|
340
|
+
o = X(f, o, A);
|
|
341
|
+
}
|
|
342
|
+
if (r) {
|
|
343
|
+
const w = a === "y" ? "top" : "left", u = a === "y" ? "bottom" : "right", f = x + d[w], A = x - d[u];
|
|
344
|
+
x = X(f, x, A);
|
|
345
|
+
}
|
|
346
|
+
const h = s.fn({
|
|
347
|
+
...i,
|
|
348
|
+
[c]: o,
|
|
349
|
+
[a]: x
|
|
350
|
+
});
|
|
351
|
+
return {
|
|
352
|
+
...h,
|
|
353
|
+
data: {
|
|
354
|
+
x: h.x - m,
|
|
355
|
+
y: h.y - n,
|
|
356
|
+
enabled: {
|
|
357
|
+
[c]: l,
|
|
358
|
+
[a]: r
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
export {
|
|
366
|
+
le as autoPlacement,
|
|
367
|
+
ie as computePosition,
|
|
368
|
+
I as detectOverflow,
|
|
369
|
+
oe as flip,
|
|
370
|
+
q as rectToClientRect,
|
|
371
|
+
ae as shift
|
|
372
|
+
};
|