@kong/kongponents 9.48.10-pr.3042.f75d935.0 → 9.49.1-pr.3042.f75d935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kongponents.css +1 -1
- package/dist/kongponents.es105.js +5 -5
- package/dist/kongponents.es107.js +3 -3
- package/dist/kongponents.es109.js +4 -4
- package/dist/kongponents.es113.js +2 -2
- package/dist/kongponents.es115.js +5 -5
- package/dist/kongponents.es117.js +2 -2
- package/dist/kongponents.es119.js +11 -11
- package/dist/kongponents.es122.js +6 -6
- package/dist/kongponents.es124.js +7 -7
- package/dist/kongponents.es128.js +2 -2
- package/dist/kongponents.es130.js +1 -1
- package/dist/kongponents.es132.js +9 -9
- package/dist/kongponents.es139.js +4 -4
- package/dist/kongponents.es141.js +1 -1
- package/dist/kongponents.es143.js +7 -7
- package/dist/kongponents.es147.js +2 -2
- package/dist/kongponents.es149.js +7 -7
- package/dist/kongponents.es151.js +1 -1
- package/dist/kongponents.es154.js +4 -4
- package/dist/kongponents.es156.js +5 -5
- package/dist/kongponents.es158.js +3 -3
- package/dist/kongponents.es160.js +13 -13
- package/dist/kongponents.es163.js +57 -53
- package/dist/kongponents.es165.js +18 -117
- package/dist/kongponents.es166.js +9 -119
- package/dist/kongponents.es167.js +7 -118
- package/dist/kongponents.es168.js +4 -119
- package/dist/kongponents.es169.js +3 -119
- package/dist/kongponents.es170.js +9 -119
- package/dist/kongponents.es171.js +108 -18
- package/dist/kongponents.es172.js +119 -5
- package/dist/kongponents.es173.js +16 -16
- package/dist/kongponents.es174.js +34 -34
- package/dist/kongponents.es175.js +19 -19
- package/dist/kongponents.es176.js +118 -23
- package/dist/kongponents.es177.js +119 -3
- package/dist/kongponents.es178.js +18 -20
- package/dist/kongponents.es179.js +5 -9
- package/dist/kongponents.es180.js +118 -7
- package/dist/kongponents.es181.js +119 -4
- package/dist/kongponents.es182.js +316 -8
- package/dist/kongponents.es183.js +38 -107
- package/dist/kongponents.es184.js +97 -118
- package/dist/kongponents.es185.js +30 -30
- package/dist/kongponents.es186.js +30 -30
- package/dist/kongponents.es187.js +23 -23
- package/dist/kongponents.es188.js +13 -13
- package/dist/kongponents.es189.js +18 -18
- package/dist/kongponents.es19.js +1 -1
- package/dist/kongponents.es190.js +120 -5
- package/dist/kongponents.es191.js +119 -5
- package/dist/kongponents.es192.js +18 -7
- package/dist/kongponents.es193.js +51 -4
- package/dist/kongponents.es194.js +115 -185
- package/dist/kongponents.es195.js +119 -5
- package/dist/kongponents.es196.js +119 -5
- package/dist/kongponents.es197.js +21 -22
- package/dist/kongponents.es198.js +115 -162
- package/dist/kongponents.es200.js +115 -13
- package/dist/kongponents.es201.js +5 -396
- package/dist/kongponents.es202.js +7 -17
- package/dist/kongponents.es203.js +59 -118
- package/dist/kongponents.es204.js +162 -115
- package/dist/kongponents.es205.js +20 -20
- package/dist/kongponents.es206.js +28 -28
- package/dist/kongponents.es207.js +4 -4
- package/dist/kongponents.es208.js +4 -4
- package/dist/kongponents.es209.js +119 -5
- package/dist/kongponents.es21.js +8 -8
- package/dist/kongponents.es210.js +24 -5
- package/dist/kongponents.es211.js +114 -5
- package/dist/kongponents.es212.js +17 -5
- package/dist/kongponents.es213.js +396 -5
- package/dist/kongponents.es214.js +1 -1
- package/dist/kongponents.es215.js +1 -1
- package/dist/kongponents.es216.js +5 -119
- package/dist/kongponents.es217.js +7 -0
- package/dist/kongponents.es218.js +5 -119
- package/dist/kongponents.es219.js +3 -3
- package/dist/kongponents.es220.js +5 -8
- package/dist/kongponents.es221.js +5 -60
- package/dist/kongponents.es222.js +22 -22
- package/dist/kongponents.es223.js +5 -119
- package/dist/kongponents.es224.js +20 -20
- package/dist/kongponents.es225.js +4 -4
- package/dist/kongponents.es226.js +7 -102
- package/dist/kongponents.es227.js +186 -314
- package/dist/kongponents.es228.js +118 -38
- package/dist/kongponents.es229.js +101 -97
- package/dist/kongponents.es230.js +5 -119
- package/dist/kongponents.es231.js +16 -16
- package/dist/kongponents.es232.js +16 -16
- package/dist/kongponents.es233.js +5 -52
- package/dist/kongponents.es234.js +5 -119
- package/dist/kongponents.es235.js +10 -119
- package/dist/kongponents.es236.js +5 -119
- package/dist/kongponents.es237.js +119 -5
- package/dist/kongponents.es238.js +119 -10
- package/dist/kongponents.es239.js +2 -24
- package/dist/kongponents.es24.js +1 -1
- package/dist/{kongponents.es251.js → kongponents.es240.js} +1 -1
- package/dist/kongponents.es241.js +318 -46
- package/dist/kongponents.es242.js +25 -0
- package/dist/kongponents.es243.js +46 -28
- package/dist/kongponents.es245.js +6 -23
- package/dist/kongponents.es246.js +26 -0
- package/dist/kongponents.es248.js +50 -0
- package/dist/kongponents.es250.js +36 -0
- package/dist/kongponents.es252.js +22 -319
- package/dist/kongponents.es254.js +45 -23
- package/dist/kongponents.es258.js +186 -0
- package/dist/kongponents.es26.js +4 -4
- package/dist/kongponents.es261.js +587 -90
- package/dist/kongponents.es263.js +2 -45
- package/dist/kongponents.es264.js +4 -0
- package/dist/kongponents.es265.js +110 -583
- package/dist/kongponents.es266.js +119 -2
- package/dist/kongponents.es267.js +12 -12
- package/dist/kongponents.es268.js +86 -114
- package/dist/kongponents.es270.js +37 -52
- package/dist/kongponents.es272.js +95 -6
- package/dist/kongponents.es274.js +45 -2
- package/dist/kongponents.es276.js +7 -0
- package/dist/kongponents.es277.js +5 -184
- package/dist/kongponents.es278.js +22 -0
- package/dist/kongponents.es279.js +4 -217
- package/dist/kongponents.es28.js +2 -2
- package/dist/kongponents.es280.js +5 -64
- package/dist/kongponents.es281.js +8 -0
- package/dist/kongponents.es282.js +9 -2
- package/dist/kongponents.es283.js +5 -1556
- package/dist/kongponents.es284.js +4 -5
- package/dist/kongponents.es285.js +17 -2
- package/dist/kongponents.es286.js +4 -6
- package/dist/kongponents.es287.js +8 -5
- package/dist/kongponents.es288.js +7 -5
- package/dist/kongponents.es289.js +3 -19
- package/dist/kongponents.es290.js +2 -4
- package/dist/kongponents.es291.js +5 -4
- package/dist/kongponents.es292.js +9 -5
- package/dist/kongponents.es293.js +4 -8
- package/dist/kongponents.es294.js +3 -5
- package/dist/kongponents.es295.js +3 -4
- package/dist/kongponents.es296.js +3 -16
- package/dist/kongponents.es297.js +7 -3
- package/dist/kongponents.es298.js +7 -8
- package/dist/kongponents.es299.js +4 -6
- package/dist/kongponents.es300.js +9 -3
- package/dist/kongponents.es301.js +6 -2
- package/dist/kongponents.es302.js +9 -6
- package/dist/kongponents.es303.js +6 -9
- package/dist/kongponents.es304.js +17 -4
- package/dist/kongponents.es305.js +12 -4
- package/dist/kongponents.es306.js +7 -3
- package/dist/kongponents.es307.js +12 -3
- package/dist/kongponents.es308.js +9 -7
- package/dist/kongponents.es309.js +5 -6
- package/dist/kongponents.es310.js +9 -5
- package/dist/kongponents.es311.js +15 -9
- package/dist/kongponents.es312.js +17 -5
- package/dist/kongponents.es313.js +6 -9
- package/dist/kongponents.es314.js +10 -6
- package/dist/kongponents.es315.js +6 -17
- package/dist/kongponents.es316.js +7 -11
- package/dist/kongponents.es317.js +5 -6
- package/dist/kongponents.es318.js +6 -12
- package/dist/kongponents.es319.js +9 -9
- package/dist/kongponents.es320.js +7 -5
- package/dist/kongponents.es321.js +3 -8
- package/dist/kongponents.es322.js +5 -15
- package/dist/kongponents.es323.js +15 -17
- package/dist/kongponents.es324.js +56 -6
- package/dist/kongponents.es326.js +8 -6
- package/dist/kongponents.es327.js +6 -7
- package/dist/kongponents.es328.js +7 -5
- package/dist/kongponents.es329.js +4 -6
- package/dist/kongponents.es330.js +8 -8
- package/dist/kongponents.es331.js +8 -7
- package/dist/kongponents.es332.js +636 -3
- package/dist/kongponents.es333.js +74 -6
- package/dist/kongponents.es334.js +4 -15
- package/dist/kongponents.es335.js +17 -367
- package/dist/kongponents.es336.js +4 -129
- package/dist/kongponents.es337.js +17 -94
- package/dist/kongponents.es338.js +10 -0
- package/dist/kongponents.es339.js +5 -8
- package/dist/kongponents.es340.js +8 -6
- package/dist/kongponents.es341.js +7 -7
- package/dist/kongponents.es342.js +4 -4
- package/dist/kongponents.es343.js +20 -9
- package/dist/kongponents.es344.js +5 -9
- package/dist/kongponents.es345.js +57 -583
- package/dist/kongponents.es346.js +169 -71
- package/dist/kongponents.es347.js +5 -5
- package/dist/kongponents.es348.js +6 -19
- package/dist/kongponents.es349.js +5 -5
- package/dist/kongponents.es350.js +5 -18
- package/dist/kongponents.es351.js +69 -7
- package/dist/kongponents.es352.js +2 -6
- package/dist/kongponents.es353.js +176 -9
- package/dist/kongponents.es355.js +64 -5
- package/dist/kongponents.es357.js +217 -5
- package/dist/kongponents.es358.js +365 -106
- package/dist/kongponents.es359.js +122 -164
- package/dist/kongponents.es360.js +2 -5
- package/dist/kongponents.es361.js +5773 -6
- package/dist/kongponents.es362.js +1557 -5
- package/dist/kongponents.es363.js +5 -5
- package/dist/kongponents.es364.js +6 -70
- package/dist/kongponents.es365.js +8 -2
- package/dist/kongponents.es366.js +5 -5773
- package/dist/kongponents.es367.js +9 -25
- package/dist/kongponents.es368.js +5 -10
- package/dist/kongponents.es369.js +9 -16
- package/dist/kongponents.es370.js +14 -7
- package/dist/kongponents.es371.js +3 -6
- package/dist/kongponents.es372.js +7 -8
- package/dist/kongponents.es373.js +3 -6
- package/dist/kongponents.es374.js +8 -7
- package/dist/kongponents.es375.js +7 -14
- package/dist/kongponents.es376.js +6 -3
- package/dist/kongponents.es377.js +2 -8
- package/dist/kongponents.es378.js +13 -3
- package/dist/kongponents.es379.js +4 -10
- package/dist/kongponents.es380.js +3 -8
- package/dist/kongponents.es381.js +26 -6
- package/dist/kongponents.es382.js +4 -2
- package/dist/kongponents.es383.js +3 -12
- package/dist/kongponents.es384.js +4 -5
- package/dist/kongponents.es385.js +4 -3
- package/dist/kongponents.es386.js +4 -26
- package/dist/kongponents.es387.js +14 -3
- package/dist/kongponents.es388.js +6 -4
- package/dist/kongponents.es389.js +30 -4
- package/dist/kongponents.es390.js +27 -4
- package/dist/kongponents.es391.js +16 -4
- package/dist/kongponents.es392.js +8 -13
- package/dist/kongponents.es393.js +4 -5
- package/dist/kongponents.es394.js +13 -29
- package/dist/kongponents.es395.js +8 -26
- package/dist/kongponents.es396.js +3 -16
- package/dist/kongponents.es397.js +5 -9
- package/dist/kongponents.es398.js +5 -4
- package/dist/kongponents.es399.js +7 -13
- package/dist/kongponents.es400.js +5 -8
- package/dist/kongponents.es401.js +10 -2
- package/dist/kongponents.es402.js +5 -5
- package/dist/kongponents.es403.js +4 -5
- package/dist/kongponents.es404.js +4 -7
- package/dist/kongponents.es405.js +5 -5
- package/dist/kongponents.es406.js +8 -11
- package/dist/kongponents.es407.js +6 -5
- package/dist/kongponents.es408.js +10 -5
- package/dist/kongponents.es409.js +6 -4
- package/dist/kongponents.es410.js +21 -5
- package/dist/kongponents.es411.js +7 -8
- package/dist/kongponents.es412.js +6 -6
- package/dist/kongponents.es413.js +7 -10
- package/dist/kongponents.es414.js +8 -6
- package/dist/kongponents.es415.js +25 -22
- package/dist/kongponents.es416.js +95 -7
- package/dist/kongponents.es418.js +10 -6
- package/dist/kongponents.es419.js +10 -8
- package/dist/kongponents.es420.js +12 -10
- package/dist/kongponents.es421.js +10 -10
- package/dist/kongponents.es422.js +18 -12
- package/dist/kongponents.es423.js +5 -10
- package/dist/kongponents.es424.js +55 -19
- package/dist/kongponents.es425.js +2 -6
- package/dist/kongponents.es426.js +17 -54
- package/dist/kongponents.es427.js +2 -2
- package/dist/kongponents.es428.js +11 -16
- package/dist/kongponents.es429.js +18 -2
- package/dist/kongponents.es430.js +63 -11
- package/dist/kongponents.es431.js +4 -17
- package/dist/kongponents.es432.js +1 -1
- package/dist/kongponents.es434.js +1 -1
- package/dist/kongponents.es435.js +1 -1
- package/dist/kongponents.es436.js +1 -1
- package/dist/kongponents.es437.js +1 -1
- package/dist/kongponents.es439.js +1 -1
- package/dist/kongponents.es441.js +1 -1
- package/dist/kongponents.es444.js +1 -1
- package/dist/kongponents.es446.js +2 -65
- package/dist/kongponents.es447.js +2 -5
- package/dist/kongponents.es448.js +11 -2
- package/dist/kongponents.es449.js +17 -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 +5 -5
- package/dist/kongponents.es466.js +1 -1
- package/dist/kongponents.es467.js +5 -5
- package/dist/kongponents.es468.js +1 -1
- package/dist/kongponents.es469.js +2 -2
- package/dist/kongponents.es470.js +2 -2
- package/dist/kongponents.es471.js +4 -4
- package/dist/kongponents.es472.js +4 -4
- package/dist/kongponents.es481.js +1 -1
- package/dist/kongponents.es483.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.es491.js +1 -1
- package/dist/kongponents.es493.js +1 -1
- package/dist/kongponents.es499.js +1 -1
- package/dist/kongponents.es501.js +4 -29
- package/dist/kongponents.es502.js +3 -119
- package/dist/kongponents.es503.js +9 -29
- package/dist/kongponents.es504.js +5 -10
- package/dist/kongponents.es505.js +4 -13
- package/dist/kongponents.es506.js +5 -32
- package/dist/kongponents.es507.js +3 -29
- package/dist/kongponents.es508.js +4 -10
- package/dist/kongponents.es509.js +4 -12
- package/dist/kongponents.es510.js +4 -17
- package/dist/kongponents.es511.js +10 -23
- package/dist/kongponents.es512.js +6 -16
- package/dist/kongponents.es513.js +6 -96
- package/dist/kongponents.es514.js +29 -45
- package/dist/kongponents.es515.js +118 -27
- package/dist/kongponents.es516.js +28 -70
- package/dist/kongponents.es517.js +9 -50
- package/dist/kongponents.es518.js +13 -34
- package/dist/kongponents.es519.js +29 -38
- package/dist/kongponents.es520.js +28 -3
- package/dist/kongponents.es521.js +10 -3
- package/dist/kongponents.es522.js +12 -9
- package/dist/kongponents.es523.js +17 -5
- package/dist/kongponents.es524.js +23 -4
- package/dist/kongponents.es525.js +16 -5
- package/dist/kongponents.es526.js +97 -3
- package/dist/kongponents.es527.js +44 -4
- package/dist/kongponents.es528.js +28 -4
- package/dist/kongponents.es529.js +70 -9
- package/dist/kongponents.es530.js +51 -6
- package/dist/kongponents.es531.js +34 -6
- package/dist/kongponents.es532.js +41 -4
- package/dist/kongponents.es542.js +1 -1
- package/dist/kongponents.es543.js +2 -2
- package/dist/kongponents.es546.js +2 -2
- package/dist/kongponents.es547.js +2 -2
- package/dist/kongponents.es553.js +1 -1
- package/dist/kongponents.es555.js +1 -1
- package/dist/kongponents.es556.js +1 -1
- package/dist/kongponents.es557.js +7 -20
- package/dist/kongponents.es558.js +3 -8
- package/dist/kongponents.es560.js +3 -6
- package/dist/kongponents.es561.js +15 -7
- package/dist/kongponents.es562.js +3 -5
- package/dist/kongponents.es563.js +10 -4
- package/dist/kongponents.es564.js +3 -6
- package/dist/kongponents.es565.js +4 -14
- package/dist/kongponents.es567.js +7 -4
- package/dist/kongponents.es568.js +4 -4
- package/dist/kongponents.es569.js +3 -6
- package/dist/kongponents.es570.js +4 -31
- package/dist/kongponents.es571.js +11 -34
- package/dist/kongponents.es572.js +9 -51
- package/dist/kongponents.es573.js +30 -8
- package/dist/kongponents.es574.js +24 -4
- package/dist/kongponents.es575.js +51 -5
- package/dist/kongponents.es576.js +3 -3
- package/dist/kongponents.es577.js +8 -15
- package/dist/kongponents.es578.js +20 -3
- package/dist/kongponents.es579.js +7 -9
- package/dist/kongponents.es580.js +6 -3
- package/dist/kongponents.es581.js +5 -11
- package/dist/kongponents.es582.js +7 -9
- package/dist/kongponents.es583.js +15 -24
- package/dist/kongponents.es584.js +4 -3
- package/dist/kongponents.es585.js +6 -8
- package/dist/kongponents.es586.js +34 -7
- package/dist/kongponents.es587.js +9 -3
- package/dist/kongponents.es597.js +1 -1
- package/dist/kongponents.es599.js +1 -1
- package/dist/kongponents.es600.js +1 -1
- package/dist/kongponents.es601.js +1 -1
- package/dist/kongponents.es604.js +2 -2
- package/dist/kongponents.es605.js +4 -4
- package/dist/kongponents.es607.js +2 -2
- package/dist/kongponents.es608.js +2 -2
- package/dist/kongponents.es609.js +2 -2
- package/dist/kongponents.es69.js +2 -2
- package/dist/kongponents.es72.js +7 -7
- package/dist/kongponents.es75.js +1 -1
- package/dist/kongponents.es77.js +1 -1
- package/dist/kongponents.es83.js +1 -1
- package/dist/kongponents.es87.js +3 -3
- package/dist/kongponents.es89.js +16 -16
- package/dist/kongponents.es94.js +2 -2
- package/dist/kongponents.es96.js +6 -6
- package/dist/kongponents.es99.js +2 -2
- package/dist/kongponents.umd.js +10 -10
- package/dist/kongponents105.cjs +1 -1
- package/dist/kongponents107.cjs +1 -1
- package/dist/kongponents109.cjs +1 -1
- package/dist/kongponents113.cjs +1 -1
- package/dist/kongponents115.cjs +1 -1
- package/dist/kongponents117.cjs +1 -1
- package/dist/kongponents119.cjs +1 -1
- package/dist/kongponents122.cjs +1 -1
- package/dist/kongponents124.cjs +1 -1
- package/dist/kongponents128.cjs +1 -1
- package/dist/kongponents130.cjs +1 -1
- package/dist/kongponents132.cjs +1 -1
- package/dist/kongponents139.cjs +1 -1
- package/dist/kongponents141.cjs +1 -1
- package/dist/kongponents143.cjs +1 -1
- package/dist/kongponents147.cjs +1 -1
- package/dist/kongponents149.cjs +1 -1
- package/dist/kongponents151.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/kongponents163.cjs +1 -1
- package/dist/kongponents165.cjs +1 -1
- package/dist/kongponents166.cjs +1 -1
- package/dist/kongponents167.cjs +1 -1
- package/dist/kongponents168.cjs +1 -1
- package/dist/kongponents169.cjs +1 -1
- package/dist/kongponents170.cjs +1 -1
- package/dist/kongponents171.cjs +1 -1
- package/dist/kongponents172.cjs +1 -1
- package/dist/kongponents173.cjs +1 -1
- package/dist/kongponents174.cjs +1 -1
- package/dist/kongponents175.cjs +1 -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 -1
- package/dist/kongponents182.cjs +1 -1
- package/dist/kongponents183.cjs +1 -1
- package/dist/kongponents184.cjs +2 -1
- package/dist/kongponents185.cjs +1 -1
- package/dist/kongponents186.cjs +1 -1
- package/dist/kongponents187.cjs +1 -1
- package/dist/kongponents188.cjs +1 -1
- package/dist/kongponents189.cjs +1 -1
- package/dist/kongponents19.cjs +1 -1
- package/dist/kongponents190.cjs +2 -1
- package/dist/kongponents191.cjs +1 -1
- 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 -2
- package/dist/kongponents198.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/kongponents21.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 -0
- 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 -5
- package/dist/kongponents227.cjs +1 -1
- package/dist/kongponents228.cjs +1 -1
- package/dist/kongponents229.cjs +5 -2
- package/dist/kongponents230.cjs +1 -1
- package/dist/kongponents231.cjs +1 -1
- package/dist/kongponents232.cjs +1 -1
- package/dist/kongponents233.cjs +1 -1
- package/dist/kongponents234.cjs +1 -1
- package/dist/kongponents235.cjs +1 -1
- package/dist/kongponents236.cjs +1 -1
- package/dist/kongponents237.cjs +1 -1
- package/dist/kongponents238.cjs +1 -1
- package/dist/kongponents239.cjs +1 -1
- package/dist/kongponents24.cjs +1 -1
- package/dist/{kongponents251.cjs → kongponents240.cjs} +1 -1
- package/dist/kongponents241.cjs +1 -1
- package/dist/kongponents242.cjs +1 -0
- package/dist/kongponents243.cjs +1 -1
- package/dist/kongponents245.cjs +1 -1
- package/dist/kongponents246.cjs +1 -0
- package/dist/kongponents248.cjs +1 -0
- package/dist/kongponents250.cjs +1 -0
- package/dist/kongponents252.cjs +1 -1
- package/dist/kongponents254.cjs +1 -1
- package/dist/kongponents258.cjs +1 -0
- package/dist/kongponents26.cjs +1 -1
- package/dist/kongponents261.cjs +6 -1
- package/dist/kongponents263.cjs +1 -1
- package/dist/kongponents264.cjs +1 -0
- package/dist/kongponents265.cjs +1 -6
- package/dist/kongponents266.cjs +1 -1
- package/dist/kongponents267.cjs +1 -1
- package/dist/kongponents268.cjs +1 -1
- package/dist/kongponents270.cjs +1 -1
- package/dist/kongponents272.cjs +1 -1
- package/dist/kongponents274.cjs +1 -1
- package/dist/kongponents276.cjs +1 -0
- package/dist/kongponents277.cjs +1 -1
- package/dist/kongponents278.cjs +1 -0
- package/dist/kongponents279.cjs +1 -4
- package/dist/kongponents28.cjs +1 -1
- package/dist/kongponents280.cjs +1 -1
- package/dist/kongponents281.cjs +1 -0
- package/dist/kongponents282.cjs +1 -1
- package/dist/kongponents283.cjs +1 -10
- 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/kongponents323.cjs +1 -1
- package/dist/kongponents324.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/kongponents338.cjs +1 -0
- 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/kongponents355.cjs +1 -1
- package/dist/kongponents357.cjs +4 -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 +10 -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/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/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/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/kongponents427.cjs +1 -1
- package/dist/kongponents428.cjs +1 -1
- package/dist/kongponents429.cjs +1 -1
- package/dist/kongponents430.cjs +1 -1
- package/dist/kongponents431.cjs +1 -1
- package/dist/kongponents432.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/kongponents439.cjs +1 -1
- package/dist/kongponents441.cjs +1 -1
- package/dist/kongponents444.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/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/kongponents467.cjs +1 -1
- package/dist/kongponents468.cjs +1 -1
- package/dist/kongponents469.cjs +1 -1
- package/dist/kongponents470.cjs +1 -1
- package/dist/kongponents471.cjs +1 -1
- package/dist/kongponents472.cjs +1 -1
- package/dist/kongponents481.cjs +1 -1
- package/dist/kongponents483.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/kongponents491.cjs +1 -1
- package/dist/kongponents493.cjs +1 -1
- package/dist/kongponents499.cjs +1 -1
- package/dist/kongponents501.cjs +1 -1
- package/dist/kongponents502.cjs +1 -1
- package/dist/kongponents503.cjs +1 -1
- package/dist/kongponents504.cjs +1 -1
- package/dist/kongponents505.cjs +1 -1
- package/dist/kongponents506.cjs +1 -1
- package/dist/kongponents507.cjs +1 -1
- package/dist/kongponents508.cjs +1 -1
- package/dist/kongponents509.cjs +1 -1
- package/dist/kongponents510.cjs +1 -1
- package/dist/kongponents511.cjs +1 -1
- package/dist/kongponents512.cjs +1 -1
- package/dist/kongponents513.cjs +1 -1
- package/dist/kongponents514.cjs +1 -1
- package/dist/kongponents515.cjs +1 -1
- package/dist/kongponents516.cjs +1 -1
- package/dist/kongponents517.cjs +1 -1
- package/dist/kongponents518.cjs +1 -1
- package/dist/kongponents519.cjs +1 -1
- package/dist/kongponents520.cjs +1 -1
- package/dist/kongponents521.cjs +1 -1
- package/dist/kongponents522.cjs +1 -1
- package/dist/kongponents523.cjs +1 -1
- package/dist/kongponents524.cjs +1 -1
- package/dist/kongponents525.cjs +1 -1
- package/dist/kongponents526.cjs +1 -1
- package/dist/kongponents527.cjs +1 -1
- package/dist/kongponents528.cjs +1 -1
- package/dist/kongponents529.cjs +1 -1
- package/dist/kongponents530.cjs +1 -1
- package/dist/kongponents531.cjs +1 -1
- package/dist/kongponents532.cjs +1 -1
- package/dist/kongponents542.cjs +1 -1
- package/dist/kongponents543.cjs +1 -1
- package/dist/kongponents546.cjs +1 -1
- package/dist/kongponents547.cjs +1 -1
- package/dist/kongponents553.cjs +1 -1
- package/dist/kongponents555.cjs +1 -1
- package/dist/kongponents556.cjs +1 -1
- package/dist/kongponents557.cjs +1 -1
- package/dist/kongponents558.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/kongponents567.cjs +1 -1
- package/dist/kongponents568.cjs +1 -1
- package/dist/kongponents569.cjs +1 -1
- package/dist/kongponents570.cjs +1 -1
- package/dist/kongponents571.cjs +1 -1
- package/dist/kongponents572.cjs +1 -1
- package/dist/kongponents573.cjs +1 -1
- package/dist/kongponents574.cjs +1 -1
- package/dist/kongponents575.cjs +1 -1
- package/dist/kongponents576.cjs +1 -1
- package/dist/kongponents577.cjs +1 -1
- package/dist/kongponents578.cjs +1 -1
- package/dist/kongponents579.cjs +1 -1
- package/dist/kongponents580.cjs +1 -1
- package/dist/kongponents581.cjs +1 -1
- package/dist/kongponents582.cjs +1 -1
- package/dist/kongponents583.cjs +1 -1
- package/dist/kongponents584.cjs +1 -1
- package/dist/kongponents585.cjs +1 -1
- package/dist/kongponents586.cjs +1 -1
- package/dist/kongponents587.cjs +1 -1
- package/dist/kongponents597.cjs +1 -1
- package/dist/kongponents599.cjs +1 -1
- package/dist/kongponents600.cjs +1 -1
- package/dist/kongponents601.cjs +1 -1
- package/dist/kongponents604.cjs +1 -1
- package/dist/kongponents605.cjs +1 -1
- package/dist/kongponents69.cjs +1 -1
- package/dist/kongponents72.cjs +1 -1
- package/dist/kongponents75.cjs +1 -1
- package/dist/kongponents77.cjs +1 -1
- package/dist/kongponents83.cjs +1 -1
- package/dist/kongponents87.cjs +1 -1
- package/dist/kongponents89.cjs +1 -1
- package/dist/kongponents94.cjs +1 -1
- package/dist/kongponents96.cjs +1 -1
- package/dist/kongponents99.cjs +1 -1
- package/package.json +1 -1
- package/dist/kongponents.es199.js +0 -116
- package/dist/kongponents.es247.js +0 -47
- package/dist/kongponents.es255.js +0 -93
- package/dist/kongponents.es257.js +0 -43
- package/dist/kongponents.es259.js +0 -54
- package/dist/kongponents.es269.js +0 -121
- package/dist/kongponents.es275.js +0 -178
- package/dist/kongponents.es325.js +0 -13
- package/dist/kongponents.es354.js +0 -10
- package/dist/kongponents.es356.js +0 -23
- package/dist/kongponents.es417.js +0 -9
- package/dist/kongponents199.cjs +0 -1
- package/dist/kongponents247.cjs +0 -1
- package/dist/kongponents255.cjs +0 -1
- package/dist/kongponents257.cjs +0 -1
- package/dist/kongponents259.cjs +0 -1
- package/dist/kongponents269.cjs +0 -1
- package/dist/kongponents275.cjs +0 -1
- package/dist/kongponents325.cjs +0 -1
- package/dist/kongponents354.cjs +0 -1
- package/dist/kongponents356.cjs +0 -1
- package/dist/kongponents417.cjs +0 -1
- /package/dist/{kongponents.es249.js → kongponents.es256.js} +0 -0
- /package/dist/{kongponents.es273.js → kongponents.es262.js} +0 -0
- /package/dist/{kongponents249.cjs → kongponents256.cjs} +0 -0
- /package/dist/{kongponents273.cjs → kongponents262.cjs} +0 -0
package/dist/kongponents72.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("./kongponents4.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const d=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("./kongponents4.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const d=require("./kongponents194.cjs"),m=require("./kongponents187.cjs"),p=require("./kongponents195.cjs"),a=require("./kongponents196.cjs"),k=require("./kongponents197.cjs"),f=require("./kongponents177.cjs"),i=require("./kongponents178.cjs"),g={key:0,class:"alert-icon-container"},v={class:"alert-content"},y={key:0,class:"alert-title"},I={key:1,class:"alert-message"},A=e.defineComponent({__name:"KAlert",props:{title:{default:""},message:{default:""},appearance:{default:()=>n.AlertAppearances.info},showIcon:{type:Boolean},dismissible:{type:Boolean}},emits:["dismiss"],setup(t,{emit:c}){const r=c,u=e.computed(()=>{switch(t.appearance){case n.AlertAppearances.info:return a.default;case n.AlertAppearances.success:return d.default;case n.AlertAppearances.warning:return f.default;case n.AlertAppearances.danger:return p.default;case n.AlertAppearances.decorative:return k.default;default:return a.default}});return(o,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-alert",[t.appearance]])},[t.showIcon||o.$slots.icon?(e.openBlock(),e.createElementBlock("div",g,[e.renderSlot(o.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"alert-icon",decorative:"",size:e.unref(i.KUI_ICON_SIZE_40)},null,8,["size"]))])])):e.createCommentVNode("",!0),e.createElementVNode("div",v,[t.title?(e.openBlock(),e.createElementBlock("span",y,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),t.message||o.$slots.default?(e.openBlock(),e.createElementBlock("div",I,[e.renderSlot(o.$slots,"default",{},()=>[e.createElementVNode("p",null,e.toDisplayString(t.message),1)])])):e.createCommentVNode("",!0)]),t.dismissible?(e.openBlock(),e.createBlock(e.unref(m.default),{key:1,class:"alert-dismiss-icon",size:e.unref(i.KUI_ICON_SIZE_40),tabindex:"0",onClick:s[0]||(s[0]=l=>r("dismiss")),onKeydown:s[1]||(s[1]=e.withKeys(e.withModifiers(()=>{},["prevent"]),["space"])),onKeyup:[s[2]||(s[2]=e.withKeys(l=>r("dismiss"),["enter"])),s[3]||(s[3]=e.withKeys(l=>r("dismiss"),["space"]))]},null,8,["size"])):e.createCommentVNode("",!0)],2))}});exports.default=A;
|
package/dist/kongponents75.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("./kongponents24.cjs");;/* empty css */const c=require("./kongponents5.cjs");require("./kongponents10.cjs");const f=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("./kongponents24.cjs");;/* empty css */const c=require("./kongponents5.cjs");require("./kongponents10.cjs");const f=require("./kongponents179.cjs"),m=["tabindex"],v=e.defineComponent({__name:"KBadge",props:{appearance:{default:"info"},size:{default:"medium"},tooltip:{default:""},truncationTooltip:{type:Boolean,default:!1},maxWidth:{default:"200px"},iconBefore:{type:Boolean,default:!0},tooltipAttributes:{default:()=>({})}},setup(t){e.useCssVars(a=>({v815b0bb8:u.value}));const l=e.computed(()=>Object.keys(c.BadgeMethodAppearances).includes(t.appearance)),o=e.ref(),i=e.ref(!1),u=e.computed(()=>f.normalizeSize(t.maxWidth)),d=async()=>{var a,n;o.value&&(await e.nextTick(),i.value=((a=o.value)==null?void 0:a.offsetWidth)<((n=o.value)==null?void 0:n.scrollWidth))},r=e.computed(()=>t.tooltip?t.truncationTooltip?i.value:!0:!1);return e.onMounted(()=>{d()}),(a,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-badge",[t.appearance,t.size,{method:l.value}]])},[e.createVNode(s.default,e.mergeProps({text:r.value?t.tooltip:void 0},t.tooltipAttributes),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["badge-content",{"icon-after":!t.iconBefore}]),tabindex:r.value?0:void 0},[a.$slots.icon?e.renderSlot(a.$slots,"icon",{key:0},void 0,!0):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"badgeTextElement",ref:o,class:"badge-content-wrapper"},[e.renderSlot(a.$slots,"default",{},void 0,!0)],512)],10,m)]),_:3},16,["text"])],2))}});exports.default=v;
|
package/dist/kongponents77.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("./kongponents179.cjs"),u={key:0,class:"breadcrumbs-icon-container"},i={key:0,class:"breadcrumbs-divider"},d=e.defineComponent({inheritAttrs:!1,__name:"KBreadcrumbs",props:{items:{},itemMaxWidth:{default:"100px"}},setup(s){const a=t=>{const o=t.title||t.text;return t.to?typeof t.to=="object"?{type:"router-link",attrs:{title:o,to:t.to}}:{type:"a",attrs:{href:t.to,title:o}}:{type:"div",attrs:{title:o}}},l=(t,o)=>t.key||`breadcrumb-${o}`;return(t,o)=>(e.openBlock(),e.createElementBlock("ul",e.mergeProps({class:"k-breadcrumbs"},t.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,(r,n)=>(e.openBlock(),e.createElementBlock("li",{key:l(r,n),class:"breadcrumbs-item-container"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(r).type),e.mergeProps({ref_for:!0},a(r).attrs,{class:["breadcrumbs-item",{link:!!r.to,active:n===s.items.length-1}]}),{default:e.withCtx(()=>[t.$slots[`icon-${l(r,n)}`]?(e.openBlock(),e.createElementBlock("span",u,[e.renderSlot(t.$slots,`icon-${l(r,n)}`,{},void 0,!0)])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",{key:1,class:"breadcrumbs-text",style:e.normalizeStyle({maxWidth:e.unref(c.normalizeSize)(r.maxWidth??s.itemMaxWidth)})},e.toDisplayString(r.text),5)):e.createCommentVNode("",!0)]),_:2},1040,["class"])),n<s.items.length-1?(e.openBlock(),e.createElementBlock("span",i,[e.renderSlot(t.$slots,"divider",{},()=>[o[0]||(o[0]=e.createTextVNode(" / ",-1))],!0)])):e.createCommentVNode("",!0)]))),128))],16))}});exports.default=d;
|
package/dist/kongponents83.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ne=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ne=require("./kongponents171.cjs"),ie=require("./kongponents21.cjs");;/* empty css */const M=require("./kongponents44.cjs"),O=require("./kongponents33.cjs"),re=require("./kongponents52.cjs"),ce=require("./kongponents36.cjs"),ue={class:"k-catalog"},se={key:1,class:"catalog-toolbar","data-testid":"catalog-toolbar"},de={key:3,class:"catalog-error-state","data-testid":"catalog-error-state"},ge={key:4,class:"catalog-empty-state","data-testid":"catalog-empty-state"},fe=["data-tableid"],V=15,ve=e.defineComponent({__name:"KCatalog",props:{titleTag:{default:"div"},loading:{type:Boolean},cardSize:{default:"medium"},title:{default:""},truncateDescription:{type:Boolean,default:!0},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{default:""},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:"default"},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{default:""},errorStateActionMessage:{default:""},fetcher:{type:Function},initialFetcherParams:{default:null},cacheIdentifier:{default:""},fetcherCacheKey:{default:""},searchInput:{default:""},paginationNeighbors:{default:1},paginationPageSizes:{default:()=>[15,30,50,75,100]},paginationTotalItems:{default:null},disablePaginationPageJump:{type:Boolean},disablePagination:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},paginationOffset:{type:Boolean}},emits:["card-click","error-action-click","empty-state-action-click","update:catalog-preferences","state"],setup(a,{emit:q}){const{useRequest:E,useDebounce:x,useSwrvState:F}=ne.default(),s=q,K=e.useSlots(),m=e.useId(),R=()=>{var l;const t=(l=a.paginationPageSizes)==null?void 0:l[0];return t||V},i=e.ref([]),y=e.ref(0),b=e.ref(""),n=e.ref(1),r=e.ref(R()),c=e.ref(null),u=e.ref([]),S=e.computed(()=>u.value[n.value-1]),d=e.ref(null),P=e.ref(!0),k=e.ref(!1),D=e.computed(()=>!!K.toolbar),f={page:1,pageSize:r.value,query:"",offset:null},C=e.computed(()=>(g.value||a.loading||v.value)&&!a.error),L=e.computed(()=>!C.value&&i.value&&!i.value.length),G=e.computed(()=>({pageSize:r.value})),B=e.ref(!0),H=async()=>{var l,o;const t=await a.fetcher({query:a.searchInput||b.value,pageSize:r.value,page:n.value,offset:c.value});if(t==null)throw new Error("KCatalog: Fetcher did not return data correctly.");return i.value=t.data,y.value=a.paginationTotalItems||t.total||((l=t.data)==null?void 0:l.length),a.paginationOffset&&((o=t.pagination)!=null&&o.offset?(d.value=t.pagination.offset,u.value[n.value]||u.value.push(t.pagination.offset)):d.value=null,P.value=t.pagination&&"hasNextPage"in t.pagination?!!t.pagination.hasNextPage:!0),i.value.length===0&&n.value>1&&(n.value=1,u.value=[null],c.value=null),B.value=!1,t},j=()=>{const t={...f,...a.initialFetcherParams};n.value=t.page??f.page,r.value=t.pageSize??f.pageSize,b.value=t.query??f.query,a.paginationOffset&&(c.value=t.offset,u.value.push(t.offset)),k.value=!0},Q=e.computed(()=>{if(!a.fetcher||!k.value)return"";let t=m;return a.cacheIdentifier&&(t=a.cacheIdentifier),a.fetcherCacheKey&&(t+=`-${a.fetcherCacheKey}`),`k-catalog_${t}`}),z=e.ref(""),{debouncedFn:J,generateDebouncedFn:U}=x(t=>{z.value=t},350),W=U(0),{data:I,error:N,revalidate:Z,isValidating:X}=E(()=>Q.value,()=>H(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:p,hasData:Y,swrvState:A}=F(I,N,X),g=e.ref(!0),T=e.computed(()=>({hasData:Y.value,state:p.value})),_=e.computed(()=>g.value?"loading":N.value?"error":"success"),ee=({page:t})=>{n.value=t},te=({pageSize:t})=>{u.value=[null],c.value=null,r.value=t,n.value=1},ae=()=>{n.value++,c.value=d.value},le=()=>{n.value--,c.value=S.value},$=t=>t.toLowerCase().replace(/[^[a-z0-9]/gi,"-"),oe=e.computed(()=>{var l;if(!a.fetcher||a.disablePagination||!i.value||!i.value.length||a.error)return!1;const t=((l=a.paginationPageSizes)==null?void 0:l[0])??V;return a.hidePaginationWhenOptional&&n.value===1?a.paginationOffset?!!S.value||!!d.value||i.value.length>=t:y.value>t:!0});e.watch(I,t=>{t!=null&&t.length&&!i.value.length&&(i.value=t)},{deep:!0,immediate:!0}),e.watch(p,()=>{switch(p.value){case A.PENDING:g.value=!0;break;case A.VALIDATING_HAS_DATA:g.value=v.value;break;default:g.value=!1;break}},{immediate:!0}),e.watch([T,_],t=>{var l;s("state",{state:t==null?void 0:t[1],hasData:(l=t==null?void 0:t[0])==null?void 0:l.hasData})}),e.watch(()=>a.searchInput,t=>{n.value!==1&&(n.value=1),t===""?W(t):J(t)},{immediate:!0});const v=e.ref(!1);return e.watch([z,n,r],async(t,l)=>{const o=l==null?void 0:l[0],h=t[0],w=t[1];h!==o&&w!==1&&(n.value=1,u.value=[null],c.value=null),k.value&&!B.value&&(v.value=!0,await Z(),v.value=!1)},{deep:!0,immediate:!0}),e.watch(G,t=>{s("update:catalog-preferences",t)}),e.onMounted(()=>{j()}),(t,l)=>(e.openBlock(),e.createElementBlock("div",ue,[a.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.titleTag),{key:0,class:"catalog-title","data-testid":"catalog-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1})):e.createCommentVNode("",!0),D.value?(e.openBlock(),e.createElementBlock("div",se,[e.renderSlot(t.$slots,"toolbar",{state:T.value},void 0,!0)])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(ie.default,{key:2,"card-count":4,class:"catalog-skeleton-loader","data-testid":"catalog-skeleton-loader",type:"card"})):a.error?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode(M.default,{"icon-variant":"error",message:a.errorStateMessage,title:a.errorStateTitle},e.createSlots({_:2},[a.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(O.default,{"data-testid":$(a.errorStateActionMessage),to:a.errorStateActionRoute?a.errorStateActionRoute:void 0,onClick:l[0]||(l[0]=o=>s("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.errorStateActionMessage),1)]),_:1},8,["data-testid","to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):L.value?(e.openBlock(),e.createElementBlock("div",ge,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode(M.default,{"icon-variant":a.emptyStateIconVariant,message:a.emptyStateMessage,title:a.emptyStateTitle},e.createSlots({_:2},[a.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(O.default,{appearance:a.searchInput?"tertiary":"primary","data-testid":$(a.emptyStateActionMessage),to:a.emptyStateActionRoute?a.emptyStateActionRoute:void 0,onClick:l[1]||(l[1]=o=>s("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(a.emptyStateActionMessage),1)]),_:3},8,["appearance","data-testid","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(["catalog-page",`card-${a.cardSize}`]),"data-tableid":e.unref(m)},[e.renderSlot(t.$slots,"body",{data:i.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(o,h)=>(e.openBlock(),e.createBlock(ce.default,{key:o.key?o.key:`catalog-${e.unref(m)}-item-${h}`,class:"catalog-item","data-testid":o.id?o.id:`catalog-item-${h}`,item:o,truncate:a.truncateDescription,onClick:w=>s("card-click",o)},{"card-title":e.withCtx(()=>[e.renderSlot(t.$slots,"card-title",{item:o},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)]),"card-actions":e.withCtx(()=>[e.renderSlot(t.$slots,"card-actions",{item:o},void 0,!0)]),"card-body":e.withCtx(()=>[e.renderSlot(t.$slots,"card-body",{item:o},()=>[e.createTextVNode(e.toDisplayString(o.description),1)],!0)]),_:2},1032,["data-testid","item","truncate","onClick"]))),128))],!0)],10,fe)),oe.value?(e.openBlock(),e.createBlock(re.default,{key:6,class:"card-pagination","current-page":n.value,"data-testid":"catalog-pagination","disable-page-jump":a.disablePaginationPageJump,"initial-page-size":r.value,neighbors:a.paginationNeighbors,offset:a.paginationOffset,"offset-next-button-disabled":!d.value||!P.value,"offset-previous-button-disabled":!S.value,"page-sizes":a.paginationPageSizes,"total-count":y.value,onGetNextOffset:ae,onGetPreviousOffset:le,onPageChange:ee,onPageSizeChange:te},null,8,["current-page","disable-page-jump","initial-page-size","neighbors","offset","offset-next-button-disabled","offset-previous-button-disabled","page-sizes","total-count"])):e.createCommentVNode("",!0)]))}});exports.default=ve;
|
package/dist/kongponents87.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./kongponents48.cjs"),g=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./kongponents48.cjs"),g=require("./kongponents180.cjs"),C=require("./kongponents181.cjs"),d=require("./kongponents178.cjs"),V=["id","aria-checked"],S={class:"checkbox-label-wrapper"},x={key:1,class:"checkbox-description"},y=e.defineComponent({inheritAttrs:!1,__name:"KCheckbox",props:{modelValue:{type:Boolean},label:{default:""},labelAttributes:{default:()=>({})},description:{default:""},error:{type:Boolean,default:!1}},emits:["change","input","update:modelValue"],setup(o,{emit:u}){const a=u,n=e.useSlots(),l=e.useAttrs(),m=e.useId(),r=e.computed(()=>l.id?String(l.id):m),i=e.computed(()=>!!(o.label||n.default)),h=e.computed(()=>(l==null?void 0:l.disabled)!==void 0&&String(l==null?void 0:l.disabled)!=="false"),s=e.computed(()=>i.value&&(!!o.description||!!n.description)),k=e.computed(()=>!!n.tooltip),c=e.computed(()=>{const t={...l};return delete t.class,t.checked=o.modelValue,t.indeterminate!==void 0&&String(t.indeterminate)!=="false"&&!o.modelValue?(delete t.checked,t.indeterminate=!0):delete t.indeterminate,t}),p=e.computed(()=>({disabled:h.value,"has-description":s.value,"input-error":o.error})),b=e.computed(()=>c.value.indeterminate!==void 0&&String(c.value.indeterminate)!=="false");e.watch(()=>o.labelAttributes,t=>{t.help&&console.warn("KCheckbox: `help` property of `labelAttributes` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel")},{immediate:!0});const f=t=>{a("change",t.target.checked),a("input",t.target.checked),a("update:modelValue",t.target.checked)};return(t,B)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-checkbox",[t.$attrs.class,p.value]])},[e.createElementVNode("div",{class:e.normalizeClass(["checkbox-input-wrapper",{"has-label":i.value}])},[e.createElementVNode("input",e.mergeProps({id:r.value},c.value,{"aria-checked":o.modelValue,class:"checkbox-input",type:"checkbox",onChange:f}),null,16,V),o.modelValue?(e.openBlock(),e.createBlock(e.unref(g.default),{key:0,class:"checkbox-icon","data-testid":"check-icon",decorative:"",size:e.unref(d.KUI_ICON_SIZE_40),tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0),b.value&&!o.modelValue?(e.openBlock(),e.createBlock(e.unref(C.default),{key:1,class:"checkbox-icon","data-testid":"indeterminate-icon",decorative:"",size:e.unref(d.KUI_ICON_SIZE_40),tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",S,[i.value?(e.openBlock(),e.createBlock(v.default,e.mergeProps({key:0},o.labelAttributes,{class:"checkbox-label",for:r.value}),e.createSlots({default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)],!0)]),_:2},[k.value?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for"])):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("div",x,[e.renderSlot(t.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(o.description),1)],!0)])):e.createCommentVNode("",!0)])],2))}});exports.default=y;
|
package/dist/kongponents89.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),U=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),U=require("./kongponents182.cjs"),ie=require("./kongponents46.cjs"),ce=require("./kongponents165.cjs"),re=require("./kongponents183.cjs"),h=require("./kongponents184.cjs"),ue=require("./kongponents185.cjs"),se=require("./kongponents186.cjs"),de=require("./kongponents187.cjs"),he=require("./kongponents188.cjs"),me=require("./kongponents189.cjs"),fe=require("./kongponents190.cjs"),ge=require("./kongponents191.cjs"),ve=require("./kongponents176.cjs"),N=require("./kongponents178.cjs"),b=require("./kongponents39.cjs"),ke=require("./kongponents192.cjs"),be=require("./kongponents179.cjs"),ye=require("./kongponents193.cjs"),Ce=["id"],Ne={key:0,class:"code-block-actions"},pe={key:0,class:"code-block-search-results-container"},Le={key:0,class:"code-block-search-results"},we={class:"code-block-search-actions"},Be={ref:"codeBlockContent",class:"code-block-content"},xe={class:"code-block-secondary-actions"},Ee=["id","href"],Me=["innerHTML"],Te=["id","href"],Ve=["innerHTML"],Se=e.defineComponent({__name:"KCodeBlock",props:{id:{},code:{},language:{},initialFilterMode:{type:Boolean},initialRegExpMode:{type:Boolean},searchable:{type:Boolean},highlightedLineNumbers:{default:()=>[]},processing:{type:Boolean},query:{default:""},showCopyButton:{type:[Boolean,String],default:!0},showLineNumbers:{type:Boolean,default:!0},showLineNumberLinks:{type:Boolean},theme:{default:"light"},singleLine:{type:Boolean},maxHeight:{default:"none"}},emits:["code-block-render","matching-lines-change","query-change","filter-mode-change","reg-exp-mode-change"],setup(o,{emit:K}){e.useCssVars(t=>({v4ba25220:_.value,v61d5b402:Q.value}));const m=ke.IS_MAYBE_MAC?"Option":"Alt",X=ye.default(P,150,{leading:!0,trailing:!0});e.watch(()=>o.highlightedLineNumbers,t=>{typeof t=="string"&&h.LINE_NUMBER_EXPRESSION_REGEX.test(t)||Array.isArray(t)&&t.every(n=>Array.isArray(n)?n.length===2&&n.every(l=>typeof l=="number"):typeof n=="number")||console.warn("KCodeBlock: `highlightedLineNumbers` prop should be either a properly formatted string (e.g. '1,3-5,7'), an array of numbers or tuples of numbers.")},{immediate:!0});const v=K,G=e.useSlots(),B=e.ref(o.query),f=e.ref(!1),s=e.ref(o.initialRegExpMode),u=e.ref(o.initialFilterMode),d=e.ref(null),c=e.ref(o.query),x=e.ref(0),a=e.ref([]),r=e.ref(null),i=e.useTemplateRef("codeBlock"),p=e.useTemplateRef("codeBlockContent"),E=e.useTemplateRef("codeBlockLineNumbers"),L=e.ref(!1),w=e.ref(!1),M=e.computed(()=>new Set(a.value)),y=e.computed(()=>{var t;return Array.from({length:(t=o.code)==null?void 0:t.split(`
|
|
2
2
|
`).length},(n,l)=>l+1)}),Q=e.computed(()=>{var t;return((t=y.value[y.value.length-1])==null?void 0:t.toString().length)+"ch"}),T=e.computed(()=>o.processing||f.value),g=e.computed(()=>u.value&&V.value!==""),W=e.computed(()=>o.id.toLowerCase().replace(/\s+/g,"-"));function k(t){return`${W.value}-L${t}`}const Y=e.computed(()=>h.buildLineOffsets(o.code)),V=e.computed(()=>{var n;if(c.value===""||a.value.length===0)return"";const t=(n=o.code)==null?void 0:n.split(`
|
|
3
3
|
`).filter((l,ae)=>M.value.has(ae+1)).join(`
|
|
4
4
|
`);return h.highlightMatchingChars(t,c.value,s.value)}),Z=e.computed(()=>!o.singleLine&&o.searchable),J=e.computed(()=>o.singleLine?h.escapeHTMLIfNeeded(o.code).replaceAll(`
|
package/dist/kongponents94.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("./kongponents198.cjs"),f=require("./kongponents178.cjs"),b={class:"k-collapse"},h={class:"collapse-trigger"},C=["aria-controls","aria-expanded","aria-label"],V={key:0,class:"collapse-trigger-label","data-testid":"collapse-trigger-label"},k={key:0,class:"collapse-visible-content","data-testid":"collapse-visible-content"},S=["id"],N=e.defineComponent({__name:"KCollapse",props:{modelValue:{type:Boolean,default:!0},title:{default:""},titleTag:{default:"div"},triggerLabel:{default:""},triggerAlignment:{default:"trailing"}},emits:["toggle","update:modelValue"],setup(l,{emit:c}){const r=c,u=e.useSlots(),d=e.useId(),a=e.ref(!0),s=e.ref(!1),g=e.computed(()=>l.triggerAlignment==="trailing"),m=e.computed(()=>!!u["visible-content"]),v=e.computed({get(){return l.modelValue},set(t){i(t)}}),o=e.computed(()=>s.value?a.value:l.modelValue),i=t=>{s.value||(a.value=l.modelValue),a.value=t!==void 0?t:!a.value,s.value=!0,r("toggle",a.value),r("update:modelValue",a.value)};return e.watch(v,(t,n)=>{t!==n&&i(t)}),(t,n)=>(e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("div",{class:e.normalizeClass(["collapse-heading",{"has-trailing-trigger":g.value}])},[l.title||t.$slots.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.titleTag),{key:0,class:"collapse-title","data-testid":"collapse-title"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(l.title),1)],!0)]),_:3})):e.createCommentVNode("",!0),e.createElementVNode("div",h,[e.renderSlot(t.$slots,"trigger",{isCollapsed:o.value,toggle:i},()=>[e.createElementVNode("button",{"aria-controls":e.unref(d),"aria-expanded":!o.value,"aria-label":l.triggerLabel?void 0:"Toggle content",class:"collapse-trigger-content","data-testid":"collapse-trigger-content",type:"button",onClick:n[0]||(n[0]=e.withModifiers(y=>i(),["prevent","stop"]))},[e.renderSlot(t.$slots,"trigger-content",{},()=>[e.createVNode(e.unref(p.default),{class:e.normalizeClass(["collapse-trigger-icon",{"collapse-expanded":!o.value}]),"data-testid":"collapse-trigger-icon",decorative:"",size:e.unref(f.KUI_ICON_SIZE_40)},null,8,["class","size"]),l.triggerLabel?(e.openBlock(),e.createElementBlock("span",V,e.toDisplayString(l.triggerLabel),1)):e.createCommentVNode("",!0)],!0)],8,C)],!0)])],2),m.value?(e.openBlock(),e.createElementBlock("div",k,[e.renderSlot(t.$slots,"visible-content",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(e.Transition,{name:"kongponents-fade-transition"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{id:e.unref(d),class:"collapse-hidden-content","data-testid":"collapse-hidden-content"},[e.renderSlot(t.$slots,"default",{},void 0,!0)],8,S),[[e.vShow,!o.value]])]),_:3})]))}});exports.default=N;
|
package/dist/kongponents96.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),S=require("./kongponents33.cjs"),W=require("./kongponents53.cjs"),G=require("./kongponents56.cjs");;/* empty css */require("./kongponents5.cjs");const R=require("./kongponents10.cjs"),H=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),S=require("./kongponents33.cjs"),W=require("./kongponents53.cjs"),G=require("./kongponents56.cjs");;/* empty css */require("./kongponents5.cjs");const R=require("./kongponents10.cjs"),H=require("./kongponents200.cjs"),w=require("./kongponents178.cjs"),Z=require("./kongponents179.cjs"),j=require("./kongponents201.cjs"),T=require("./kongponents202.cjs"),x=require("./kongponents203.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),D=e.computed(()=>l.mode!==R.DateTimePickerModes.Relative),o=e.computed(()=>R.ModeArrayCustom.includes(l.mode)&&!l.range),s=e.computed(()=>l.timePeriods.length>0),u=e.computed(()=>a.tabName==="custom"||!s.value),v=e.ref(!0),h=e.ref(!1),E=e.ref(0),B={start:null,end:null},y=e.ref(l.modelValue.start||null),m=e.ref(l.modelValue||B),P=o.value?y:m,g=e.useTemplateRef("calendarWrapperRef"),$=e.computed(()=>({width:Z.normalizeSize(l.width)})),k=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])||null,previouslySelectedTimeframe:((K=l.timePeriods[0])==null?void 0:K.values[0])||null,tabName:"relative"}),p=t=>{if(!t)return;const n=o.value?!t.start:!t.start||!t.end,i=(t==null?void 0:t.start)||new Date,d=(t==null?void 0:t.end)||null;v.value=!!n,!o.value&&t&&t.start&&t.end?(m.value.start=i,m.value.end=d):t&&t.start&&(y.value=i),a.selectedRange=a.previouslySelectedRange={start:i,end:d}},N=(t,n=!1)=>{if(t){if(a.selectedTimeframe=a.previouslySelectedTimeframe=t,a.selectedRange={timePeriodsKey:a.selectedTimeframe.key},a.selectedTimeframe.start&&a.selectedTimeframe.end){const i=new Date(a.selectedTimeframe.start()),d=new Date(a.selectedTimeframe.end());a.fullRangeDisplay=z({start:i,end:d},!1),a.selectedRange.start=i,a.selectedRange.end=d}else a.fullRangeDisplay="";v.value=!1,n&&q()}},O=()=>{var t;m.value=B,y.value=null,a.abbreviatedDisplay=l.placeholder,a.fullRangeDisplay="",s.value&&(a.selectedTimeframe=((t=l.timePeriods[0])==null?void 0:t.values[0])||null),a.selectedRange=a.previouslySelectedRange=B,c("change",a.selectedRange),c("update:modelValue",a.selectedRange)},z=(t,n)=>{const{start:i,end:d}=t;let r=l.timeGranularity==="secondly"?"PP hh:mm:ss a":"PP hh:mm a";const f=T.default(i,k,"(z)");return!D.value&&s.value?r="PP hh:mm a":R.ModeDateOnly.includes(l.mode)&&(r="PP"),o.value?`${x.default(i,r)} ${f}`:n?`<div>${x.default(i,r)} - </div><div>${T.default(d,k,r)} ${f}</div>`:`${x.default(i,r)} - ${T.default(d,k,r)} ${f}`},q=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(),b()},b=()=>{var t,n;if(u.value&&((t=a.selectedRange)!=null&&t.start))a.abbreviatedDisplay=z(a.selectedRange,!0);else if(s.value&&!u.value){const i=T.default(new Date,k,"(z)");a.abbreviatedDisplay=`${(n=a.selectedTimeframe)==null?void 0:n.display} ${i}`}},A=t=>t.charAt(0).toUpperCase()+t.slice(1),I=t=>{var n;return((n=a.selectedTimeframe)==null?void 0:n.key)===t.key?"primary":"secondary"};e.watch(y,(t,n)=>{t!==void 0&&t!==n&&p({start:t,end:null})},{immediate:!0}),e.watch(m,(t,n)=>{t!==void 0&&t!==n&&p(t)},{immediate:!0}),e.watch(()=>a.tabName,(t,n)=>{n!==void 0&&t==="relative"?N(a.previouslySelectedTimeframe):n!==void 0&&t==="custom"&&p(a.previouslySelectedRange)}),e.watch(()=>l.modelValue,()=>{if(R.ModeArrayRelative.includes(l.mode)&&l.modelValue.timePeriodsKey){a.tabName="relative",v.value=!1;for(const t of l.timePeriods){const n=t.values.find(i=>i.key===l.modelValue.timePeriodsKey);if(n){N(n),b();break}}}else a.tabName="custom",p(l.modelValue),(l.modelValue.start&&l.modelValue.end||o.value&&l.modelValue.start)&&b();E.value++},{immediate:!0}),e.watch(()=>l.timeGranularity,()=>{b()});const U=()=>{a.popoverOpen=!1,g.value&&g.value.resetTime()},L=()=>{a.popoverOpen=!0,g.value&&g.value.initTimeInputs()};return(t,n)=>(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(w.KUI_SPACE_40),placement:l.popoverPlacement,width:"auto",onClose:U,onOpen:L},{content:e.withCtx(()=>[s.value&&D.value?(e.openBlock(),e.createBlock(G.default,{key:0,modelValue:a.tabName,"onUpdate:modelValue":n[0]||(n[0]=i=>a.tabName=i),class:"datetime-picker-toggle","data-testid":"datetime-picker-toggle",options:[{label:"Relative",value:"relative"},{label:"Custom",value:"custom"}],onClick:n[1]||(n[1]=i=>a.tabName=i)},null,8,["modelValue"])):e.createCommentVNode("",!0),!u.value&&a.fullRangeDisplay?(e.openBlock(),e.createElementBlock("p",J,e.toDisplayString(a.fullRangeDisplay),1)):e.createCommentVNode("",!0),D.value&&u.value?(e.openBlock(),e.createBlock(j.default,{key:E.value,ref:"calendarWrapperRef",modelValue:e.unref(P),"onUpdate:modelValue":n[2]||(n[2]=i=>e.isRef(P)?P.value=i:null),error:h.value,"onUpdate:error":n[3]||(n[3]=i=>h.value=i),"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,(i,d)=>(e.openBlock(),e.createElementBlock("div",{key:`section-${String(i.section||d)}`,class:"timeframe-section"},[e.createElementVNode("div",Y,e.toDisplayString(i.section),1),e.createElementVNode("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.values,(r,f)=>(e.openBlock(),e.createBlock(S.default,{key:`time-${f}`,appearance:I(r),class:"timeframe-button","data-testid":`select-timeframe-${r.key}`,onClick:ae=>N(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(S.default,{key:0,appearance:"tertiary",class:"action-button","data-testid":"datetime-picker-clear",onClick:n[4]||(n[4]=i=>O())},{default:e.withCtx(()=>[...n[6]||(n[6]=[e.createTextVNode(" Clear ",-1)])]),_:1})):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createBlock(S.default,{key:1,appearance:"tertiary",class:"action-button","data-testid":"datetime-picker-submit",disabled:v.value||h.value,onClick:n[5]||(n[5]=i=>q())},{default:e.withCtx(()=>[...n[7]||(n[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(w.KUI_COLOR_TEXT_NEUTRAL)})`,decorative:"",size:e.unref(w.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("./kongponents209.cjs"),q=require("./kongponents178.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;
|
package/package.json
CHANGED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { computePosition as j } from "./kongponents.es201.js";
|
|
2
|
-
import { autoPlacement as Q, autoUpdate as T, flip as W, platform as X, shift as Y } from "./kongponents.es201.js";
|
|
3
|
-
import { isNode as A, getNodeName as B } from "./kongponents.es273.js";
|
|
4
|
-
import { getOverflowAncestors as ee } from "./kongponents.es273.js";
|
|
5
|
-
import { computed as o, ref as f, shallowRef as F, watch as g, getCurrentScope as I, onScopeDispose as U, shallowReadonly as r, unref as k } from "vue";
|
|
6
|
-
function q(e) {
|
|
7
|
-
return e != null && typeof e == "object" && "$el" in e;
|
|
8
|
-
}
|
|
9
|
-
function b(e) {
|
|
10
|
-
if (q(e)) {
|
|
11
|
-
const u = e.$el;
|
|
12
|
-
return A(u) && B(u) === "#comment" ? null : u;
|
|
13
|
-
}
|
|
14
|
-
return e;
|
|
15
|
-
}
|
|
16
|
-
function c(e) {
|
|
17
|
-
return typeof e == "function" ? e() : k(e);
|
|
18
|
-
}
|
|
19
|
-
function M(e) {
|
|
20
|
-
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
21
|
-
}
|
|
22
|
-
function C(e, u) {
|
|
23
|
-
const n = M(e);
|
|
24
|
-
return Math.round(u * n) / n;
|
|
25
|
-
}
|
|
26
|
-
function J(e, u, n) {
|
|
27
|
-
n === void 0 && (n = {});
|
|
28
|
-
const P = n.whileElementsMounted, s = o(() => {
|
|
29
|
-
var t;
|
|
30
|
-
return (t = c(n.open)) != null ? t : !0;
|
|
31
|
-
}), V = o(() => c(n.middleware)), p = o(() => {
|
|
32
|
-
var t;
|
|
33
|
-
return (t = c(n.placement)) != null ? t : "bottom";
|
|
34
|
-
}), w = o(() => {
|
|
35
|
-
var t;
|
|
36
|
-
return (t = c(n.strategy)) != null ? t : "absolute";
|
|
37
|
-
}), S = o(() => {
|
|
38
|
-
var t;
|
|
39
|
-
return (t = c(n.transform)) != null ? t : !0;
|
|
40
|
-
}), i = o(() => b(e.value)), l = o(() => b(u.value)), y = f(0), h = f(0), m = f(w.value), D = f(p.value), O = F({}), x = f(!1), _ = o(() => {
|
|
41
|
-
const t = {
|
|
42
|
-
position: m.value,
|
|
43
|
-
left: "0",
|
|
44
|
-
top: "0"
|
|
45
|
-
};
|
|
46
|
-
if (!l.value)
|
|
47
|
-
return t;
|
|
48
|
-
const a = C(l.value, y.value), R = C(l.value, h.value);
|
|
49
|
-
return S.value ? {
|
|
50
|
-
...t,
|
|
51
|
-
transform: "translate(" + a + "px, " + R + "px)",
|
|
52
|
-
...M(l.value) >= 1.5 && {
|
|
53
|
-
willChange: "transform"
|
|
54
|
-
}
|
|
55
|
-
} : {
|
|
56
|
-
position: m.value,
|
|
57
|
-
left: a + "px",
|
|
58
|
-
top: R + "px"
|
|
59
|
-
};
|
|
60
|
-
});
|
|
61
|
-
let v;
|
|
62
|
-
function d() {
|
|
63
|
-
if (i.value == null || l.value == null)
|
|
64
|
-
return;
|
|
65
|
-
const t = s.value;
|
|
66
|
-
j(i.value, l.value, {
|
|
67
|
-
middleware: V.value,
|
|
68
|
-
placement: p.value,
|
|
69
|
-
strategy: w.value
|
|
70
|
-
}).then((a) => {
|
|
71
|
-
y.value = a.x, h.value = a.y, m.value = a.strategy, D.value = a.placement, O.value = a.middlewareData, x.value = t !== !1;
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
function E() {
|
|
75
|
-
typeof v == "function" && (v(), v = void 0);
|
|
76
|
-
}
|
|
77
|
-
function N() {
|
|
78
|
-
if (E(), P === void 0) {
|
|
79
|
-
d();
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
if (i.value != null && l.value != null) {
|
|
83
|
-
v = P(i.value, l.value, d);
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function $() {
|
|
88
|
-
s.value || (x.value = !1);
|
|
89
|
-
}
|
|
90
|
-
return g([V, p, w, s], d, {
|
|
91
|
-
flush: "sync"
|
|
92
|
-
}), g([i, l], N, {
|
|
93
|
-
flush: "sync"
|
|
94
|
-
}), g(s, $, {
|
|
95
|
-
flush: "sync"
|
|
96
|
-
}), I() && U(E), {
|
|
97
|
-
x: r(y),
|
|
98
|
-
y: r(h),
|
|
99
|
-
strategy: r(m),
|
|
100
|
-
placement: r(D),
|
|
101
|
-
middlewareData: r(O),
|
|
102
|
-
isPositioned: r(x),
|
|
103
|
-
floatingStyles: _,
|
|
104
|
-
update: d
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
export {
|
|
108
|
-
Q as autoPlacement,
|
|
109
|
-
T as autoUpdate,
|
|
110
|
-
j as computePosition,
|
|
111
|
-
W as flip,
|
|
112
|
-
ee as getOverflowAncestors,
|
|
113
|
-
X as platform,
|
|
114
|
-
Y as shift,
|
|
115
|
-
J as useFloating
|
|
116
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, useCssVars as i, ref as s, computed as u, onMounted as m, onUnmounted as g, createElementBlock as l, openBlock as a, createElementVNode as o, createCommentVNode as v, unref as p, normalizeStyle as f } from "vue";
|
|
2
|
-
import h from "./kongponents.es282.js";
|
|
3
|
-
const I = {
|
|
4
|
-
class: "fullscreen-loading-container",
|
|
5
|
-
"data-testid": "full-screen-loader"
|
|
6
|
-
}, _ = ["src"], k = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "progress"
|
|
9
|
-
}, z = /* @__PURE__ */ d({
|
|
10
|
-
__name: "FullScreenKongSkeleton",
|
|
11
|
-
props: {
|
|
12
|
-
progress: {},
|
|
13
|
-
hideProgress: { type: Boolean },
|
|
14
|
-
zIndex: {}
|
|
15
|
-
},
|
|
16
|
-
setup(r) {
|
|
17
|
-
i((t) => ({
|
|
18
|
-
v4d434712: t.zIndex
|
|
19
|
-
}));
|
|
20
|
-
const n = s(0), e = s(0), c = u(() => r.progress !== null ? r.progress : e.value);
|
|
21
|
-
return m(() => {
|
|
22
|
-
r.progress || (n.value = setInterval(() => {
|
|
23
|
-
e.value >= 100 && (clearInterval(n.value), e.value = 100), e.value = Math.min(e.value + Math.ceil(Math.random() * 10 * 30), 100);
|
|
24
|
-
}, 200));
|
|
25
|
-
}), g(() => {
|
|
26
|
-
clearInterval(n.value);
|
|
27
|
-
}), (t, x) => (a(), l("div", I, [
|
|
28
|
-
o("div", null, [
|
|
29
|
-
o("img", {
|
|
30
|
-
alt: "Loading",
|
|
31
|
-
src: p(h)
|
|
32
|
-
}, null, 8, _),
|
|
33
|
-
r.hideProgress ? v("", !0) : (a(), l("div", k, [
|
|
34
|
-
o("div", {
|
|
35
|
-
class: "progress-bar",
|
|
36
|
-
role: "progressbar",
|
|
37
|
-
style: f({ width: `${c.value}%` }),
|
|
38
|
-
title: "Loading"
|
|
39
|
-
}, null, 4)
|
|
40
|
-
]))
|
|
41
|
-
])
|
|
42
|
-
]));
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
export {
|
|
46
|
-
z as default
|
|
47
|
-
};
|
|
@@ -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.es196.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,54 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, computed as n, createElementBlock as m, openBlock as l, createElementVNode as a, normalizeClass as d, createBlock as r, createCommentVNode as u, unref as e, normalizeStyle as f, toDisplayString as p } from "vue";
|
|
2
|
-
import z from "./kongponents.es267.js";
|
|
3
|
-
import k from "./kongponents.es166.js";
|
|
4
|
-
import v from "./kongponents.es197.js";
|
|
5
|
-
import { KUI_ICON_SIZE_40 as o, KUI_COLOR_TEXT_INVERSE as i, KUI_COLOR_TEXT_PRIMARY as x } from "./kongponents.es171.js";
|
|
6
|
-
import { normalizeSize as y } from "./kongponents.es191.js";
|
|
7
|
-
const E = ["aria-current", "data-testid"], C = { class: "step-circle" }, $ = /* @__PURE__ */ c({
|
|
8
|
-
__name: "KStep",
|
|
9
|
-
props: {
|
|
10
|
-
label: {},
|
|
11
|
-
state: { default: "default" },
|
|
12
|
-
maxLabelWidth: {}
|
|
13
|
-
},
|
|
14
|
-
setup(t) {
|
|
15
|
-
const s = n(() => ({
|
|
16
|
-
maxWidth: y(t.maxLabelWidth)
|
|
17
|
-
}));
|
|
18
|
-
return (I, S) => (l(), m("li", {
|
|
19
|
-
"aria-current": t.state === "active" ? "step" : "false",
|
|
20
|
-
class: "step",
|
|
21
|
-
"data-testid": `step-${t.state}`
|
|
22
|
-
}, [
|
|
23
|
-
a("div", {
|
|
24
|
-
class: d(["step-container", `${t.state}`])
|
|
25
|
-
}, [
|
|
26
|
-
a("div", C, [
|
|
27
|
-
t.state === "completed" ? (l(), r(e(z), {
|
|
28
|
-
key: 0,
|
|
29
|
-
color: `var(--kui-color-text-inverse, ${e(i)})`,
|
|
30
|
-
size: e(o),
|
|
31
|
-
title: "Completed"
|
|
32
|
-
}, null, 8, ["color", "size"])) : t.state === "pending" ? (l(), r(e(v), {
|
|
33
|
-
key: 1,
|
|
34
|
-
color: `var(--kui-color-text-primary, ${e(x)})`,
|
|
35
|
-
size: e(o),
|
|
36
|
-
title: "Pending"
|
|
37
|
-
}, null, 8, ["color", "size"])) : t.state === "error" ? (l(), r(e(k), {
|
|
38
|
-
key: 2,
|
|
39
|
-
color: `var(--kui-color-text-inverse, ${e(i)})`,
|
|
40
|
-
size: e(o),
|
|
41
|
-
title: "Error"
|
|
42
|
-
}, null, 8, ["color", "size"])) : u("", !0)
|
|
43
|
-
]),
|
|
44
|
-
a("span", {
|
|
45
|
-
class: "step-label",
|
|
46
|
-
style: f(s.value)
|
|
47
|
-
}, p(t.label), 5)
|
|
48
|
-
], 2)
|
|
49
|
-
], 8, E));
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
export {
|
|
53
|
-
$ as default
|
|
54
|
-
};
|