@kong/kongponents 9.46.2-pr.2980.c5cb48b.0 → 9.46.3-pr.2976.4008863.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 +3 -3
- package/dist/kongponents.es107.js +3 -3
- package/dist/kongponents.es109.js +3 -3
- package/dist/kongponents.es115.js +3 -3
- package/dist/kongponents.es117.js +1 -1
- package/dist/kongponents.es119.js +8 -8
- package/dist/kongponents.es122.js +5 -5
- package/dist/kongponents.es124.js +5 -5
- package/dist/kongponents.es130.js +1 -1
- package/dist/kongponents.es132.js +8 -8
- package/dist/kongponents.es139.js +2 -2
- package/dist/kongponents.es141.js +1 -1
- package/dist/kongponents.es143.js +4 -4
- package/dist/kongponents.es147.js +2 -2
- package/dist/kongponents.es149.js +2 -2
- package/dist/kongponents.es154.js +2 -2
- package/dist/kongponents.es156.js +4 -4
- package/dist/kongponents.es158.js +2 -2
- package/dist/kongponents.es160.js +10 -10
- package/dist/kongponents.es171.js +1 -1
- package/dist/kongponents.es172.js +1 -1
- package/dist/kongponents.es173.js +1 -1
- package/dist/kongponents.es174.js +1 -1
- package/dist/kongponents.es175.js +1 -1
- package/dist/kongponents.es176.js +1 -1
- package/dist/kongponents.es178.js +24 -5
- package/dist/kongponents.es179.js +20 -20
- package/dist/kongponents.es180.js +110 -0
- package/dist/kongponents.es181.js +18 -119
- package/dist/kongponents.es182.js +119 -5
- package/dist/kongponents.es183.js +119 -8
- package/dist/kongponents.es184.js +316 -59
- package/dist/kongponents.es185.js +39 -5
- package/dist/kongponents.es186.js +98 -5
- package/dist/kongponents.es187.js +119 -5
- package/dist/kongponents.es188.js +119 -5
- package/dist/kongponents.es189.js +119 -5
- package/dist/kongponents.es190.js +120 -5
- package/dist/kongponents.es191.js +21 -22
- package/dist/kongponents.es192.js +19 -19
- package/dist/kongponents.es193.js +5 -119
- package/dist/kongponents.es194.js +51 -107
- package/dist/kongponents.es195.js +36 -36
- package/dist/kongponents.es196.js +5 -119
- package/dist/kongponents.es197.js +119 -5
- package/dist/kongponents.es198.js +115 -313
- package/dist/kongponents.es199.js +118 -38
- package/dist/kongponents.es201.js +25 -25
- package/dist/kongponents.es202.js +5 -119
- package/dist/kongponents.es203.js +8 -119
- package/dist/kongponents.es204.js +59 -118
- package/dist/kongponents.es205.js +111 -116
- package/dist/kongponents.es206.js +13 -115
- package/dist/kongponents.es207.js +184 -17
- package/dist/kongponents.es208.js +393 -49
- package/dist/kongponents.es209.js +7 -119
- package/dist/kongponents.es21.js +7 -7
- package/dist/kongponents.es210.js +5 -119
- package/dist/kongponents.es211.js +184 -97
- package/dist/kongponents.es212.js +5 -185
- package/dist/kongponents.es213.js +5 -119
- package/dist/kongponents.es214.js +15 -119
- package/dist/kongponents.es215.js +119 -5
- package/dist/kongponents.es216.js +119 -5
- package/dist/kongponents.es217.js +118 -23
- package/dist/kongponents.es218.js +5 -119
- package/dist/kongponents.es219.js +5 -114
- package/dist/kongponents.es220.js +10 -17
- package/dist/kongponents.es221.js +116 -393
- package/dist/kongponents.es222.js +119 -5
- package/dist/kongponents.es223.js +15 -15
- package/dist/kongponents.es224.js +5 -119
- package/dist/kongponents.es225.js +5 -119
- package/dist/kongponents.es226.js +2 -2
- package/dist/kongponents.es227.js +5 -119
- package/dist/kongponents.es228.js +5 -119
- package/dist/kongponents.es229.js +4 -6
- package/dist/kongponents.es23.js +25 -31
- package/dist/kongponents.es230.js +97 -184
- package/dist/kongponents.es231.js +119 -15
- package/dist/kongponents.es232.js +3 -3
- package/dist/kongponents.es233.js +31 -31
- package/dist/kongponents.es234.js +29 -29
- package/dist/kongponents.es235.js +4 -4
- package/dist/kongponents.es236.js +5 -10
- package/dist/kongponents.es237.js +119 -5
- package/dist/kongponents.es238.js +119 -5
- package/dist/kongponents.es240.js +40 -24
- package/dist/kongponents.es241.js +322 -0
- package/dist/kongponents.es242.js +6 -48
- package/dist/{kongponents.es263.js → kongponents.es243.js} +2 -2
- package/dist/kongponents.es245.js +34 -0
- package/dist/kongponents.es246.js +92 -20
- package/dist/kongponents.es248.js +40 -40
- package/dist/kongponents.es250.js +173 -37
- package/dist/kongponents.es253.js +126 -312
- package/dist/kongponents.es254.js +2 -6
- package/dist/kongponents.es255.js +2 -471
- package/dist/kongponents.es256.js +118 -31
- package/dist/kongponents.es257.js +115 -48
- package/dist/{kongponents.es273.js → kongponents.es258.js} +1 -1
- package/dist/kongponents.es259.js +51 -133
- package/dist/kongponents.es26.js +4 -4
- package/dist/kongponents.es261.js +464 -152
- package/dist/kongponents.es262.js +26 -0
- package/dist/kongponents.es264.js +50 -0
- package/dist/kongponents.es268.js +25 -0
- package/dist/kongponents.es270.js +45 -2
- package/dist/kongponents.es272.js +36 -114
- package/dist/kongponents.es274.js +5 -95
- package/dist/kongponents.es275.js +7 -0
- package/dist/kongponents.es276.js +19 -44
- package/dist/kongponents.es277.js +6 -0
- package/dist/kongponents.es278.js +4 -4
- package/dist/kongponents.es279.js +6 -5
- package/dist/kongponents.es28.js +2 -2
- package/dist/kongponents.es280.js +8 -19
- package/dist/kongponents.es281.js +5 -3
- package/dist/kongponents.es282.js +3 -4
- package/dist/kongponents.es283.js +16 -5
- package/dist/kongponents.es284.js +3 -8
- package/dist/kongponents.es285.js +8 -6
- package/dist/kongponents.es286.js +6 -3
- package/dist/kongponents.es287.js +3 -16
- package/dist/kongponents.es288.js +2 -4
- package/dist/kongponents.es289.js +6 -8
- package/dist/kongponents.es290.js +9 -6
- package/dist/kongponents.es291.js +4 -3
- package/dist/kongponents.es292.js +4 -2
- package/dist/kongponents.es293.js +3 -6
- package/dist/kongponents.es294.js +3 -9
- package/dist/kongponents.es295.js +7 -4
- package/dist/kongponents.es296.js +7 -4
- package/dist/kongponents.es297.js +5 -3
- package/dist/kongponents.es298.js +9 -3
- package/dist/kongponents.es299.js +5 -7
- package/dist/kongponents.es300.js +9 -7
- package/dist/kongponents.es301.js +6 -4
- package/dist/kongponents.es302.js +17 -9
- package/dist/kongponents.es303.js +11 -5
- package/dist/kongponents.es304.js +7 -9
- package/dist/kongponents.es305.js +12 -6
- package/dist/kongponents.es306.js +9 -17
- package/dist/kongponents.es307.js +5 -11
- package/dist/kongponents.es308.js +8 -6
- package/dist/kongponents.es309.js +15 -12
- package/dist/kongponents.es310.js +17 -9
- package/dist/kongponents.es311.js +5 -5
- package/dist/kongponents.es312.js +10 -8
- package/dist/kongponents.es313.js +6 -15
- package/dist/kongponents.es314.js +7 -17
- package/dist/kongponents.es315.js +5 -5
- package/dist/kongponents.es316.js +6 -10
- package/dist/kongponents.es317.js +9 -6
- package/dist/kongponents.es318.js +7 -7
- package/dist/kongponents.es319.js +2 -4
- package/dist/kongponents.es320.js +5 -6
- package/dist/kongponents.es321.js +15 -9
- package/dist/kongponents.es322.js +91 -8
- package/dist/kongponents.es324.js +41 -6
- package/dist/kongponents.es326.js +174 -198
- package/dist/kongponents.es328.js +11 -0
- package/dist/kongponents.es329.js +6 -369
- package/dist/kongponents.es330.js +7 -129
- package/dist/kongponents.es331.js +4 -8
- package/dist/kongponents.es332.js +9 -6
- package/dist/kongponents.es333.js +7 -6
- package/dist/kongponents.es334.js +636 -4
- package/dist/kongponents.es335.js +74 -10
- package/dist/kongponents.es336.js +4 -8
- package/dist/kongponents.es337.js +17 -634
- package/dist/kongponents.es338.js +5 -74
- package/dist/kongponents.es339.js +18 -5
- package/dist/kongponents.es340.js +7 -19
- package/dist/kongponents.es341.js +5 -4
- package/dist/kongponents.es342.js +9 -18
- package/dist/kongponents.es343.js +6 -6
- package/dist/kongponents.es344.js +4 -5
- package/dist/kongponents.es345.js +20 -8
- package/dist/kongponents.es346.js +5 -8
- package/dist/kongponents.es347.js +110 -4
- package/dist/kongponents.es348.js +171 -20
- package/dist/kongponents.es349.js +5 -5
- package/dist/kongponents.es350.js +6 -110
- package/dist/kongponents.es351.js +5 -172
- package/dist/kongponents.es352.js +4 -4
- package/dist/kongponents.es353.js +69 -6
- package/dist/kongponents.es354.js +2 -5
- package/dist/kongponents.es355.js +370 -5
- package/dist/kongponents.es356.js +127 -67
- package/dist/kongponents.es357.js +64 -2
- package/dist/kongponents.es359.js +5762 -52
- package/dist/kongponents.es360.js +1559 -0
- package/dist/kongponents.es361.js +5 -5774
- package/dist/kongponents.es362.js +3 -3
- package/dist/kongponents.es363.js +210 -1549
- package/dist/kongponents.es364.js +95 -5
- package/dist/kongponents.es366.js +2 -8
- package/dist/kongponents.es367.js +25 -6
- package/dist/kongponents.es368.js +8 -9
- package/dist/kongponents.es369.js +5 -5
- package/dist/kongponents.es370.js +9 -10
- package/dist/kongponents.es371.js +5 -14
- package/dist/kongponents.es372.js +10 -3
- package/dist/kongponents.es373.js +14 -7
- package/dist/kongponents.es374.js +3 -3
- package/dist/kongponents.es375.js +7 -10
- package/dist/kongponents.es376.js +3 -8
- package/dist/kongponents.es377.js +10 -5
- package/dist/kongponents.es378.js +8 -2
- package/dist/kongponents.es379.js +5 -12
- package/dist/kongponents.es380.js +2 -5
- package/dist/kongponents.es381.js +13 -3
- package/dist/kongponents.es382.js +5 -26
- package/dist/kongponents.es383.js +3 -4
- package/dist/kongponents.es384.js +26 -4
- package/dist/kongponents.es385.js +4 -4
- package/dist/kongponents.es386.js +4 -4
- package/dist/kongponents.es387.js +4 -4
- package/dist/kongponents.es388.js +4 -15
- package/dist/kongponents.es389.js +4 -6
- package/dist/kongponents.es390.js +12 -27
- package/dist/kongponents.es391.js +5 -26
- package/dist/kongponents.es392.js +29 -15
- package/dist/kongponents.es393.js +25 -8
- package/dist/kongponents.es394.js +15 -4
- package/dist/kongponents.es395.js +9 -13
- package/dist/kongponents.es396.js +4 -8
- package/dist/kongponents.es397.js +14 -3
- package/dist/kongponents.es398.js +8 -5
- package/dist/kongponents.es399.js +3 -6
- package/dist/kongponents.es400.js +5 -7
- package/dist/kongponents.es401.js +5 -5
- package/dist/kongponents.es402.js +7 -10
- package/dist/kongponents.es403.js +5 -5
- package/dist/kongponents.es404.js +10 -4
- package/dist/kongponents.es405.js +5 -4
- package/dist/kongponents.es406.js +4 -5
- package/dist/kongponents.es407.js +5 -8
- package/dist/kongponents.es408.js +5 -6
- package/dist/kongponents.es409.js +8 -10
- package/dist/kongponents.es41.js +2 -2
- package/dist/kongponents.es410.js +6 -6
- package/dist/kongponents.es411.js +10 -22
- package/dist/kongponents.es412.js +6 -6
- package/dist/kongponents.es413.js +21 -6
- package/dist/kongponents.es414.js +6 -6
- package/dist/kongponents.es415.js +6 -8
- package/dist/kongponents.es416.js +7 -95
- package/dist/kongponents.es417.js +11 -0
- package/dist/kongponents.es418.js +2 -11
- package/dist/kongponents.es419.js +9 -9
- package/dist/kongponents.es420.js +10 -12
- package/dist/kongponents.es421.js +12 -10
- package/dist/kongponents.es422.js +10 -18
- package/dist/kongponents.es423.js +18 -5
- package/dist/kongponents.es424.js +6 -55
- package/dist/kongponents.es425.js +55 -2
- package/dist/kongponents.es426.js +2 -2
- package/dist/kongponents.es450.js +2 -2
- package/dist/kongponents.es451.js +5 -5
- package/dist/kongponents.es456.js +2 -2
- package/dist/kongponents.es457.js +2 -2
- package/dist/kongponents.es458.js +2 -2
- package/dist/kongponents.es459.js +1 -1
- package/dist/kongponents.es463.js +1 -1
- package/dist/kongponents.es464.js +4 -4
- package/dist/kongponents.es466.js +1 -1
- package/dist/kongponents.es469.js +67 -8
- package/dist/kongponents.es470.js +31 -11
- package/dist/kongponents.es471.js +11 -14
- package/dist/kongponents.es472.js +121 -14
- package/dist/kongponents.es473.js +84 -65
- package/dist/kongponents.es474.js +8 -31
- package/dist/kongponents.es475.js +11 -11
- package/dist/kongponents.es476.js +14 -121
- package/dist/kongponents.es477.js +14 -86
- package/dist/kongponents.es480.js +1 -1
- package/dist/kongponents.es482.js +1 -1
- package/dist/kongponents.es490.js +7 -7
- package/dist/kongponents.es503.js +7 -7
- package/dist/kongponents.es504.js +1 -1
- package/dist/kongponents.es505.js +4 -4
- package/dist/kongponents.es506.js +6 -6
- package/dist/kongponents.es510.js +1 -1
- package/dist/kongponents.es511.js +1 -1
- package/dist/kongponents.es512.js +1 -1
- package/dist/kongponents.es513.js +6 -6
- package/dist/kongponents.es514.js +1 -1
- package/dist/kongponents.es515.js +1 -1
- package/dist/kongponents.es516.js +6 -6
- package/dist/kongponents.es517.js +8 -8
- package/dist/kongponents.es518.js +6 -6
- package/dist/kongponents.es519.js +1 -1
- package/dist/kongponents.es520.js +3 -3
- package/dist/kongponents.es521.js +3 -9
- package/dist/kongponents.es522.js +9 -5
- package/dist/kongponents.es523.js +5 -4
- package/dist/kongponents.es524.js +4 -5
- package/dist/kongponents.es525.js +5 -3
- package/dist/kongponents.es526.js +1 -1
- package/dist/kongponents.es537.js +2 -2
- package/dist/kongponents.es538.js +2 -2
- package/dist/kongponents.es543.js +1 -1
- package/dist/kongponents.es546.js +4 -4
- package/dist/kongponents.es547.js +5 -5
- package/dist/kongponents.es557.js +3 -20
- package/dist/kongponents.es558.js +3 -7
- package/dist/kongponents.es559.js +15 -3
- package/dist/kongponents.es560.js +3 -6
- package/dist/kongponents.es561.js +9 -7
- package/dist/kongponents.es562.js +4 -5
- package/dist/kongponents.es563.js +6 -4
- package/dist/kongponents.es564.js +9 -7
- package/dist/kongponents.es565.js +6 -14
- package/dist/kongponents.es566.js +4 -9
- package/dist/kongponents.es567.js +3 -4
- package/dist/kongponents.es568.js +4 -5
- package/dist/kongponents.es569.js +11 -6
- package/dist/kongponents.es570.js +9 -30
- package/dist/kongponents.es571.js +30 -34
- package/dist/kongponents.es572.js +24 -51
- package/dist/kongponents.es573.js +51 -8
- package/dist/kongponents.es574.js +3 -4
- package/dist/kongponents.es575.js +8 -5
- package/dist/kongponents.es576.js +20 -3
- package/dist/kongponents.es577.js +7 -15
- package/dist/kongponents.es578.js +6 -3
- package/dist/kongponents.es579.js +5 -9
- package/dist/kongponents.es580.js +7 -3
- package/dist/kongponents.es581.js +15 -11
- package/dist/kongponents.es582.js +3 -8
- package/dist/kongponents.es583.js +6 -24
- package/dist/kongponents.es584.js +34 -3
- package/dist/kongponents.es585.js +8 -8
- package/dist/kongponents.es586.js +1 -1
- package/dist/kongponents.es601.js +1 -1
- package/dist/kongponents.es602.js +1 -1
- package/dist/kongponents.es604.js +3 -3
- package/dist/kongponents.es605.js +4 -4
- 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 +2 -2
- package/dist/kongponents.es89.js +13 -13
- package/dist/kongponents.es94.js +1 -1
- package/dist/kongponents.es96.js +81 -77
- package/dist/kongponents.es99.js +1 -1
- package/dist/kongponents.umd.js +18 -18
- package/dist/kongponents105.cjs +1 -1
- package/dist/kongponents107.cjs +1 -1
- package/dist/kongponents109.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/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/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 -1
- package/dist/kongponents176.cjs +1 -1
- package/dist/kongponents178.cjs +1 -1
- package/dist/kongponents179.cjs +1 -1
- package/dist/kongponents180.cjs +1 -0
- 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 +2 -1
- package/dist/kongponents187.cjs +1 -1
- package/dist/kongponents188.cjs +1 -1
- package/dist/kongponents189.cjs +1 -1
- package/dist/kongponents190.cjs +2 -1
- package/dist/kongponents191.cjs +1 -2
- package/dist/kongponents192.cjs +1 -1
- package/dist/kongponents193.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/kongponents201.cjs +1 -1
- package/dist/kongponents202.cjs +1 -1
- package/dist/kongponents203.cjs +1 -1
- 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 +1 -5
- 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 -1
- 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/kongponents23.cjs +1 -1
- package/dist/kongponents230.cjs +5 -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/kongponents240.cjs +1 -1
- package/dist/kongponents241.cjs +1 -0
- package/dist/kongponents242.cjs +1 -1
- package/dist/{kongponents263.cjs → kongponents243.cjs} +1 -1
- package/dist/kongponents245.cjs +1 -0
- package/dist/kongponents246.cjs +1 -1
- package/dist/kongponents248.cjs +1 -1
- package/dist/kongponents250.cjs +1 -1
- package/dist/kongponents253.cjs +1 -1
- package/dist/kongponents254.cjs +1 -1
- package/dist/kongponents255.cjs +1 -5
- package/dist/kongponents256.cjs +1 -1
- package/dist/kongponents257.cjs +1 -1
- package/dist/{kongponents273.cjs → kongponents258.cjs} +1 -1
- package/dist/kongponents259.cjs +1 -1
- package/dist/kongponents26.cjs +1 -1
- package/dist/kongponents261.cjs +5 -1
- package/dist/kongponents262.cjs +1 -0
- package/dist/kongponents264.cjs +1 -0
- package/dist/kongponents268.cjs +1 -0
- package/dist/kongponents270.cjs +1 -1
- package/dist/kongponents272.cjs +1 -1
- package/dist/kongponents274.cjs +1 -1
- package/dist/{kongponents260.cjs → kongponents275.cjs} +1 -1
- package/dist/kongponents276.cjs +1 -1
- package/dist/kongponents277.cjs +1 -0
- package/dist/kongponents278.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 -1
- package/dist/kongponents299.cjs +1 -1
- package/dist/kongponents300.cjs +1 -1
- package/dist/kongponents301.cjs +1 -1
- package/dist/kongponents302.cjs +1 -1
- package/dist/kongponents303.cjs +1 -1
- package/dist/kongponents304.cjs +1 -1
- package/dist/kongponents305.cjs +1 -1
- package/dist/kongponents306.cjs +1 -1
- package/dist/kongponents307.cjs +1 -1
- package/dist/kongponents308.cjs +1 -1
- package/dist/kongponents309.cjs +1 -1
- package/dist/kongponents310.cjs +1 -1
- package/dist/kongponents311.cjs +1 -1
- package/dist/kongponents312.cjs +1 -1
- package/dist/kongponents313.cjs +1 -1
- package/dist/kongponents314.cjs +1 -1
- package/dist/kongponents315.cjs +1 -1
- package/dist/kongponents316.cjs +1 -1
- package/dist/kongponents317.cjs +1 -1
- package/dist/kongponents318.cjs +1 -1
- package/dist/kongponents319.cjs +1 -1
- package/dist/kongponents320.cjs +1 -1
- package/dist/kongponents321.cjs +1 -1
- package/dist/kongponents322.cjs +1 -1
- package/dist/kongponents324.cjs +1 -1
- package/dist/kongponents326.cjs +1 -4
- package/dist/kongponents328.cjs +1 -0
- package/dist/kongponents329.cjs +1 -1
- package/dist/kongponents330.cjs +1 -1
- package/dist/kongponents331.cjs +1 -1
- package/dist/kongponents332.cjs +1 -1
- package/dist/kongponents333.cjs +1 -1
- package/dist/kongponents334.cjs +1 -1
- package/dist/kongponents335.cjs +1 -1
- package/dist/kongponents336.cjs +1 -1
- package/dist/kongponents337.cjs +1 -1
- package/dist/kongponents338.cjs +1 -1
- package/dist/kongponents339.cjs +1 -1
- package/dist/kongponents340.cjs +1 -1
- package/dist/kongponents341.cjs +1 -1
- package/dist/kongponents342.cjs +1 -1
- package/dist/kongponents343.cjs +1 -1
- package/dist/kongponents344.cjs +1 -1
- package/dist/kongponents345.cjs +1 -1
- package/dist/kongponents346.cjs +1 -1
- package/dist/kongponents347.cjs +1 -1
- package/dist/kongponents348.cjs +1 -1
- package/dist/kongponents349.cjs +1 -1
- package/dist/kongponents350.cjs +1 -1
- package/dist/kongponents351.cjs +1 -1
- package/dist/kongponents352.cjs +1 -1
- package/dist/kongponents353.cjs +1 -1
- package/dist/kongponents354.cjs +1 -1
- package/dist/kongponents355.cjs +1 -1
- package/dist/kongponents356.cjs +1 -1
- package/dist/kongponents357.cjs +1 -1
- package/dist/kongponents359.cjs +1 -1
- package/dist/kongponents360.cjs +10 -0
- package/dist/kongponents361.cjs +1 -1
- package/dist/kongponents362.cjs +1 -1
- package/dist/kongponents363.cjs +4 -10
- package/dist/kongponents364.cjs +1 -1
- 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/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/kongponents397.cjs +1 -1
- package/dist/kongponents398.cjs +1 -1
- package/dist/kongponents399.cjs +1 -1
- package/dist/kongponents400.cjs +1 -1
- package/dist/kongponents401.cjs +1 -1
- package/dist/kongponents402.cjs +1 -1
- package/dist/kongponents403.cjs +1 -1
- package/dist/kongponents404.cjs +1 -1
- package/dist/kongponents405.cjs +1 -1
- package/dist/kongponents406.cjs +1 -1
- package/dist/kongponents407.cjs +1 -1
- package/dist/kongponents408.cjs +1 -1
- package/dist/kongponents409.cjs +1 -1
- package/dist/kongponents41.cjs +1 -1
- package/dist/kongponents410.cjs +1 -1
- package/dist/kongponents411.cjs +1 -1
- package/dist/kongponents412.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 -0
- 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/kongponents424.cjs +1 -1
- package/dist/kongponents425.cjs +1 -1
- package/dist/kongponents426.cjs +1 -1
- package/dist/kongponents450.cjs +1 -1
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents456.cjs +1 -1
- package/dist/kongponents457.cjs +1 -1
- package/dist/kongponents458.cjs +1 -1
- package/dist/kongponents459.cjs +1 -1
- package/dist/kongponents463.cjs +1 -1
- package/dist/kongponents464.cjs +1 -1
- package/dist/kongponents466.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/kongponents480.cjs +1 -1
- package/dist/kongponents482.cjs +1 -1
- package/dist/kongponents490.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/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/kongponents543.cjs +1 -1
- package/dist/kongponents546.cjs +1 -1
- package/dist/kongponents547.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/kongponents601.cjs +1 -1
- package/dist/kongponents602.cjs +1 -1
- package/dist/kongponents604.cjs +1 -1
- package/dist/kongponents605.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 +1 -1
- package/dist/kongponents94.cjs +1 -1
- package/dist/kongponents96.cjs +1 -1
- package/dist/kongponents99.cjs +1 -1
- package/dist/types/components/KDateTimePicker/CalendarWrapper.vue.d.ts +3 -6
- package/dist/types/components/KToaster/ToastManager.d.ts +0 -2
- package/dist/types/types/date-time-picker.d.ts +6 -0
- package/package.json +7 -7
- package/dist/kongponents.es200.js +0 -100
- package/dist/kongponents.es252.js +0 -42
- package/dist/kongponents.es260.js +0 -4
- package/dist/kongponents.es265.js +0 -93
- package/dist/kongponents.es267.js +0 -43
- package/dist/kongponents.es271.js +0 -121
- package/dist/kongponents.es323.js +0 -6
- package/dist/kongponents.es325.js +0 -18
- package/dist/kongponents.es327.js +0 -178
- package/dist/kongponents.es358.js +0 -4
- package/dist/kongponents.es365.js +0 -27
- package/dist/kongponents200.cjs +0 -2
- package/dist/kongponents252.cjs +0 -1
- package/dist/kongponents265.cjs +0 -1
- package/dist/kongponents267.cjs +0 -1
- package/dist/kongponents271.cjs +0 -1
- package/dist/kongponents323.cjs +0 -1
- package/dist/kongponents325.cjs +0 -1
- package/dist/kongponents327.cjs +0 -1
- package/dist/kongponents358.cjs +0 -1
- package/dist/kongponents365.cjs +0 -1
- /package/dist/{kongponents.es244.js → kongponents.es266.js} +0 -0
- /package/dist/{kongponents244.cjs → kongponents266.cjs} +0 -0
package/dist/kongponents96.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),N=require("./kongponents33.cjs"),W=require("./kongponents53.cjs"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),N=require("./kongponents33.cjs"),W=require("./kongponents53.cjs"),G=require("./kongponents56.cjs");;/* empty css */require("./kongponents5.cjs");const b=require("./kongponents10.cjs"),H=require("./kongponents201.cjs"),S=require("./kongponents177.cjs"),Z=require("./kongponents193.cjs"),j=require("./kongponents202.cjs"),x=require("./kongponents203.cjs"),w=require("./kongponents204.cjs"),F=["tabindex"],X=["innerHTML"],J={key:1,class:"range-display"},Q={key:3,class:"relative-periods-container"},Y={class:"timeframe-section-title"},_={class:"timeframe-buttons"},ee={class:"datetime-picker-footer-container"},te=e.defineComponent({__name:"KDateTimePicker",props:{clearButton:{type:Boolean},icon:{type:Boolean,default:!0},modelValue:{default:()=>({start:null,end:null})},maxDate:{default:()=>{}},minDate:{default:()=>{}},mode:{},placeholder:{default:"Select a time range"},range:{type:Boolean},timePeriods:{default:()=>[]},width:{default:"100%"},disabled:{type:Boolean},readonly:{type:Boolean},popoverPlacement:{default:"bottom-start"},invalidTimeErrorMessage:{default:"Start time cannot exceed end time."},timeGranularity:{default:"minutely"}},emits:["change","update:modelValue"],setup(l,{emit:M}){var V,K;const c=M,C=e.ref(null),R=e.computed(()=>l.mode!==b.DateTimePickerModes.Relative),o=e.computed(()=>b.ModeArrayCustom.includes(l.mode)&&!l.range),s=e.computed(()=>l.timePeriods.length>0),m=e.computed(()=>a.tabName==="custom"||!s.value),v=e.ref(!0),T=e.ref(!1),E=e.ref(0),D={start:null,end:null},y=e.ref(l.modelValue.start||null),u=e.ref(l.modelValue||D),h=o.value?y:u,g=e.useTemplateRef("calendarWrapperRef"),$=e.computed(()=>({width:Z.normalizeSize(l.width)})),B=Intl.DateTimeFormat().resolvedOptions().timeZone,a=e.reactive({abbreviatedDisplay:l.placeholder,fullRangeDisplay:"",popoverOpen:!1,selectedRange:{start:new Date,end:new Date},previouslySelectedRange:{start:new Date,end:new Date},selectedTimeframe:(V=l.timePeriods[0])==null?void 0:V.values[0],previouslySelectedTimeframe:(K=l.timePeriods[0])==null?void 0:K.values[0],tabName:"relative"}),k=t=>{if(!t)return;const i=o.value?!t.start:!t.start||!t.end,n=(t==null?void 0:t.start)||new Date,d=(t==null?void 0:t.end)||null;v.value=!!i,!o.value&&t&&t.start&&t.end?(u.value.start=n,u.value.end=d):t&&t.start&&(y.value=n),a.selectedRange=a.previouslySelectedRange={start:n,end:d}},P=(t,i=!1)=>{if(a.selectedTimeframe=a.previouslySelectedTimeframe=t,a.selectedRange={timePeriodsKey:a.selectedTimeframe.key},a.selectedTimeframe.start&&a.selectedTimeframe.end){const n=new Date(a.selectedTimeframe.start()),d=new Date(a.selectedTimeframe.end());a.fullRangeDisplay=q({start:n,end:d},!1),a.selectedRange.start=n,a.selectedRange.end=d}else a.fullRangeDisplay="";v.value=!1,i&&z()},O=()=>{var t;u.value=D,y.value=null,a.abbreviatedDisplay=l.placeholder,a.fullRangeDisplay="",s.value&&(a.selectedTimeframe=(t=l.timePeriods[0])==null?void 0:t.values[0]),a.selectedRange=a.previouslySelectedRange=D,c("change",a.selectedRange),c("update:modelValue",a.selectedRange)},q=(t,i)=>{const{start:n,end:d}=t;let r=l.timeGranularity==="secondly"?"PP hh:mm:ss a":"PP hh:mm a";const f=x.default(n,B,"(z)");return!R.value&&s.value?r="PP hh:mm a":b.ModeDateOnly.includes(l.mode)&&(r="PP"),o.value?`${w.default(n,r)} ${f}`:i?`<div>${w.default(n,r)} - </div><div>${x.default(d,B,r)} ${f}</div>`:`${w.default(n,r)} - ${x.default(d,B,r)} ${f}`},z=async()=>{var t;o.value?a.selectedRange.start&&(c("change",{start:a.selectedRange.start,end:null}),c("update:modelValue",{start:a.selectedRange.start,end:null})):(c("change",a.selectedRange),c("update:modelValue",a.selectedRange)),(t=C.value)==null||t.hidePopover(),p()},p=()=>{var t;m.value&&((t=a.selectedRange)!=null&&t.start)?a.abbreviatedDisplay=q(a.selectedRange,!0):s.value&&!m.value&&(a.abbreviatedDisplay=a.selectedTimeframe.display)},A=t=>t.charAt(0).toUpperCase()+t.slice(1),I=t=>a.selectedTimeframe.key===t.key?"primary":"secondary";e.watch(y,(t,i)=>{t!==void 0&&t!==i&&k({start:t,end:null})},{immediate:!0}),e.watch(u,(t,i)=>{t!==void 0&&t!==i&&k(t)},{immediate:!0}),e.watch(()=>a.tabName,(t,i)=>{i!==void 0&&t==="relative"?P(a.previouslySelectedTimeframe):i!==void 0&&t==="custom"&&k(a.previouslySelectedRange)}),e.watch(()=>l.modelValue,()=>{if(b.ModeArrayRelative.includes(l.mode)&&l.modelValue.timePeriodsKey){a.tabName="relative",v.value=!1;for(const t of l.timePeriods){const i=t.values.find(n=>n.key===l.modelValue.timePeriodsKey);if(i){P(i),p();break}}}else a.tabName="custom",k(l.modelValue),(l.modelValue.start&&l.modelValue.end||o.value&&l.modelValue.start)&&p();E.value++},{immediate:!0}),e.watch(()=>l.timeGranularity,()=>{p()});const U=()=>{a.popoverOpen=!1,g.value&&g.value.resetTime()},L=()=>{a.popoverOpen=!0,g.value&&g.value.initTimeInputs()};return(t,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-datetime-picker",{"set-min-width":s.value}]),style:e.normalizeStyle($.value)},[e.createVNode(W.default,{ref_key:"kPop",ref:C,disabled:l.disabled||l.readonly,"hide-caret":"","hide-close-icon":"",offset:e.unref(S.KUI_SPACE_40),placement:l.popoverPlacement,width:"auto",onClose:U,onOpen:L},{content:e.withCtx(()=>[s.value&&R.value?(e.openBlock(),e.createBlock(G.default,{key:0,modelValue:a.tabName,"onUpdate:modelValue":i[0]||(i[0]=n=>a.tabName=n),class:"datetime-picker-toggle","data-testid":"datetime-picker-toggle",options:[{label:"Relative",value:"relative"},{label:"Custom",value:"custom"}],onClick:i[1]||(i[1]=n=>a.tabName=n)},null,8,["modelValue"])):e.createCommentVNode("",!0),!m.value&&a.fullRangeDisplay?(e.openBlock(),e.createElementBlock("p",J,e.toDisplayString(a.fullRangeDisplay),1)):e.createCommentVNode("",!0),R.value&&m.value?(e.openBlock(),e.createBlock(j.default,{key:E.value,ref:"calendarWrapperRef",modelValue:e.unref(h),"onUpdate:modelValue":i[2]||(i[2]=n=>e.isRef(h)?h.value=n:null),error:T.value,"onUpdate:error":i[3]||(i[3]=n=>T.value=n),"error-message":l.invalidTimeErrorMessage,"is-range":!o.value,"k-date-picker-mode":l.mode,"max-date":l.maxDate,"min-date":l.minDate,"time-granularity":l.timeGranularity},null,8,["modelValue","error","error-message","is-range","k-date-picker-mode","max-date","min-date","time-granularity"])):s.value&&!o.value?(e.openBlock(),e.createElementBlock("div",Q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.timePeriods,(n,d)=>(e.openBlock(),e.createElementBlock("div",{key:`section-${String(n.section||d)}`,class:"timeframe-section"},[e.createElementVNode("div",Y,e.toDisplayString(n.section),1),e.createElementVNode("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.values,(r,f)=>(e.openBlock(),e.createBlock(N.default,{key:`time-${f}`,appearance:I(r),class:"timeframe-button","data-testid":`select-timeframe-${r.key}`,onClick:ae=>P(r,!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A(r.timeframeText)),1)]),_:2},1032,["appearance","data-testid","onClick"]))),128))])]))),128))])):e.createCommentVNode("",!0)]),footer:e.withCtx(()=>[e.createElementVNode("div",ee,[l.clearButton?(e.openBlock(),e.createBlock(N.default,{key:0,appearance:"tertiary",class:"action-button","data-testid":"datetime-picker-clear",onClick:i[4]||(i[4]=n=>O())},{default:e.withCtx(()=>[...i[6]||(i[6]=[e.createTextVNode(" Clear ",-1)])]),_:1})):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createBlock(N.default,{key:1,appearance:"tertiary",class:"action-button","data-testid":"datetime-picker-submit",disabled:v.value||T.value,onClick:i[5]||(i[5]=n=>z())},{default:e.withCtx(()=>[...i[7]||(i[7]=[e.createTextVNode(" Apply ",-1)])]),_:1},8,["disabled"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["datetime-picker-trigger-wrapper",{disabled:l.disabled}])},[e.createElementVNode("div",{class:e.normalizeClass(["datetime-picker-trigger",{disabled:l.disabled,readonly:l.readonly}]),"data-testid":"datetime-picker-trigger",role:"button",style:e.normalizeStyle($.value),tabindex:l.disabled?-1:0},[e.createElementVNode("div",{class:e.normalizeClass(["datetime-picker-display",{"has-icon":l.icon,disabled:l.disabled}]),"data-testid":"datetime-picker-display",innerHTML:a.abbreviatedDisplay},null,10,X)],14,F),l.icon?(e.openBlock(),e.createBlock(e.unref(H.default),{key:0,class:"calendar-icon",color:`var(--kui-color-text-neutral, ${e.unref(S.KUI_COLOR_TEXT_NEUTRAL)})`,decorative:"",size:e.unref(S.KUI_ICON_SIZE_40)},null,8,["color","size"])):e.createCommentVNode("",!0)],2)]),_:1},8,["disabled","offset","placement"])],6))}});exports.default=te;
|
package/dist/kongponents99.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("./kongponents33.cjs"),P=require("./kongponents24.cjs");;/* empty css */const T=require("./kongponents53.cjs"),x=require("./kongponents20.cjs"),y=require("./kongponents43.cjs"),D=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("./kongponents33.cjs"),P=require("./kongponents24.cjs");;/* empty css */const T=require("./kongponents53.cjs"),x=require("./kongponents20.cjs"),y=require("./kongponents43.cjs"),D=require("./kongponents195.cjs"),q=require("./kongponents177.cjs"),K={class:"dropdown-list","data-testid":"dropdown-list"},M=e.defineComponent({__name:"KDropdown",props:{selectionMenu:{type:Boolean},appearance:{default:"primary"},triggerText:{default:""},showCaret:{type:Boolean},width:{default:""},kpopAttributes:{default:()=>({})},items:{default:()=>[]},disabled:{type:Boolean},disabledTooltip:{default:""},label:{}},emits:["toggleDropdown","change"],setup(o,{expose:h,emit:w}){var g;e.watch(()=>o.appearance,t=>{(t==="menu"||t==="selectionMenu")&&console.warn("KDropdown: the usage for the `appearance` prop has changed. Please see the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#kdropdownmenu")},{immediate:!0}),e.watch(()=>o.label,t=>{t&&console.warn("KDropdown: `label` prop is deprecated. Please use `triggerText` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#kdropdownmenu")},{immediate:!0});const s=w,k=e.computed(()=>o.disabledTooltip?P.default:"div"),u=e.useTemplateRef("kPop"),c={hideCaret:!0,popoverClasses:"k-dropdown-popover dropdown-popover",popoverTimeout:0,placement:"bottom-start"},b={...c,...o.kpopAttributes,width:o.width||void 0,popoverClasses:`${c.popoverClasses} ${((g=o.kpopAttributes)==null?void 0:g.popoverClasses)||""}`},p=e.computed(()=>{var t;return((t=l.value)==null?void 0:t.label)||o.triggerText||o.label||""}),l=e.ref(),m=t=>{o.selectionMenu&&(l.value=t)},f=()=>{var t;(t=u.value)==null||t.hidePopover()},d=(t,n,r)=>{t.value!==r&&(n(),s("toggleDropdown",t.value))};return e.watch(l,(t,n)=>{t&&t!==n&&s("change",t)}),e.onMounted(()=>{if(o.items){const t=o.items.filter(n=>n.selected);t.length&&(l.value=t[0])}}),h({openDropdown:()=>{var t;(t=u.value)==null||t.showPopover()},closeDropdown:f}),(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-dropdown",{"selection-dropdown-menu":o.selectionMenu}])},[e.createVNode(x.default,null,{default:e.withCtx(({toggle:r,isToggled:a})=>[e.createVNode(T.default,e.mergeProps({ref:"kPop"},b,{"close-on-popover-click":"","data-testid":"dropdown-popover","hide-close-icon":"",offset:e.unref(q.KUI_SPACE_20),onClose:()=>d(a,r,!1),onOpen:()=>d(a,r,!0),onPopoverClick:()=>d(a,r,!1)}),{content:e.withCtx(()=>[e.createElementVNode("ul",K,[e.renderSlot(t.$slots,"items",{closeDropdown:f,handleSelection:m,items:o.items},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,(i,C)=>{var v;return e.openBlock(),e.createBlock(y.default,e.mergeProps({ref_for:!0},i,{key:`${i.label}-${C}`,item:i,selected:o.selectionMenu&&((v=l.value)==null?void 0:v.value)===i.value,"selection-menu-child":o.selectionMenu,onChange:m}),null,16,["item","selected","selection-menu-child"])}),128))],!0)])]),default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value),{class:"dropdown-trigger","data-testid":"dropdown-trigger",label:o.disabledTooltip?o.disabledTooltip:void 0,"max-width":o.disabledTooltip?"240":void 0,position:o.disabledTooltip?"bottom":void 0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{isOpen:a.value},()=>[p.value?(e.openBlock(),e.createBlock(B.default,{key:0,appearance:o.appearance,class:"dropdown-trigger-button","data-dropdown-trigger":"true","data-testid":"dropdown-trigger-button",disabled:o.disabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value)+" ",1),o.showCaret?(e.openBlock(),e.createBlock(e.unref(D.default),{key:0,decorative:""})):e.createCommentVNode("",!0)]),_:1},8,["appearance","disabled"])):e.createCommentVNode("",!0)],!0)]),_:2},1032,["label","max-width","position"]))]),_:2},1040,["offset","onClose","onOpen","onPopoverClick"])]),_:3})],2))}});exports.default=M;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { DatePickerModel, DateTimePickerMode } from '../../../types';
|
|
1
|
+
import type { DatePickerModel, DateTimePickerMode, TimeGranularity } from '../../../types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
isRange: boolean;
|
|
4
4
|
kDatePickerMode: DateTimePickerMode;
|
|
5
5
|
maxDate?: Date;
|
|
6
6
|
minDate?: Date;
|
|
7
7
|
errorMessage?: string;
|
|
8
|
+
timeGranularity?: TimeGranularity;
|
|
8
9
|
};
|
|
9
10
|
type __VLS_PublicProps = __VLS_Props & {
|
|
10
11
|
modelValue: DatePickerModel;
|
|
@@ -19,9 +20,5 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
19
20
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
21
|
"onUpdate:modelValue"?: ((value: DatePickerModel) => any) | undefined;
|
|
21
22
|
"onUpdate:error"?: ((value: boolean) => any) | undefined;
|
|
22
|
-
}>, {
|
|
23
|
-
errorMessage: string;
|
|
24
|
-
maxDate: Date;
|
|
25
|
-
minDate: Date;
|
|
26
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
24
|
export default _default;
|
|
@@ -4,9 +4,7 @@ export default class ToastManager {
|
|
|
4
4
|
private toastersContainer;
|
|
5
5
|
private toaster;
|
|
6
6
|
toasts: Ref<Toast[]>;
|
|
7
|
-
private zIndex;
|
|
8
7
|
constructor(options?: ToasterOptions);
|
|
9
|
-
private setupToastersContainer;
|
|
10
8
|
setTimer(key: string, timeout: number): number;
|
|
11
9
|
open(args: Record<string, any> | string): void;
|
|
12
10
|
close(key: string): void;
|
|
@@ -153,7 +153,13 @@ export interface DateTimePickerProps {
|
|
|
153
153
|
* @default undefined
|
|
154
154
|
*/
|
|
155
155
|
invalidTimeErrorMessage?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Time granularity for time inputs
|
|
158
|
+
* @default 'minutely'
|
|
159
|
+
*/
|
|
160
|
+
timeGranularity?: TimeGranularity;
|
|
156
161
|
}
|
|
162
|
+
export type TimeGranularity = 'minutely' | 'secondly';
|
|
157
163
|
export interface DateTimePickerEmits {
|
|
158
164
|
change: [value: TimeRange | null];
|
|
159
165
|
'update:modelValue': [value: TimeRange | null];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong/kongponents",
|
|
3
|
-
"version": "9.46.
|
|
3
|
+
"version": "9.46.3-pr.2976.4008863.0",
|
|
4
4
|
"description": "Kong Component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@popperjs/core": "^2.11.8",
|
|
37
37
|
"date-fns": "^2.30.0",
|
|
38
38
|
"date-fns-tz": "^2.0.1",
|
|
39
|
-
"focus-trap": "^7.6.
|
|
39
|
+
"focus-trap": "^7.6.6",
|
|
40
40
|
"focus-trap-vue": "^4.1.0",
|
|
41
41
|
"lodash-es": "^4.17.21",
|
|
42
42
|
"nanoid": "^5.1.6",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@commitlint/config-conventional": "^20.0.0",
|
|
57
57
|
"@cypress/vite-dev-server": "^7.0.0",
|
|
58
58
|
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
|
|
59
|
-
"@evilmartians/lefthook": "^2.0.
|
|
59
|
+
"@evilmartians/lefthook": "^2.0.2",
|
|
60
60
|
"@kong-ui-public/sandbox-layout": "^2.3.8",
|
|
61
61
|
"@kong/design-tokens": "^1.18.1",
|
|
62
62
|
"@kong/eslint-config-kong-ui": "1.5.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@stylistic/stylelint-plugin": "^4.0.0",
|
|
67
67
|
"@types/inquirer": "^9.0.7",
|
|
68
68
|
"@types/lodash-es": "^4.17.12",
|
|
69
|
-
"@types/node": "^22.18.
|
|
69
|
+
"@types/node": "^22.18.13",
|
|
70
70
|
"@types/sortablejs": "^1.15.9",
|
|
71
71
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
72
72
|
"@vue/compiler-core": "^3.5.22",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
94
94
|
"sass": "^1.93.2",
|
|
95
95
|
"semantic-release": "^24.2.9",
|
|
96
|
-
"shiki": "^3.
|
|
96
|
+
"shiki": "^3.14.0",
|
|
97
97
|
"shx": "^0.4.0",
|
|
98
98
|
"stylelint": "^16.25.0",
|
|
99
99
|
"stylelint-config-html": "^1.1.0",
|
|
@@ -167,8 +167,8 @@
|
|
|
167
167
|
"pnpm": ">=9.11.0 || >=10.10.0"
|
|
168
168
|
},
|
|
169
169
|
"volta": {
|
|
170
|
-
"node": "24.
|
|
171
|
-
"pnpm": "10.
|
|
170
|
+
"node": "24.11.0",
|
|
171
|
+
"pnpm": "10.20.0"
|
|
172
172
|
},
|
|
173
173
|
"config": {
|
|
174
174
|
"commitizen": {
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import g from "./kongponents.es254.js";
|
|
2
|
-
function E(t) {
|
|
3
|
-
const e = [0];
|
|
4
|
-
for (let r = 0; r < t.length; r++)
|
|
5
|
-
t[r] === `
|
|
6
|
-
` && e.push(r + 1);
|
|
7
|
-
return e;
|
|
8
|
-
}
|
|
9
|
-
function f(t, e) {
|
|
10
|
-
let r = 0, n = t.length - 1;
|
|
11
|
-
for (; r < n; ) {
|
|
12
|
-
const i = Math.floor((r + n + 1) / 2);
|
|
13
|
-
t[i] <= e ? r = i : n = i - 1;
|
|
14
|
-
}
|
|
15
|
-
return r + 1;
|
|
16
|
-
}
|
|
17
|
-
function x(t, e, r) {
|
|
18
|
-
if (!t || !e)
|
|
19
|
-
return [];
|
|
20
|
-
const n = [];
|
|
21
|
-
let i = 0;
|
|
22
|
-
for (; ; ) {
|
|
23
|
-
const s = t.indexOf(e, i);
|
|
24
|
-
if (s === -1) break;
|
|
25
|
-
const l = f(r, s);
|
|
26
|
-
n.push(l), i = l < r.length ? r[l] : t.length;
|
|
27
|
-
}
|
|
28
|
-
return n;
|
|
29
|
-
}
|
|
30
|
-
function L(t, e, r) {
|
|
31
|
-
if (!t || !e)
|
|
32
|
-
return [];
|
|
33
|
-
const n = new RegExp(e, "sg"), i = [];
|
|
34
|
-
let s;
|
|
35
|
-
for (; (s = n.exec(t)) !== null; ) {
|
|
36
|
-
const l = s.index, c = s.index + s[0].length - 1, u = f(r, l), m = f(r, c);
|
|
37
|
-
for (let o = u; o <= m; o++)
|
|
38
|
-
i[i.length - 1] !== o && i.push(o);
|
|
39
|
-
}
|
|
40
|
-
return i;
|
|
41
|
-
}
|
|
42
|
-
function w(t, e, r, n = E(t)) {
|
|
43
|
-
return r ? L(t, e, n) : x(t, e, n);
|
|
44
|
-
}
|
|
45
|
-
const M = (t) => `<mark class="matched-term">${t}</mark>`, a = /[<&]/;
|
|
46
|
-
function h(t) {
|
|
47
|
-
return t.replace(/[&<]/g, (e) => e === "&" ? "&" : "<");
|
|
48
|
-
}
|
|
49
|
-
function R(t, e = a, r = h) {
|
|
50
|
-
return e.test(t) ? r(t) : t;
|
|
51
|
-
}
|
|
52
|
-
function I(t, e, r) {
|
|
53
|
-
if (!t || !e)
|
|
54
|
-
return "";
|
|
55
|
-
let n;
|
|
56
|
-
try {
|
|
57
|
-
n = new RegExp(`(?:${r ? e : g(e)})+`, "sgi");
|
|
58
|
-
} catch {
|
|
59
|
-
return t;
|
|
60
|
-
}
|
|
61
|
-
const i = !a.test(t);
|
|
62
|
-
let s = "", l = 0, c;
|
|
63
|
-
for (; (c = n.exec(t)) !== null; ) {
|
|
64
|
-
const u = c.index;
|
|
65
|
-
s += i ? t.slice(l, u) : h(t.slice(l, u)), s += M(i ? c[0] : h(c[0])), l = u + c[0].length;
|
|
66
|
-
}
|
|
67
|
-
return s += i ? t.slice(l) : h(t.slice(l)), s;
|
|
68
|
-
}
|
|
69
|
-
const b = /^\d+(?:-\d+)?(?:,\d+(?:-\d+)?)*$/;
|
|
70
|
-
function d(t, e) {
|
|
71
|
-
if (!b.test(t))
|
|
72
|
-
throw new Error("Invalid line number expression.");
|
|
73
|
-
const r = t.split(",").map((n) => {
|
|
74
|
-
const [i, s] = n.split("-").map(Number);
|
|
75
|
-
return s == null ? i : [i, s];
|
|
76
|
-
});
|
|
77
|
-
return p(r, e);
|
|
78
|
-
}
|
|
79
|
-
function p(t, e) {
|
|
80
|
-
const r = t.flatMap((n) => {
|
|
81
|
-
if (typeof n == "number")
|
|
82
|
-
return n < 1 || n > e ? [] : n;
|
|
83
|
-
let [i, s] = n[0] < n[1] ? n : [n[1], n[0]];
|
|
84
|
-
return i = Math.max(1, i), s = Math.min(e, s), Array.from({ length: s - i + 1 }, (l, c) => c + i);
|
|
85
|
-
}).sort((n, i) => n - i);
|
|
86
|
-
return Array.from(new Set(r));
|
|
87
|
-
}
|
|
88
|
-
function k(t, e) {
|
|
89
|
-
return typeof t == "string" ? d(t, e) : p(t, e);
|
|
90
|
-
}
|
|
91
|
-
export {
|
|
92
|
-
b as LINE_NUMBER_EXPRESSION_REGEX,
|
|
93
|
-
E as buildLineOffsets,
|
|
94
|
-
R as escapeHTMLIfNeeded,
|
|
95
|
-
h as escapeInnerHTML,
|
|
96
|
-
w as getMatchingLineNumbers,
|
|
97
|
-
I as highlightMatchingChars,
|
|
98
|
-
k as normalizeHighlightedLines,
|
|
99
|
-
M as wrapMark
|
|
100
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import p from "./kongponents.es448.js";
|
|
2
|
-
function f(t) {
|
|
3
|
-
if (typeof t == "function")
|
|
4
|
-
try {
|
|
5
|
-
t = t();
|
|
6
|
-
} catch {
|
|
7
|
-
t = "";
|
|
8
|
-
}
|
|
9
|
-
return Array.isArray(t) ? t = p(t) : t = String(t || ""), t;
|
|
10
|
-
}
|
|
11
|
-
var c = (
|
|
12
|
-
/** @class */
|
|
13
|
-
(function() {
|
|
14
|
-
function t(e) {
|
|
15
|
-
e === void 0 && (e = 0), this.items = /* @__PURE__ */ new Map(), this.ttl = e;
|
|
16
|
-
}
|
|
17
|
-
return t.prototype.serializeKey = function(e) {
|
|
18
|
-
return f(e);
|
|
19
|
-
}, t.prototype.get = function(e) {
|
|
20
|
-
var i = this.serializeKey(e);
|
|
21
|
-
return this.items.get(i);
|
|
22
|
-
}, t.prototype.set = function(e, i, s) {
|
|
23
|
-
var n = this.serializeKey(e), r = s || this.ttl, a = Date.now(), o = {
|
|
24
|
-
data: i,
|
|
25
|
-
createdAt: a,
|
|
26
|
-
expiresAt: r ? a + r : 1 / 0
|
|
27
|
-
};
|
|
28
|
-
this.dispatchExpire(r, o, n), this.items.set(n, o);
|
|
29
|
-
}, t.prototype.dispatchExpire = function(e, i, s) {
|
|
30
|
-
var n = this;
|
|
31
|
-
e && setTimeout(function() {
|
|
32
|
-
var r = Date.now(), a = r >= i.expiresAt;
|
|
33
|
-
a && n.delete(s);
|
|
34
|
-
}, e);
|
|
35
|
-
}, t.prototype.delete = function(e) {
|
|
36
|
-
this.items.delete(e);
|
|
37
|
-
}, t;
|
|
38
|
-
})()
|
|
39
|
-
);
|
|
40
|
-
export {
|
|
41
|
-
c as default
|
|
42
|
-
};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, computed as v, useTemplateRef as T, createElementBlock as s, openBlock as l, createBlock as d, createCommentVNode as V, Fragment as m, renderList as u, withCtx as f, renderSlot as S, createElementVNode as p, toDisplayString as g, createTextVNode as h } from "vue";
|
|
2
|
-
import w from "./kongponents.es216.js";
|
|
3
|
-
const D = {
|
|
4
|
-
ref: "itemsContainer",
|
|
5
|
-
"aria-live": "polite",
|
|
6
|
-
class: "multiselect-items-container"
|
|
7
|
-
}, F = { class: "multiselect-group-title" }, M = { class: "select-item-description" }, E = ".multiselect-item button:not(:disabled)", q = /* @__PURE__ */ x({
|
|
8
|
-
__name: "KMultiselectItems",
|
|
9
|
-
props: {
|
|
10
|
-
items: { default: () => [] },
|
|
11
|
-
itemCreationEnabled: { type: Boolean },
|
|
12
|
-
filterString: { default: "" },
|
|
13
|
-
itemCreationValid: { type: Boolean, default: !0 }
|
|
14
|
-
},
|
|
15
|
-
emits: ["selected", "add-item"],
|
|
16
|
-
setup(i, { expose: k, emit: I }) {
|
|
17
|
-
const A = I, y = (n) => A("selected", n), $ = v(() => {
|
|
18
|
-
var n;
|
|
19
|
-
return (n = i.items) == null ? void 0 : n.filter((t) => !t.group);
|
|
20
|
-
}), b = v(() => {
|
|
21
|
-
var n, t;
|
|
22
|
-
return [...new Set((t = (n = i.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()));
|
|
23
|
-
}), B = (n) => {
|
|
24
|
-
var t;
|
|
25
|
-
return (t = i.items) == null ? void 0 : t.filter((e) => e.group === n);
|
|
26
|
-
}, C = T("itemsContainer"), K = (n) => {
|
|
27
|
-
var o;
|
|
28
|
-
const t = C.value;
|
|
29
|
-
if (!t)
|
|
30
|
-
return;
|
|
31
|
-
const e = t.querySelectorAll(E);
|
|
32
|
-
(o = e[n === "down" ? 0 : e.length - 1]) == null || o.focus();
|
|
33
|
-
}, a = ({ target: n, key: t }) => {
|
|
34
|
-
var e;
|
|
35
|
-
if (t === "ArrowDown" || t === "ArrowUp") {
|
|
36
|
-
const o = (e = C.value) == null ? void 0 : e.querySelectorAll(E);
|
|
37
|
-
if (o != null && o.length) {
|
|
38
|
-
const r = [...o].indexOf(n), L = t === "ArrowDown" ? r + 1 : r - 1, c = o[L];
|
|
39
|
-
c == null || c.focus();
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
return k({ setFocus: K }), (n, t) => (l(), s("div", D, [
|
|
44
|
-
(l(!0), s(m, null, u($.value, (e, o) => (l(), d(w, {
|
|
45
|
-
key: `${e.key ? e.key : o}-item`,
|
|
46
|
-
item: e,
|
|
47
|
-
onKeydown: a,
|
|
48
|
-
onSelected: y
|
|
49
|
-
}, {
|
|
50
|
-
content: f(() => [
|
|
51
|
-
S(n.$slots, "content", { item: e }, void 0, !0)
|
|
52
|
-
]),
|
|
53
|
-
_: 2
|
|
54
|
-
}, 1032, ["item"]))), 128)),
|
|
55
|
-
(l(!0), s(m, null, u(b.value, (e) => (l(), s("div", {
|
|
56
|
-
key: `${e}-group`,
|
|
57
|
-
class: "multiselect-group"
|
|
58
|
-
}, [
|
|
59
|
-
p("span", F, g(e), 1),
|
|
60
|
-
(l(!0), s(m, null, u(B(e), (o, r) => (l(), d(w, {
|
|
61
|
-
key: `${o.key ? o.key : e + "-" + r + "-item"}`,
|
|
62
|
-
item: o,
|
|
63
|
-
onKeydown: a,
|
|
64
|
-
onSelected: y
|
|
65
|
-
}, {
|
|
66
|
-
content: f(() => [
|
|
67
|
-
S(n.$slots, "content", { item: o }, void 0, !0)
|
|
68
|
-
]),
|
|
69
|
-
_: 2
|
|
70
|
-
}, 1032, ["item"]))), 128))
|
|
71
|
-
]))), 128)),
|
|
72
|
-
i.itemCreationEnabled ? (l(), d(w, {
|
|
73
|
-
key: "multiselect-add-item",
|
|
74
|
-
class: "multiselect-add-item",
|
|
75
|
-
"data-testid": "multiselect-add-item",
|
|
76
|
-
item: { label: `${i.filterString} (Add new value)`, value: "add_item", disabled: !i.itemCreationValid },
|
|
77
|
-
onKeydown: a,
|
|
78
|
-
onSelected: t[0] || (t[0] = (e) => n.$emit("add-item"))
|
|
79
|
-
}, {
|
|
80
|
-
content: f(() => [
|
|
81
|
-
p("div", M, [
|
|
82
|
-
h(g(i.filterString) + " ", 1),
|
|
83
|
-
t[1] || (t[1] = p("span", { class: "select-item-new-indicator" }, "(Add new value)", -1))
|
|
84
|
-
])
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
}, 8, ["item"])) : V("", !0)
|
|
88
|
-
], 512));
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
export {
|
|
92
|
-
q as default
|
|
93
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, createElementBlock as c, openBlock as u, createElementVNode as l, withKeys as s, normalizeClass as v, withModifiers as n, renderSlot as w, createTextVNode as b, toDisplayString as f } from "vue";
|
|
2
|
-
const k = ["aria-selected", "data-testid"], y = { class: "multiselect-item-container" }, $ = ["disabled", "value"], h = { class: "multiselect-item-label" }, K = /* @__PURE__ */ r({
|
|
3
|
-
__name: "KMultiselectItem",
|
|
4
|
-
props: {
|
|
5
|
-
item: {}
|
|
6
|
-
},
|
|
7
|
-
emits: ["selected", "arrow-down", "arrow-up"],
|
|
8
|
-
setup(e, { emit: d }) {
|
|
9
|
-
const o = d, a = () => {
|
|
10
|
-
e.item.disabled || o("selected", e.item);
|
|
11
|
-
};
|
|
12
|
-
return (i, t) => (u(), c("div", {
|
|
13
|
-
key: e.item.key,
|
|
14
|
-
"aria-selected": e.item.selected,
|
|
15
|
-
class: "multiselect-item",
|
|
16
|
-
"data-testid": `multiselect-item-${e.item.value}`,
|
|
17
|
-
role: "option"
|
|
18
|
-
}, [
|
|
19
|
-
l("div", y, [
|
|
20
|
-
l("button", {
|
|
21
|
-
class: v({ selected: e.item.selected }),
|
|
22
|
-
disabled: e.item.disabled === !0 ? !0 : void 0,
|
|
23
|
-
type: "button",
|
|
24
|
-
value: e.item.value,
|
|
25
|
-
onClick: a,
|
|
26
|
-
onKeydown: [
|
|
27
|
-
t[0] || (t[0] = s(n((m) => i.$emit("arrow-down"), ["prevent"]), ["down"])),
|
|
28
|
-
t[1] || (t[1] = s(n((m) => i.$emit("arrow-up"), ["prevent"]), ["up"]))
|
|
29
|
-
]
|
|
30
|
-
}, [
|
|
31
|
-
l("span", h, [
|
|
32
|
-
w(i.$slots, "content", {}, () => [
|
|
33
|
-
b(f(e.item.label), 1)
|
|
34
|
-
], !0)
|
|
35
|
-
])
|
|
36
|
-
], 42, $)
|
|
37
|
-
])
|
|
38
|
-
], 8, k));
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
export {
|
|
42
|
-
K as default
|
|
43
|
-
};
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, computed as s, createBlock as b, openBlock as d, resolveDynamicComponent as k, normalizeStyle as x, withCtx as S, createElementBlock as N } from "vue";
|
|
2
|
-
import { KUI_ICON_SIZE_50 as u } from "./kongponents.es270.js";
|
|
3
|
-
const w = ["aria-hidden"], c = '<path d="M9.7 18.025L4 12.325L5.425 10.9L9.7 15.175L18.875 6L20.3 7.425L9.7 18.025Z" fill="currentColor"/>', z = /* @__PURE__ */ y({
|
|
4
|
-
__name: "CheckIcon",
|
|
5
|
-
props: {
|
|
6
|
-
/** The accessibility text provided to screen readers */
|
|
7
|
-
title: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: !1,
|
|
10
|
-
default: ""
|
|
11
|
-
},
|
|
12
|
-
/** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
|
|
13
|
-
color: {
|
|
14
|
-
type: String,
|
|
15
|
-
required: !1,
|
|
16
|
-
default: "currentColor"
|
|
17
|
-
},
|
|
18
|
-
/** The CSS display property for the icon. Defaults to `block` */
|
|
19
|
-
display: {
|
|
20
|
-
type: String,
|
|
21
|
-
required: !1,
|
|
22
|
-
default: "block"
|
|
23
|
-
},
|
|
24
|
-
/** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
|
|
25
|
-
decorative: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
required: !1,
|
|
28
|
-
default: !1
|
|
29
|
-
},
|
|
30
|
-
/** The icon size */
|
|
31
|
-
size: {
|
|
32
|
-
type: [Number, String],
|
|
33
|
-
required: !1,
|
|
34
|
-
default: u,
|
|
35
|
-
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
36
|
-
validator: (r) => {
|
|
37
|
-
if (typeof r == "number" && r > 0)
|
|
38
|
-
return !0;
|
|
39
|
-
if (typeof r == "string") {
|
|
40
|
-
const e = String(r).replace(/px/gi, ""), i = Number(e);
|
|
41
|
-
if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
|
|
42
|
-
return !0;
|
|
43
|
-
}
|
|
44
|
-
return !1;
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
/** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
|
|
48
|
-
as: {
|
|
49
|
-
type: String,
|
|
50
|
-
required: !1,
|
|
51
|
-
default: "span"
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).
|
|
55
|
-
* Typically only set to `true` during snapshot testing.
|
|
56
|
-
* Defaults to `false`.
|
|
57
|
-
*/
|
|
58
|
-
staticIds: {
|
|
59
|
-
type: Boolean,
|
|
60
|
-
default: !1
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
setup(r) {
|
|
64
|
-
const e = r, i = s(() => {
|
|
65
|
-
if (typeof e.size == "number" && e.size > 0)
|
|
66
|
-
return `${e.size}px`;
|
|
67
|
-
if (typeof e.size == "string") {
|
|
68
|
-
const a = String(e.size).replace(/px/gi, ""), t = Number(a);
|
|
69
|
-
if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
|
|
70
|
-
return `${t}px`;
|
|
71
|
-
}
|
|
72
|
-
return u;
|
|
73
|
-
}), p = s(() => ({
|
|
74
|
-
boxSizing: "border-box",
|
|
75
|
-
color: e.color,
|
|
76
|
-
display: e.display,
|
|
77
|
-
flexShrink: "0",
|
|
78
|
-
height: i.value,
|
|
79
|
-
lineHeight: "0",
|
|
80
|
-
width: i.value,
|
|
81
|
-
pointerEvents: e.decorative ? "none" : void 0
|
|
82
|
-
})), f = (a) => {
|
|
83
|
-
const t = {}, h = Math.random().toString(36).substring(2, 12);
|
|
84
|
-
return a.replace(/id="([^"]+)"/g, (o, n) => {
|
|
85
|
-
const l = `${h}-${n}`;
|
|
86
|
-
return t[n] = l, `id="${l}"`;
|
|
87
|
-
}).replace(/#([^\s^")]+)/g, (o, n) => t[n] ? `#${t[n]}` : o);
|
|
88
|
-
}, g = {
|
|
89
|
-
"<": "<",
|
|
90
|
-
">": ">",
|
|
91
|
-
'"': """,
|
|
92
|
-
"'": "'",
|
|
93
|
-
"&": "&"
|
|
94
|
-
}, m = (a) => a.replace(/[<>"'&]/g, (t) => g[t]), v = `${e.title ? `<title data-testid="kui-icon-svg-title">${m(e.title)}</title>` : ""}${e.staticIds ? c : f(c)}`;
|
|
95
|
-
return (a, t) => (d(), b(k(r.as), {
|
|
96
|
-
"aria-hidden": r.decorative ? "true" : void 0,
|
|
97
|
-
class: "kui-icon check-icon",
|
|
98
|
-
"data-testid": "kui-icon-wrapper-check-icon",
|
|
99
|
-
style: x(p.value),
|
|
100
|
-
tabindex: r.decorative ? "-1" : void 0
|
|
101
|
-
}, {
|
|
102
|
-
default: S(() => [
|
|
103
|
-
(d(), N("svg", {
|
|
104
|
-
"aria-hidden": r.decorative ? "true" : void 0,
|
|
105
|
-
"data-testid": "kui-icon-svg-check-icon",
|
|
106
|
-
fill: "none",
|
|
107
|
-
height: "100%",
|
|
108
|
-
role: "img",
|
|
109
|
-
viewBox: "0 0 24 24",
|
|
110
|
-
width: "100%",
|
|
111
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
112
|
-
innerHTML: v
|
|
113
|
-
}, null, 8, w))
|
|
114
|
-
]),
|
|
115
|
-
_: 1
|
|
116
|
-
}, 8, ["aria-hidden", "style", "tabindex"]));
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
export {
|
|
120
|
-
z as default
|
|
121
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import t from "./kongponents.es372.js";
|
|
2
|
-
import f from "./kongponents.es315.js";
|
|
3
|
-
import m from "./kongponents.es292.js";
|
|
4
|
-
import p from "./kongponents.es300.js";
|
|
5
|
-
var i = t ? t.prototype : void 0, n = i ? i.toString : void 0;
|
|
6
|
-
function y(r) {
|
|
7
|
-
if (typeof r == "string")
|
|
8
|
-
return r;
|
|
9
|
-
if (m(r))
|
|
10
|
-
return f(r, y) + "";
|
|
11
|
-
if (p(r))
|
|
12
|
-
return n ? n.call(r) : "";
|
|
13
|
-
var o = r + "";
|
|
14
|
-
return o == "0" && 1 / r == -1 / 0 ? "-0" : o;
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
y as default
|
|
18
|
-
};
|