@kong/kongponents 9.54.1 → 9.54.2
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.es100.js +2 -2
- package/dist/kongponents.es106.js +5 -5
- package/dist/kongponents.es108.js +3 -3
- package/dist/kongponents.es110.js +4 -4
- package/dist/kongponents.es114.js +2 -2
- package/dist/kongponents.es116.js +5 -5
- package/dist/kongponents.es118.js +2 -2
- package/dist/kongponents.es120.js +10 -10
- package/dist/kongponents.es123.js +5 -5
- package/dist/kongponents.es125.js +7 -7
- package/dist/kongponents.es129.js +2 -2
- package/dist/kongponents.es131.js +1 -1
- package/dist/kongponents.es133.js +8 -8
- package/dist/kongponents.es140.js +4 -4
- package/dist/kongponents.es142.js +1 -1
- package/dist/kongponents.es144.js +6 -6
- package/dist/kongponents.es148.js +2 -2
- package/dist/kongponents.es150.js +7 -7
- package/dist/kongponents.es156.js +3 -3
- package/dist/kongponents.es158.js +5 -5
- package/dist/kongponents.es160.js +3 -3
- package/dist/kongponents.es162.js +76 -75
- package/dist/kongponents.es167.js +3 -3
- package/dist/kongponents.es174.js +1 -1
- package/dist/kongponents.es175.js +119 -5
- package/dist/kongponents.es176.js +17 -17
- package/dist/kongponents.es177.js +19 -19
- package/dist/kongponents.es178.js +119 -20
- package/dist/kongponents.es179.js +109 -514
- package/dist/kongponents.es180.js +118 -35
- package/dist/kongponents.es181.js +20 -98
- package/dist/kongponents.es182.js +5 -119
- package/dist/kongponents.es183.js +93 -113
- package/dist/kongponents.es184.js +162 -115
- package/dist/kongponents.es185.js +21 -21
- package/dist/kongponents.es186.js +5 -119
- package/dist/kongponents.es187.js +23 -24
- package/dist/kongponents.es188.js +21 -21
- package/dist/kongponents.es189.js +17 -17
- package/dist/kongponents.es190.js +20 -16
- package/dist/kongponents.es191.js +5 -52
- package/dist/kongponents.es192.js +513 -88
- package/dist/kongponents.es193.js +36 -5
- package/dist/kongponents.es194.js +98 -5
- package/dist/kongponents.es195.js +17 -17
- package/dist/kongponents.es196.js +118 -20
- package/dist/kongponents.es197.js +115 -162
- package/dist/kongponents.es198.js +119 -5
- package/dist/kongponents.es199.js +24 -23
- package/dist/kongponents.es20.js +8 -8
- package/dist/kongponents.es200.js +18 -18
- package/dist/kongponents.es201.js +116 -111
- package/dist/kongponents.es202.js +17 -17
- package/dist/kongponents.es203.js +49 -394
- package/dist/kongponents.es204.js +1 -1
- package/dist/kongponents.es205.js +1 -1
- package/dist/kongponents.es206.js +91 -113
- package/dist/kongponents.es207.js +5 -119
- package/dist/kongponents.es208.js +31 -31
- package/dist/kongponents.es209.js +6 -4
- package/dist/kongponents.es210.js +5 -119
- package/dist/kongponents.es211.js +181 -5
- package/dist/kongponents.es212.js +113 -91
- package/dist/kongponents.es213.js +112 -41
- package/dist/kongponents.es214.js +119 -5
- package/dist/kongponents.es215.js +29 -29
- package/dist/kongponents.es216.js +5 -119
- package/dist/kongponents.es217.js +10 -119
- package/dist/kongponents.es218.js +114 -5
- package/dist/kongponents.es219.js +13 -115
- package/dist/kongponents.es22.js +3 -2
- package/dist/kongponents.es220.js +394 -116
- package/dist/kongponents.es221.js +20 -20
- package/dist/kongponents.es222.js +15 -5
- package/dist/kongponents.es223.js +5 -10
- package/dist/kongponents.es224.js +5 -119
- package/dist/kongponents.es225.js +5 -119
- package/dist/kongponents.es226.js +3 -3
- package/dist/kongponents.es227.js +4 -4
- package/dist/kongponents.es228.js +4 -4
- package/dist/kongponents.es230.js +119 -5
- package/dist/kongponents.es231.js +4 -4
- package/dist/kongponents.es232.js +8 -119
- package/dist/kongponents.es233.js +59 -118
- package/dist/kongponents.es234.js +38 -38
- package/dist/{kongponents.es284.js → kongponents.es235.js} +28 -28
- package/dist/kongponents.es236.js +41 -112
- package/dist/kongponents.es237.js +4 -4
- package/dist/kongponents.es238.js +119 -8
- package/dist/kongponents.es239.js +5 -60
- package/dist/kongponents.es24.js +1 -1
- package/dist/kongponents.es240.js +5 -15
- package/dist/kongponents.es241.js +119 -7
- package/dist/kongponents.es242.js +115 -177
- package/dist/kongponents.es243.js +2 -119
- package/dist/kongponents.es244.js +20 -20
- package/dist/kongponents.es245.js +119 -2
- package/dist/kongponents.es246.js +39 -22
- package/dist/kongponents.es247.js +319 -125
- package/dist/kongponents.es248.js +57 -2
- package/dist/kongponents.es250.js +25 -0
- package/dist/kongponents.es251.js +586 -38
- package/dist/kongponents.es253.js +6 -87
- package/dist/kongponents.es254.js +89 -0
- package/dist/kongponents.es258.js +133 -82
- package/dist/kongponents.es259.js +4 -0
- package/dist/kongponents.es26.js +4 -4
- package/dist/kongponents.es260.js +52 -37
- package/dist/kongponents.es262.js +180 -2
- package/dist/{kongponents.es280.js → kongponents.es264.js} +1 -1
- package/dist/kongponents.es265.js +2 -57
- package/dist/{kongponents.es282.js → kongponents.es266.js} +1 -1
- package/dist/kongponents.es267.js +109 -578
- package/dist/kongponents.es268.js +117 -22
- package/dist/kongponents.es270.js +60 -44
- package/dist/kongponents.es272.js +2 -34
- package/dist/{kongponents.es263.js → kongponents.es273.js} +2 -2
- package/dist/kongponents.es275.js +26 -0
- package/dist/kongponents.es277.js +50 -0
- package/dist/kongponents.es279.js +36 -0
- package/dist/kongponents.es281.js +23 -2
- package/dist/kongponents.es283.js +40 -114
- package/dist/kongponents.es285.js +40 -374
- package/dist/kongponents.es287.js +5 -180
- package/dist/kongponents.es288.js +7 -0
- package/dist/kongponents.es289.js +19 -4
- package/dist/kongponents.es290.js +3 -4
- package/dist/kongponents.es291.js +4 -19
- package/dist/kongponents.es292.js +5 -3
- package/dist/kongponents.es293.js +8 -4
- package/dist/kongponents.es294.js +4 -4
- package/dist/kongponents.es295.js +3 -8
- package/dist/kongponents.es296.js +16 -5
- package/dist/kongponents.es297.js +2 -2
- package/dist/kongponents.es298.js +8 -17
- package/dist/kongponents.es299.js +6 -3
- package/dist/kongponents.es300.js +4 -8
- package/dist/kongponents.es301.js +2 -7
- package/dist/kongponents.es302.js +4 -2
- package/dist/kongponents.es303.js +10 -2
- package/dist/kongponents.es304.js +4 -5
- package/dist/kongponents.es305.js +4 -10
- package/dist/kongponents.es306.js +2 -4
- package/dist/kongponents.es307.js +4 -4
- package/dist/kongponents.es308.js +8 -3
- package/dist/kongponents.es309.js +6 -3
- package/dist/kongponents.es310.js +5 -8
- package/dist/kongponents.es311.js +9 -6
- package/dist/kongponents.es312.js +6 -5
- package/dist/kongponents.es313.js +9 -10
- package/dist/kongponents.es314.js +6 -5
- package/dist/kongponents.es315.js +17 -8
- package/dist/kongponents.es316.js +9 -4
- package/dist/kongponents.es317.js +6 -17
- package/dist/kongponents.es318.js +10 -9
- package/dist/kongponents.es319.js +9 -6
- package/dist/kongponents.es320.js +5 -12
- package/dist/kongponents.es321.js +8 -9
- package/dist/kongponents.es322.js +15 -5
- package/dist/kongponents.es323.js +17 -8
- package/dist/kongponents.es324.js +5 -15
- package/dist/kongponents.es325.js +9 -16
- package/dist/kongponents.es326.js +6 -5
- package/dist/kongponents.es327.js +7 -10
- package/dist/kongponents.es328.js +5 -6
- package/dist/kongponents.es329.js +6 -7
- package/dist/kongponents.es330.js +9 -5
- package/dist/kongponents.es331.js +6 -5
- package/dist/kongponents.es332.js +3 -9
- package/dist/kongponents.es333.js +5 -7
- package/dist/kongponents.es334.js +15 -3
- package/dist/kongponents.es335.js +374 -5
- package/dist/kongponents.es336.js +127 -15
- package/dist/kongponents.es337.js +168 -57
- package/dist/kongponents.es339.js +85 -0
- package/dist/kongponents.es341.js +38 -172
- package/dist/kongponents.es343.js +1540 -5
- package/dist/kongponents.es344.js +5 -2
- package/dist/kongponents.es345.js +3 -3
- package/dist/kongponents.es346.js +88 -113
- package/dist/kongponents.es348.js +5 -8
- package/dist/kongponents.es349.js +2 -6
- package/dist/kongponents.es350.js +8 -9
- package/dist/kongponents.es351.js +5 -9
- package/dist/kongponents.es352.js +9 -15
- package/dist/kongponents.es354.js +10 -3
- package/dist/kongponents.es355.js +14 -7
- package/dist/kongponents.es356.js +3 -3
- package/dist/kongponents.es357.js +7 -10
- package/dist/kongponents.es358.js +3 -8
- package/dist/kongponents.es359.js +10 -5
- package/dist/kongponents.es360.js +8 -2
- package/dist/kongponents.es361.js +5 -12
- package/dist/kongponents.es362.js +2 -5
- package/dist/kongponents.es363.js +12 -5
- package/dist/kongponents.es364.js +4 -29
- package/dist/kongponents.es365.js +1 -1
- package/dist/kongponents.es366.js +1 -1
- package/dist/kongponents.es367.js +2 -2
- package/dist/kongponents.es368.js +2 -2
- package/dist/kongponents.es369.js +2 -2
- package/dist/kongponents.es370.js +2 -2
- package/dist/kongponents.es371.js +2 -2
- package/dist/kongponents.es373.js +5 -26
- package/dist/kongponents.es374.js +29 -15
- package/dist/kongponents.es375.js +25 -8
- package/dist/kongponents.es376.js +15 -4
- package/dist/kongponents.es377.js +9 -13
- package/dist/kongponents.es378.js +4 -8
- package/dist/kongponents.es379.js +14 -3
- package/dist/kongponents.es380.js +8 -5
- package/dist/kongponents.es381.js +3 -6
- package/dist/kongponents.es382.js +5 -7
- package/dist/kongponents.es383.js +5 -5
- package/dist/kongponents.es384.js +7 -10
- package/dist/kongponents.es385.js +5 -5
- package/dist/kongponents.es386.js +9 -3
- package/dist/kongponents.es387.js +5 -4
- package/dist/kongponents.es388.js +4 -5
- package/dist/kongponents.es389.js +5 -8
- package/dist/kongponents.es390.js +5 -6
- package/dist/kongponents.es391.js +8 -10
- package/dist/kongponents.es392.js +6 -6
- package/dist/kongponents.es393.js +10 -22
- package/dist/kongponents.es394.js +6 -6
- package/dist/kongponents.es395.js +21 -6
- package/dist/kongponents.es396.js +6 -6
- package/dist/kongponents.es397.js +6 -8
- package/dist/kongponents.es398.js +6 -1539
- package/dist/kongponents.es399.js +9 -5
- package/dist/kongponents.es428.js +119 -10
- package/dist/kongponents.es430.js +1 -1
- package/dist/kongponents.es431.js +10 -94
- package/dist/kongponents.es433.js +25 -7
- package/dist/kongponents.es434.js +6 -17
- package/dist/kongponents.es435.js +17 -4
- package/dist/kongponents.es436.js +4 -4
- package/dist/kongponents.es437.js +4 -3
- package/dist/kongponents.es438.js +3 -3
- package/dist/kongponents.es439.js +3 -14
- package/dist/kongponents.es440.js +14 -6
- package/dist/kongponents.es441.js +7 -8
- package/dist/kongponents.es442.js +8 -11
- package/dist/kongponents.es443.js +10 -4
- package/dist/kongponents.es444.js +4 -3
- package/dist/kongponents.es445.js +2 -2
- package/dist/kongponents.es446.js +3 -37
- package/dist/kongponents.es447.js +36 -41
- package/dist/kongponents.es448.js +41 -32
- package/dist/kongponents.es449.js +34 -3
- package/dist/kongponents.es450.js +3 -18
- package/dist/kongponents.es451.js +17 -5
- package/dist/kongponents.es452.js +6 -25
- package/dist/kongponents.es485.js +1 -1
- package/dist/kongponents.es486.js +1 -1
- package/dist/kongponents.es487.js +1 -1
- package/dist/kongponents.es488.js +1 -1
- package/dist/kongponents.es489.js +1 -1
- package/dist/kongponents.es490.js +1 -1
- package/dist/kongponents.es492.js +1 -1
- package/dist/kongponents.es493.js +1 -1
- package/dist/kongponents.es494.js +1 -1
- package/dist/kongponents.es509.js +1 -1
- package/dist/kongponents.es511.js +1 -1
- package/dist/kongponents.es528.js +29 -8
- package/dist/kongponents.es529.js +120 -3
- package/dist/kongponents.es530.js +30 -29
- package/dist/kongponents.es531.js +9 -118
- package/dist/kongponents.es532.js +13 -29
- package/dist/kongponents.es533.js +32 -10
- package/dist/kongponents.es534.js +28 -13
- package/dist/kongponents.es535.js +10 -32
- package/dist/kongponents.es536.js +10 -26
- package/dist/kongponents.es537.js +17 -10
- package/dist/kongponents.es538.js +23 -12
- package/dist/kongponents.es539.js +16 -17
- package/dist/kongponents.es540.js +91 -18
- package/dist/kongponents.es541.js +41 -13
- package/dist/kongponents.es542.js +23 -91
- package/dist/kongponents.es543.js +68 -41
- package/dist/kongponents.es544.js +47 -24
- package/dist/kongponents.es545.js +30 -67
- package/dist/kongponents.es546.js +35 -45
- package/dist/kongponents.es547.js +7 -34
- package/dist/kongponents.es548.js +3 -42
- package/dist/kongponents.es554.js +2 -2
- package/dist/kongponents.es555.js +2 -2
- package/dist/kongponents.es573.js +20 -3
- package/dist/kongponents.es574.js +7 -3
- package/dist/kongponents.es575.js +3 -15
- package/dist/kongponents.es576.js +6 -3
- package/dist/kongponents.es577.js +7 -9
- package/dist/kongponents.es578.js +5 -4
- package/dist/kongponents.es579.js +4 -6
- package/dist/kongponents.es580.js +7 -9
- package/dist/kongponents.es581.js +14 -6
- package/dist/kongponents.es582.js +9 -4
- package/dist/kongponents.es583.js +4 -3
- package/dist/kongponents.es584.js +5 -4
- package/dist/kongponents.es585.js +6 -11
- package/dist/kongponents.es586.js +30 -9
- package/dist/kongponents.es587.js +34 -30
- package/dist/kongponents.es588.js +51 -24
- package/dist/kongponents.es589.js +8 -51
- package/dist/kongponents.es590.js +4 -3
- package/dist/kongponents.es591.js +5 -8
- package/dist/kongponents.es592.js +3 -20
- package/dist/kongponents.es593.js +3 -7
- package/dist/kongponents.es594.js +11 -6
- package/dist/kongponents.es595.js +9 -5
- package/dist/kongponents.es596.js +24 -7
- package/dist/kongponents.es597.js +3 -15
- package/dist/kongponents.es598.js +3 -4
- package/dist/kongponents.es599.js +9 -6
- package/dist/kongponents.es600.js +8 -34
- package/dist/kongponents.es601.js +15 -8
- package/dist/kongponents.es611.js +1 -1
- package/dist/kongponents.es613.js +1 -1
- package/dist/kongponents.es614.js +1 -1
- package/dist/kongponents.es615.js +1 -1
- package/dist/kongponents.es616.js +1 -1
- package/dist/kongponents.es618.js +3 -3
- package/dist/kongponents.es619.js +4 -4
- package/dist/kongponents.es621.js +2 -2
- package/dist/kongponents.es622.js +2 -2
- package/dist/kongponents.es623.js +2 -2
- package/dist/kongponents.es66.js +3 -3
- package/dist/kongponents.es73.js +7 -7
- package/dist/kongponents.es76.js +1 -1
- package/dist/kongponents.es78.js +1 -1
- package/dist/kongponents.es84.js +1 -1
- package/dist/kongponents.es88.js +3 -3
- package/dist/kongponents.es90.js +15 -15
- package/dist/kongponents.es95.js +2 -2
- package/dist/kongponents.es97.js +6 -6
- package/dist/kongponents.umd.js +2 -2
- package/dist/kongponents100.cjs +1 -1
- package/dist/kongponents106.cjs +1 -1
- package/dist/kongponents108.cjs +1 -1
- package/dist/kongponents110.cjs +1 -1
- package/dist/kongponents114.cjs +1 -1
- package/dist/kongponents116.cjs +1 -1
- package/dist/kongponents118.cjs +1 -1
- package/dist/kongponents120.cjs +1 -1
- package/dist/kongponents123.cjs +1 -1
- package/dist/kongponents125.cjs +1 -1
- package/dist/kongponents129.cjs +1 -1
- package/dist/kongponents131.cjs +1 -1
- package/dist/kongponents133.cjs +1 -1
- package/dist/kongponents140.cjs +1 -1
- package/dist/kongponents142.cjs +1 -1
- package/dist/kongponents144.cjs +1 -1
- package/dist/kongponents148.cjs +1 -1
- package/dist/kongponents150.cjs +1 -1
- package/dist/kongponents156.cjs +1 -1
- package/dist/kongponents158.cjs +1 -1
- package/dist/kongponents160.cjs +1 -1
- package/dist/kongponents162.cjs +1 -1
- package/dist/kongponents167.cjs +1 -1
- package/dist/kongponents174.cjs +1 -1
- package/dist/kongponents175.cjs +1 -1
- package/dist/kongponents176.cjs +1 -1
- package/dist/kongponents177.cjs +1 -1
- package/dist/kongponents178.cjs +1 -1
- package/dist/kongponents179.cjs +1 -1
- package/dist/kongponents180.cjs +1 -1
- package/dist/kongponents181.cjs +1 -2
- 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 -2
- 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/kongponents193.cjs +1 -1
- package/dist/kongponents194.cjs +2 -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 +2 -1
- package/dist/kongponents20.cjs +1 -1
- package/dist/kongponents200.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/kongponents210.cjs +1 -1
- package/dist/kongponents211.cjs +1 -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 -1
- package/dist/kongponents218.cjs +1 -1
- package/dist/kongponents219.cjs +1 -1
- package/dist/kongponents22.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/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 -0
- 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 +1 -1
- package/dist/kongponents241.cjs +1 -1
- package/dist/kongponents242.cjs +1 -1
- package/dist/kongponents243.cjs +1 -1
- package/dist/kongponents244.cjs +1 -1
- package/dist/kongponents245.cjs +1 -1
- package/dist/kongponents246.cjs +1 -1
- package/dist/kongponents247.cjs +1 -1
- package/dist/kongponents248.cjs +1 -1
- package/dist/kongponents250.cjs +1 -0
- package/dist/kongponents251.cjs +3 -1
- package/dist/kongponents253.cjs +1 -1
- package/dist/kongponents254.cjs +1 -0
- package/dist/kongponents258.cjs +1 -1
- package/dist/kongponents259.cjs +1 -0
- package/dist/kongponents26.cjs +1 -1
- package/dist/kongponents260.cjs +1 -1
- package/dist/kongponents262.cjs +1 -1
- package/dist/{kongponents280.cjs → kongponents264.cjs} +1 -1
- package/dist/kongponents265.cjs +1 -1
- package/dist/{kongponents282.cjs → kongponents266.cjs} +1 -1
- package/dist/kongponents267.cjs +1 -3
- package/dist/kongponents268.cjs +1 -1
- package/dist/kongponents270.cjs +1 -1
- package/dist/kongponents272.cjs +1 -1
- package/dist/{kongponents263.cjs → kongponents273.cjs} +1 -1
- package/dist/kongponents275.cjs +1 -0
- package/dist/kongponents277.cjs +1 -0
- package/dist/kongponents279.cjs +1 -0
- package/dist/kongponents281.cjs +1 -1
- package/dist/kongponents283.cjs +1 -1
- package/dist/kongponents285.cjs +1 -1
- package/dist/kongponents287.cjs +1 -1
- package/dist/kongponents288.cjs +1 -0
- 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/kongponents323.cjs +1 -1
- package/dist/kongponents324.cjs +1 -1
- package/dist/kongponents325.cjs +1 -1
- package/dist/kongponents326.cjs +1 -1
- package/dist/kongponents327.cjs +1 -1
- package/dist/kongponents328.cjs +1 -1
- 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/kongponents339.cjs +1 -0
- package/dist/kongponents341.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/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/kongponents354.cjs +1 -1
- package/dist/kongponents355.cjs +1 -1
- package/dist/kongponents356.cjs +1 -1
- package/dist/kongponents357.cjs +1 -1
- package/dist/kongponents358.cjs +1 -1
- package/dist/kongponents359.cjs +1 -1
- package/dist/kongponents360.cjs +1 -1
- package/dist/kongponents361.cjs +1 -1
- package/dist/kongponents362.cjs +1 -1
- package/dist/kongponents363.cjs +1 -1
- package/dist/kongponents364.cjs +1 -1
- package/dist/kongponents365.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/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/kongponents428.cjs +1 -1
- package/dist/kongponents430.cjs +1 -1
- package/dist/kongponents431.cjs +1 -1
- package/dist/kongponents433.cjs +1 -1
- package/dist/kongponents434.cjs +1 -1
- package/dist/kongponents435.cjs +1 -1
- package/dist/kongponents436.cjs +1 -1
- package/dist/kongponents437.cjs +1 -1
- package/dist/kongponents438.cjs +1 -1
- package/dist/kongponents439.cjs +1 -1
- package/dist/kongponents440.cjs +1 -1
- package/dist/kongponents441.cjs +1 -1
- package/dist/kongponents442.cjs +1 -1
- package/dist/kongponents443.cjs +1 -1
- package/dist/kongponents444.cjs +1 -1
- package/dist/kongponents445.cjs +1 -1
- package/dist/kongponents446.cjs +1 -1
- package/dist/kongponents447.cjs +1 -1
- package/dist/kongponents448.cjs +1 -1
- package/dist/kongponents449.cjs +1 -1
- package/dist/kongponents450.cjs +1 -1
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents452.cjs +1 -1
- package/dist/kongponents485.cjs +1 -1
- package/dist/kongponents486.cjs +1 -1
- package/dist/kongponents487.cjs +1 -1
- package/dist/kongponents488.cjs +1 -1
- package/dist/kongponents489.cjs +1 -1
- package/dist/kongponents490.cjs +1 -1
- package/dist/kongponents492.cjs +1 -1
- package/dist/kongponents493.cjs +1 -1
- package/dist/kongponents494.cjs +1 -1
- package/dist/kongponents509.cjs +1 -1
- package/dist/kongponents511.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/kongponents544.cjs +1 -1
- package/dist/kongponents545.cjs +1 -1
- package/dist/kongponents546.cjs +1 -1
- package/dist/kongponents547.cjs +1 -1
- package/dist/kongponents548.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/kongponents599.cjs +1 -1
- package/dist/kongponents600.cjs +1 -1
- package/dist/kongponents601.cjs +1 -1
- package/dist/kongponents611.cjs +1 -1
- package/dist/kongponents613.cjs +1 -1
- package/dist/kongponents614.cjs +1 -1
- package/dist/kongponents615.cjs +1 -1
- package/dist/kongponents616.cjs +1 -1
- package/dist/kongponents618.cjs +1 -1
- package/dist/kongponents619.cjs +1 -1
- package/dist/kongponents66.cjs +1 -1
- package/dist/kongponents73.cjs +1 -1
- package/dist/kongponents76.cjs +1 -1
- package/dist/kongponents78.cjs +1 -1
- package/dist/kongponents84.cjs +1 -1
- package/dist/kongponents88.cjs +1 -1
- package/dist/kongponents90.cjs +1 -1
- package/dist/kongponents95.cjs +1 -1
- package/dist/kongponents97.cjs +1 -1
- package/dist/types/types/popover.d.ts +1 -1
- package/dist/types/types/table.d.ts +6 -1
- package/package.json +1 -1
- package/dist/kongponents.es229.js +0 -7
- package/dist/kongponents.es249.js +0 -58
- package/dist/kongponents.es252.js +0 -330
- package/dist/kongponents.es257.js +0 -8
- package/dist/kongponents.es274.js +0 -25
- package/dist/kongponents.es276.js +0 -47
- package/dist/kongponents.es278.js +0 -43
- package/dist/kongponents.es286.js +0 -130
- package/dist/kongponents229.cjs +0 -1
- package/dist/kongponents249.cjs +0 -1
- package/dist/kongponents252.cjs +0 -1
- package/dist/kongponents257.cjs +0 -1
- package/dist/kongponents274.cjs +0 -1
- package/dist/kongponents276.cjs +0 -1
- package/dist/kongponents278.cjs +0 -1
- package/dist/kongponents284.cjs +0 -1
- package/dist/kongponents286.cjs +0 -1
- /package/dist/{kongponents.es255.js → kongponents.es256.js} +0 -0
- /package/dist/{kongponents.es340.js → kongponents.es269.js} +0 -0
- /package/dist/{kongponents.es429.js → kongponents.es432.js} +0 -0
- /package/dist/{kongponents255.cjs → kongponents256.cjs} +0 -0
- /package/dist/{kongponents340.cjs → kongponents269.cjs} +0 -0
- /package/dist/{kongponents429.cjs → kongponents432.cjs} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as At, useCssVars as Ct, unref as u, createPropsRestProxy as St, useSlots as Tt, useId as Rt, useTemplateRef as ne, ref as v, computed as y, watch as V, openBlock as r, createElementBlock as f, normalizeClass as
|
|
1
|
+
import { defineComponent as At, useCssVars as Ct, unref as u, createPropsRestProxy as St, useSlots as Tt, useId as Rt, useTemplateRef as ne, ref as v, computed as y, watch as V, openBlock as r, createElementBlock as f, normalizeClass as p, renderSlot as S, createBlock as T, withCtx as w, createCommentVNode as b, createVNode as O, createSlots as Pe, createTextVNode as ie, toDisplayString as J, createElementVNode as R, normalizeStyle as Ke, Fragment as Y, renderList as be, withModifiers as He, mergeProps as se, toHandlers as Et, resolveDynamicComponent as Lt, withDirectives as Ot, vShow as $t, nextTick as Nt } from "vue";
|
|
2
2
|
import ke from "./kongponents.es32.js";
|
|
3
3
|
import Me from "./kongponents.es45.js";
|
|
4
4
|
import Bt from "./kongponents.es20.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import Fe from "./kongponents.es24.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import xt from "./kongponents.
|
|
9
|
-
import It from "./kongponents.
|
|
10
|
-
import zt from "./kongponents.
|
|
11
|
-
import
|
|
12
|
-
import
|
|
8
|
+
import xt from "./kongponents.es195.js";
|
|
9
|
+
import It from "./kongponents.es213.js";
|
|
10
|
+
import zt from "./kongponents.es178.js";
|
|
11
|
+
import Pt from "./kongponents.es214.js";
|
|
12
|
+
import Kt from "./kongponents.es215.js";
|
|
13
13
|
import "./kongponents.es5.js";
|
|
14
14
|
import "./kongponents.es10.js";
|
|
15
15
|
import { EmptyStateIconVariants as Ht } from "./kongponents.es11.js";
|
|
16
16
|
import { TableViewHeaderKeys as i } from "./kongponents.es17.js";
|
|
17
|
-
import { KUI_ICON_SIZE_30 as re, KUI_COLOR_TEXT_NEUTRAL as Mt, KUI_COLOR_TEXT_PRIMARY as Ft, KUI_COLOR_TEXT_NEUTRAL_WEAK as
|
|
18
|
-
import Vt from "./kongponents.
|
|
17
|
+
import { KUI_ICON_SIZE_30 as re, KUI_COLOR_TEXT_NEUTRAL as Mt, KUI_COLOR_TEXT_PRIMARY as Ft, KUI_COLOR_TEXT_NEUTRAL_WEAK as Dt, KUI_SPACE_60 as Ut } from "./kongponents.es181.js";
|
|
18
|
+
import Vt from "./kongponents.es207.js";
|
|
19
19
|
import Wt from "./kongponents.es55.js";
|
|
20
20
|
import Xt from "./kongponents.es43.js";
|
|
21
|
-
import
|
|
22
|
-
import qt from "./kongponents.
|
|
21
|
+
import De from "./kongponents.es36.js";
|
|
22
|
+
import qt from "./kongponents.es216.js";
|
|
23
23
|
import { getInitialPageSize as jt } from "./kongponents.es173.js";
|
|
24
24
|
import { getUniqueStringId as Zt } from "./kongponents.es153.js";
|
|
25
|
-
import { getScrollbarSize as Gt } from "./kongponents.
|
|
26
|
-
import { useResizeObserver as Jt } from "./kongponents.
|
|
27
|
-
import { normalizeSize as Yt } from "./kongponents.
|
|
25
|
+
import { getScrollbarSize as Gt } from "./kongponents.es202.js";
|
|
26
|
+
import { useResizeObserver as Jt } from "./kongponents.es184.js";
|
|
27
|
+
import { normalizeSize as Yt } from "./kongponents.es182.js";
|
|
28
28
|
import Qt from "./kongponents.es40.js";
|
|
29
|
-
import _t from "./kongponents.
|
|
29
|
+
import _t from "./kongponents.es217.js";
|
|
30
30
|
const ea = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "table-toolbar",
|
|
@@ -86,6 +86,7 @@ const ea = {
|
|
|
86
86
|
hidePaginationWhenOptional: { type: Boolean },
|
|
87
87
|
hideToolbar: { type: Boolean },
|
|
88
88
|
tooltipTarget: { default: "body" },
|
|
89
|
+
actionsDropdownPopoverAttributes: { default: () => ({}) },
|
|
89
90
|
"onRow:click": { type: Function },
|
|
90
91
|
"onRow:dblclick": { type: Function },
|
|
91
92
|
"onRow:auxclick": { type: Function },
|
|
@@ -122,17 +123,17 @@ const ea = {
|
|
|
122
123
|
"onCell:keypress": { type: Function }
|
|
123
124
|
},
|
|
124
125
|
emits: ["page-change", "page-size-change", "get-next-offset", "get-previous-offset", "cell-click", "row-click", "error-action-click", "empty-state-action-click", "update:table-preferences", "sort", "row-select", "update:row-expanded", "row-actions-toggle"],
|
|
125
|
-
setup(o, { emit:
|
|
126
|
+
setup(o, { emit: Ue }) {
|
|
126
127
|
Ct((e) => ({
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
v771df17d: u(tt).expandable,
|
|
129
|
+
v399eb14a: nt.value,
|
|
130
|
+
v96d0edbc: Ae.value,
|
|
131
|
+
v090058f6: Qe.value
|
|
131
132
|
}));
|
|
132
|
-
const ge = St(o, ["resizeColumns", "tablePreferences", "rowHover", "rowAttrs", "rowLink", "rowBulkActionEnabled", "rowKey", "cellAttrs", "loading", "emptyStateTitle", "emptyStateMessage", "emptyStateActionMessage", "emptyStateIconVariant", "emptyStateButtonAppearance", "emptyStateActionRoute", "error", "errorStateTitle", "errorStateMessage", "errorStateActionMessage", "errorStateActionRoute", "maxHeight", "hidePagination", "paginationAttributes", "rowExpandable", "rowExpanded", "hideHeaders", "nested", "hidePaginationWhenOptional", "hideToolbar", "tooltipTarget", "data", "headers"]), g =
|
|
133
|
+
const ge = St(o, ["resizeColumns", "tablePreferences", "rowHover", "rowAttrs", "rowLink", "rowBulkActionEnabled", "rowKey", "cellAttrs", "loading", "emptyStateTitle", "emptyStateMessage", "emptyStateActionMessage", "emptyStateIconVariant", "emptyStateButtonAppearance", "emptyStateActionRoute", "error", "errorStateTitle", "errorStateMessage", "errorStateActionMessage", "errorStateActionRoute", "maxHeight", "hidePagination", "paginationAttributes", "rowExpandable", "rowExpanded", "hideHeaders", "nested", "hidePaginationWhenOptional", "hideToolbar", "tooltipTarget", "data", "headers", "actionsDropdownPopoverAttributes"]), g = Ue, I = Tt(), A = Rt(), E = (e) => typeof o.rowKey == "function" && typeof o.rowKey(e) == "string" ? o.rowKey(e) : typeof o.rowKey == "string" && o.rowKey in e && typeof e[o.rowKey] == "string" ? e[o.rowKey] : "", pe = (e) => {
|
|
133
134
|
const a = e.filter((l) => l.key !== i.BULK_ACTIONS && l.key !== i.ACTIONS), t = e.find((l) => l.key === i.BULK_ACTIONS), n = e.find((l) => l.key === i.ACTIONS);
|
|
134
135
|
return t && a.unshift(t), n && a.push(n), a;
|
|
135
|
-
},
|
|
136
|
+
}, he = ne("table-wrapper"), Ve = ne("table"), We = ne("header-row"), N = v(pe(o.headers)), k = v([]), W = v(""), z = v(""), Q = v(""), Xe = y(() => N.value.some((e) => e.key === i.ACTIONS)), we = y(() => N.value.filter((e) => e.hidable).length > 0), P = y(() => o.nested || !we.value || o.error ? !1 : I.toolbar ? !0 : !o.loading && !!o.data && !!o.data.length), qe = y(() => o.loading || !(o.data && o.data.length)), je = y(() => N.value.filter((e) => e.hidable && !te(e.key))), Ze = y(() => P.value ? o.tablePreferences.columnVisibility || {} : {}), K = v(P.value ? o.tablePreferences.columnVisibility || {} : {}), Ae = v("100%"), ue = v(!1), X = v(!1), B = v(!1), H = v(!1), m = v(o.tablePreferences.sortColumnKey || ""), h = v(o.tablePreferences.sortColumnOrder || me), de = v(!1), Ge = y(() => !o.hideToolbar && !o.nested && (!!I.toolbar || P.value || ve.value)), Je = ne("actionsDropdown"), ce = v(!1), Ye = y(() => ({
|
|
136
137
|
maxHeight: Yt(o.maxHeight)
|
|
137
138
|
})), Qe = y(() => `${Gt()}px`), M = v([]), q = y(() => !o.nested && !o.error && N.value.some((e) => e.key === i.BULK_ACTIONS) && !!(I["bulk-action-items"] || I["bulk-actions"]) && !!o.data.every((e) => E(e))), j = v([]), ve = y(() => o.nested || !q.value || o.error ? !1 : I.toolbar ? !0 : !o.loading && !!o.data && !!o.data.length), Ce = y(() => {
|
|
138
139
|
const e = M.value.length;
|
|
@@ -144,7 +145,7 @@ const ea = {
|
|
|
144
145
|
return Object.keys(d).reduce((s, c) => {
|
|
145
146
|
if (c.indexOf(e) === 0) {
|
|
146
147
|
const C = c.split(e);
|
|
147
|
-
s[C[1]] = (
|
|
148
|
+
s[C[1]] = (U) => d[c](U, t, n);
|
|
148
149
|
}
|
|
149
150
|
return s;
|
|
150
151
|
}, {});
|
|
@@ -155,14 +156,14 @@ const ea = {
|
|
|
155
156
|
...n,
|
|
156
157
|
click(d) {
|
|
157
158
|
const s = d.target, c = s.className;
|
|
158
|
-
let C = l.includes(s.tagName.toLowerCase()),
|
|
159
|
-
typeof c == "string" || Array.isArray(c) ?
|
|
159
|
+
let C = l.includes(s.tagName.toLowerCase()), U = !1;
|
|
160
|
+
typeof c == "string" || Array.isArray(c) ? U = c.includes("k-popover") : typeof c == "object" && (U = Object.keys(c).includes("k-popover")), s.closest(".popover-content") !== null && (U = !0);
|
|
160
161
|
for (let $ = 0; $ < l.length; $++)
|
|
161
162
|
if (s.closest(l[$]) !== null) {
|
|
162
163
|
C = !0;
|
|
163
164
|
break;
|
|
164
165
|
}
|
|
165
|
-
if ((!C || s.hasAttribute("disabled")) && !
|
|
166
|
+
if ((!C || s.hasAttribute("disabled")) && !U && (t.click || n.click))
|
|
166
167
|
if (n.click) {
|
|
167
168
|
g("cell-click", { data: e });
|
|
168
169
|
const $ = n.click(d, e, "cell");
|
|
@@ -174,7 +175,7 @@ const ea = {
|
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
177
|
};
|
|
177
|
-
}), Te = parseInt(
|
|
178
|
+
}), Te = parseInt(Ut) * 2 + parseInt(re), Re = { expandable: Te, bulkActions: 48, actions: 54 }, tt = _t(Re, (e) => `${e}px`), x = v({
|
|
178
179
|
...o.tablePreferences.columnWidths || {},
|
|
179
180
|
...Re
|
|
180
181
|
// override special columns with default widths
|
|
@@ -200,7 +201,7 @@ const ea = {
|
|
|
200
201
|
sortable: !e.hideLabel && !!e.sortable,
|
|
201
202
|
// display active sorting styles if column is currently sorted
|
|
202
203
|
"active-sort": !e.hideLabel && !!e.sortable && e.key === m.value,
|
|
203
|
-
[
|
|
204
|
+
[h.value]: e.key === m.value && !e.hideLabel,
|
|
204
205
|
"is-scrolled": X.value,
|
|
205
206
|
"has-tooltip": !!e.tooltip,
|
|
206
207
|
"sticky-column": Ne(e.key),
|
|
@@ -210,7 +211,7 @@ const ea = {
|
|
|
210
211
|
}), ot = (e) => {
|
|
211
212
|
if (e.sortable && e.key !== i.BULK_ACTIONS && e.key !== i.ACTIONS) {
|
|
212
213
|
let a = "asc", t = e.key;
|
|
213
|
-
t === m.value &&
|
|
214
|
+
t === m.value && h.value === "asc" && (a = "desc"), t === m.value && h.value === "desc" && (t = "", a = me), g("sort", {
|
|
214
215
|
prevKey: m.value,
|
|
215
216
|
sortColumnKey: t,
|
|
216
217
|
sortColumnOrder: a
|
|
@@ -248,13 +249,13 @@ const ea = {
|
|
|
248
249
|
const C = c.clientX - t;
|
|
249
250
|
l?.setAttribute("style", `width: ${n + C}px`), x.value[a] = n + C;
|
|
250
251
|
}, s = () => {
|
|
251
|
-
W.value = "", document?.removeEventListener("mousemove", d), document?.removeEventListener("mouseup", s), le(),
|
|
252
|
+
W.value = "", document?.removeEventListener("mousemove", d), document?.removeEventListener("mouseup", s), le(), D.value && ye();
|
|
252
253
|
};
|
|
253
254
|
if (t = e.clientX, l) {
|
|
254
255
|
const c = window?.getComputedStyle(l);
|
|
255
256
|
c?.width && (n = parseInt(c.width, 10)), document?.addEventListener("mousemove", d), document?.addEventListener("mouseup", s);
|
|
256
257
|
}
|
|
257
|
-
}, Ne = (e) => B.value ? e === i.BULK_ACTIONS || e === i.EXPANDABLE : !1, Be = (e) => e === i.BULK_ACTIONS &&
|
|
258
|
+
}, Ne = (e) => B.value ? e === i.BULK_ACTIONS || e === i.EXPANDABLE : !1, Be = (e) => e === i.BULK_ACTIONS && D.value, ee = (e) => B.value ? q.value ? e === i.BULK_ACTIONS : D.value ? e === i.EXPANDABLE : !1 : !1, te = (e) => e === i.EXPANDABLE || e === i.BULK_ACTIONS || e === i.ACTIONS, ae = (e, a = !1) => {
|
|
258
259
|
if (!o.resizeColumns || o.nested)
|
|
259
260
|
return !1;
|
|
260
261
|
if (a) {
|
|
@@ -271,10 +272,10 @@ const ea = {
|
|
|
271
272
|
}, a ? 0 : 100);
|
|
272
273
|
}, st = y(() => !(o.hidePagination || o.nested || o.hidePaginationWhenOptional && o.data.length && o.paginationAttributes.totalCount && o.paginationAttributes.totalCount <= o.data.length));
|
|
273
274
|
V(() => o.headers, (e) => {
|
|
274
|
-
N.value =
|
|
275
|
+
N.value = pe(e);
|
|
275
276
|
}, { deep: !0, immediate: !0 });
|
|
276
277
|
const rt = (e) => !e.hideLabel && !!e.sortable && e.key !== i.BULK_ACTIONS && e.key !== i.ACTIONS, ut = (e) => {
|
|
277
|
-
m.value && e ? e === m.value ?
|
|
278
|
+
m.value && e ? e === m.value ? h.value === "asc" ? h.value = "desc" : h.value = "asc" : (m.value = e, h.value = "asc") : e ? (m.value = e, h.value = "asc") : (m.value = "", h.value = me), le();
|
|
278
279
|
}, dt = (e) => {
|
|
279
280
|
const a = e.target;
|
|
280
281
|
a && (typeof a.scrollTop == "number" || typeof a.scrollLeft == "number") && (a.scrollTop > 1 ? (ue.value = !0, X.value = !0) : a.scrollTop === 0 && (X.value = !1), a.scrollLeft > 1 ? B.value = !0 : a.scrollLeft === 0 && (B.value = !1), a.scrollWidth <= a.scrollLeft + a.clientWidth ? H.value = !1 : H.value = !0), Je.value?.forEach((t) => {
|
|
@@ -310,20 +311,20 @@ const ea = {
|
|
|
310
311
|
Z.value = e.pageSize, g("page-size-change", e), le();
|
|
311
312
|
}, kt = y(() => ({
|
|
312
313
|
sortColumnKey: m.value,
|
|
313
|
-
sortColumnOrder:
|
|
314
|
+
sortColumnOrder: h.value,
|
|
314
315
|
...o.resizeColumns ? { columnWidths: x.value } : {},
|
|
315
|
-
...we.value ? { columnVisibility:
|
|
316
|
+
...we.value ? { columnVisibility: K.value } : {},
|
|
316
317
|
...Z.value && !o.hidePagination && { pageSize: Z.value }
|
|
317
318
|
})), le = () => {
|
|
318
319
|
g("update:table-preferences", kt.value);
|
|
319
|
-
},
|
|
320
|
+
}, D = y(() => !o.nested && o.data.some((e) => o.rowExpandable(e))), mt = { key: i.EXPANDABLE, label: "Expandable rows controls", hideLabel: !0 }, Ie = () => {
|
|
320
321
|
const e = [];
|
|
321
322
|
return o.data.forEach((a, t) => {
|
|
322
323
|
o.rowExpanded(a) && e.push(t);
|
|
323
324
|
}), e;
|
|
324
325
|
}, L = v(Ie()), gt = async (e, a) => {
|
|
325
326
|
ye(), await Nt(), L.value.includes(e) ? (L.value = L.value.filter((t) => t !== e), g("update:row-expanded", { row: a, expanded: !1 })) : (L.value = [...L.value, e], g("update:row-expanded", { row: a, expanded: !0 }));
|
|
326
|
-
},
|
|
327
|
+
}, pt = y(() => k.value.filter((e) => e.key !== i.EXPANDABLE && e.key !== i.BULK_ACTIONS)), ze = v({}), ye = () => {
|
|
327
328
|
if (typeof document > "u")
|
|
328
329
|
return;
|
|
329
330
|
const a = document?.querySelector(`[data-tableid="${A}"]`)?.querySelectorAll("th"), t = {};
|
|
@@ -335,14 +336,14 @@ const ea = {
|
|
|
335
336
|
l === 1 && (s += Te), l === a.length - 1 && (s -= 15), t[d] = s;
|
|
336
337
|
}), ze.value = t;
|
|
337
338
|
};
|
|
338
|
-
V([
|
|
339
|
+
V([K, N, D], (e) => {
|
|
339
340
|
const [a, t, n] = e;
|
|
340
341
|
let l = t.filter((d) => d.key === i.BULK_ACTIONS ? q.value : a[d.key] !== !1);
|
|
341
342
|
l.find((d) => d.key === i.EXPANDABLE) && (l = l.filter((d) => d.key !== i.EXPANDABLE)), n && l.unshift(mt), JSON.stringify(l) !== JSON.stringify(k.value) && (k.value = l, le()), n && ye();
|
|
342
|
-
}, { deep: !0, immediate: !0 }), V(
|
|
343
|
-
e && (
|
|
343
|
+
}, { deep: !0, immediate: !0 }), V(P, (e) => {
|
|
344
|
+
e && (K.value = o.tablePreferences.columnVisibility || {});
|
|
344
345
|
}, { immediate: !0 });
|
|
345
|
-
const G = v(!1),
|
|
346
|
+
const G = v(!1), ht = y(() => {
|
|
346
347
|
const e = j.value.filter((a) => !a.disabled && o.data.find((t) => E(t) === a.rowKey));
|
|
347
348
|
return !!e.filter((a) => a.selected).length && !!e.filter((a) => !a.selected).length;
|
|
348
349
|
}), wt = (e) => {
|
|
@@ -379,16 +380,16 @@ const ea = {
|
|
|
379
380
|
}, { deep: !0, immediate: !0 }), V(M, (e) => {
|
|
380
381
|
g("row-select", e);
|
|
381
382
|
}), V(() => o.tablePreferences, (e) => {
|
|
382
|
-
e?.pageSize && (Z.value = e.pageSize, xe.value++), m.value = e?.sortColumnKey ? e.sortColumnKey : m.value,
|
|
383
|
-
}), Jt([
|
|
384
|
-
const e =
|
|
383
|
+
e?.pageSize && (Z.value = e.pageSize, xe.value++), m.value = e?.sortColumnKey ? e.sortColumnKey : m.value, h.value = e?.sortColumnOrder ? e.sortColumnOrder : h.value, x.value = e?.columnWidths ? e.columnWidths : x.value, K.value = e?.columnVisibility ? e.columnVisibility : K.value;
|
|
384
|
+
}), Jt([he, Ve], () => {
|
|
385
|
+
const e = he.value;
|
|
385
386
|
e && (H.value = e.scrollWidth > e.clientWidth, Ae.value = e.clientHeight + "px", ue.value = e.scrollHeight > e.clientHeight);
|
|
386
387
|
}), (e, a) => (r(), f("div", {
|
|
387
|
-
class:
|
|
388
|
+
class: p(["k-table-view", { "hide-headers": o.hideHeaders }])
|
|
388
389
|
}, [
|
|
389
390
|
Ge.value ? (r(), f("div", ea, [
|
|
390
391
|
S(e.$slots, "toolbar", {}, void 0, !0),
|
|
391
|
-
ve.value ||
|
|
392
|
+
ve.value || P.value ? (r(), f("div", ta, [
|
|
392
393
|
ve.value ? S(e.$slots, "bulk-actions", {
|
|
393
394
|
key: 0,
|
|
394
395
|
selectedRows: M.value
|
|
@@ -405,13 +406,13 @@ const ea = {
|
|
|
405
406
|
_: 3
|
|
406
407
|
}, 8, ["button-label", "count", "disabled"]))
|
|
407
408
|
], !0) : b("", !0),
|
|
408
|
-
|
|
409
|
+
P.value ? (r(), T(Vt, {
|
|
409
410
|
key: 1,
|
|
410
411
|
columns: je.value,
|
|
411
412
|
disabled: qe.value,
|
|
412
413
|
"table-id": u(A),
|
|
413
414
|
"visibility-preferences": Ze.value,
|
|
414
|
-
onUpdate: a[0] || (a[0] = (t) =>
|
|
415
|
+
onUpdate: a[0] || (a[0] = (t) => K.value = t)
|
|
415
416
|
}, null, 8, ["columns", "disabled", "table-id", "visibility-preferences"])) : b("", !0)
|
|
416
417
|
])) : b("", !0)
|
|
417
418
|
])) : b("", !0),
|
|
@@ -425,7 +426,7 @@ const ea = {
|
|
|
425
426
|
"icon-variant": "error",
|
|
426
427
|
message: o.errorStateMessage,
|
|
427
428
|
title: o.errorStateTitle
|
|
428
|
-
},
|
|
429
|
+
}, Pe({ _: 2 }, [
|
|
429
430
|
o.errorStateActionMessage ? {
|
|
430
431
|
name: "action",
|
|
431
432
|
fn: w(() => [
|
|
@@ -450,7 +451,7 @@ const ea = {
|
|
|
450
451
|
"icon-variant": o.emptyStateIconVariant,
|
|
451
452
|
message: o.emptyStateMessage,
|
|
452
453
|
title: o.emptyStateTitle
|
|
453
|
-
},
|
|
454
|
+
}, Pe({ _: 2 }, [
|
|
454
455
|
o.emptyStateActionMessage ? {
|
|
455
456
|
name: "action",
|
|
456
457
|
fn: w(() => [
|
|
@@ -475,12 +476,12 @@ const ea = {
|
|
|
475
476
|
R("div", {
|
|
476
477
|
ref: "table-wrapper",
|
|
477
478
|
class: "table-wrapper",
|
|
478
|
-
style:
|
|
479
|
+
style: Ke(Ye.value),
|
|
479
480
|
onScrollPassive: dt
|
|
480
481
|
}, [
|
|
481
482
|
R("table", {
|
|
482
483
|
ref: "table",
|
|
483
|
-
class:
|
|
484
|
+
class: p(["table", {
|
|
484
485
|
"has-hover": o.rowHover && !ce.value,
|
|
485
486
|
"is-clickable": de.value
|
|
486
487
|
}]),
|
|
@@ -488,19 +489,19 @@ const ea = {
|
|
|
488
489
|
}, [
|
|
489
490
|
o.hideHeaders ? b("", !0) : (r(), f("thead", {
|
|
490
491
|
key: 0,
|
|
491
|
-
class:
|
|
492
|
+
class: p({ "is-scrolled": X.value })
|
|
492
493
|
}, [
|
|
493
494
|
R("tr", {
|
|
494
495
|
ref: "header-row",
|
|
495
|
-
class:
|
|
496
|
+
class: p({ "is-scrolled": X.value })
|
|
496
497
|
}, [
|
|
497
498
|
(r(!0), f(Y, null, be(k.value, (t, n) => (r(), f("th", {
|
|
498
499
|
key: `table-${u(A)}-headers-${t.key}`,
|
|
499
|
-
"aria-sort": t.key === m.value ?
|
|
500
|
-
class:
|
|
500
|
+
"aria-sort": t.key === m.value ? h.value === "asc" ? "ascending" : "descending" : void 0,
|
|
501
|
+
class: p(["table-headers", at(t, n)]),
|
|
501
502
|
"data-key": t.key,
|
|
502
503
|
"data-testid": `table-header-${t.key}`,
|
|
503
|
-
style:
|
|
504
|
+
style: Ke(Ee.value[t.key]),
|
|
504
505
|
onClick: () => ot(t),
|
|
505
506
|
onMouseleave: a[8] || (a[8] = (l) => Q.value = ""),
|
|
506
507
|
onMouseover: (l) => Q.value = t.key
|
|
@@ -516,25 +517,25 @@ const ea = {
|
|
|
516
517
|
}, null, 40, sa)) : b("", !0),
|
|
517
518
|
R("div", {
|
|
518
519
|
"aria-describedby": t.tooltip || I[F(t.key)] ? `${F(t.key)}-${u(A)}` : void 0,
|
|
519
|
-
class:
|
|
520
|
+
class: p(["table-headers-container", { resized: W.value === t.key }])
|
|
520
521
|
}, [
|
|
521
522
|
t.key !== u(i).BULK_ACTIONS ? S(e.$slots, _e(t.key), {
|
|
522
523
|
key: 0,
|
|
523
524
|
column: t
|
|
524
525
|
}, () => [
|
|
525
526
|
R("span", {
|
|
526
|
-
class:
|
|
527
|
+
class: p(["table-header-label", {
|
|
527
528
|
"sr-only": t.hideLabel || t.key === u(i).ACTIONS && t.hideLabel !== !1
|
|
528
529
|
}])
|
|
529
530
|
}, J(t.label ? t.label : t.key), 3)
|
|
530
531
|
], !0) : (r(), f("div", ua, [
|
|
531
|
-
O(
|
|
532
|
+
O(De, {
|
|
532
533
|
modelValue: G.value,
|
|
533
534
|
"onUpdate:modelValue": a[5] || (a[5] = (l) => G.value = l),
|
|
534
535
|
"aria-label": "Toggle selection for all rows",
|
|
535
536
|
class: "table-header-bulk-actions-checkbox",
|
|
536
537
|
"data-testid": "table-header-bulk-actions-checkbox",
|
|
537
|
-
indeterminate:
|
|
538
|
+
indeterminate: ht.value,
|
|
538
539
|
onChange: wt
|
|
539
540
|
}, null, 8, ["modelValue", "indeterminate"])
|
|
540
541
|
])),
|
|
@@ -567,10 +568,10 @@ const ea = {
|
|
|
567
568
|
color: `var(--kui-color-text-primary, ${u(Ft)})`,
|
|
568
569
|
decorative: "",
|
|
569
570
|
size: u(re)
|
|
570
|
-
}, null, 8, ["color", "size"])) : (r(), T(u(
|
|
571
|
+
}, null, 8, ["color", "size"])) : (r(), T(u(Kt), {
|
|
571
572
|
key: 1,
|
|
572
573
|
class: "sort-icon",
|
|
573
|
-
color: `var(--kui-color-text-neutral-weak, ${u(
|
|
574
|
+
color: `var(--kui-color-text-neutral-weak, ${u(Dt)})`,
|
|
574
575
|
size: u(re),
|
|
575
576
|
title: `Sort by ${t.label}`
|
|
576
577
|
}, null, 8, ["color", "size", "title"]))
|
|
@@ -588,14 +589,14 @@ const ea = {
|
|
|
588
589
|
ee(t.key) ? (r(), f("div", {
|
|
589
590
|
key: 2,
|
|
590
591
|
"aria-hidden": "true",
|
|
591
|
-
class:
|
|
592
|
+
class: p(["scroll-overlay row-overlay left", {
|
|
592
593
|
"overlay-visible": B.value
|
|
593
594
|
}])
|
|
594
595
|
}, null, 2)) : b("", !0),
|
|
595
596
|
t.key === u(i).ACTIONS ? (r(), f("div", {
|
|
596
597
|
key: 3,
|
|
597
598
|
"aria-hidden": "true",
|
|
598
|
-
class:
|
|
599
|
+
class: p(["scroll-overlay row-overlay right", {
|
|
599
600
|
"overlay-visible": H.value
|
|
600
601
|
}])
|
|
601
602
|
}, null, 2)) : b("", !0)
|
|
@@ -652,7 +653,7 @@ const ea = {
|
|
|
652
653
|
text: fe(t) ? void 0 : vt(t)
|
|
653
654
|
}, {
|
|
654
655
|
default: w(() => [
|
|
655
|
-
O(
|
|
656
|
+
O(De, {
|
|
656
657
|
modelValue: oe(t).selected,
|
|
657
658
|
"onUpdate:modelValue": (c) => oe(t).selected = c,
|
|
658
659
|
"aria-label": "Toggle row selection",
|
|
@@ -668,7 +669,7 @@ const ea = {
|
|
|
668
669
|
ref: "actionsDropdown",
|
|
669
670
|
class: "actions-dropdown",
|
|
670
671
|
"data-testid": "actions-dropdown",
|
|
671
|
-
"kpop-attributes": { placement: "bottom-end", target: "body", popoverElementAttributes: ct(t, n) },
|
|
672
|
+
"kpop-attributes": { ...o.actionsDropdownPopoverAttributes, placement: "bottom-end", target: "body", popoverElementAttributes: ct(t, n) },
|
|
672
673
|
onToggleDropdown: (c) => it(t, c, s)
|
|
673
674
|
}, {
|
|
674
675
|
items: w(() => [
|
|
@@ -686,7 +687,7 @@ const ea = {
|
|
|
686
687
|
onMouseover: a[10] || (a[10] = (c) => ce.value = !0)
|
|
687
688
|
}, {
|
|
688
689
|
default: w(() => [
|
|
689
|
-
O(u(
|
|
690
|
+
O(u(Pt), {
|
|
690
691
|
class: "more-icon",
|
|
691
692
|
decorative: ""
|
|
692
693
|
})
|
|
@@ -703,7 +704,7 @@ const ea = {
|
|
|
703
704
|
"aria-controls": `table-${u(A)}-row-${n}-expandable-content`,
|
|
704
705
|
"aria-expanded": L.value.includes(n),
|
|
705
706
|
"aria-label": "Toggle row expandable content",
|
|
706
|
-
class:
|
|
707
|
+
class: p(["expandable-row-control", { expanded: L.value.includes(n) }]),
|
|
707
708
|
"data-testid": "expandable-row-control",
|
|
708
709
|
type: "button",
|
|
709
710
|
onClick: (c) => gt(n, t)
|
|
@@ -717,14 +718,14 @@ const ea = {
|
|
|
717
718
|
ee(l.key) ? (r(), f("div", {
|
|
718
719
|
key: 2,
|
|
719
720
|
"aria-hidden": "true",
|
|
720
|
-
class:
|
|
721
|
+
class: p(["scroll-overlay row-overlay left", {
|
|
721
722
|
"overlay-visible": B.value
|
|
722
723
|
}])
|
|
723
724
|
}, null, 2)) : b("", !0),
|
|
724
725
|
l.key === u(i).ACTIONS ? (r(), f("div", {
|
|
725
726
|
key: 3,
|
|
726
727
|
"aria-hidden": "true",
|
|
727
|
-
class:
|
|
728
|
+
class: p(["scroll-overlay row-overlay right", {
|
|
728
729
|
"overlay-visible": H.value
|
|
729
730
|
}])
|
|
730
731
|
}, null, 2)) : b("", !0)
|
|
@@ -733,7 +734,7 @@ const ea = {
|
|
|
733
734
|
_: 2
|
|
734
735
|
}, 1024))), 128))
|
|
735
736
|
], 16, ca),
|
|
736
|
-
|
|
737
|
+
D.value && o.rowExpandable(t) ? Ot((r(), f("tr", {
|
|
737
738
|
key: 0,
|
|
738
739
|
id: `table-${u(A)}-row-${n}-expandable-content`,
|
|
739
740
|
class: "expandable-content-row",
|
|
@@ -745,7 +746,7 @@ const ea = {
|
|
|
745
746
|
R("div", ka, [
|
|
746
747
|
S(e.$slots, "row-expanded", {
|
|
747
748
|
columnWidths: ze.value,
|
|
748
|
-
nestedHeaders:
|
|
749
|
+
nestedHeaders: pt.value,
|
|
749
750
|
row: t
|
|
750
751
|
}, void 0, !0)
|
|
751
752
|
])
|
|
@@ -757,17 +758,17 @@ const ea = {
|
|
|
757
758
|
])
|
|
758
759
|
], 10, na)
|
|
759
760
|
], 36),
|
|
760
|
-
!q.value && !
|
|
761
|
+
!q.value && !D.value ? (r(), f("div", {
|
|
761
762
|
key: 0,
|
|
762
763
|
"aria-hidden": "true",
|
|
763
|
-
class:
|
|
764
|
+
class: p(["scroll-overlay table-overlay left", {
|
|
764
765
|
"overlay-visible": B.value
|
|
765
766
|
}])
|
|
766
767
|
}, null, 2)) : b("", !0),
|
|
767
768
|
Xe.value ? b("", !0) : (r(), f("div", {
|
|
768
769
|
key: 1,
|
|
769
770
|
"aria-hidden": "true",
|
|
770
|
-
class:
|
|
771
|
+
class: p(["scroll-overlay table-overlay right", {
|
|
771
772
|
"overlay-visible": H.value,
|
|
772
773
|
"scrollbar-offset": ue.value
|
|
773
774
|
}])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, useSlots as x, useModel as M, ref as F, computed as v, watch as j, openBlock as s, createElementBlock as c, toDisplayString as B, createCommentVNode as b, Fragment as D, renderList as T, createVNode as w, unref as E, withCtx as K, renderSlot as U, createBlock as q, mergeModels as h } from "vue";
|
|
2
|
-
import G from "./kongponents.
|
|
3
|
-
import P from "./kongponents.
|
|
4
|
-
import { KUI_ANIMATION_DURATION_20 as R } from "./kongponents.
|
|
2
|
+
import G from "./kongponents.es236.js";
|
|
3
|
+
import P from "./kongponents.es237.js";
|
|
4
|
+
import { KUI_ANIMATION_DURATION_20 as R } from "./kongponents.es181.js";
|
|
5
5
|
const z = { class: "k-filter-group" }, H = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "label",
|
|
@@ -1,7 +1,121 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { defineComponent as h, computed as s, openBlock as d, createBlock as y, resolveDynamicComponent as b, normalizeStyle as k, withCtx as x, createElementBlock as S } from "vue";
|
|
2
|
+
import { KUI_ICON_SIZE_50 as c } from "./kongponents.es265.js";
|
|
3
|
+
const N = ["aria-hidden"], u = '<path d="M10.6 16.6L17.65 9.55L16.25 8.15L10.6 13.8L7.75 10.95L6.35 12.35L10.6 16.6ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z" fill="currentColor"/>', I = /* @__PURE__ */ h({
|
|
4
|
+
__name: "CheckCircleIcon",
|
|
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: c,
|
|
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 c;
|
|
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 = {}, v = Math.random().toString(36).substring(2, 12);
|
|
84
|
+
return a.replace(/id="([^"]+)"/g, (o, n) => {
|
|
85
|
+
const l = `${v}-${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
|
+
}, C = (a) => a.replace(/[<>"'&]/g, (t) => g[t]), m = `${e.title ? `<title data-testid="kui-icon-svg-title">${C(e.title)}</title>` : ""}${e.staticIds ? u : f(u)}`;
|
|
95
|
+
return (a, t) => (d(), y(b(r.as), {
|
|
96
|
+
"aria-hidden": r.decorative ? "true" : void 0,
|
|
97
|
+
class: "kui-icon check-circle-icon",
|
|
98
|
+
"data-testid": "kui-icon-wrapper-check-circle-icon",
|
|
99
|
+
style: k(p.value),
|
|
100
|
+
tabindex: r.decorative ? "-1" : void 0
|
|
101
|
+
}, {
|
|
102
|
+
default: x(() => [
|
|
103
|
+
(d(), S("svg", {
|
|
104
|
+
"aria-hidden": r.decorative ? "true" : void 0,
|
|
105
|
+
"data-testid": "kui-icon-svg-check-circle-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: m
|
|
113
|
+
}, null, 8, N))
|
|
114
|
+
]),
|
|
115
|
+
_: 1
|
|
116
|
+
}, 8, ["aria-hidden", "style", "tabindex"]));
|
|
117
|
+
}
|
|
118
|
+
});
|
|
5
119
|
export {
|
|
6
|
-
|
|
120
|
+
I as default
|
|
7
121
|
};
|