@kong/kongponents 9.56.1 → 9.56.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 +8 -8
- package/dist/kongponents.es106.js +22 -22
- package/dist/kongponents.es108.js +3 -3
- package/dist/kongponents.es110.js +3 -3
- package/dist/kongponents.es116.js +3 -3
- package/dist/kongponents.es118.js +21 -19
- package/dist/kongponents.es120.js +89 -87
- package/dist/kongponents.es123.js +2 -2
- package/dist/kongponents.es125.js +16 -16
- package/dist/kongponents.es131.js +1 -1
- package/dist/kongponents.es133.js +12 -12
- package/dist/kongponents.es140.js +2 -2
- package/dist/kongponents.es142.js +1 -1
- package/dist/kongponents.es144.js +68 -68
- package/dist/kongponents.es148.js +2 -2
- package/dist/kongponents.es150.js +16 -16
- package/dist/kongponents.es156.js +10 -10
- package/dist/kongponents.es158.js +19 -19
- package/dist/kongponents.es160.js +12 -12
- package/dist/kongponents.es162.js +85 -85
- package/dist/kongponents.es167.js +2 -2
- package/dist/kongponents.es174.js +1 -1
- package/dist/kongponents.es175.js +1 -1
- package/dist/kongponents.es176.js +1 -1
- package/dist/kongponents.es177.js +1 -1
- package/dist/kongponents.es178.js +1 -1
- package/dist/kongponents.es179.js +1 -1
- package/dist/kongponents.es180.js +1 -1
- package/dist/kongponents.es182.js +4 -107
- package/dist/kongponents.es183.js +525 -5
- package/dist/kongponents.es184.js +39 -5
- package/dist/kongponents.es185.js +97 -120
- package/dist/kongponents.es186.js +23 -24
- package/dist/kongponents.es187.js +120 -23
- package/dist/kongponents.es188.js +117 -163
- package/dist/kongponents.es189.js +121 -5
- package/dist/kongponents.es190.js +122 -5
- package/dist/kongponents.es191.js +121 -5
- package/dist/kongponents.es192.js +121 -5
- package/dist/kongponents.es193.js +18 -5
- package/dist/kongponents.es194.js +52 -5
- package/dist/kongponents.es196.js +20 -20
- package/dist/kongponents.es197.js +5 -121
- package/dist/kongponents.es198.js +7 -17
- package/dist/kongponents.es199.js +59 -120
- package/dist/kongponents.es20.js +7 -7
- package/dist/kongponents.es200.js +107 -4
- package/dist/kongponents.es201.js +114 -5
- package/dist/kongponents.es202.js +17 -5
- package/dist/kongponents.es203.js +163 -117
- package/dist/kongponents.es204.js +394 -118
- package/dist/kongponents.es205.js +27 -27
- package/dist/kongponents.es206.js +23 -23
- package/dist/kongponents.es207.js +121 -5
- package/dist/kongponents.es208.js +121 -5
- package/dist/kongponents.es209.js +121 -10
- package/dist/kongponents.es210.js +4 -4
- package/dist/kongponents.es211.js +4 -4
- package/dist/kongponents.es212.js +115 -96
- package/dist/kongponents.es213.js +23 -120
- package/dist/kongponents.es214.js +7 -0
- package/dist/kongponents.es215.js +5 -121
- package/dist/kongponents.es216.js +4 -4
- package/dist/kongponents.es217.js +5 -8
- package/dist/kongponents.es218.js +5 -60
- package/dist/kongponents.es219.js +5 -2
- package/dist/kongponents.es22.js +2 -2
- package/dist/kongponents.es220.js +5 -121
- package/dist/kongponents.es221.js +5 -121
- package/dist/kongponents.es222.js +26 -26
- package/dist/kongponents.es223.js +5 -121
- package/dist/kongponents.es224.js +121 -7
- package/dist/kongponents.es225.js +117 -185
- package/dist/kongponents.es226.js +96 -115
- package/dist/kongponents.es227.js +1 -1
- package/dist/kongponents.es228.js +1 -1
- package/dist/kongponents.es229.js +1 -1
- package/dist/kongponents.es230.js +121 -5
- package/dist/kongponents.es231.js +121 -15
- package/dist/kongponents.es232.js +5 -121
- package/dist/kongponents.es233.js +5 -121
- package/dist/kongponents.es234.js +9 -113
- package/dist/kongponents.es235.js +117 -13
- package/dist/kongponents.es236.js +118 -394
- package/dist/kongponents.es237.js +5 -525
- package/dist/kongponents.es238.js +7 -39
- package/dist/kongponents.es239.js +188 -97
- package/dist/kongponents.es24.js +8 -8
- package/dist/kongponents.es240.js +5 -121
- package/dist/kongponents.es241.js +5 -121
- package/dist/kongponents.es242.js +21 -21
- package/dist/kongponents.es243.js +119 -50
- package/dist/kongponents.es244.js +15 -121
- package/dist/kongponents.es245.js +2 -121
- package/dist/kongponents.es246.js +23 -24
- package/dist/{kongponents.es260.js → kongponents.es247.js} +1 -1
- package/dist/kongponents.es248.js +327 -47
- package/dist/{kongponents.es266.js → kongponents.es249.js} +1 -1
- package/dist/{kongponents.es270.js → kongponents.es253.js} +5 -5
- package/dist/kongponents.es255.js +58 -0
- package/dist/{kongponents.es262.js → kongponents.es257.js} +2 -2
- package/dist/kongponents.es259.js +242 -23
- package/dist/kongponents.es26.js +4 -4
- package/dist/kongponents.es261.js +24 -328
- package/dist/kongponents.es263.js +50 -0
- package/dist/{kongponents.es254.js → kongponents.es269.js} +1 -1
- package/dist/kongponents.es273.js +6 -2
- package/dist/kongponents.es274.js +26 -26
- package/dist/kongponents.es275.js +2 -121
- package/dist/kongponents.es276.js +18 -18
- package/dist/kongponents.es277.js +116 -175
- package/dist/{kongponents.es272.js → kongponents.es278.js} +25 -25
- package/dist/kongponents.es279.js +610 -62
- package/dist/kongponents.es280.js +136 -0
- package/dist/kongponents.es281.js +2 -217
- package/dist/kongponents.es282.js +9 -85
- package/dist/kongponents.es283.js +9 -0
- package/dist/kongponents.es284.js +8 -41
- package/dist/kongponents.es285.js +7 -0
- package/dist/kongponents.es286.js +9 -5
- package/dist/kongponents.es287.js +7 -7
- package/dist/kongponents.es288.js +636 -6
- package/dist/kongponents.es289.js +74 -8
- package/dist/kongponents.es29.js +2 -2
- package/dist/kongponents.es290.js +4 -4
- package/dist/kongponents.es291.js +19 -9
- package/dist/kongponents.es292.js +4 -8
- package/dist/kongponents.es293.js +16 -635
- package/dist/kongponents.es294.js +8 -74
- package/dist/kongponents.es295.js +5 -4
- package/dist/kongponents.es296.js +8 -19
- package/dist/kongponents.es297.js +7 -4
- package/dist/kongponents.es298.js +8 -18
- package/dist/kongponents.es299.js +4 -7
- package/dist/kongponents.es300.js +20 -5
- package/dist/kongponents.es301.js +5 -9
- package/dist/kongponents.es302.js +110 -7
- package/dist/kongponents.es303.js +171 -7
- package/dist/kongponents.es304.js +5 -5
- package/dist/kongponents.es305.js +6 -20
- package/dist/kongponents.es306.js +4 -4
- package/dist/kongponents.es307.js +5 -111
- package/dist/kongponents.es308.js +59 -161
- package/dist/kongponents.es309.js +1 -4
- package/dist/kongponents.es310.js +4 -6
- package/dist/kongponents.es311.js +5 -5
- package/dist/kongponents.es312.js +20 -5
- package/dist/kongponents.es313.js +3 -69
- package/dist/kongponents.es314.js +5 -2
- package/dist/kongponents.es315.js +8 -0
- package/dist/kongponents.es316.js +8 -133
- package/dist/kongponents.es317.js +5 -1
- package/dist/kongponents.es318.js +4 -56
- package/dist/kongponents.es319.js +19 -0
- package/dist/kongponents.es320.js +3 -4
- package/dist/kongponents.es321.js +7 -4
- package/dist/kongponents.es322.js +6 -19
- package/dist/kongponents.es323.js +3 -3
- package/dist/kongponents.es324.js +2 -5
- package/dist/kongponents.es325.js +5 -5
- package/dist/kongponents.es326.js +9 -8
- package/dist/kongponents.es327.js +4 -5
- package/dist/kongponents.es328.js +4 -4
- package/dist/kongponents.es329.js +3 -17
- package/dist/kongponents.es330.js +2 -2
- package/dist/kongponents.es331.js +8 -8
- package/dist/kongponents.es332.js +6 -6
- package/dist/kongponents.es333.js +5 -4
- package/dist/kongponents.es334.js +10 -2
- package/dist/kongponents.es335.js +5 -5
- package/dist/kongponents.es336.js +9 -10
- package/dist/kongponents.es337.js +6 -4
- package/dist/kongponents.es338.js +18 -4
- package/dist/kongponents.es339.js +12 -3
- package/dist/kongponents.es340.js +6 -3
- package/dist/kongponents.es341.js +12 -7
- package/dist/kongponents.es342.js +8 -5
- package/dist/kongponents.es343.js +6 -5
- package/dist/kongponents.es344.js +8 -9
- package/dist/kongponents.es345.js +14 -4
- package/dist/kongponents.es346.js +17 -8
- package/dist/kongponents.es347.js +5 -6
- package/dist/kongponents.es348.js +10 -17
- package/dist/kongponents.es349.js +6 -11
- package/dist/kongponents.es350.js +7 -6
- package/dist/kongponents.es351.js +5 -12
- package/dist/kongponents.es352.js +6 -9
- package/dist/kongponents.es353.js +8 -4
- package/dist/kongponents.es354.js +7 -8
- package/dist/kongponents.es355.js +3 -15
- package/dist/kongponents.es356.js +5 -17
- package/dist/kongponents.es357.js +15 -5
- package/dist/kongponents.es358.js +216 -10
- package/dist/kongponents.es359.js +374 -6
- package/dist/kongponents.es36.js +2 -2
- package/dist/kongponents.es360.js +127 -7
- package/dist/kongponents.es361.js +180 -6
- package/dist/kongponents.es363.js +64 -10
- package/dist/kongponents.es365.js +57 -4
- package/dist/kongponents.es367.js +10 -15
- package/dist/kongponents.es368.js +11 -57
- package/dist/kongponents.es369.js +15 -0
- package/dist/kongponents.es37.js +1 -1
- package/dist/kongponents.es370.js +10 -10
- package/dist/kongponents.es371.js +18 -10
- package/dist/kongponents.es372.js +5 -12
- package/dist/kongponents.es373.js +55 -11
- package/dist/kongponents.es374.js +2 -19
- package/dist/kongponents.es375.js +71 -5
- package/dist/kongponents.es376.js +2 -55
- package/dist/kongponents.es377.js +13 -2
- package/dist/kongponents.es378.js +20 -69
- package/dist/kongponents.es379.js +22 -2
- package/dist/kongponents.es380.js +19 -11
- package/dist/kongponents.es381.js +647 -20
- package/dist/kongponents.es382.js +82 -20
- package/dist/kongponents.es383.js +11 -17
- package/dist/kongponents.es384.js +26 -649
- package/dist/kongponents.es385.js +15 -82
- package/dist/kongponents.es386.js +12 -12
- package/dist/kongponents.es387.js +12 -22
- package/dist/kongponents.es388.js +12 -14
- package/dist/kongponents.es389.js +23 -14
- package/dist/kongponents.es39.js +2 -2
- package/dist/kongponents.es390.js +17 -16
- package/dist/kongponents.es391.js +2 -15
- package/dist/kongponents.es392.js +17 -23
- package/dist/kongponents.es393.js +2 -18
- package/dist/kongponents.es395.js +63 -16
- package/dist/kongponents.es396.js +4 -64
- package/dist/kongponents.es397.js +7 -4
- package/dist/kongponents.es398.js +6 -2
- package/dist/kongponents.es399.js +9 -2
- package/dist/kongponents.es400.js +5 -374
- package/dist/kongponents.es401.js +8 -126
- package/dist/kongponents.es402.js +15 -2
- package/dist/kongponents.es403.js +3 -5
- package/dist/kongponents.es404.js +5 -5771
- package/dist/kongponents.es405.js +3 -6
- package/dist/kongponents.es406.js +7 -1553
- package/dist/kongponents.es407.js +8 -5
- package/dist/kongponents.es408.js +6 -123
- package/dist/kongponents.es409.js +4 -0
- package/dist/kongponents.es41.js +2 -2
- package/dist/kongponents.es410.js +12 -7
- package/dist/kongponents.es411.js +2 -3
- package/dist/kongponents.es412.js +3 -9
- package/dist/kongponents.es413.js +26 -6
- package/dist/kongponents.es414.js +4 -10
- package/dist/kongponents.es415.js +4 -15
- package/dist/kongponents.es416.js +3 -2
- package/dist/kongponents.es417.js +4 -8
- package/dist/kongponents.es418.js +3 -2
- package/dist/kongponents.es419.js +13 -9
- package/dist/kongponents.es42.js +1 -1
- package/dist/kongponents.es420.js +5 -7
- package/dist/kongponents.es421.js +29 -5
- package/dist/kongponents.es422.js +27 -2
- package/dist/kongponents.es423.js +15 -12
- package/dist/kongponents.es424.js +9 -4
- package/dist/kongponents.es425.js +5 -3
- package/dist/kongponents.es426.js +13 -25
- package/dist/kongponents.es427.js +9 -4
- package/dist/kongponents.es428.js +3 -4
- package/dist/kongponents.es429.js +6 -4
- package/dist/kongponents.es43.js +2 -2
- package/dist/kongponents.es430.js +6 -4
- package/dist/kongponents.es431.js +8 -4
- package/dist/kongponents.es432.js +4 -13
- package/dist/kongponents.es433.js +10 -5
- package/dist/kongponents.es434.js +5 -29
- package/dist/kongponents.es435.js +4 -26
- package/dist/kongponents.es436.js +4 -15
- package/dist/kongponents.es437.js +5 -9
- package/dist/kongponents.es438.js +8 -5
- package/dist/kongponents.es439.js +6 -13
- package/dist/kongponents.es440.js +10 -9
- package/dist/kongponents.es441.js +7 -3
- package/dist/kongponents.es442.js +21 -5
- package/dist/kongponents.es444.js +85 -8
- package/dist/kongponents.es446.js +41 -11
- package/dist/kongponents.es448.js +5 -5
- package/dist/kongponents.es449.js +5773 -4
- package/dist/kongponents.es45.js +2 -2
- package/dist/kongponents.es450.js +2 -6
- package/dist/kongponents.es451.js +6 -8
- package/dist/kongponents.es452.js +6 -6
- package/dist/kongponents.es453.js +7 -10
- package/dist/kongponents.es454.js +6 -6
- package/dist/kongponents.es455.js +8 -21
- package/dist/kongponents.es456.js +123 -7
- package/dist/kongponents.es458.js +25 -7
- package/dist/kongponents.es459.js +7 -8
- package/dist/kongponents.es46.js +2 -2
- package/dist/kongponents.es460.js +11 -25
- package/dist/kongponents.es461.js +14 -95
- package/dist/kongponents.es462.js +16 -0
- package/dist/kongponents.es463.js +67 -8
- package/dist/kongponents.es464.js +31 -11
- package/dist/kongponents.es465.js +11 -14
- package/dist/kongponents.es466.js +121 -14
- package/dist/kongponents.es467.js +84 -65
- package/dist/kongponents.es468.js +2 -31
- package/dist/kongponents.es469.js +2 -11
- package/dist/kongponents.es470.js +18 -120
- package/dist/kongponents.es471.js +2 -86
- package/dist/kongponents.es472.js +22 -2
- package/dist/kongponents.es473.js +2 -2
- package/dist/kongponents.es474.js +16 -2
- package/dist/kongponents.es475.js +2 -19
- package/dist/kongponents.es476.js +23 -2
- package/dist/kongponents.es477.js +20 -19
- package/dist/kongponents.es478.js +26 -2
- package/dist/kongponents.es479.js +21 -14
- package/dist/kongponents.es480.js +32 -2
- package/dist/kongponents.es481.js +11 -18
- package/dist/kongponents.es482.js +65 -21
- package/dist/kongponents.es483.js +2 -26
- package/dist/kongponents.es484.js +2 -23
- package/dist/kongponents.es485.js +2 -32
- package/dist/kongponents.es486.js +2 -16
- package/dist/kongponents.es487.js +2 -67
- package/dist/kongponents.es488.js +30 -2
- package/dist/kongponents.es489.js +2 -2
- package/dist/kongponents.es490.js +4 -2
- package/dist/kongponents.es491.js +7 -2
- package/dist/kongponents.es492.js +18 -2
- package/dist/kongponents.es493.js +4 -29
- package/dist/kongponents.es494.js +4 -3
- package/dist/kongponents.es495.js +3 -10
- package/dist/kongponents.es496.js +3 -16
- package/dist/kongponents.es497.js +14 -6
- package/dist/kongponents.es498.js +6 -17
- package/dist/kongponents.es499.js +8 -5
- package/dist/kongponents.es500.js +10 -4
- package/dist/kongponents.es501.js +3 -2
- package/dist/kongponents.es503.js +3 -14
- package/dist/kongponents.es504.js +37 -6
- package/dist/kongponents.es505.js +43 -8
- package/dist/kongponents.es506.js +33 -10
- package/dist/kongponents.es507.js +2 -4
- package/dist/kongponents.es508.js +16 -2
- package/dist/kongponents.es509.js +5 -3
- package/dist/kongponents.es510.js +9 -36
- package/dist/kongponents.es511.js +16 -42
- package/dist/kongponents.es512.js +1550 -27
- package/dist/kongponents.es513.js +4 -2
- package/dist/kongponents.es514.js +94 -17
- package/dist/kongponents.es521.js +2 -2
- package/dist/kongponents.es524.js +3 -3
- package/dist/kongponents.es525.js +3 -3
- package/dist/kongponents.es528.js +5 -5
- package/dist/kongponents.es529.js +5 -5
- package/dist/kongponents.es53.js +2 -2
- package/dist/kongponents.es533.js +2 -2
- package/dist/kongponents.es536.js +1 -1
- package/dist/kongponents.es538.js +1 -1
- package/dist/kongponents.es539.js +1 -1
- package/dist/kongponents.es54.js +2 -2
- package/dist/kongponents.es546.js +1 -1
- package/dist/kongponents.es56.js +2 -2
- package/dist/kongponents.es578.js +1 -1
- package/dist/kongponents.es581.js +1 -1
- package/dist/kongponents.es585.js +1 -1
- package/dist/kongponents.es586.js +1 -1
- package/dist/kongponents.es60.js +1 -1
- package/dist/kongponents.es616.js +2 -2
- package/dist/kongponents.es617.js +2 -2
- package/dist/kongponents.es65.js +2 -2
- package/dist/kongponents.es66.js +3 -3
- package/dist/kongponents.es69.js +1 -1
- package/dist/kongponents.es70.js +4 -4
- package/dist/kongponents.es73.js +22 -22
- 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 +20 -20
- package/dist/kongponents.es90.js +24 -24
- package/dist/kongponents.es95.js +5 -5
- package/dist/kongponents.es97.js +29 -29
- package/dist/kongponents.umd.js +11 -11
- 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/kongponents116.cjs +1 -1
- package/dist/kongponents118.cjs +2 -2
- package/dist/kongponents120.cjs +1 -1
- package/dist/kongponents123.cjs +1 -1
- package/dist/kongponents125.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 +2 -2
- 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/kongponents182.cjs +1 -1
- package/dist/kongponents183.cjs +1 -1
- package/dist/kongponents184.cjs +1 -1
- package/dist/kongponents185.cjs +2 -1
- package/dist/kongponents186.cjs +1 -2
- package/dist/kongponents187.cjs +1 -1
- package/dist/kongponents188.cjs +1 -1
- package/dist/kongponents189.cjs +1 -1
- package/dist/kongponents190.cjs +2 -1
- package/dist/kongponents191.cjs +1 -1
- package/dist/kongponents192.cjs +1 -1
- package/dist/kongponents193.cjs +1 -1
- package/dist/kongponents194.cjs +1 -1
- package/dist/kongponents196.cjs +1 -1
- package/dist/kongponents197.cjs +1 -1
- package/dist/kongponents198.cjs +1 -1
- package/dist/kongponents199.cjs +1 -1
- package/dist/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 -5
- package/dist/kongponents213.cjs +1 -1
- package/dist/kongponents214.cjs +1 -0
- 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 +5 -1
- package/dist/kongponents227.cjs +1 -1
- package/dist/kongponents228.cjs +1 -1
- package/dist/kongponents229.cjs +1 -1
- package/dist/kongponents230.cjs +1 -1
- package/dist/kongponents231.cjs +1 -1
- package/dist/kongponents232.cjs +1 -1
- package/dist/kongponents233.cjs +1 -1
- package/dist/kongponents234.cjs +1 -1
- package/dist/kongponents235.cjs +1 -1
- package/dist/kongponents236.cjs +1 -1
- package/dist/kongponents237.cjs +1 -1
- package/dist/kongponents238.cjs +1 -1
- package/dist/kongponents239.cjs +1 -2
- 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/{kongponents260.cjs → kongponents247.cjs} +1 -1
- package/dist/kongponents248.cjs +1 -1
- package/dist/{kongponents266.cjs → kongponents249.cjs} +1 -1
- package/dist/{kongponents270.cjs → kongponents253.cjs} +1 -1
- package/dist/kongponents255.cjs +1 -0
- package/dist/{kongponents262.cjs → kongponents257.cjs} +1 -1
- package/dist/kongponents259.cjs +1 -1
- package/dist/kongponents26.cjs +1 -1
- package/dist/kongponents261.cjs +1 -1
- package/dist/kongponents263.cjs +1 -0
- package/dist/{kongponents254.cjs → kongponents269.cjs} +1 -1
- package/dist/kongponents273.cjs +1 -1
- package/dist/kongponents274.cjs +1 -1
- package/dist/kongponents275.cjs +1 -1
- package/dist/kongponents276.cjs +1 -1
- package/dist/kongponents277.cjs +1 -1
- package/dist/kongponents278.cjs +1 -0
- package/dist/kongponents279.cjs +6 -1
- package/dist/kongponents280.cjs +1 -0
- package/dist/kongponents281.cjs +1 -4
- package/dist/kongponents282.cjs +1 -1
- package/dist/kongponents283.cjs +1 -0
- package/dist/kongponents284.cjs +1 -1
- package/dist/kongponents285.cjs +1 -0
- 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/kongponents29.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/{kongponents362.cjs → 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 -0
- 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/kongponents338.cjs +1 -1
- package/dist/kongponents339.cjs +1 -1
- package/dist/kongponents340.cjs +1 -1
- package/dist/kongponents341.cjs +1 -1
- package/dist/kongponents342.cjs +1 -1
- package/dist/kongponents343.cjs +1 -1
- package/dist/kongponents344.cjs +1 -1
- package/dist/kongponents345.cjs +1 -1
- package/dist/kongponents346.cjs +1 -1
- package/dist/kongponents347.cjs +1 -1
- package/dist/kongponents348.cjs +1 -1
- package/dist/kongponents349.cjs +1 -1
- package/dist/kongponents350.cjs +1 -1
- package/dist/kongponents351.cjs +1 -1
- package/dist/kongponents352.cjs +1 -1
- package/dist/kongponents353.cjs +1 -1
- package/dist/kongponents354.cjs +1 -1
- package/dist/kongponents355.cjs +1 -1
- package/dist/kongponents356.cjs +1 -1
- package/dist/kongponents357.cjs +1 -1
- package/dist/kongponents358.cjs +4 -1
- package/dist/kongponents359.cjs +1 -1
- package/dist/kongponents36.cjs +1 -1
- package/dist/kongponents360.cjs +1 -1
- package/dist/kongponents361.cjs +1 -1
- package/dist/kongponents363.cjs +1 -1
- package/dist/kongponents365.cjs +1 -1
- package/dist/kongponents367.cjs +1 -1
- package/dist/kongponents368.cjs +1 -1
- package/dist/kongponents369.cjs +1 -0
- package/dist/kongponents37.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/kongponents39.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/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 -10
- package/dist/kongponents407.cjs +1 -1
- package/dist/kongponents408.cjs +1 -1
- package/dist/kongponents409.cjs +1 -0
- package/dist/kongponents41.cjs +1 -1
- package/dist/kongponents410.cjs +1 -1
- package/dist/kongponents411.cjs +1 -1
- package/dist/kongponents412.cjs +1 -1
- package/dist/kongponents413.cjs +1 -1
- package/dist/kongponents414.cjs +1 -1
- package/dist/kongponents415.cjs +1 -1
- package/dist/kongponents416.cjs +1 -1
- package/dist/kongponents417.cjs +1 -1
- package/dist/kongponents418.cjs +1 -1
- package/dist/kongponents419.cjs +1 -1
- package/dist/kongponents42.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/kongponents43.cjs +1 -1
- package/dist/kongponents430.cjs +1 -1
- package/dist/kongponents431.cjs +1 -1
- package/dist/kongponents432.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/kongponents444.cjs +1 -1
- package/dist/kongponents446.cjs +1 -1
- package/dist/kongponents448.cjs +1 -1
- package/dist/kongponents449.cjs +1 -1
- package/dist/kongponents45.cjs +1 -1
- package/dist/kongponents450.cjs +1 -1
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents452.cjs +1 -1
- package/dist/kongponents453.cjs +1 -1
- package/dist/kongponents454.cjs +1 -1
- package/dist/kongponents455.cjs +1 -1
- package/dist/kongponents456.cjs +1 -1
- package/dist/kongponents458.cjs +1 -1
- package/dist/kongponents459.cjs +1 -1
- package/dist/kongponents46.cjs +1 -1
- package/dist/kongponents460.cjs +1 -1
- package/dist/kongponents461.cjs +1 -1
- package/dist/kongponents462.cjs +1 -0
- package/dist/kongponents463.cjs +1 -1
- package/dist/kongponents464.cjs +1 -1
- package/dist/kongponents465.cjs +1 -1
- package/dist/kongponents466.cjs +1 -1
- package/dist/kongponents467.cjs +1 -1
- package/dist/kongponents468.cjs +1 -1
- package/dist/kongponents469.cjs +1 -1
- package/dist/kongponents470.cjs +1 -1
- package/dist/kongponents471.cjs +1 -1
- package/dist/kongponents472.cjs +1 -1
- package/dist/kongponents474.cjs +1 -1
- package/dist/kongponents475.cjs +1 -1
- package/dist/kongponents476.cjs +1 -1
- package/dist/kongponents477.cjs +1 -1
- package/dist/kongponents478.cjs +1 -1
- package/dist/kongponents479.cjs +1 -1
- package/dist/kongponents480.cjs +1 -1
- package/dist/kongponents481.cjs +1 -1
- package/dist/kongponents482.cjs +1 -1
- package/dist/kongponents483.cjs +1 -1
- package/dist/kongponents484.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/kongponents491.cjs +1 -1
- package/dist/kongponents492.cjs +1 -1
- package/dist/kongponents493.cjs +1 -1
- package/dist/kongponents494.cjs +1 -1
- package/dist/kongponents495.cjs +1 -1
- package/dist/kongponents496.cjs +1 -1
- package/dist/kongponents497.cjs +1 -1
- package/dist/kongponents498.cjs +1 -1
- package/dist/kongponents499.cjs +1 -1
- package/dist/kongponents500.cjs +1 -1
- package/dist/kongponents501.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 +10 -1
- package/dist/kongponents513.cjs +1 -1
- package/dist/kongponents514.cjs +1 -1
- package/dist/kongponents524.cjs +1 -1
- package/dist/kongponents525.cjs +1 -1
- package/dist/kongponents528.cjs +1 -1
- package/dist/kongponents529.cjs +1 -1
- package/dist/kongponents53.cjs +1 -1
- package/dist/kongponents536.cjs +1 -1
- package/dist/kongponents538.cjs +1 -1
- package/dist/kongponents539.cjs +1 -1
- package/dist/kongponents54.cjs +1 -1
- package/dist/kongponents546.cjs +1 -1
- package/dist/kongponents56.cjs +1 -1
- package/dist/kongponents578.cjs +1 -1
- package/dist/kongponents581.cjs +1 -1
- package/dist/kongponents585.cjs +1 -1
- package/dist/kongponents586.cjs +1 -1
- package/dist/kongponents60.cjs +1 -1
- package/dist/kongponents65.cjs +1 -1
- package/dist/kongponents66.cjs +1 -1
- package/dist/kongponents69.cjs +1 -1
- package/dist/kongponents70.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 +2 -2
- package/dist/kongponents95.cjs +1 -1
- package/dist/kongponents97.cjs +1 -1
- package/package.json +2 -2
- package/dist/kongponents.es195.js +0 -7
- package/dist/kongponents.es258.js +0 -614
- package/dist/kongponents.es264.js +0 -244
- package/dist/kongponents.es362.js +0 -9
- package/dist/kongponents.es364.js +0 -10
- package/dist/kongponents.es366.js +0 -8
- package/dist/kongponents.es443.js +0 -8
- package/dist/kongponents.es445.js +0 -8
- package/dist/kongponents.es447.js +0 -8
- package/dist/kongponents.es457.js +0 -9
- package/dist/kongponents.es515.js +0 -8
- package/dist/kongponents195.cjs +0 -1
- package/dist/kongponents258.cjs +0 -6
- package/dist/kongponents264.cjs +0 -1
- package/dist/kongponents272.cjs +0 -1
- package/dist/kongponents364.cjs +0 -1
- package/dist/kongponents366.cjs +0 -1
- package/dist/kongponents443.cjs +0 -1
- package/dist/kongponents445.cjs +0 -1
- package/dist/kongponents447.cjs +0 -1
- package/dist/kongponents457.cjs +0 -1
- package/dist/kongponents515.cjs +0 -1
- /package/dist/{kongponents.es268.js → kongponents.es251.js} +0 -0
- /package/dist/{kongponents.es250.js → kongponents.es265.js} +0 -0
- /package/dist/{kongponents.es252.js → kongponents.es267.js} +0 -0
- /package/dist/{kongponents.es256.js → kongponents.es271.js} +0 -0
- /package/dist/{kongponents268.cjs → kongponents251.cjs} +0 -0
- /package/dist/{kongponents250.cjs → kongponents265.cjs} +0 -0
- /package/dist/{kongponents252.cjs → kongponents267.cjs} +0 -0
- /package/dist/{kongponents256.cjs → kongponents271.cjs} +0 -0
|
@@ -1,25 +1,244 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { defineComponent as Z, useCssVars as _, useAttrs as ee, ref as k, useTemplateRef as E, computed as r, onMounted as te, resolveComponent as le, openBlock as x, createBlock as w, unref as F, withCtx as m, createElementVNode as P, createVNode as S, createTextVNode as q, renderSlot as ae, createElementBlock as oe, createCommentVNode as ie, toDisplayString as ne, mergeProps as re, withModifiers as ue, nextTick as se } from "vue";
|
|
2
|
+
import { KUI_SPACE_30 as ce } from "./kongponents.es181.js";
|
|
3
|
+
import de from "./kongponents.es56.js";
|
|
4
|
+
import fe from "./kongponents.es49.js";
|
|
5
|
+
import I from "./kongponents.es60.js";
|
|
6
|
+
import ve from "./kongponents.es54.js";
|
|
7
|
+
import me from "./kongponents.es448.js";
|
|
8
|
+
const pe = {
|
|
9
|
+
class: "filter-content",
|
|
10
|
+
"data-testid": "filter-pill-content"
|
|
11
|
+
}, be = { class: "default-layout" }, ye = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "operator"
|
|
14
|
+
}, Ve = { class: "value" }, he = { class: "footer" }, qe = /* @__PURE__ */ Z({
|
|
15
|
+
inheritAttrs: !1,
|
|
16
|
+
__name: "FilterPill",
|
|
17
|
+
props: {
|
|
18
|
+
filter: {},
|
|
19
|
+
initOpen: { type: Boolean, default: !1 },
|
|
20
|
+
selection: { default: () => {
|
|
21
|
+
} },
|
|
22
|
+
custom: { type: Boolean, default: !1 }
|
|
23
|
+
},
|
|
24
|
+
emits: ["apply", "close", "open", "clear"],
|
|
25
|
+
setup(t, { emit: M }) {
|
|
26
|
+
_((l) => ({
|
|
27
|
+
v368b424a: D.value
|
|
28
|
+
}));
|
|
29
|
+
const N = ee(), p = M, b = k(!1), C = E("filterPopper"), f = k(), u = k(), s = k(), c = k(), T = E("inputField"), v = r(() => t.custom ? "custom" : t.filter.options && !t.filter.multiple ? "select" : t.filter.options && t.filter.multiple ? "multiselect" : "input"), L = r(() => {
|
|
30
|
+
switch (v.value) {
|
|
31
|
+
case "input":
|
|
32
|
+
return !u.value || u.value === "";
|
|
33
|
+
case "select":
|
|
34
|
+
return !s.value;
|
|
35
|
+
case "multiselect":
|
|
36
|
+
return !c.value || c.value.length === 0;
|
|
37
|
+
case "custom":
|
|
38
|
+
default:
|
|
39
|
+
return !1;
|
|
40
|
+
}
|
|
41
|
+
}), g = r(() => t.filter.operators && t.filter.operators.length ? t.filter.operators : ["eq"]), D = r(() => g.value.some((l) => l === "lte" || l === "gte") ? "205px" : "120px"), R = r(() => {
|
|
42
|
+
var o, a, V, h, i, n, K, O;
|
|
43
|
+
let l, e;
|
|
44
|
+
switch (v.value) {
|
|
45
|
+
case "input":
|
|
46
|
+
l = u.value, e = u.value;
|
|
47
|
+
break;
|
|
48
|
+
case "select":
|
|
49
|
+
l = s.value, e = ((V = (a = (o = t.filter) == null ? void 0 : o.options) == null ? void 0 : a.find(({ value: d }) => d === s.value)) == null ? void 0 : V.label) ?? ((h = s.value) == null ? void 0 : h.toString());
|
|
50
|
+
break;
|
|
51
|
+
case "multiselect":
|
|
52
|
+
l = c.value, e = (O = (K = (n = (i = c.value) == null ? void 0 : i.map((d) => {
|
|
53
|
+
var U;
|
|
54
|
+
return (U = t.filter.options) == null ? void 0 : U.find(({ value: Y }) => Y === d);
|
|
55
|
+
})) == null ? void 0 : n.filter((d) => d !== void 0)) == null ? void 0 : K.map(({ label: d }) => d)) == null ? void 0 : O.join(", ");
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
if (!(f.value === void 0 || l === void 0 || e === void 0))
|
|
59
|
+
return {
|
|
60
|
+
operator: f.value,
|
|
61
|
+
value: l,
|
|
62
|
+
text: e
|
|
63
|
+
};
|
|
64
|
+
}), $ = r(() => {
|
|
65
|
+
var l;
|
|
66
|
+
switch ((l = t.selection) == null ? void 0 : l.operator) {
|
|
67
|
+
case "eq":
|
|
68
|
+
return " = ";
|
|
69
|
+
case "neq":
|
|
70
|
+
return " ≠ ";
|
|
71
|
+
case "lt":
|
|
72
|
+
return " < ";
|
|
73
|
+
case "lte":
|
|
74
|
+
return " ≤ ";
|
|
75
|
+
case "gt":
|
|
76
|
+
return " > ";
|
|
77
|
+
case "gte":
|
|
78
|
+
return " ≥ ";
|
|
79
|
+
case "contains":
|
|
80
|
+
case "exists":
|
|
81
|
+
default:
|
|
82
|
+
return ": ";
|
|
83
|
+
}
|
|
84
|
+
}), A = r(() => {
|
|
85
|
+
const l = {
|
|
86
|
+
eq: "Equals",
|
|
87
|
+
neq: "Not equals",
|
|
88
|
+
contains: "Contains",
|
|
89
|
+
exists: "Exists",
|
|
90
|
+
lt: "Less than",
|
|
91
|
+
lte: "Less than or equal to",
|
|
92
|
+
gt: "Greater than",
|
|
93
|
+
gte: "Greater than or equal to"
|
|
94
|
+
};
|
|
95
|
+
return g.value.map((e) => ({
|
|
96
|
+
label: l[e],
|
|
97
|
+
value: e
|
|
98
|
+
}));
|
|
99
|
+
}), G = r(() => {
|
|
100
|
+
var l;
|
|
101
|
+
return ((l = A.value.find(({ value: e }) => e === f.value)) == null ? void 0 : l.label) ?? "";
|
|
102
|
+
}), W = () => {
|
|
103
|
+
var l, e;
|
|
104
|
+
v.value === "input" && ((e = (l = T.value) == null ? void 0 : l.input) == null || e.focus());
|
|
105
|
+
}, j = () => {
|
|
106
|
+
var l, e, o, a, V, h;
|
|
107
|
+
f.value = ((l = t.selection) == null ? void 0 : l.operator) ?? ((e = g.value) == null ? void 0 : e[0]), u.value = typeof ((o = t.selection) == null ? void 0 : o.value) == "string" ? t.selection.value : void 0, s.value = (V = (a = t.filter.options) == null ? void 0 : a.find(({ value: i }) => {
|
|
108
|
+
var n;
|
|
109
|
+
return i === ((n = t.selection) == null ? void 0 : n.value);
|
|
110
|
+
})) == null ? void 0 : V.value, c.value = (h = t.filter.options) == null ? void 0 : h.filter(({ value: i }) => {
|
|
111
|
+
var n;
|
|
112
|
+
if (Array.isArray((n = t.selection) == null ? void 0 : n.value))
|
|
113
|
+
return t.selection.value.includes(`${i}`);
|
|
114
|
+
}).map(({ value: i }) => i);
|
|
115
|
+
}, B = async () => {
|
|
116
|
+
j(), C.value && (C.value.showPopover(), b.value = !0, await se(), W()), p("open");
|
|
117
|
+
}, y = () => {
|
|
118
|
+
C.value && (C.value.hidePopover(), b.value = !1), p("close");
|
|
119
|
+
};
|
|
120
|
+
te(() => {
|
|
121
|
+
t.initOpen && B();
|
|
122
|
+
});
|
|
123
|
+
const z = () => {
|
|
124
|
+
b.value && y();
|
|
125
|
+
}, H = () => {
|
|
126
|
+
v.value === "custom" ? p("apply", void 0) : p("apply", R.value), y();
|
|
127
|
+
}, J = () => {
|
|
128
|
+
y();
|
|
129
|
+
}, Q = () => {
|
|
130
|
+
y(), p("clear");
|
|
131
|
+
}, X = () => {
|
|
132
|
+
b.value ? y() : B();
|
|
133
|
+
};
|
|
134
|
+
return (l, e) => {
|
|
135
|
+
const o = le("KButton");
|
|
136
|
+
return x(), w(de, {
|
|
137
|
+
ref: "filterPopper",
|
|
138
|
+
"max-width": t.filter.maxWidth ?? "400px",
|
|
139
|
+
offset: `var(--kui-space-30, ${F(ce)})`,
|
|
140
|
+
placement: t.filter.placement ?? "bottom-start",
|
|
141
|
+
width: "auto",
|
|
142
|
+
onClose: z
|
|
143
|
+
}, {
|
|
144
|
+
default: m(() => {
|
|
145
|
+
var a;
|
|
146
|
+
return [
|
|
147
|
+
S(me, re({
|
|
148
|
+
"content-label": (a = t.selection) == null ? void 0 : a.text,
|
|
149
|
+
"data-testid": "filter-pill",
|
|
150
|
+
delimiter: $.value,
|
|
151
|
+
label: t.filter.label,
|
|
152
|
+
"pill-focus": b.value
|
|
153
|
+
}, F(N), {
|
|
154
|
+
onClear: Q,
|
|
155
|
+
onClick: e[0] || (e[0] = ue(() => {
|
|
156
|
+
}, ["prevent", "stop"])),
|
|
157
|
+
onTrigger: X
|
|
158
|
+
}), null, 16, ["content-label", "delimiter", "label", "pill-focus"])
|
|
159
|
+
];
|
|
160
|
+
}),
|
|
161
|
+
title: m(() => [
|
|
162
|
+
q(ne(t.filter.label), 1)
|
|
163
|
+
]),
|
|
164
|
+
content: m(() => [
|
|
165
|
+
P("div", pe, [
|
|
166
|
+
ae(l.$slots, "default", {}, () => [
|
|
167
|
+
P("div", be, [
|
|
168
|
+
g.value.length > 1 ? (x(), oe("div", ye, [
|
|
169
|
+
S(I, {
|
|
170
|
+
modelValue: f.value,
|
|
171
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => f.value = a),
|
|
172
|
+
items: A.value,
|
|
173
|
+
"kpop-attributes": {
|
|
174
|
+
popoverClasses: "force-operator-width"
|
|
175
|
+
},
|
|
176
|
+
label: "Operator",
|
|
177
|
+
title: G.value
|
|
178
|
+
}, null, 8, ["modelValue", "items", "title"])
|
|
179
|
+
])) : ie("", !0),
|
|
180
|
+
P("div", Ve, [
|
|
181
|
+
v.value === "select" ? (x(), w(I, {
|
|
182
|
+
key: 0,
|
|
183
|
+
modelValue: s.value,
|
|
184
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => s.value = a),
|
|
185
|
+
"data-testid": "filter-pill-select",
|
|
186
|
+
items: t.filter.options,
|
|
187
|
+
label: "Value",
|
|
188
|
+
placeholder: "Select a value"
|
|
189
|
+
}, null, 8, ["modelValue", "items"])) : v.value === "multiselect" ? (x(), w(ve, {
|
|
190
|
+
key: 1,
|
|
191
|
+
modelValue: c.value,
|
|
192
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => c.value = a),
|
|
193
|
+
"data-testid": "filter-pill-multiselect",
|
|
194
|
+
items: t.filter.options,
|
|
195
|
+
label: "Value",
|
|
196
|
+
placeholder: "Select values"
|
|
197
|
+
}, null, 8, ["modelValue", "items"])) : (x(), w(fe, {
|
|
198
|
+
key: 2,
|
|
199
|
+
ref: "inputField",
|
|
200
|
+
modelValue: u.value,
|
|
201
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => u.value = a),
|
|
202
|
+
modelModifiers: { trim: !0 },
|
|
203
|
+
"data-testid": "filter-pill-input",
|
|
204
|
+
label: "Value",
|
|
205
|
+
placeholder: "Enter a value"
|
|
206
|
+
}, null, 8, ["modelValue"]))
|
|
207
|
+
])
|
|
208
|
+
])
|
|
209
|
+
], !0)
|
|
210
|
+
])
|
|
211
|
+
]),
|
|
212
|
+
footer: m(() => [
|
|
213
|
+
P("div", he, [
|
|
214
|
+
S(o, {
|
|
215
|
+
appearance: "secondary",
|
|
216
|
+
"data-testid": "filter-pill-cancel",
|
|
217
|
+
onClick: J
|
|
218
|
+
}, {
|
|
219
|
+
default: m(() => [...e[5] || (e[5] = [
|
|
220
|
+
q(" Cancel ", -1)
|
|
221
|
+
])]),
|
|
222
|
+
_: 1
|
|
223
|
+
}),
|
|
224
|
+
S(o, {
|
|
225
|
+
appearance: "primary",
|
|
226
|
+
"data-testid": "filter-pill-apply",
|
|
227
|
+
disabled: L.value,
|
|
228
|
+
onClick: H
|
|
229
|
+
}, {
|
|
230
|
+
default: m(() => [...e[6] || (e[6] = [
|
|
231
|
+
q(" Apply ", -1)
|
|
232
|
+
])]),
|
|
233
|
+
_: 1
|
|
234
|
+
}, 8, ["disabled"])
|
|
235
|
+
])
|
|
236
|
+
]),
|
|
237
|
+
_: 3
|
|
238
|
+
}, 8, ["max-width", "offset", "placement"]);
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
});
|
|
18
242
|
export {
|
|
19
|
-
|
|
20
|
-
u as isObject,
|
|
21
|
-
a as noop,
|
|
22
|
-
d as toArray,
|
|
23
|
-
s as tryOnScopeDispose,
|
|
24
|
-
l as watchImmediate
|
|
243
|
+
qe as default
|
|
25
244
|
};
|
package/dist/kongponents.es26.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as A, watch as d, ref as E, computed as f, useTemplateRef as V, onMounted as I, openBlock as k, createElementBlock as B, normalizeStyle as q, createVNode as N, createSlots as w, withCtx as g, renderSlot as v } from "vue";
|
|
2
|
-
import z from "./kongponents.
|
|
3
|
-
import { normalizeSize as J } from "./kongponents.
|
|
4
|
-
import { warnInvalidProp as o } from "./kongponents.
|
|
5
|
-
import { getMaximumDepth as L } from "./kongponents.
|
|
2
|
+
import z from "./kongponents.es238.js";
|
|
3
|
+
import { normalizeSize as J } from "./kongponents.es182.js";
|
|
4
|
+
import { warnInvalidProp as o } from "./kongponents.es223.js";
|
|
5
|
+
import { getMaximumDepth as L } from "./kongponents.es239.js";
|
|
6
6
|
const R = /* @__PURE__ */ A({
|
|
7
7
|
__name: "KTreeList",
|
|
8
8
|
props: {
|
|
@@ -1,330 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function s(l) {
|
|
27
|
-
try {
|
|
28
|
-
t(i.throw(l));
|
|
29
|
-
} catch (u) {
|
|
30
|
-
f(u);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function t(l) {
|
|
34
|
-
l.done ? e(l.value) : a(l.value).then(h, s);
|
|
35
|
-
}
|
|
36
|
-
t((i = i.apply(o, n || [])).next());
|
|
37
|
-
});
|
|
38
|
-
}, p = function(o, n) {
|
|
39
|
-
var r = { label: 0, sent: function() {
|
|
40
|
-
if (e[0] & 1) throw e[1];
|
|
41
|
-
return e[1];
|
|
42
|
-
}, trys: [], ops: [] }, i, a, e, f;
|
|
43
|
-
return f = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (f[Symbol.iterator] = function() {
|
|
44
|
-
return this;
|
|
45
|
-
}), f;
|
|
46
|
-
function h(t) {
|
|
47
|
-
return function(l) {
|
|
48
|
-
return s([t, l]);
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function s(t) {
|
|
52
|
-
if (i) throw new TypeError("Generator is already executing.");
|
|
53
|
-
for (; r; ) try {
|
|
54
|
-
if (i = 1, a && (e = t[0] & 2 ? a.return : t[0] ? a.throw || ((e = a.return) && e.call(a), 0) : a.next) && !(e = e.call(a, t[1])).done) return e;
|
|
55
|
-
switch (a = 0, e && (t = [t[0] & 2, e.value]), t[0]) {
|
|
56
|
-
case 0:
|
|
57
|
-
case 1:
|
|
58
|
-
e = t;
|
|
59
|
-
break;
|
|
60
|
-
case 4:
|
|
61
|
-
return r.label++, { value: t[1], done: !1 };
|
|
62
|
-
case 5:
|
|
63
|
-
r.label++, a = t[1], t = [0];
|
|
64
|
-
continue;
|
|
65
|
-
case 7:
|
|
66
|
-
t = r.ops.pop(), r.trys.pop();
|
|
67
|
-
continue;
|
|
68
|
-
default:
|
|
69
|
-
if (e = r.trys, !(e = e.length > 0 && e[e.length - 1]) && (t[0] === 6 || t[0] === 2)) {
|
|
70
|
-
r = 0;
|
|
71
|
-
continue;
|
|
72
|
-
}
|
|
73
|
-
if (t[0] === 3 && (!e || t[1] > e[0] && t[1] < e[3])) {
|
|
74
|
-
r.label = t[1];
|
|
75
|
-
break;
|
|
76
|
-
}
|
|
77
|
-
if (t[0] === 6 && r.label < e[1]) {
|
|
78
|
-
r.label = e[1], e = t;
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
if (e && r.label < e[2]) {
|
|
82
|
-
r.label = e[2], r.ops.push(t);
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
e[2] && r.ops.pop(), r.trys.pop();
|
|
86
|
-
continue;
|
|
87
|
-
}
|
|
88
|
-
t = n.call(o, r);
|
|
89
|
-
} catch (l) {
|
|
90
|
-
t = [6, l], a = 0;
|
|
91
|
-
} finally {
|
|
92
|
-
i = e = 0;
|
|
93
|
-
}
|
|
94
|
-
if (t[0] & 5) throw t[1];
|
|
95
|
-
return { value: t[0] ? t[1] : void 0, done: !0 };
|
|
96
|
-
}
|
|
97
|
-
}, $ = function(o, n) {
|
|
98
|
-
var r = typeof Symbol == "function" && o[Symbol.iterator];
|
|
99
|
-
if (!r) return o;
|
|
100
|
-
var i = r.call(o), a, e = [], f;
|
|
101
|
-
try {
|
|
102
|
-
for (; (n === void 0 || n-- > 0) && !(a = i.next()).done; ) e.push(a.value);
|
|
103
|
-
} catch (h) {
|
|
104
|
-
f = { error: h };
|
|
105
|
-
} finally {
|
|
106
|
-
try {
|
|
107
|
-
a && !a.done && (r = i.return) && r.call(i);
|
|
108
|
-
} finally {
|
|
109
|
-
if (f) throw f.error;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return e;
|
|
113
|
-
}, ee = function(o, n, r) {
|
|
114
|
-
if (r || arguments.length === 2) for (var i = 0, a = n.length, e; i < a; i++)
|
|
115
|
-
(e || !(i in n)) && (e || (e = Array.prototype.slice.call(n, 0, i)), e[i] = n[i]);
|
|
116
|
-
return o.concat(e || Array.prototype.slice.call(n));
|
|
117
|
-
}, z = new T(), O = new T(), D = new T(), F = {
|
|
118
|
-
cache: z,
|
|
119
|
-
refreshInterval: 0,
|
|
120
|
-
ttl: 0,
|
|
121
|
-
serverTTL: 1e3,
|
|
122
|
-
dedupingInterval: 2e3,
|
|
123
|
-
revalidateOnFocus: !0,
|
|
124
|
-
revalidateDebounce: 0,
|
|
125
|
-
shouldRetryOnError: !0,
|
|
126
|
-
errorRetryInterval: 5e3,
|
|
127
|
-
errorRetryCount: 5,
|
|
128
|
-
fetcher: _.fetcher,
|
|
129
|
-
isOnline: _.isOnline,
|
|
130
|
-
isDocumentVisible: _.isDocumentVisible
|
|
131
|
-
};
|
|
132
|
-
function re(o, n, r) {
|
|
133
|
-
var i = O.get(o);
|
|
134
|
-
if (i)
|
|
135
|
-
i.data.push(n);
|
|
136
|
-
else {
|
|
137
|
-
var a = 5e3;
|
|
138
|
-
O.set(o, [n], r > 0 ? r + a : r);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
function te(o, n, r) {
|
|
142
|
-
if (r.isDocumentVisible() && !(r.errorRetryCount !== void 0 && n > r.errorRetryCount)) {
|
|
143
|
-
var i = Math.min(n || 0, r.errorRetryCount), a = i * r.errorRetryInterval;
|
|
144
|
-
setTimeout(function() {
|
|
145
|
-
o(null, { errorRetryCount: i + 1, shouldRetryOnError: !0 });
|
|
146
|
-
}, a);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
function G(o) {
|
|
150
|
-
var n = o.shouldRetry, r = n === void 0 ? void 0 : n, i = o.error;
|
|
151
|
-
return typeof r == "function" ? r(i) : typeof r == "boolean" ? r : F.shouldRetryOnError;
|
|
152
|
-
}
|
|
153
|
-
var q = function(o, n, r, i) {
|
|
154
|
-
return r === void 0 && (r = z), i === void 0 && (i = F.ttl), E(void 0, void 0, void 0, function() {
|
|
155
|
-
var a, e, f, h, s, t, l;
|
|
156
|
-
return p(this, function(u) {
|
|
157
|
-
switch (u.label) {
|
|
158
|
-
case 0:
|
|
159
|
-
if (!ne(n)) return [3, 5];
|
|
160
|
-
u.label = 1;
|
|
161
|
-
case 1:
|
|
162
|
-
return u.trys.push([1, 3, , 4]), [4, n];
|
|
163
|
-
case 2:
|
|
164
|
-
return a = u.sent(), [3, 4];
|
|
165
|
-
case 3:
|
|
166
|
-
return h = u.sent(), e = h, [3, 4];
|
|
167
|
-
case 4:
|
|
168
|
-
return [3, 6];
|
|
169
|
-
case 5:
|
|
170
|
-
a = n, u.label = 6;
|
|
171
|
-
case 6:
|
|
172
|
-
if (f = !1, s = { data: a, error: e, isValidating: f }, typeof a < "u")
|
|
173
|
-
try {
|
|
174
|
-
r.set(o, s, i);
|
|
175
|
-
} catch (v) {
|
|
176
|
-
console.error("swrv(mutate): failed to set cache", v);
|
|
177
|
-
}
|
|
178
|
-
return t = O.get(o), t && t.data.length && (l = t.data.filter(function(v) {
|
|
179
|
-
return v.key === o;
|
|
180
|
-
}), l.forEach(function(v, b) {
|
|
181
|
-
typeof s.data < "u" && (v.data = s.data), v.error = s.error, v.isValidating = s.isValidating, v.isLoading = s.isValidating;
|
|
182
|
-
var g = b === l.length - 1;
|
|
183
|
-
g || delete l[b];
|
|
184
|
-
}), l = l.filter(Boolean)), [2, s];
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
});
|
|
188
|
-
};
|
|
189
|
-
function oe() {
|
|
190
|
-
for (var o = this, n = [], r = 0; r < arguments.length; r++)
|
|
191
|
-
n[r] = arguments[r];
|
|
192
|
-
var i, a, e = m({}, F), f = !1, h = !1;
|
|
193
|
-
if (!K())
|
|
194
|
-
return console.error("useSWRV must be called inside setup() or an active effectScope()."), null;
|
|
195
|
-
var s = typeof window > "u" || typeof document > "u";
|
|
196
|
-
n.length >= 1 && (i = n[0]), n.length >= 2 && (a = n[1]), n.length > 2 && (e = m(m({}, e), n[2]));
|
|
197
|
-
var t = s ? e.serverTTL : e.ttl, l = typeof i == "function" ? i : N(i);
|
|
198
|
-
typeof a > "u" && (a = e.fetcher);
|
|
199
|
-
var u = null;
|
|
200
|
-
u || (u = Q({
|
|
201
|
-
data: void 0,
|
|
202
|
-
error: void 0,
|
|
203
|
-
isValidating: !0,
|
|
204
|
-
isLoading: !0,
|
|
205
|
-
key: null
|
|
206
|
-
}));
|
|
207
|
-
var v = function(c, d) {
|
|
208
|
-
return E(o, void 0, void 0, function() {
|
|
209
|
-
var x, y, V, R, A, H, I, j = this;
|
|
210
|
-
return p(this, function(S) {
|
|
211
|
-
switch (S.label) {
|
|
212
|
-
case 0:
|
|
213
|
-
return x = u.data === void 0, y = l.value, y ? (V = e.cache.get(y), R = V && V.data, u.isValidating = !0, u.isLoading = !R, R && (u.data = R.data, u.error = R.error), A = c || a, !A || !e.isDocumentVisible() && !x || (d == null ? void 0 : d.forceRevalidate) !== void 0 && !(d != null && d.forceRevalidate) ? (u.isValidating = !1, u.isLoading = !1, [
|
|
214
|
-
2
|
|
215
|
-
/*return*/
|
|
216
|
-
]) : V && (H = !!(Date.now() - V.createdAt >= e.dedupingInterval || d != null && d.forceRevalidate), !H) ? (u.isValidating = !1, u.isLoading = !1, [
|
|
217
|
-
2
|
|
218
|
-
/*return*/
|
|
219
|
-
]) : (I = function() {
|
|
220
|
-
return E(j, void 0, void 0, function() {
|
|
221
|
-
var w, B, L, P, W, M;
|
|
222
|
-
return p(this, function(C) {
|
|
223
|
-
switch (C.label) {
|
|
224
|
-
case 0:
|
|
225
|
-
return w = D.get(y), w ? [3, 2] : (B = Array.isArray(y) ? y : [y], L = A.apply(void 0, ee([], $(B), !1)), D.set(y, L, e.dedupingInterval), [4, q(y, L, e.cache, t)]);
|
|
226
|
-
case 1:
|
|
227
|
-
return C.sent(), [3, 4];
|
|
228
|
-
case 2:
|
|
229
|
-
return [4, q(y, w.data, e.cache, t)];
|
|
230
|
-
case 3:
|
|
231
|
-
C.sent(), C.label = 4;
|
|
232
|
-
case 4:
|
|
233
|
-
return u.isValidating = !1, u.isLoading = !1, D.delete(y), u.error !== void 0 && (P = G({ shouldRetry: e.shouldRetryOnError, error: u.error }), W = G({
|
|
234
|
-
shouldRetry: d ? d.shouldRetryOnError : !0,
|
|
235
|
-
error: u.error
|
|
236
|
-
}), M = !f && P && W, M && te(v, d ? d.errorRetryCount : 1, e)), [
|
|
237
|
-
2
|
|
238
|
-
/*return*/
|
|
239
|
-
];
|
|
240
|
-
}
|
|
241
|
-
});
|
|
242
|
-
});
|
|
243
|
-
}, R && e.revalidateDebounce ? (setTimeout(function() {
|
|
244
|
-
return E(j, void 0, void 0, function() {
|
|
245
|
-
return p(this, function(w) {
|
|
246
|
-
switch (w.label) {
|
|
247
|
-
case 0:
|
|
248
|
-
return f ? [3, 2] : [4, I()];
|
|
249
|
-
case 1:
|
|
250
|
-
w.sent(), w.label = 2;
|
|
251
|
-
case 2:
|
|
252
|
-
return [
|
|
253
|
-
2
|
|
254
|
-
/*return*/
|
|
255
|
-
];
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
});
|
|
259
|
-
}, e.revalidateDebounce), [3, 3]) : [3, 1])) : [
|
|
260
|
-
2
|
|
261
|
-
/*return*/
|
|
262
|
-
];
|
|
263
|
-
case 1:
|
|
264
|
-
return [4, I()];
|
|
265
|
-
case 2:
|
|
266
|
-
S.sent(), S.label = 3;
|
|
267
|
-
case 3:
|
|
268
|
-
return [
|
|
269
|
-
2
|
|
270
|
-
/*return*/
|
|
271
|
-
];
|
|
272
|
-
}
|
|
273
|
-
});
|
|
274
|
-
});
|
|
275
|
-
}, b = function() {
|
|
276
|
-
return E(o, void 0, void 0, function() {
|
|
277
|
-
return p(this, function(c) {
|
|
278
|
-
return [2, v(null, { shouldRetryOnError: !1 })];
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
}, g = null;
|
|
282
|
-
if (!s) {
|
|
283
|
-
var k = function() {
|
|
284
|
-
return E(o, void 0, void 0, function() {
|
|
285
|
-
return p(this, function(c) {
|
|
286
|
-
switch (c.label) {
|
|
287
|
-
case 0:
|
|
288
|
-
return !u.error && e.isOnline() ? [4, v()] : [3, 2];
|
|
289
|
-
case 1:
|
|
290
|
-
return c.sent(), [3, 3];
|
|
291
|
-
case 2:
|
|
292
|
-
g && (clearTimeout(g), g = null), c.label = 3;
|
|
293
|
-
case 3:
|
|
294
|
-
return e.refreshInterval && !f && (g = setTimeout(k, e.refreshInterval)), [
|
|
295
|
-
2
|
|
296
|
-
/*return*/
|
|
297
|
-
];
|
|
298
|
-
}
|
|
299
|
-
});
|
|
300
|
-
});
|
|
301
|
-
};
|
|
302
|
-
e.refreshInterval && (g = setTimeout(k, e.refreshInterval)), e.revalidateOnFocus && (document.addEventListener("visibilitychange", b, !1), window.addEventListener("focus", b, !1));
|
|
303
|
-
}
|
|
304
|
-
U(function() {
|
|
305
|
-
f = !0, g && (clearTimeout(g), g = null), !s && e.revalidateOnFocus && (document.removeEventListener("visibilitychange", b, !1), window.removeEventListener("focus", b, !1));
|
|
306
|
-
var c = O.get(l.value);
|
|
307
|
-
c && (c.data = c.data.filter(function(d) {
|
|
308
|
-
return d !== u;
|
|
309
|
-
}));
|
|
310
|
-
});
|
|
311
|
-
try {
|
|
312
|
-
X(l, function(c) {
|
|
313
|
-
Y(l) || (l.value = c), u.key = c, u.isValidating = !!c, re(l.value, u, t), !s && !h && l.value && v(), h = !1;
|
|
314
|
-
}, {
|
|
315
|
-
immediate: !0
|
|
316
|
-
});
|
|
317
|
-
} catch {
|
|
318
|
-
}
|
|
319
|
-
var J = m(m({}, Z(u)), { mutate: function(c, d) {
|
|
320
|
-
return v(c, m(m({}, d), { forceRevalidate: !0 }));
|
|
321
|
-
} });
|
|
322
|
-
return J;
|
|
323
|
-
}
|
|
324
|
-
function ne(o) {
|
|
325
|
-
return o !== null && typeof o == "object" && typeof o.then == "function";
|
|
326
|
-
}
|
|
1
|
+
import { defineComponent as r, openBlock as n, createElementBlock as s, renderSlot as i, createVNode as e } from "vue";
|
|
2
|
+
import t from "./kongponents.es61.js";
|
|
3
|
+
const l = { class: "skeleton-loader" }, _ = /* @__PURE__ */ r({
|
|
4
|
+
__name: "SkeletonBase",
|
|
5
|
+
setup(a) {
|
|
6
|
+
return (o, d) => (n(), s("div", l, [
|
|
7
|
+
i(o.$slots, "default", {}, () => [
|
|
8
|
+
e(t, {
|
|
9
|
+
height: "1",
|
|
10
|
+
width: "100"
|
|
11
|
+
}),
|
|
12
|
+
e(t, {
|
|
13
|
+
height: "1",
|
|
14
|
+
width: "100"
|
|
15
|
+
}),
|
|
16
|
+
e(t, {
|
|
17
|
+
height: "1",
|
|
18
|
+
width: "100"
|
|
19
|
+
})
|
|
20
|
+
], !0)
|
|
21
|
+
]));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
327
24
|
export {
|
|
328
|
-
|
|
329
|
-
q as mutate
|
|
25
|
+
_ as default
|
|
330
26
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { defineComponent as h, useCssVars as k, computed as f, openBlock as t, createElementBlock as r, Fragment as s, renderList as c, createElementVNode as l, renderSlot as i, createVNode as n } from "vue";
|
|
2
|
+
import d from "./kongponents.es61.js";
|
|
3
|
+
import { KUI_SPACE_50 as C } from "./kongponents.es181.js";
|
|
4
|
+
import { normalizeSize as p } from "./kongponents.es182.js";
|
|
5
|
+
const _ = { class: "skeleton-card-wrapper" }, v = { class: "skeleton-card-header" }, w = { class: "skeleton-card-content" }, x = { class: "skeleton-card-footer" }, E = /* @__PURE__ */ h({
|
|
6
|
+
__name: "CardSkeleton",
|
|
7
|
+
props: {
|
|
8
|
+
cardCount: {},
|
|
9
|
+
maxWidth: {}
|
|
10
|
+
},
|
|
11
|
+
setup(o) {
|
|
12
|
+
k((e) => ({
|
|
13
|
+
v243e7eb5: u.value
|
|
14
|
+
}));
|
|
15
|
+
const u = f(() => o.maxWidth ? p(o.maxWidth) : o.cardCount === 1 ? "470px" : `calc((100% / 3) - ${C})`);
|
|
16
|
+
return (e, S) => (t(), r("div", _, [
|
|
17
|
+
(t(!0), r(s, null, c(o.cardCount, (m) => (t(), r("div", {
|
|
18
|
+
key: m,
|
|
19
|
+
class: "skeleton-card"
|
|
20
|
+
}, [
|
|
21
|
+
l("div", v, [
|
|
22
|
+
i(e.$slots, "card-header", {}, () => [
|
|
23
|
+
n(d, { width: "50" })
|
|
24
|
+
], !0)
|
|
25
|
+
]),
|
|
26
|
+
l("div", w, [
|
|
27
|
+
i(e.$slots, "card-content", {}, () => [
|
|
28
|
+
(t(), r(s, null, c(3, (a) => n(d, {
|
|
29
|
+
key: a,
|
|
30
|
+
width: "100"
|
|
31
|
+
})), 64)),
|
|
32
|
+
n(d, { width: "50" })
|
|
33
|
+
], !0)
|
|
34
|
+
]),
|
|
35
|
+
l("div", x, [
|
|
36
|
+
i(e.$slots, "card-footer", {}, () => [
|
|
37
|
+
(t(), r(s, null, c(2, (a) => n(d, {
|
|
38
|
+
key: a,
|
|
39
|
+
height: "2",
|
|
40
|
+
width: "5"
|
|
41
|
+
})), 64))
|
|
42
|
+
], !0)
|
|
43
|
+
])
|
|
44
|
+
]))), 128))
|
|
45
|
+
]));
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
export {
|
|
49
|
+
E as default
|
|
50
|
+
};
|