@kong/kongponents 9.47.1-pr.3005.ba921db.0 → 9.47.1-pr.3006.26f6688.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kongponents.css +1 -1
- package/dist/kongponents.es105.js +5 -5
- package/dist/kongponents.es107.js +3 -3
- package/dist/kongponents.es109.js +4 -4
- package/dist/kongponents.es113.js +2 -2
- package/dist/kongponents.es115.js +4 -4
- package/dist/kongponents.es117.js +2 -2
- package/dist/kongponents.es119.js +10 -10
- package/dist/kongponents.es122.js +5 -5
- 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 +10 -10
- package/dist/kongponents.es139.js +4 -4
- package/dist/kongponents.es141.js +1 -1
- package/dist/kongponents.es143.js +6 -6
- package/dist/kongponents.es147.js +2 -2
- package/dist/kongponents.es149.js +7 -7
- package/dist/kongponents.es154.js +3 -3
- package/dist/kongponents.es156.js +5 -5
- package/dist/kongponents.es158.js +3 -3
- package/dist/kongponents.es160.js +12 -12
- package/dist/kongponents.es170.js +1 -1
- package/dist/kongponents.es171.js +113 -102
- package/dist/kongponents.es172.js +119 -18
- package/dist/kongponents.es173.js +119 -7
- package/dist/kongponents.es174.js +119 -5
- package/dist/kongponents.es175.js +119 -5
- package/dist/kongponents.es176.js +115 -185
- package/dist/kongponents.es177.js +18 -119
- package/dist/kongponents.es178.js +185 -18
- package/dist/kongponents.es179.js +5 -119
- package/dist/kongponents.es181.js +20 -20
- package/dist/kongponents.es182.js +5 -119
- package/dist/kongponents.es183.js +8 -119
- package/dist/kongponents.es184.js +59 -118
- package/dist/kongponents.es185.js +23 -23
- package/dist/kongponents.es186.js +20 -20
- package/dist/kongponents.es187.js +319 -0
- package/dist/kongponents.es188.js +38 -118
- package/dist/kongponents.es189.js +98 -5
- package/dist/kongponents.es190.js +119 -8
- package/dist/kongponents.es191.js +118 -59
- package/dist/kongponents.es192.js +20 -20
- package/dist/kongponents.es193.js +18 -18
- package/dist/kongponents.es194.js +23 -22
- package/dist/kongponents.es195.js +15 -15
- package/dist/kongponents.es196.js +18 -18
- package/dist/kongponents.es197.js +18 -5
- package/dist/kongponents.es198.js +52 -5
- package/dist/kongponents.es199.js +102 -179
- package/dist/kongponents.es200.js +5 -10
- package/dist/kongponents.es201.js +5 -119
- package/dist/kongponents.es202.js +23 -23
- package/dist/kongponents.es203.js +23 -118
- package/dist/kongponents.es204.js +5 -119
- package/dist/kongponents.es205.js +5 -119
- package/dist/kongponents.es206.js +5 -119
- package/dist/kongponents.es207.js +5 -119
- package/dist/kongponents.es208.js +5 -119
- package/dist/kongponents.es209.js +115 -313
- package/dist/kongponents.es21.js +8 -8
- package/dist/kongponents.es210.js +118 -38
- package/dist/kongponents.es211.js +118 -97
- package/dist/kongponents.es212.js +14 -14
- package/dist/kongponents.es213.js +16 -16
- package/dist/kongponents.es214.js +5 -119
- package/dist/kongponents.es215.js +10 -120
- package/dist/kongponents.es216.js +15 -119
- package/dist/kongponents.es217.js +117 -50
- package/dist/kongponents.es218.js +119 -15
- package/dist/kongponents.es219.js +4 -4
- package/dist/kongponents.es220.js +4 -4
- package/dist/kongponents.es221.js +3 -3
- package/dist/kongponents.es222.js +5 -119
- package/dist/kongponents.es223.js +5 -119
- package/dist/kongponents.es224.js +5 -114
- package/dist/kongponents.es225.js +5 -17
- package/dist/kongponents.es226.js +116 -393
- package/dist/kongponents.es227.js +119 -5
- package/dist/kongponents.es228.js +119 -5
- package/dist/kongponents.es229.js +119 -5
- package/dist/kongponents.es230.js +1 -1
- package/dist/kongponents.es231.js +119 -5
- package/dist/kongponents.es232.js +119 -5
- package/dist/kongponents.es233.js +6 -4
- package/dist/kongponents.es234.js +189 -5
- package/dist/kongponents.es235.js +114 -5
- package/dist/kongponents.es236.js +17 -5
- package/dist/kongponents.es237.js +396 -2
- package/dist/kongponents.es238.js +19 -19
- package/dist/kongponents.es239.js +2 -119
- package/dist/kongponents.es24.js +1 -1
- package/dist/kongponents.es240.js +30 -38
- package/dist/kongponents.es241.js +50 -318
- package/dist/kongponents.es243.js +40 -177
- package/dist/kongponents.es244.js +322 -0
- package/dist/kongponents.es245.js +177 -2
- package/dist/kongponents.es247.js +6 -119
- package/dist/kongponents.es248.js +2 -119
- package/dist/kongponents.es249.js +114 -171
- package/dist/{kongponents.es246.js → kongponents.es250.js} +20 -20
- package/dist/kongponents.es251.js +113 -58
- package/dist/kongponents.es252.js +93 -0
- package/dist/kongponents.es254.js +41 -6
- package/dist/kongponents.es256.js +26 -0
- package/dist/kongponents.es258.js +41 -49
- package/dist/kongponents.es26.js +4 -4
- package/dist/kongponents.es260.js +33 -133
- package/dist/kongponents.es262.js +17 -18
- package/dist/kongponents.es264.js +39 -42
- package/dist/kongponents.es266.js +35 -28
- package/dist/kongponents.es268.js +92 -20
- package/dist/kongponents.es270.js +40 -40
- package/dist/kongponents.es272.js +171 -36
- package/dist/kongponents.es28.js +2 -2
- package/dist/kongponents.es280.js +7 -7
- package/dist/kongponents.es285.js +5 -5
- package/dist/kongponents.es292.js +2 -2
- package/dist/kongponents.es293.js +1 -1
- package/dist/kongponents.es295.js +2 -2
- package/dist/kongponents.es297.js +2 -2
- package/dist/kongponents.es298.js +2 -2
- package/dist/kongponents.es299.js +2 -2
- package/dist/kongponents.es307.js +1 -1
- package/dist/kongponents.es310.js +2 -2
- package/dist/kongponents.es320.js +1 -1
- package/dist/kongponents.es322.js +3 -3
- package/dist/kongponents.es327.js +1 -1
- package/dist/kongponents.es329.js +2 -2
- package/dist/kongponents.es330.js +2 -2
- package/dist/kongponents.es332.js +2 -2
- package/dist/kongponents.es333.js +1 -1
- package/dist/kongponents.es334.js +1 -1
- package/dist/kongponents.es335.js +2 -2
- package/dist/kongponents.es337.js +5 -5
- package/dist/kongponents.es339.js +2 -2
- package/dist/kongponents.es340.js +2 -2
- package/dist/kongponents.es347.js +1 -1
- package/dist/kongponents.es348.js +1 -1
- package/dist/kongponents.es349.js +466 -90
- package/dist/kongponents.es351.js +133 -44
- package/dist/kongponents.es352.js +4 -0
- package/dist/kongponents.es353.js +58 -85
- package/dist/kongponents.es355.js +52 -37
- package/dist/kongponents.es357.js +5762 -206
- package/dist/kongponents.es358.js +2 -370
- package/dist/kongponents.es359.js +6 -130
- package/dist/kongponents.es360.js +24 -1556
- package/dist/kongponents.es361.js +11 -5
- package/dist/kongponents.es362.js +10 -5773
- package/dist/kongponents.es363.js +13 -6
- package/dist/kongponents.es364.js +11 -2
- package/dist/kongponents.es365.js +18 -10
- package/dist/kongponents.es366.js +5 -10
- package/dist/kongponents.es367.js +55 -13
- package/dist/kongponents.es368.js +2 -11
- package/dist/kongponents.es369.js +71 -18
- package/dist/kongponents.es370.js +2 -6
- package/dist/kongponents.es371.js +12 -54
- package/dist/kongponents.es372.js +23 -2
- package/dist/kongponents.es373.js +16 -12
- package/dist/kongponents.es374.js +21 -2
- package/dist/kongponents.es375.js +648 -11
- package/dist/kongponents.es376.js +82 -16
- package/dist/kongponents.es377.js +12 -69
- package/dist/kongponents.es378.js +27 -2
- package/dist/kongponents.es379.js +14 -20
- package/dist/kongponents.es38.js +2 -2
- package/dist/kongponents.es380.js +10 -17
- package/dist/kongponents.es381.js +16 -20
- package/dist/kongponents.es382.js +13 -648
- package/dist/kongponents.es383.js +23 -83
- package/dist/kongponents.es384.js +63 -13
- package/dist/kongponents.es385.js +4 -26
- package/dist/kongponents.es386.js +15 -14
- package/dist/kongponents.es387.js +2 -15
- package/dist/kongponents.es388.js +17 -16
- package/dist/kongponents.es389.js +2 -15
- package/dist/kongponents.es390.js +2 -24
- package/dist/kongponents.es391.js +7 -64
- package/dist/kongponents.es392.js +5 -4
- package/dist/kongponents.es393.js +9 -2
- package/dist/kongponents.es394.js +6 -2
- package/dist/kongponents.es395.js +10 -25
- package/dist/kongponents.es396.js +15 -95
- package/dist/kongponents.es397.js +5 -0
- package/dist/kongponents.es398.js +7 -7
- package/dist/kongponents.es399.js +2 -5
- package/dist/kongponents.es400.js +11 -9
- package/dist/kongponents.es401.js +7 -5
- package/dist/kongponents.es402.js +5 -9
- package/dist/kongponents.es403.js +2 -15
- package/dist/kongponents.es404.js +13 -3
- package/dist/kongponents.es405.js +4 -7
- package/dist/kongponents.es406.js +6 -3
- package/dist/kongponents.es407.js +28 -9
- package/dist/kongponents.es408.js +3 -8
- package/dist/kongponents.es409.js +26 -6
- package/dist/kongponents.es410.js +4 -2
- package/dist/kongponents.es411.js +3 -12
- package/dist/kongponents.es412.js +4 -5
- package/dist/kongponents.es413.js +4 -3
- package/dist/kongponents.es414.js +4 -26
- package/dist/kongponents.es415.js +14 -3
- package/dist/kongponents.es416.js +27 -4
- package/dist/kongponents.es417.js +16 -4
- package/dist/kongponents.es418.js +10 -4
- package/dist/kongponents.es419.js +5 -4
- package/dist/kongponents.es420.js +13 -14
- package/dist/kongponents.es421.js +8 -5
- package/dist/kongponents.es422.js +3 -30
- package/dist/kongponents.es423.js +5 -26
- package/dist/kongponents.es424.js +5 -15
- package/dist/kongponents.es425.js +7 -9
- package/dist/kongponents.es426.js +5 -4
- package/dist/kongponents.es427.js +10 -13
- package/dist/kongponents.es428.js +5 -8
- package/dist/kongponents.es429.js +5 -3
- package/dist/kongponents.es430.js +3 -4
- package/dist/kongponents.es431.js +5 -5
- package/dist/kongponents.es432.js +7 -7
- package/dist/kongponents.es433.js +6 -5
- package/dist/kongponents.es434.js +10 -11
- package/dist/kongponents.es435.js +6 -5
- package/dist/kongponents.es436.js +21 -4
- package/dist/kongponents.es437.js +6 -4
- package/dist/kongponents.es438.js +6 -5
- package/dist/kongponents.es439.js +7 -8
- package/dist/kongponents.es440.js +8 -6
- package/dist/kongponents.es441.js +218 -10
- package/dist/kongponents.es442.js +369 -6
- package/dist/kongponents.es443.js +128 -20
- package/dist/kongponents.es444.js +10 -6
- package/dist/kongponents.es445.js +16 -6
- package/dist/kongponents.es446.js +1556 -6
- package/dist/kongponents.es447.js +5 -9
- package/dist/kongponents.es448.js +7 -10
- package/dist/kongponents.es449.js +10 -16
- package/dist/kongponents.es450.js +13 -7
- package/dist/kongponents.es451.js +13 -10
- package/dist/kongponents.es452.js +67 -14
- package/dist/kongponents.es453.js +31 -14
- package/dist/kongponents.es454.js +10 -66
- package/dist/kongponents.es455.js +116 -26
- package/dist/kongponents.es456.js +85 -10
- package/dist/kongponents.es457.js +2 -121
- package/dist/kongponents.es458.js +2 -86
- package/dist/kongponents.es459.js +19 -2
- package/dist/kongponents.es461.js +22 -2
- package/dist/kongponents.es462.js +2 -19
- package/dist/kongponents.es463.js +16 -2
- package/dist/kongponents.es464.js +2 -22
- package/dist/kongponents.es465.js +23 -2
- package/dist/kongponents.es466.js +21 -14
- package/dist/kongponents.es467.js +26 -2
- package/dist/kongponents.es468.js +18 -18
- package/dist/kongponents.es469.js +29 -20
- package/dist/kongponents.es470.js +11 -21
- package/dist/kongponents.es471.js +65 -21
- package/dist/kongponents.es472.js +2 -32
- package/dist/kongponents.es473.js +2 -16
- package/dist/kongponents.es474.js +2 -67
- package/dist/kongponents.es475.js +2 -2
- package/dist/kongponents.es476.js +2 -2
- package/dist/kongponents.es477.js +30 -2
- package/dist/kongponents.es478.js +2 -2
- package/dist/kongponents.es479.js +4 -2
- package/dist/kongponents.es480.js +6 -29
- package/dist/kongponents.es481.js +17 -3
- package/dist/kongponents.es482.js +4 -6
- package/dist/kongponents.es483.js +4 -17
- package/dist/kongponents.es484.js +3 -4
- package/dist/kongponents.es485.js +3 -4
- package/dist/kongponents.es486.js +14 -3
- package/dist/kongponents.es487.js +6 -3
- package/dist/kongponents.es488.js +7 -14
- package/dist/kongponents.es489.js +10 -6
- package/dist/kongponents.es490.js +5 -8
- package/dist/kongponents.es491.js +3 -10
- package/dist/kongponents.es492.js +3 -4
- package/dist/kongponents.es493.js +37 -3
- package/dist/kongponents.es494.js +42 -3
- package/dist/kongponents.es495.js +29 -33
- package/dist/kongponents.es496.js +3 -43
- package/dist/kongponents.es497.js +16 -32
- package/dist/kongponents.es498.js +6 -3
- package/dist/kongponents.es499.js +94 -17
- package/dist/kongponents.es501.js +29 -7
- package/dist/kongponents.es502.js +117 -12
- package/dist/kongponents.es503.js +28 -27
- package/dist/kongponents.es504.js +9 -14
- package/dist/kongponents.es505.js +14 -2
- package/dist/kongponents.es506.js +33 -2
- package/dist/kongponents.es507.js +29 -2
- package/dist/kongponents.es508.js +11 -2
- package/dist/kongponents.es509.js +13 -2
- package/dist/kongponents.es510.js +17 -20
- package/dist/kongponents.es511.js +23 -23
- package/dist/kongponents.es512.js +17 -2
- package/dist/kongponents.es513.js +97 -2
- package/dist/kongponents.es514.js +44 -26
- package/dist/kongponents.es515.js +28 -26
- package/dist/kongponents.es516.js +72 -2
- package/dist/kongponents.es517.js +52 -2
- package/dist/kongponents.es518.js +35 -2
- package/dist/kongponents.es519.js +42 -2
- package/dist/kongponents.es520.js +6 -76
- package/dist/kongponents.es521.js +14 -42
- package/dist/kongponents.es522.js +28 -20
- package/dist/kongponents.es523.js +15 -132
- package/dist/kongponents.es524.js +2 -98
- package/dist/kongponents.es525.js +2 -29
- package/dist/kongponents.es526.js +2 -120
- package/dist/kongponents.es527.js +2 -30
- package/dist/kongponents.es528.js +2 -11
- package/dist/kongponents.es529.js +20 -13
- package/dist/kongponents.es530.js +23 -32
- package/dist/kongponents.es531.js +2 -29
- package/dist/kongponents.es532.js +2 -11
- package/dist/kongponents.es533.js +26 -12
- package/dist/kongponents.es534.js +26 -17
- package/dist/kongponents.es535.js +2 -24
- package/dist/kongponents.es536.js +2 -17
- package/dist/kongponents.es537.js +2 -97
- package/dist/kongponents.es538.js +2 -45
- package/dist/kongponents.es539.js +76 -28
- package/dist/kongponents.es540.js +42 -71
- package/dist/kongponents.es541.js +20 -51
- package/dist/kongponents.es542.js +132 -34
- package/dist/kongponents.es543.js +97 -41
- package/dist/kongponents.es557.js +4 -2
- package/dist/kongponents.es558.js +4 -2
- package/dist/kongponents.es559.js +16 -2
- package/dist/kongponents.es560.js +4 -2
- package/dist/kongponents.es561.js +10 -2
- package/dist/kongponents.es562.js +5 -2
- package/dist/kongponents.es563.js +5 -16
- package/dist/kongponents.es564.js +10 -2
- package/dist/kongponents.es565.js +8 -2
- package/dist/kongponents.es566.js +4 -24
- package/dist/kongponents.es567.js +4 -2
- package/dist/kongponents.es568.js +4 -39
- package/dist/kongponents.es569.js +11 -25
- package/dist/kongponents.es570.js +9 -3
- package/dist/kongponents.es571.js +30 -3
- package/dist/kongponents.es572.js +24 -15
- package/dist/kongponents.es573.js +51 -3
- package/dist/kongponents.es574.js +3 -9
- package/dist/kongponents.es575.js +8 -4
- package/dist/kongponents.es576.js +20 -5
- package/dist/kongponents.es577.js +7 -9
- package/dist/kongponents.es578.js +6 -7
- package/dist/kongponents.es579.js +5 -4
- package/dist/kongponents.es580.js +7 -3
- package/dist/kongponents.es581.js +16 -4
- package/dist/kongponents.es582.js +4 -11
- package/dist/kongponents.es583.js +5 -8
- package/dist/kongponents.es584.js +34 -30
- package/dist/kongponents.es585.js +7 -23
- package/dist/kongponents.es586.js +2 -52
- package/dist/kongponents.es587.js +2 -4
- package/dist/kongponents.es588.js +2 -9
- package/dist/kongponents.es589.js +2 -21
- package/dist/kongponents.es590.js +2 -8
- package/dist/kongponents.es591.js +2 -7
- package/dist/kongponents.es592.js +16 -5
- package/dist/kongponents.es593.js +2 -8
- package/dist/kongponents.es594.js +2 -16
- package/dist/kongponents.es595.js +24 -4
- package/dist/kongponents.es596.js +2 -7
- package/dist/kongponents.es597.js +38 -34
- package/dist/kongponents.es598.js +25 -8
- package/dist/kongponents.es600.js +1 -1
- package/dist/kongponents.es601.js +5 -2
- package/dist/kongponents.es602.js +9 -2
- package/dist/kongponents.es603.js +7 -2
- package/dist/kongponents.es604.js +19 -2
- package/dist/kongponents.es605.js +14 -4
- package/dist/kongponents.es606.js +2 -9
- package/dist/kongponents.es607.js +2 -7
- package/dist/kongponents.es608.js +2 -19
- package/dist/kongponents.es609.js +2 -15
- 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 +17 -18
- package/dist/kongponents.es94.js +2 -2
- package/dist/kongponents.es96.js +6 -6
- package/dist/kongponents.es99.js +2 -2
- package/dist/kongponents.umd.js +2 -2
- package/dist/kongponents105.cjs +1 -1
- package/dist/kongponents107.cjs +1 -1
- package/dist/kongponents109.cjs +1 -1
- package/dist/kongponents113.cjs +1 -1
- package/dist/kongponents115.cjs +1 -1
- package/dist/kongponents117.cjs +1 -1
- package/dist/kongponents119.cjs +1 -1
- package/dist/kongponents122.cjs +1 -1
- package/dist/kongponents124.cjs +1 -1
- package/dist/kongponents128.cjs +1 -1
- package/dist/kongponents130.cjs +1 -1
- package/dist/kongponents132.cjs +1 -1
- package/dist/kongponents139.cjs +1 -1
- package/dist/kongponents141.cjs +1 -1
- package/dist/kongponents143.cjs +1 -1
- package/dist/kongponents147.cjs +1 -1
- package/dist/kongponents149.cjs +1 -1
- package/dist/kongponents154.cjs +1 -1
- package/dist/kongponents156.cjs +1 -1
- package/dist/kongponents158.cjs +1 -1
- package/dist/kongponents160.cjs +1 -1
- package/dist/kongponents170.cjs +1 -1
- package/dist/kongponents171.cjs +1 -1
- package/dist/kongponents172.cjs +1 -1
- package/dist/kongponents173.cjs +1 -1
- package/dist/kongponents174.cjs +1 -1
- package/dist/kongponents175.cjs +1 -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/kongponents181.cjs +1 -1
- package/dist/kongponents182.cjs +1 -1
- package/dist/kongponents183.cjs +1 -1
- package/dist/kongponents184.cjs +1 -1
- package/dist/kongponents185.cjs +1 -1
- package/dist/kongponents186.cjs +1 -1
- package/dist/kongponents187.cjs +1 -0
- package/dist/kongponents188.cjs +1 -1
- package/dist/kongponents189.cjs +2 -1
- package/dist/kongponents190.cjs +1 -1
- package/dist/kongponents191.cjs +1 -1
- package/dist/kongponents192.cjs +1 -1
- package/dist/kongponents193.cjs +1 -1
- package/dist/kongponents194.cjs +2 -1
- package/dist/kongponents195.cjs +1 -1
- package/dist/kongponents196.cjs +1 -1
- package/dist/kongponents197.cjs +1 -1
- package/dist/kongponents198.cjs +1 -1
- package/dist/kongponents199.cjs +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 -2
- package/dist/kongponents212.cjs +1 -1
- package/dist/kongponents213.cjs +1 -1
- package/dist/kongponents214.cjs +1 -1
- package/dist/kongponents215.cjs +1 -2
- package/dist/kongponents216.cjs +1 -1
- package/dist/kongponents217.cjs +1 -1
- package/dist/kongponents218.cjs +1 -1
- package/dist/kongponents219.cjs +1 -1
- package/dist/kongponents220.cjs +1 -1
- package/dist/kongponents221.cjs +1 -1
- package/dist/kongponents222.cjs +1 -1
- package/dist/kongponents223.cjs +1 -1
- package/dist/kongponents224.cjs +1 -1
- package/dist/kongponents225.cjs +1 -1
- package/dist/kongponents226.cjs +1 -1
- package/dist/kongponents227.cjs +1 -1
- package/dist/kongponents228.cjs +1 -1
- package/dist/kongponents229.cjs +1 -1
- package/dist/kongponents230.cjs +1 -1
- package/dist/kongponents231.cjs +1 -1
- package/dist/kongponents232.cjs +1 -1
- package/dist/kongponents233.cjs +1 -1
- package/dist/kongponents234.cjs +1 -1
- package/dist/kongponents235.cjs +1 -1
- package/dist/kongponents236.cjs +1 -1
- package/dist/kongponents237.cjs +1 -1
- package/dist/kongponents238.cjs +1 -1
- package/dist/kongponents239.cjs +1 -1
- package/dist/kongponents24.cjs +1 -1
- package/dist/kongponents240.cjs +1 -1
- package/dist/kongponents241.cjs +1 -1
- package/dist/kongponents243.cjs +1 -1
- package/dist/kongponents244.cjs +1 -0
- package/dist/kongponents245.cjs +1 -1
- package/dist/kongponents247.cjs +1 -1
- package/dist/kongponents248.cjs +1 -1
- package/dist/kongponents249.cjs +1 -1
- package/dist/kongponents250.cjs +1 -0
- package/dist/kongponents251.cjs +1 -1
- package/dist/kongponents252.cjs +1 -0
- package/dist/kongponents254.cjs +1 -1
- package/dist/kongponents256.cjs +1 -0
- package/dist/kongponents258.cjs +1 -1
- package/dist/kongponents26.cjs +1 -1
- package/dist/kongponents260.cjs +1 -1
- package/dist/kongponents262.cjs +1 -1
- package/dist/kongponents264.cjs +1 -1
- package/dist/kongponents266.cjs +1 -1
- package/dist/kongponents268.cjs +1 -1
- package/dist/kongponents270.cjs +1 -1
- package/dist/kongponents272.cjs +1 -1
- package/dist/kongponents28.cjs +1 -1
- package/dist/kongponents280.cjs +1 -1
- package/dist/kongponents285.cjs +1 -1
- package/dist/kongponents292.cjs +1 -1
- package/dist/kongponents293.cjs +1 -1
- package/dist/kongponents295.cjs +1 -1
- package/dist/kongponents297.cjs +1 -1
- package/dist/kongponents298.cjs +1 -1
- package/dist/kongponents299.cjs +1 -1
- package/dist/kongponents307.cjs +1 -1
- package/dist/kongponents310.cjs +1 -1
- package/dist/kongponents320.cjs +1 -1
- package/dist/kongponents322.cjs +1 -1
- package/dist/kongponents327.cjs +1 -1
- package/dist/kongponents329.cjs +1 -1
- package/dist/kongponents330.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/kongponents337.cjs +1 -1
- package/dist/kongponents339.cjs +1 -1
- package/dist/kongponents340.cjs +1 -1
- package/dist/kongponents347.cjs +1 -1
- package/dist/kongponents348.cjs +1 -1
- package/dist/kongponents349.cjs +5 -1
- package/dist/kongponents351.cjs +1 -1
- package/dist/{kongponents261.cjs → kongponents352.cjs} +1 -1
- package/dist/kongponents353.cjs +1 -1
- package/dist/kongponents355.cjs +1 -1
- package/dist/kongponents357.cjs +1 -4
- package/dist/kongponents358.cjs +1 -1
- package/dist/kongponents359.cjs +1 -1
- package/dist/kongponents360.cjs +1 -10
- package/dist/kongponents361.cjs +1 -1
- package/dist/kongponents362.cjs +1 -1
- package/dist/kongponents363.cjs +1 -1
- package/dist/kongponents364.cjs +1 -1
- package/dist/kongponents365.cjs +1 -1
- package/dist/kongponents366.cjs +1 -1
- package/dist/kongponents367.cjs +1 -1
- package/dist/kongponents368.cjs +1 -1
- package/dist/kongponents369.cjs +1 -1
- package/dist/kongponents370.cjs +1 -1
- package/dist/kongponents371.cjs +1 -1
- package/dist/kongponents372.cjs +1 -1
- package/dist/kongponents373.cjs +1 -1
- package/dist/kongponents374.cjs +1 -1
- package/dist/kongponents375.cjs +1 -1
- package/dist/kongponents376.cjs +1 -1
- package/dist/kongponents377.cjs +1 -1
- package/dist/kongponents378.cjs +1 -1
- package/dist/kongponents379.cjs +1 -1
- package/dist/kongponents38.cjs +1 -1
- package/dist/kongponents380.cjs +1 -1
- package/dist/kongponents381.cjs +1 -1
- package/dist/kongponents382.cjs +1 -1
- package/dist/kongponents383.cjs +1 -1
- package/dist/kongponents384.cjs +1 -1
- package/dist/kongponents385.cjs +1 -1
- package/dist/kongponents386.cjs +1 -1
- package/dist/kongponents387.cjs +1 -1
- package/dist/kongponents388.cjs +1 -1
- package/dist/kongponents389.cjs +1 -1
- package/dist/kongponents390.cjs +1 -1
- package/dist/kongponents391.cjs +1 -1
- package/dist/kongponents392.cjs +1 -1
- package/dist/kongponents393.cjs +1 -1
- package/dist/kongponents394.cjs +1 -1
- package/dist/kongponents395.cjs +1 -1
- package/dist/kongponents396.cjs +1 -1
- package/dist/kongponents397.cjs +1 -0
- 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/kongponents417.cjs +1 -1
- package/dist/kongponents418.cjs +1 -1
- package/dist/kongponents419.cjs +1 -1
- package/dist/kongponents420.cjs +1 -1
- package/dist/kongponents421.cjs +1 -1
- package/dist/kongponents422.cjs +1 -1
- package/dist/kongponents423.cjs +1 -1
- package/dist/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/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 +4 -1
- package/dist/kongponents442.cjs +1 -1
- package/dist/kongponents443.cjs +1 -1
- package/dist/kongponents444.cjs +1 -1
- package/dist/kongponents445.cjs +1 -1
- package/dist/kongponents446.cjs +10 -1
- package/dist/kongponents447.cjs +1 -1
- package/dist/kongponents448.cjs +1 -1
- package/dist/kongponents449.cjs +1 -1
- package/dist/kongponents450.cjs +1 -1
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents452.cjs +1 -1
- package/dist/kongponents453.cjs +1 -1
- package/dist/kongponents454.cjs +1 -1
- package/dist/kongponents455.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/kongponents461.cjs +1 -1
- package/dist/kongponents462.cjs +1 -1
- package/dist/kongponents463.cjs +1 -1
- package/dist/kongponents464.cjs +1 -1
- package/dist/kongponents465.cjs +1 -1
- package/dist/kongponents466.cjs +1 -1
- package/dist/kongponents467.cjs +1 -1
- package/dist/kongponents468.cjs +1 -1
- package/dist/kongponents469.cjs +1 -1
- package/dist/kongponents470.cjs +1 -1
- package/dist/kongponents471.cjs +1 -1
- package/dist/kongponents472.cjs +1 -1
- package/dist/kongponents473.cjs +1 -1
- package/dist/kongponents474.cjs +1 -1
- package/dist/kongponents475.cjs +1 -1
- package/dist/kongponents476.cjs +1 -1
- package/dist/kongponents477.cjs +1 -1
- package/dist/kongponents478.cjs +1 -1
- package/dist/kongponents479.cjs +1 -1
- package/dist/kongponents480.cjs +1 -1
- package/dist/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/kongponents501.cjs +1 -1
- package/dist/kongponents502.cjs +1 -1
- package/dist/kongponents503.cjs +1 -1
- package/dist/kongponents504.cjs +1 -1
- package/dist/kongponents505.cjs +1 -1
- package/dist/kongponents506.cjs +1 -1
- package/dist/kongponents507.cjs +1 -1
- package/dist/kongponents508.cjs +1 -1
- package/dist/kongponents509.cjs +1 -1
- package/dist/kongponents510.cjs +1 -1
- package/dist/kongponents511.cjs +1 -1
- package/dist/kongponents512.cjs +1 -1
- package/dist/kongponents513.cjs +1 -1
- package/dist/kongponents514.cjs +1 -1
- package/dist/kongponents515.cjs +1 -1
- package/dist/kongponents516.cjs +1 -1
- package/dist/kongponents517.cjs +1 -1
- package/dist/kongponents518.cjs +1 -1
- package/dist/kongponents519.cjs +1 -1
- package/dist/kongponents520.cjs +1 -1
- package/dist/kongponents521.cjs +1 -1
- package/dist/kongponents522.cjs +1 -1
- package/dist/kongponents523.cjs +1 -1
- package/dist/kongponents524.cjs +1 -1
- package/dist/kongponents525.cjs +1 -1
- package/dist/kongponents526.cjs +1 -1
- package/dist/kongponents527.cjs +1 -1
- package/dist/kongponents528.cjs +1 -1
- package/dist/kongponents529.cjs +1 -1
- package/dist/kongponents530.cjs +1 -1
- package/dist/kongponents531.cjs +1 -1
- package/dist/kongponents532.cjs +1 -1
- package/dist/kongponents533.cjs +1 -1
- package/dist/kongponents534.cjs +1 -1
- package/dist/kongponents535.cjs +1 -1
- package/dist/kongponents536.cjs +1 -1
- package/dist/kongponents537.cjs +1 -1
- package/dist/kongponents538.cjs +1 -1
- package/dist/kongponents539.cjs +1 -1
- package/dist/kongponents540.cjs +1 -1
- package/dist/kongponents541.cjs +1 -1
- package/dist/kongponents542.cjs +1 -1
- package/dist/kongponents543.cjs +1 -1
- package/dist/kongponents557.cjs +1 -1
- package/dist/kongponents558.cjs +1 -1
- package/dist/kongponents559.cjs +1 -1
- package/dist/kongponents560.cjs +1 -1
- package/dist/kongponents561.cjs +1 -1
- package/dist/kongponents562.cjs +1 -1
- package/dist/kongponents563.cjs +1 -1
- package/dist/kongponents564.cjs +1 -1
- package/dist/kongponents565.cjs +1 -1
- package/dist/kongponents566.cjs +1 -1
- package/dist/kongponents567.cjs +1 -1
- package/dist/kongponents568.cjs +1 -1
- package/dist/kongponents569.cjs +1 -1
- package/dist/kongponents570.cjs +1 -1
- package/dist/kongponents571.cjs +1 -1
- package/dist/kongponents572.cjs +1 -1
- package/dist/kongponents573.cjs +1 -1
- package/dist/kongponents574.cjs +1 -1
- package/dist/kongponents575.cjs +1 -1
- package/dist/kongponents576.cjs +1 -1
- package/dist/kongponents577.cjs +1 -1
- package/dist/kongponents578.cjs +1 -1
- package/dist/kongponents579.cjs +1 -1
- package/dist/kongponents580.cjs +1 -1
- package/dist/kongponents581.cjs +1 -1
- package/dist/kongponents582.cjs +1 -1
- package/dist/kongponents583.cjs +1 -1
- package/dist/kongponents584.cjs +1 -1
- package/dist/kongponents585.cjs +1 -1
- package/dist/kongponents586.cjs +1 -1
- package/dist/kongponents587.cjs +1 -1
- package/dist/kongponents588.cjs +1 -1
- package/dist/kongponents589.cjs +1 -1
- package/dist/kongponents590.cjs +1 -1
- package/dist/kongponents591.cjs +1 -1
- package/dist/kongponents592.cjs +1 -1
- package/dist/kongponents593.cjs +1 -1
- package/dist/kongponents594.cjs +1 -1
- package/dist/kongponents595.cjs +1 -1
- package/dist/kongponents596.cjs +1 -1
- package/dist/kongponents597.cjs +1 -1
- package/dist/kongponents598.cjs +1 -1
- package/dist/kongponents600.cjs +1 -1
- package/dist/kongponents601.cjs +1 -1
- package/dist/kongponents602.cjs +1 -1
- package/dist/kongponents603.cjs +1 -1
- package/dist/kongponents604.cjs +1 -1
- package/dist/kongponents605.cjs +1 -1
- package/dist/kongponents606.cjs +1 -1
- package/dist/kongponents607.cjs +1 -1
- package/dist/kongponents608.cjs +1 -1
- package/dist/kongponents609.cjs +1 -1
- package/dist/kongponents72.cjs +1 -1
- package/dist/kongponents75.cjs +1 -1
- package/dist/kongponents77.cjs +1 -1
- package/dist/kongponents83.cjs +1 -1
- package/dist/kongponents87.cjs +1 -1
- package/dist/kongponents89.cjs +2 -2
- package/dist/kongponents94.cjs +1 -1
- package/dist/kongponents96.cjs +1 -1
- package/dist/kongponents99.cjs +1 -1
- package/dist/types/types/code-block.d.ts +0 -1
- package/package.json +1 -1
- package/dist/kongponents.es180.js +0 -26
- package/dist/kongponents.es253.js +0 -34
- package/dist/kongponents.es255.js +0 -54
- package/dist/kongponents.es257.js +0 -473
- package/dist/kongponents.es261.js +0 -4
- package/dist/kongponents.es500.js +0 -8
- package/dist/kongponents180.cjs +0 -1
- package/dist/kongponents246.cjs +0 -1
- package/dist/kongponents253.cjs +0 -1
- package/dist/kongponents255.cjs +0 -1
- package/dist/kongponents257.cjs +0 -5
- package/dist/kongponents500.cjs +0 -1
package/dist/kongponents249.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents248.cjs"),h=["aria-hidden"],d='<path d="M9.7 18.025L4 12.325L5.425 10.9L9.7 15.175L18.875 6L20.3 7.425L9.7 18.025Z" fill="currentColor"/>',y=i.defineComponent({__name:"CheckIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},m=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${m}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"<",">":">",'"':""","'":"'","&":"&"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),v=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon check-icon","data-testid":"kui-icon-wrapper-check-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-check-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:v},null,8,h))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents248.cjs"),y=["aria-hidden"],d='<path d="M8 18H16V16H8V18ZM8 14H16V12H8V14ZM6 22C5.45 22 4.97917 21.8042 4.5875 21.4125C4.19583 21.0208 4 20.55 4 20V4C4 3.45 4.19583 2.97917 4.5875 2.5875C4.97917 2.19583 5.45 2 6 2H14L20 8V20C20 20.55 19.8042 21.0208 19.4125 21.4125C19.0208 21.8042 18.55 22 18 22H6ZM13 9V4H6V20H18V9H13Z" fill="currentColor"/>',S=i.defineComponent({__name:"ServiceDocumentIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},m=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${m}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"<",">":">",'"':""","'":"'","&":"&"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),v=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon service-document-icon","data-testid":"kui-icon-wrapper-service-document-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-service-document-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:v},null,8,y))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=S;
|
package/dist/kongponents251.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents248.cjs"),b=["aria-hidden"],d='<path d="M3.0249 17.75V7.75C3.0249 7.2 3.22074 6.72917 3.6124 6.3375C4.00407 5.94583 4.4749 5.75 5.0249 5.75H18.9999C19.5499 5.75 20.0207 5.94583 20.4124 6.3375C20.8041 6.72917 20.9999 7.2 20.9999 7.75V17.75C20.9999 18.3 20.8041 18.7708 20.4124 19.1625C20.0207 19.5542 19.5499 19.75 18.9999 19.75H5.0249C4.4749 19.75 4.00407 19.5542 3.6124 19.1625C3.22074 18.7708 3.0249 18.3 3.0249 17.75ZM4.9999 17.75H8.3249V7.75H4.9999V17.75ZM10.3249 17.75H13.6499V7.75H10.3249V17.75ZM15.6499 17.75H18.9749V7.75H15.6499V17.75Z" fill="currentColor"/>',y=i.defineComponent({__name:"TableColumnsIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},v=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${v}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"<",">":">",'"':""","'":"'","&":"&"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),m=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon table-columns-icon","data-testid":"kui-icon-wrapper-table-columns-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-table-columns-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:m},null,8,b))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("./kongponents201.cjs"),y={ref:"itemsContainer","aria-live":"polite",class:"multiselect-items-container"},C={class:"multiselect-group-title"},E={class:"select-item-description"},m=".multiselect-item button:not(:disabled)",I=e.defineComponent({__name:"KMultiselectItems",props:{items:{default:()=>[]},itemCreationEnabled:{type:Boolean},filterString:{default:""},itemCreationValid:{type:Boolean,default:!0}},emits:["selected","add-item"],setup(r,{expose:f,emit:p}){const k=p,d=o=>k("selected",o),B=e.computed(()=>{var o;return(o=r.items)==null?void 0:o.filter(n=>!n.group)}),g=e.computed(()=>{var o,n;return[...new Set((n=(o=r.items)==null?void 0:o.filter(t=>t.group))==null?void 0:n.map(t=>t.group))].sort((t,l)=>t.toLowerCase().localeCompare(l.toLowerCase()))}),w=o=>{var n;return(n=r.items)==null?void 0:n.filter(t=>t.group===o)},u=e.useTemplateRef("itemsContainer"),S=o=>{var l;const n=u.value;if(!n)return;const t=n.querySelectorAll(m);(l=t[o==="down"?0:t.length-1])==null||l.focus()},s=({target:o,key:n})=>{var t;if(n==="ArrowDown"||n==="ArrowUp"){const l=(t=u.value)==null?void 0:t.querySelectorAll(m);if(l!=null&&l.length){const i=[...l].indexOf(o),v=n==="ArrowDown"?i+1:i-1,c=l[v];c==null||c.focus()}}};return f({setFocus:S}),(o,n)=>(e.openBlock(),e.createElementBlock("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,(t,l)=>(e.openBlock(),e.createBlock(a.default,{key:`${t.key?t.key:l}-item`,item:t,onKeydown:s,onSelected:d},{content:e.withCtx(()=>[e.renderSlot(o.$slots,"content",{item:t},void 0,!0)]),_:2},1032,["item"]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,t=>(e.openBlock(),e.createElementBlock("div",{key:`${t}-group`,class:"multiselect-group"},[e.createElementVNode("span",C,e.toDisplayString(t),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w(t),(l,i)=>(e.openBlock(),e.createBlock(a.default,{key:`${l.key?l.key:t+"-"+i+"-item"}`,item:l,onKeydown:s,onSelected:d},{content:e.withCtx(()=>[e.renderSlot(o.$slots,"content",{item:l},void 0,!0)]),_:2},1032,["item"]))),128))]))),128)),r.itemCreationEnabled?(e.openBlock(),e.createBlock(a.default,{key:"multiselect-add-item",class:"multiselect-add-item","data-testid":"multiselect-add-item",item:{label:`${r.filterString} (Add new value)`,value:"add_item",disabled:!r.itemCreationValid},onKeydown:s,onSelected:n[0]||(n[0]=t=>o.$emit("add-item"))},{content:e.withCtx(()=>[e.createElementVNode("div",E,[e.createTextVNode(e.toDisplayString(r.filterString)+" ",1),n[1]||(n[1]=e.createElementVNode("span",{class:"select-item-new-indicator"},"(Add new value)",-1))])]),_:1},8,["item"])):e.createCommentVNode("",!0)],512))}});exports.default=I;
|
package/dist/kongponents254.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=["aria-selected","data-testid"],r={class:"multiselect-item-container"},m=["disabled","value"],c={class:"multiselect-item-label"},u=e.defineComponent({__name:"KMultiselectItem",props:{item:{}},emits:["selected","arrow-down","arrow-up"],setup(t,{emit:s}){const n=s,d=()=>{t.item.disabled||n("selected",t.item)};return(l,i)=>(e.openBlock(),e.createElementBlock("div",{key:t.item.key,"aria-selected":t.item.selected,class:"multiselect-item","data-testid":`multiselect-item-${t.item.value}`,role:"option"},[e.createElementVNode("div",r,[e.createElementVNode("button",{class:e.normalizeClass({selected:t.item.selected}),disabled:t.item.disabled===!0?!0:void 0,type:"button",value:t.item.value,onClick:d,onKeydown:[i[0]||(i[0]=e.withKeys(e.withModifiers(o=>l.$emit("arrow-down"),["prevent"]),["down"])),i[1]||(i[1]=e.withKeys(e.withModifiers(o=>l.$emit("arrow-up"),["prevent"]),["up"]))]},[e.createElementVNode("span",c,[e.renderSlot(l.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(t.item.label),1)],!0)])],42,m)])],8,a))}});exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("./kongponents58.cjs"),r={class:"skeleton-loader"},l=e.defineComponent({__name:"SkeletonBase",setup(d){return(o,n)=>(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(t.default,{height:"1",width:"100"}),e.createVNode(t.default,{height:"1",width:"100"}),e.createVNode(t.default,{height:"1",width:"100"})],!0)]))}});exports.default=l;
|
package/dist/kongponents258.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("./kongponents58.cjs"),a=require("./kongponents177.cjs"),l=require("./kongponents179.cjs"),s={class:"skeleton-card-wrapper"},u={class:"skeleton-card-header"},i={class:"skeleton-card-content"},k={class:"skeleton-card-footer"},m=e.defineComponent({__name:"CardSkeleton",props:{cardCount:{},maxWidth:{}},setup(r){e.useCssVars(t=>({v243e7eb5:c.value}));const c=e.computed(()=>r.maxWidth?l.normalizeSize(r.maxWidth):r.cardCount===1?"470px":`calc((100% / 3) - ${a.KUI_SPACE_50})`);return(t,h)=>(e.openBlock(),e.createElementBlock("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.cardCount,d=>(e.openBlock(),e.createElementBlock("div",{key:d,class:"skeleton-card"},[e.createElementVNode("div",u,[e.renderSlot(t.$slots,"card-header",{},()=>[e.createVNode(o.default,{width:"50"})],!0)]),e.createElementVNode("div",i,[e.renderSlot(t.$slots,"card-content",{},()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(3,n=>e.createVNode(o.default,{key:n,width:"100"})),64)),e.createVNode(o.default,{width:"50"})],!0)]),e.createElementVNode("div",k,[e.renderSlot(t.$slots,"card-footer",{},()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,n=>e.createVNode(o.default,{key:n,height:"2",width:"5"})),64))],!0)])]))),128))]))}});exports.default=m;
|
package/dist/kongponents26.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),S=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),S=require("./kongponents233.cjs"),y=require("./kongponents179.cjs"),r=require("./kongponents204.cjs"),D=require("./kongponents234.cjs"),I=l.defineComponent({__name:"KTreeList",props:{modelValue:{default:null},items:{default:null},disableDrag:{type:Boolean},ignoreDragSelectors:{type:[String,Function],default:""},maxDepth:{default:3},width:{default:""},hideIcons:{type:Boolean},group:{default:"k-tree-list"},collapsible:{type:Boolean},initialCollapseAll:{type:Boolean}},emits:["change","child-change","selected"],setup(t,{expose:g,emit:f}){const s=(e,a)=>(e.forEach(i=>{var d;a.push(i.id),(d=i.children)!=null&&d.length&&s(i.children,a)}),a),u=e=>{const a=s(e,[]),i=new Set(a);return a.length===i.size},v=(e,a)=>{let i=!0;return e.forEach(d=>{i=i&&(!d.children||D.getMaximumDepth(d)<=a)}),i};l.watch(()=>t.modelValue,e=>{e&&!u(e)&&r.warnInvalidProp("modelValue","Item `id` must be unique.")},{immediate:!0}),l.watch(()=>t.items,e=>{e&&!u(e)&&r.warnInvalidProp("items","Item `id` must be unique.")},{immediate:!0}),l.watch(()=>t.maxDepth,e=>{e>5&&r.warnInvalidProp("maxDepth","Maximum depth must be less than or equal to 5.")},{immediate:!0}),l.watch([()=>t.modelValue,()=>t.items],([e,a])=>{e&&a&&r.warnInvalidProp("modelValue / items","You should not provide both v-model (or props.modelValue) and props.items")},{immediate:!0});const n=l.ref([]);l.watch([n,()=>t.maxDepth],([e,a])=>{v(e,a)||r.warnInvalidProp(t.modelValue?"modelValue":"items","Provided list depth exceeds `maxDepth`")},{immediate:!0,deep:!0});const o=f,b=l.computed({get(){return t.modelValue},set(e){n.value=e}}),p=l.computed(()=>({maxWidth:y.normalizeSize(t.width)})),c=(e,a)=>{(a||n.value).forEach(d=>{var m;d.id===e.id?(d.selected=!0,o("selected",e)):d.selected=!1,(m=d.children)!=null&&m.length&&c(e,d.children)})},x=e=>{o("change",e)},w=e=>{o("child-change",e)};l.watch(b,(e,a)=>{JSON.stringify(e)!==JSON.stringify(a)&&(n.value=e||[],n.value.forEach(i=>{i.children||(i.children=[])}))}),l.watch(()=>t.items,(e,a)=>{JSON.stringify(e)!==JSON.stringify(a)&&(n.value=e||[],n.value.forEach(i=>{i.children||(i.children=[])}))});const h=l.useTemplateRef("tree-draggable");return g({collapseAll:()=>{var e;(e=h.value)==null||e.collapseAll()},expandAll:()=>{var e;(e=h.value)==null||e.expandAll()}}),l.onMounted(()=>{t.modelValue?n.value=t.modelValue:t.items&&(n.value=t.items),n.value.forEach(e=>{e.children||(e.children=[])})}),(e,a)=>(l.openBlock(),l.createElementBlock("div",{class:"k-tree-list","data-testid":"k-tree-list",style:l.normalizeStyle(t.width?p.value:void 0)},[l.createVNode(S.default,{ref:"tree-draggable",collapsible:t.collapsible,"data-testid":`k-tree-list-${t.group}`,"disable-drag":t.disableDrag,filter:t.ignoreDragSelectors,group:t.group,"hide-icons":t.hideIcons,"initial-collapse-all":t.initialCollapseAll,items:n.value,"max-depth":t.maxDepth,onChange:x,onChildChange:w,onSelected:c},l.createSlots({"item-label":l.withCtx(({item:i})=>[l.renderSlot(e.$slots,"item-label",{item:i})]),_:2},[e.$slots["item-icon"]?{name:"item-icon",fn:l.withCtx(({item:i})=>[l.renderSlot(e.$slots,"item-icon",{item:i})]),key:"0"}:void 0]),1032,["collapsible","data-testid","disable-drag","filter","group","hide-icons","initial-collapse-all","items","max-depth"])],4))}});exports.default=I;
|
package/dist/kongponents260.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("./kongponents58.cjs"),u={class:"skeleton-table-wrapper"},a=e.defineComponent({__name:"TableSkeleton",props:{rows:{},columns:{}},setup(n){e.useCssVars(t=>({v11294cba:t.columns}));const c=(t,l)=>t===1&&l===1||t!==1&&l!==1?"25":"50";return(t,l)=>(e.openBlock(),e.createElementBlock("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.rows,r=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"skeleton-table-row"},[e.renderSlot(t.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.columns,o=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"skeleton-cell-container"},[e.createVNode(s.default,{class:"skeleton-cell",width:c(o,r)},null,8,["width"])]))),128))],!0)]))),128))]))}});exports.default=a;
|
package/dist/kongponents262.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("./kongponents58.cjs"),r={class:"skeleton-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("./kongponents58.cjs"),r={class:"skeleton-form-wrapper"},n=e.defineComponent({__name:"FormSkeleton",setup(l){return(c,s)=>(e.openBlock(),e.createElementBlock("div",r,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(4,o=>e.createElementVNode("div",{key:o,class:"skeleton-form-row"},[e.createVNode(t.default,{height:"2",width:"10"}),e.createVNode(t.default,{height:"2",width:"100"})])),64))]))}});exports.default=n;
|
package/dist/kongponents264.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("./kongponents358.cjs"),a={class:"fullscreen-loading-container","data-testid":"full-screen-loader"},c=["src"],u={key:0,class:"progress"},d=e.defineComponent({__name:"FullScreenKongSkeleton",props:{progress:{},hideProgress:{type:Boolean},zIndex:{}},setup(t){e.useCssVars(l=>({v4d434712:l.zIndex}));const n=e.ref(0),r=e.ref(0),o=e.computed(()=>t.progress!==null?t.progress:r.value);return e.onMounted(()=>{t.progress||(n.value=setInterval(()=>{r.value>=100&&(clearInterval(n.value),r.value=100),r.value=Math.min(r.value+Math.ceil(Math.random()*10*30),100)},200))}),e.onUnmounted(()=>{clearInterval(n.value)}),(l,i)=>(e.openBlock(),e.createElementBlock("div",a,[e.createElementVNode("div",null,[e.createElementVNode("img",{alt:"Loading",src:e.unref(s.default)},null,8,c),t.hideProgress?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",{class:"progress-bar",role:"progressbar",style:e.normalizeStyle({width:`${o.value}%`}),title:"Loading"},null,4)]))])]))}});exports.default=d;
|
package/dist/kongponents266.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a={class:"fullscreen-loading-container","data-testid":"full-screen-spinner-loader"},u={key:0,class:"progress"},i=e.defineComponent({__name:"FullScreenGenericSpinner",props:{progress:{},hideProgress:{type:Boolean},zIndex:{}},setup(n){e.useCssVars(t=>({v07a3a490:t.zIndex}));const l=e.ref(0),r=e.ref(0),o=e.computed(()=>n.progress!==null?n.progress:r.value);return e.onMounted(()=>{n.progress||(l.value=setInterval(()=>{r.value>=100&&(clearInterval(l.value),r.value=100),r.value=Math.min(r.value+Math.ceil(Math.random()*10*30),100)},200))}),e.onUnmounted(()=>{clearInterval(l.value)}),(t,s)=>(e.openBlock(),e.createElementBlock("div",a,[e.createElementVNode("div",null,[s[0]||(s[0]=e.createElementVNode("div",{class:"spinner-loader"},null,-1)),n.hideProgress?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",{class:"progress-bar",role:"progressbar",style:e.normalizeStyle({width:`${o.value}%`}),title:"Loading"},null,4)]))])]))}});exports.default=i;
|
package/dist/kongponents268.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("./kongponents206.cjs"),C={ref:"itemsContainer"},v={class:"select-group-title"},y={class:"select-item-description"},f=".select-item button:not(:disabled)",I='.select-item[aria-selected="true"] button:not(:disabled)',L=e.defineComponent({__name:"KSelectItems",props:{items:{default:()=>[]},itemCreationEnabled:{type:Boolean},filterString:{default:""},itemCreationValid:{type:Boolean,default:!0}},emits:["selected","add-item"],setup(r,{expose:p,emit:E}){const S=E,u=o=>S("selected",o),g=e.computed(()=>{var o;return(o=r.items)==null?void 0:o.filter(n=>!n.group)}),k=e.computed(()=>{var o,n;return[...new Set((n=(o=r.items)==null?void 0:o.filter(t=>t.group))==null?void 0:n.map(t=>t.group))].sort((t,l)=>t.toLowerCase().localeCompare(l.toLowerCase()))}),w=o=>{var n;return(n=r.items)==null?void 0:n.filter(t=>t.group===o)},m=e.useTemplateRef("itemsContainer"),B=o=>{var s,i;const n=m.value;if(!n)return;const t=n.querySelectorAll(f);if(!(t!=null&&t.length))return;const l=n.querySelector(I);if(l){const c=[...t].indexOf(l);(s=t[o==="down"?c+1:c-1])==null||s.focus()}else(i=t[o==="down"?0:t.length-1])==null||i.focus()},a=({target:o,key:n})=>{var t;if(n==="ArrowDown"||n==="ArrowUp"){const l=(t=m.value)==null?void 0:t.querySelectorAll(f);if(l!=null&&l.length){const s=[...l].indexOf(o),i=n==="ArrowDown"?s+1:s-1,c=l[i];c==null||c.focus()}}};return p({setFocus:B}),(o,n)=>(e.openBlock(),e.createElementBlock("div",C,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,t=>(e.openBlock(),e.createBlock(d.default,{key:t.key,item:t,onKeydown:a,onSelected:u},{content:e.withCtx(()=>[e.renderSlot(o.$slots,"content",{item:t},void 0,!0)]),_:2},1032,["item"]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,t=>(e.openBlock(),e.createElementBlock("div",{key:`${t}-group`,class:"select-group","data-propagate-clicks":"false"},[e.createElementVNode("span",v,e.toDisplayString(t),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w(t),l=>(e.openBlock(),e.createBlock(d.default,{key:l.key,item:l,onKeydown:a,onSelected:u},{content:e.withCtx(()=>[e.renderSlot(o.$slots,"content",{item:l},void 0,!0)]),_:2},1032,["item"]))),128))]))),128)),r.itemCreationEnabled?(e.openBlock(),e.createBlock(d.default,{key:"select-add-item",class:"select-add-item","data-testid":"select-add-item",item:{label:`${r.filterString} (Add new value)`,value:"add_item",disabled:!r.itemCreationValid},onKeydown:a,onSelected:n[0]||(n[0]=t=>o.$emit("add-item"))},{content:e.withCtx(()=>[e.createElementVNode("div",y,[e.createTextVNode(e.toDisplayString(r.filterString)+" ",1),n[1]||(n[1]=e.createElementVNode("span",{class:"select-item-new-indicator"},"(Add new value)",-1))])]),_:1},8,["item"])):e.createCommentVNode("",!0)],512))}});exports.default=L;
|
package/dist/kongponents270.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=["aria-selected","data-testid"],r={class:"select-item-container"},c=["disabled","value"],m={class:"select-item-label"},u=e.defineComponent({__name:"KSelectItem",props:{item:{}},emits:["selected","arrow-down","arrow-up"],setup(t,{emit:s}){const n=s,o=i=>{if(t.item.disabled){i.stopPropagation();return}n("selected",t.item)};return(i,l)=>(e.openBlock(),e.createElementBlock("div",{key:t.item.key,"aria-selected":t.item.selected,class:"select-item","data-testid":`select-item-${t.item.value}`,role:"option"},[e.createElementVNode("div",r,[e.createElementVNode("button",{class:e.normalizeClass({selected:t.item.selected}),disabled:t.item.disabled===!0?!0:void 0,type:"button",value:t.item.value,onClick:o,onKeydown:[l[0]||(l[0]=e.withKeys(e.withModifiers(d=>i.$emit("arrow-down"),["prevent"]),["down"])),l[1]||(l[1]=e.withKeys(e.withModifiers(d=>i.$emit("arrow-up"),["prevent"]),["up"]))]},[e.createElementVNode("span",m,[e.renderSlot(i.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(t.item.label),1)],!0)])],42,c)])],8,a))}});exports.default=u;
|
package/dist/kongponents272.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("./kongponents166.cjs"),C=require("./kongponents172.cjs"),g=require("./kongponents196.cjs"),V=require("./kongponents251.cjs"),c=require("./kongponents33.cjs"),x=require("./kongponents37.cjs"),N=require("./kongponents42.cjs"),I=require("./kongponents43.cjs"),q=require("./kongponents46.cjs"),S=require("./kongponents24.cjs");;/* empty css */const B=require("./kongponents48.cjs"),M={class:"table-column-visibility-menu"},T={class:"apply-button-wrapper"},D=e.defineComponent({__name:"ColumnVisibilityMenu",props:{columns:{},tableId:{},visibilityPreferences:{},disabled:{type:Boolean}},emits:["update"],setup(i,{emit:b}){const v=b,f=e.ref(!1),n=e.ref({}),u=e.ref(!1),r=e.ref(),o=e.ref(""),d=()=>{n.value=i.columns.reduce((t,l)=>(t[l.key]=i.visibilityPreferences[l.key]===void 0?!0:i.visibilityPreferences[l.key],t),{}),u.value=!1},y=w.debounce(t=>{o.value=t,r.value&&s(r.value)},500),m=e.computed(()=>o.value?i.columns.filter(t=>(t.label?t.label:t.key).toLowerCase().includes(o.value.toLowerCase())):i.columns),p=()=>{v("update",JSON.parse(JSON.stringify(n.value))),u.value=!1,o.value=""},k=t=>{f.value=t,t&&r.value&&e.nextTick(()=>{r.value&&s(r.value)}),!t&&u.value&&d(),t||(o.value="")},s=t=>{if(!(t.scrollHeight>t.clientHeight)){t.classList.remove("is-bottom-overflowing");return}const a=t.scrollHeight<t.clientHeight+t.scrollTop+1;t.classList.toggle("is-bottom-overflowing",!a)};return e.watch(()=>i.visibilityPreferences,()=>{d()},{immediate:!0}),e.onMounted(()=>{r.value&&(r.value.addEventListener("scroll",t=>{const l=t.currentTarget;s(l)}),s(r.value))}),e.onBeforeMount(()=>{d()}),(t,l)=>(e.openBlock(),e.createElementBlock("div",M,[e.createVNode(N.default,{"data-testid":"table-column-visibility-menu",disabled:i.disabled,"kpop-attributes":{placement:"bottom-end"},onToggleDropdown:k},{items:e.withCtx(()=>[o.value||m.value.length>5?(e.openBlock(),e.createBlock(q.default,{key:0,modelValue:o.value,"onUpdate:modelValue":l[1]||(l[1]=a=>o.value=a),modelModifiers:{trim:!0},autocomplete:"off",class:"search-input","data-testid":"search-input",placeholder:"Search columns",type:"search",onClick:l[2]||(l[2]=e.withModifiers(()=>{},["stop"])),onInput:e.unref(y)},e.createSlots({before:e.withCtx(()=>[e.createVNode(e.unref(g.default),{decorative:""})]),_:2},[o.value?{name:"after",fn:e.withCtx(()=>[e.createVNode(c.default,{appearance:"tertiary","aria-label":"Clear search",class:"clear-search","data-testid":"clear-search-button",icon:"",size:"small",onClick:l[0]||(l[0]=e.withModifiers(()=>o.value="",["stop"]))},{default:e.withCtx(()=>[e.createVNode(e.unref(C.default),{decorative:""})]),_:1})]),key:"0"}:void 0]),1032,["modelValue","onInput"])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"menuItemsRef",ref:r,class:"menu-items-wrapper"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,a=>(e.openBlock(),e.createBlock(I.default,{key:a.key,class:"column-visibility-menu-item","data-testid":`column-visibility-menu-item-${a.key}`,onClick:e.withModifiers(()=>{n.value[a.key]=!n.value[a.key],u.value=!0},["stop"])},{default:e.withCtx(()=>[e.createVNode(x.default,{modelValue:n.value[a.key],"onUpdate:modelValue":h=>n.value[a.key]=h,"aria-labelledby":`${i.tableId}-${a.key}-visibility-checkbox-label`,"data-testid":`column-visibility-checkbox-${a.key}`},null,8,["modelValue","onUpdate:modelValue","aria-labelledby","data-testid"]),e.createVNode(B.default,{id:`${i.tableId}-${a.key}-visibility-checkbox-label`,class:"visibility-checkbox-label",title:a.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),_:2},1032,["id","title"])]),_:2},1032,["data-testid","onClick"]))),128))],512),e.createElementVNode("div",T,[e.createVNode(c.default,{appearance:"tertiary",class:"apply-button","data-testid":"apply-button",onClick:p},{default:e.withCtx(()=>[...l[3]||(l[3]=[e.createTextVNode(" Apply ",-1)])]),_:1})])]),default:e.withCtx(()=>[e.createVNode(S.default,{placement:"bottom-end",text:f.value?void 0:"Show/Hide Columns"},{default:e.withCtx(()=>[e.createVNode(c.default,{appearance:"tertiary","aria-label":"Show/Hide Columns",class:"menu-button","data-testid":"column-visibility-menu-button",disabled:i.disabled,icon:"",size:"large"},{default:e.withCtx(()=>[e.createVNode(e.unref(V.default),{decorative:""})]),_:1},8,["disabled"])]),_:1},8,["text"])]),_:1},8,["disabled"])]))}});exports.default=D;
|
package/dist/kongponents28.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),ke=require("./kongponents68.cjs"),Fe=require("./kongponents171.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const Ae=require("./kongponents11.cjs"),q=require("./kongponents169.cjs"),Re=require("./kongponents218.cjs"),xe=t.defineComponent({__name:"KTableData",props:{fetcher:{type:Function},headers:{default:()=>[]},fetcherCacheKey:{default:""},cacheIdentifier:{default:""},searchInput:{default:""},initialFetcherParams:{default:()=>({})},clientSort:{type:Boolean},sortHandlerFunction:{},sortable:{type:Boolean,default:!0},resizeColumns:{type:Boolean},tablePreferences:{default:()=>({})},rowHover:{type:Boolean,default:!0},rowAttrs:{default:()=>(()=>({}))},rowLink:{default:()=>(()=>({}))},rowBulkActionEnabled:{default:()=>(()=>!0)},rowKey:{},cellAttrs:{default:()=>(()=>({}))},loading:{type:Boolean},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:()=>Ae.EmptyStateIconVariants.Default},emptyStateButtonAppearance:{},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{},errorStateActionMessage:{default:""},maxHeight:{default:"none"},hidePagination:{type:Boolean},paginationAttributes:{default:()=>({})},rowExpandable:{default:()=>(()=>!1)},rowExpanded:{default:()=>(()=>!1)},hideHeaders:{type:Boolean},nested:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},hideToolbar:{type:Boolean},tooltipTarget:{},"onRow:click":{type:Function},"onRow:dblclick":{type:Function},"onRow:auxclick":{type:Function},"onRow:contextmenu":{type:Function},"onRow:mouseover":{type:Function},"onRow:mouseout":{type:Function},"onRow:mouseenter":{type:Function},"onRow:mouseleave":{type:Function},"onRow:mousedown":{type:Function},"onRow:mouseup":{type:Function},"onRow:focus":{type:Function},"onRow:focusin":{type:Function},"onRow:blur":{type:Function},"onRow:focusout":{type:Function},"onRow:keydown":{type:Function},"onRow:keyup":{type:Function},"onRow:keypress":{type:Function},"onCell:click":{type:Function},"onCell:dblclick":{type:Function},"onCell:auxclick":{type:Function},"onCell:contextmenu":{type:Function},"onCell:mouseover":{type:Function},"onCell:mouseout":{type:Function},"onCell:mouseenter":{type:Function},"onCell:mouseleave":{type:Function},"onCell:mousedown":{type:Function},"onCell:mouseup":{type:Function},"onCell:focus":{type:Function},"onCell:focusin":{type:Function},"onCell:blur":{type:Function},"onCell:focusout":{type:Function},"onCell:keydown":{type:Function},"onCell:keyup":{type:Function},"onCell:keypress":{type:Function}},emits:["state","cell-click","row-click","error-action-click","empty-state-action-click","update:table-preferences","sort","row-select","update:row-expanded","row-actions-toggle"],setup(a,{expose:W,emit:N}){const L=t.createPropsRestProxy(a,["resizeColumns","tablePreferences","rowHover","rowAttrs","rowLink","rowBulkActionEnabled","rowKey","cellAttrs","loading","emptyStateTitle","emptyStateMessage","emptyStateActionMessage","emptyStateIconVariant","emptyStateButtonAppearance","emptyStateActionRoute","error","errorStateTitle","errorStateMessage","errorStateActionMessage","errorStateActionRoute","maxHeight","hidePagination","paginationAttributes","rowExpandable","rowExpanded","hideHeaders","nested","hidePaginationWhenOptional","hideToolbar","headers","fetcherCacheKey","cacheIdentifier","searchInput","initialFetcherParams","clientSort","sortable","fetcher","sortHandlerFunction","tooltipTarget"]),U=t.computed(()=>{const e=/^on[^a-z]/;return Re.default(L,(n,o)=>e.test(o))}),y=N,u=t.useSlots(),{useDebounce:A,useRequest:j,useSwrvState:G,clientSideSorter:R}=Fe.default(),Q=t.useId(),c=t.ref([]),C=t.computed(()=>a.sortable?a.headers:a.headers.map(e=>({...e,sortable:!1}))),J=t.computed(()=>a.emptyStateButtonAppearance?a.emptyStateButtonAppearance:a.searchInput?"tertiary":"primary"),w=t.ref(0),l=t.ref(1),d=t.ref(q.getInitialPageSize(a.tablePreferences,a.paginationAttributes)),p=t.ref(a.searchInput??""),i=t.ref(a.tablePreferences.sortColumnKey||a.initialFetcherParams.sortColumnKey||""),s=t.ref(a.tablePreferences.sortColumnOrder||a.initialFetcherParams.sortColumnOrder||"desc"),x=t.ref(!(i.value&&a.clientSort)),m=t.ref(null),v=t.ref([]),O=t.ref(!0),z=t.ref(!1),g={pageSize:d.value,page:l.value,query:p.value,sortColumnKey:i.value,sortColumnOrder:s.value,offset:m.value},Z=t.computed(()=>({totalCount:w.value,initialPageSize:d.value,currentPage:l.value,offsetPreviousButtonDisabled:!k.value,offsetNextButtonDisabled:!S.value||!O.value,...a.paginationAttributes})),X=e=>e.startsWith("column-"),Y=e=>e.startsWith("tooltip-"),V=e=>C.value.some(n=>n.key===e),_=t.computed(()=>u?Object.keys(u).filter(X):[]),ee=t.computed(()=>u?Object.keys(u).filter(Y):[]),te=t.computed(()=>u?Object.keys(u).filter(V):[]),H=t.computed(()=>({sortColumnKey:i.value,sortColumnOrder:s.value})),T=t.computed(()=>({pageSize:d.value,page:l.value,query:p.value,offset:m.value,...a.clientSort?{}:H.value})),ae=t.computed(()=>({...T.value,...H.value})),oe=t.ref(!0),ne=async()=>{const e=await a.fetcher(ae.value);return oe.value=!1,e},re=()=>{var n;const e={...g,...a.initialFetcherParams};if(l.value=e.page??g.page,d.value=e.pageSize??g.pageSize,p.value=e.query??g.query,i.value=e.sortColumnKey??g.sortColumnKey,s.value=e.sortColumnOrder??g.sortColumnOrder,a.clientSort&&i.value&&s.value){const o=C.value.find(f=>f.key===i.value)||{},{useSortHandlerFunction:r}=o;if(r&&a.sortHandlerFunction){const f=a.sortHandlerFunction({key:i.value,prevKey:"",sortColumnOrder:s.value,data:c.value});f&&(c.value=[...f])}else R(i.value,"",s.value,c.value)}(n=a.paginationAttributes)!=null&&n.offset&&(m.value=e.offset,v.value.push(e.offset)),z.value=!0},k=t.computed(()=>v.value[l.value-1]),S=t.ref(null),le=t.computed(()=>{if(!a.fetcher||!z.value)return"";let e=Q;return a.cacheIdentifier&&(e=a.cacheIdentifier),e+=`-${JSON.stringify(T.value)}`,a.fetcherCacheKey&&(e+=`-${a.fetcherCacheKey}`),`k-table_${e}`}),{debouncedFn:ie,generateDebouncedFn:ue}=A(e=>{p.value=e},350),se=ue(0),{data:ce,response:de,error:B,revalidate:K,isValidating:fe,isLoading:D}=j(()=>le.value,()=>ne(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:me,hasData:ve}=G(ce,B,fe),I=t.computed(()=>({hasData:ve.value,state:me.value})),E=t.computed(()=>D.value?"loading":B.value?"error":"success"),{debouncedFn:ye}=A(K,500),F=({sortColumnKey:e,prevKey:n,sortColumnOrder:o},r=!0)=>{var M;x.value=!0;const f=C.value.find(P=>P.key===e)||{},{useSortHandlerFunction:we}=f;if(r&&y("sort",{prevKey:n,sortColumnKey:e,sortColumnOrder:o}),l.value=1,(!i.value||e!==i.value)&&(v.value=[null]),i.value=e,s.value=o,a.clientSort)if(we&&a.sortHandlerFunction){const P=a.sortHandlerFunction({key:e,prevKey:n,sortColumnOrder:s.value,data:c.value});P&&(c.value=[...P])}else R(e,n,s.value,c.value);else(M=a.paginationAttributes)!=null&&M.offset||ye()},ge=({page:e})=>{l.value=e},he=({pageSize:e})=>{v.value=[null],m.value=null,d.value=e,l.value=1},be=({columnWidths:e,columnVisibility:n})=>{h.value={...h.value,...e},b.value={...b.value,...n},pe()},h=t.ref(a.tablePreferences.columnWidths||{}),b=t.ref(a.tablePreferences.columnVisibility||{}),$=t.computed(()=>({pageSize:d.value,sortColumnKey:i.value,sortColumnOrder:s.value,...h.value?{columnWidths:h.value}:{},...b.value?{columnVisibility:b.value}:{}}));t.watch(()=>a.tablePreferences,e=>{d.value=e!=null&&e.pageSize?e.pageSize:d.value,h.value=e!=null&&e.columnWidths?e.columnWidths:h.value,b.value=e!=null&&e.columnVisibility?e.columnVisibility:b.value,(e!=null&&e.sortColumnKey||e!=null&&e.sortColumnOrder)&&(i.value!==e.sortColumnKey||s.value!==e.sortColumnOrder)&&F({sortColumnKey:e.sortColumnKey,prevKey:i.value,sortColumnOrder:e.sortColumnOrder},!1)});const pe=()=>{E.value==="success"&&y("update:table-preferences",$.value)},Se=()=>{l.value++,m.value=S.value},Ce=()=>{l.value--,m.value=k.value},Pe=t.computed(()=>{var n,o,r;if(!a.fetcher||a.hidePagination)return!1;const e=((o=(n=a.paginationAttributes)==null?void 0:n.pageSizes)==null?void 0:o[0])??q.DEFAULT_PAGE_SIZE;return a.hidePaginationWhenOptional&&l.value===1?(r=a.paginationAttributes)!=null&&r.offset?!!k.value||!!S.value||c.value.length>=e:w.value>e:!0});return t.watch(de,e=>{var n,o,r,f;e!=null&&e.data&&(c.value=[...e.data],w.value=((n=a.paginationAttributes)==null?void 0:n.totalCount)||e.total||((o=e.data)==null?void 0:o.length)||0,(r=a.paginationAttributes)!=null&&r.offset&&((f=e.pagination)!=null&&f.offset?(S.value=e.pagination.offset,v.value[l.value]||v.value.push(e.pagination.offset)):S.value=null,O.value=e.pagination&&"hasNextPage"in e.pagination?e.pagination.hasNextPage||!1:!0),c.value.length===0&&l.value>1&&(l.value=1,v.value=[null],m.value=null),a.sortable&&!x.value&&F({sortColumnKey:i.value,prevKey:"",sortColumnOrder:s.value},!1))},{deep:!0,immediate:!0}),t.watch([I,E],e=>{const[n,o]=e;y("state",{state:o,hasData:n.hasData})}),t.watch(()=>a.searchInput,e=>{e===""?se(e):ie(e)},{immediate:!0}),t.watch([p,d],async(e,n)=>{const[o]=n,[r]=e;r!==o&&l.value!==1&&(l.value=1,v.value=[null],m.value=null)},{deep:!0,immediate:!0}),t.onMounted(()=>{re()}),W({revalidate:()=>{K()}}),(e,n)=>(t.openBlock(),t.createBlock(ke.default,t.mergeProps({"cell-attrs":a.cellAttrs,class:"k-table-data",data:c.value,"empty-state-action-message":a.emptyStateActionMessage,"empty-state-action-route":a.emptyStateActionRoute,"empty-state-button-appearance":J.value,"empty-state-icon-variant":a.emptyStateIconVariant,"empty-state-message":a.emptyStateMessage,"empty-state-title":a.emptyStateTitle,error:a.error,"error-state-action-message":a.errorStateActionMessage,"error-state-action-route":a.errorStateActionRoute,"error-state-message":a.errorStateMessage,"error-state-title":a.errorStateTitle,headers:C.value,"hide-headers":a.hideHeaders,"hide-pagination":a.hidePagination||!Pe.value,"hide-pagination-when-optional":!1,"hide-toolbar":a.hideToolbar,loading:a.loading||t.unref(D),"max-height":a.maxHeight,nested:a.nested,"pagination-attributes":Z.value,"resize-columns":a.resizeColumns,"row-attrs":a.rowAttrs,"row-bulk-action-enabled":a.rowBulkActionEnabled,"row-expandable":a.rowExpandable,"row-expanded":a.rowExpanded,"row-hover":a.rowHover,"row-key":a.rowKey,"row-link":a.rowLink,"table-preferences":$.value,"tooltip-target":a.tooltipTarget},U.value,{onEmptyStateActionClick:n[0]||(n[0]=o=>y("empty-state-action-click")),onErrorActionClick:n[1]||(n[1]=o=>y("error-action-click")),onGetNextOffset:Se,onGetPreviousOffset:Ce,onPageChange:ge,onPageSizeChange:he,onRowActionsToggle:n[2]||(n[2]=o=>e.$emit("row-actions-toggle",o)),onRowSelect:n[3]||(n[3]=o=>y("row-select",o)),onSort:F,"onUpdate:rowExpanded":n[4]||(n[4]=o=>y("update:row-expanded",o)),"onUpdate:tablePreferences":be}),t.createSlots({_:2},[u.toolbar&&!a.hideToolbar?{name:"toolbar",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"toolbar",{state:I.value})]),key:"0"}:void 0,u["bulk-actions"]?{name:"bulk-actions",fn:t.withCtx(o=>[t.renderSlot(e.$slots,"bulk-actions",t.normalizeProps(t.guardReactiveProps(o)))]),key:"1"}:void 0,u["bulk-action-items"]?{name:"bulk-action-items",fn:t.withCtx(o=>[t.renderSlot(e.$slots,"bulk-action-items",t.normalizeProps(t.guardReactiveProps(o)))]),key:"2"}:void 0,u["error-state"]?{name:"error-state",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"error-state")]),key:"3"}:void 0,u["empty-state"]?{name:"empty-state",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"empty-state")]),key:"4"}:void 0,u["empty-state-action-icon"]?{name:"empty-state-action-icon",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"empty-state-action-icon")]),key:"5"}:void 0,t.renderList(_.value,o=>({name:o,fn:t.withCtx(r=>[t.renderSlot(e.$slots,o,t.normalizeProps(t.guardReactiveProps(r)))])})),t.renderList(ee.value,o=>({name:o,fn:t.withCtx(r=>[t.renderSlot(e.$slots,o,t.normalizeProps(t.guardReactiveProps(r)))])})),t.renderList(te.value,o=>({name:o,fn:t.withCtx(r=>[t.renderSlot(e.$slots,o,t.normalizeProps(t.guardReactiveProps(r)))])})),u["action-items"]?{name:"action-items",fn:t.withCtx(o=>[t.renderSlot(e.$slots,"action-items",t.normalizeProps(t.guardReactiveProps(o)))]),key:"6"}:void 0,u["row-expanded"]?{name:"row-expanded",fn:t.withCtx(o=>[t.renderSlot(e.$slots,"row-expanded",t.normalizeProps(t.guardReactiveProps(o)))]),key:"7"}:void 0]),1040,["cell-attrs","data","empty-state-action-message","empty-state-action-route","empty-state-button-appearance","empty-state-icon-variant","empty-state-message","empty-state-title","error","error-state-action-message","error-state-action-route","error-state-message","error-state-title","headers","hide-headers","hide-pagination","hide-toolbar","loading","max-height","nested","pagination-attributes","resize-columns","row-attrs","row-bulk-action-enabled","row-expandable","row-expanded","row-hover","row-key","row-link","table-preferences","tooltip-target"]))}});exports.default=xe;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),ke=require("./kongponents68.cjs"),Fe=require("./kongponents199.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const Ae=require("./kongponents11.cjs"),q=require("./kongponents169.cjs"),Re=require("./kongponents216.cjs"),xe=t.defineComponent({__name:"KTableData",props:{fetcher:{type:Function},headers:{default:()=>[]},fetcherCacheKey:{default:""},cacheIdentifier:{default:""},searchInput:{default:""},initialFetcherParams:{default:()=>({})},clientSort:{type:Boolean},sortHandlerFunction:{},sortable:{type:Boolean,default:!0},resizeColumns:{type:Boolean},tablePreferences:{default:()=>({})},rowHover:{type:Boolean,default:!0},rowAttrs:{default:()=>(()=>({}))},rowLink:{default:()=>(()=>({}))},rowBulkActionEnabled:{default:()=>(()=>!0)},rowKey:{},cellAttrs:{default:()=>(()=>({}))},loading:{type:Boolean},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:()=>Ae.EmptyStateIconVariants.Default},emptyStateButtonAppearance:{},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{},errorStateActionMessage:{default:""},maxHeight:{default:"none"},hidePagination:{type:Boolean},paginationAttributes:{default:()=>({})},rowExpandable:{default:()=>(()=>!1)},rowExpanded:{default:()=>(()=>!1)},hideHeaders:{type:Boolean},nested:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},hideToolbar:{type:Boolean},tooltipTarget:{},"onRow:click":{type:Function},"onRow:dblclick":{type:Function},"onRow:auxclick":{type:Function},"onRow:contextmenu":{type:Function},"onRow:mouseover":{type:Function},"onRow:mouseout":{type:Function},"onRow:mouseenter":{type:Function},"onRow:mouseleave":{type:Function},"onRow:mousedown":{type:Function},"onRow:mouseup":{type:Function},"onRow:focus":{type:Function},"onRow:focusin":{type:Function},"onRow:blur":{type:Function},"onRow:focusout":{type:Function},"onRow:keydown":{type:Function},"onRow:keyup":{type:Function},"onRow:keypress":{type:Function},"onCell:click":{type:Function},"onCell:dblclick":{type:Function},"onCell:auxclick":{type:Function},"onCell:contextmenu":{type:Function},"onCell:mouseover":{type:Function},"onCell:mouseout":{type:Function},"onCell:mouseenter":{type:Function},"onCell:mouseleave":{type:Function},"onCell:mousedown":{type:Function},"onCell:mouseup":{type:Function},"onCell:focus":{type:Function},"onCell:focusin":{type:Function},"onCell:blur":{type:Function},"onCell:focusout":{type:Function},"onCell:keydown":{type:Function},"onCell:keyup":{type:Function},"onCell:keypress":{type:Function}},emits:["state","cell-click","row-click","error-action-click","empty-state-action-click","update:table-preferences","sort","row-select","update:row-expanded","row-actions-toggle"],setup(a,{expose:W,emit:N}){const L=t.createPropsRestProxy(a,["resizeColumns","tablePreferences","rowHover","rowAttrs","rowLink","rowBulkActionEnabled","rowKey","cellAttrs","loading","emptyStateTitle","emptyStateMessage","emptyStateActionMessage","emptyStateIconVariant","emptyStateButtonAppearance","emptyStateActionRoute","error","errorStateTitle","errorStateMessage","errorStateActionMessage","errorStateActionRoute","maxHeight","hidePagination","paginationAttributes","rowExpandable","rowExpanded","hideHeaders","nested","hidePaginationWhenOptional","hideToolbar","headers","fetcherCacheKey","cacheIdentifier","searchInput","initialFetcherParams","clientSort","sortable","fetcher","sortHandlerFunction","tooltipTarget"]),U=t.computed(()=>{const e=/^on[^a-z]/;return Re.default(L,(n,o)=>e.test(o))}),y=N,u=t.useSlots(),{useDebounce:A,useRequest:j,useSwrvState:G,clientSideSorter:R}=Fe.default(),Q=t.useId(),c=t.ref([]),C=t.computed(()=>a.sortable?a.headers:a.headers.map(e=>({...e,sortable:!1}))),J=t.computed(()=>a.emptyStateButtonAppearance?a.emptyStateButtonAppearance:a.searchInput?"tertiary":"primary"),w=t.ref(0),l=t.ref(1),d=t.ref(q.getInitialPageSize(a.tablePreferences,a.paginationAttributes)),p=t.ref(a.searchInput??""),i=t.ref(a.tablePreferences.sortColumnKey||a.initialFetcherParams.sortColumnKey||""),s=t.ref(a.tablePreferences.sortColumnOrder||a.initialFetcherParams.sortColumnOrder||"desc"),x=t.ref(!(i.value&&a.clientSort)),m=t.ref(null),v=t.ref([]),O=t.ref(!0),z=t.ref(!1),g={pageSize:d.value,page:l.value,query:p.value,sortColumnKey:i.value,sortColumnOrder:s.value,offset:m.value},Z=t.computed(()=>({totalCount:w.value,initialPageSize:d.value,currentPage:l.value,offsetPreviousButtonDisabled:!k.value,offsetNextButtonDisabled:!S.value||!O.value,...a.paginationAttributes})),X=e=>e.startsWith("column-"),Y=e=>e.startsWith("tooltip-"),V=e=>C.value.some(n=>n.key===e),_=t.computed(()=>u?Object.keys(u).filter(X):[]),ee=t.computed(()=>u?Object.keys(u).filter(Y):[]),te=t.computed(()=>u?Object.keys(u).filter(V):[]),H=t.computed(()=>({sortColumnKey:i.value,sortColumnOrder:s.value})),T=t.computed(()=>({pageSize:d.value,page:l.value,query:p.value,offset:m.value,...a.clientSort?{}:H.value})),ae=t.computed(()=>({...T.value,...H.value})),oe=t.ref(!0),ne=async()=>{const e=await a.fetcher(ae.value);return oe.value=!1,e},re=()=>{var n;const e={...g,...a.initialFetcherParams};if(l.value=e.page??g.page,d.value=e.pageSize??g.pageSize,p.value=e.query??g.query,i.value=e.sortColumnKey??g.sortColumnKey,s.value=e.sortColumnOrder??g.sortColumnOrder,a.clientSort&&i.value&&s.value){const o=C.value.find(f=>f.key===i.value)||{},{useSortHandlerFunction:r}=o;if(r&&a.sortHandlerFunction){const f=a.sortHandlerFunction({key:i.value,prevKey:"",sortColumnOrder:s.value,data:c.value});f&&(c.value=[...f])}else R(i.value,"",s.value,c.value)}(n=a.paginationAttributes)!=null&&n.offset&&(m.value=e.offset,v.value.push(e.offset)),z.value=!0},k=t.computed(()=>v.value[l.value-1]),S=t.ref(null),le=t.computed(()=>{if(!a.fetcher||!z.value)return"";let e=Q;return a.cacheIdentifier&&(e=a.cacheIdentifier),e+=`-${JSON.stringify(T.value)}`,a.fetcherCacheKey&&(e+=`-${a.fetcherCacheKey}`),`k-table_${e}`}),{debouncedFn:ie,generateDebouncedFn:ue}=A(e=>{p.value=e},350),se=ue(0),{data:ce,response:de,error:B,revalidate:K,isValidating:fe,isLoading:D}=j(()=>le.value,()=>ne(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:me,hasData:ve}=G(ce,B,fe),I=t.computed(()=>({hasData:ve.value,state:me.value})),E=t.computed(()=>D.value?"loading":B.value?"error":"success"),{debouncedFn:ye}=A(K,500),F=({sortColumnKey:e,prevKey:n,sortColumnOrder:o},r=!0)=>{var M;x.value=!0;const f=C.value.find(P=>P.key===e)||{},{useSortHandlerFunction:we}=f;if(r&&y("sort",{prevKey:n,sortColumnKey:e,sortColumnOrder:o}),l.value=1,(!i.value||e!==i.value)&&(v.value=[null]),i.value=e,s.value=o,a.clientSort)if(we&&a.sortHandlerFunction){const P=a.sortHandlerFunction({key:e,prevKey:n,sortColumnOrder:s.value,data:c.value});P&&(c.value=[...P])}else R(e,n,s.value,c.value);else(M=a.paginationAttributes)!=null&&M.offset||ye()},ge=({page:e})=>{l.value=e},he=({pageSize:e})=>{v.value=[null],m.value=null,d.value=e,l.value=1},be=({columnWidths:e,columnVisibility:n})=>{h.value={...h.value,...e},b.value={...b.value,...n},pe()},h=t.ref(a.tablePreferences.columnWidths||{}),b=t.ref(a.tablePreferences.columnVisibility||{}),$=t.computed(()=>({pageSize:d.value,sortColumnKey:i.value,sortColumnOrder:s.value,...h.value?{columnWidths:h.value}:{},...b.value?{columnVisibility:b.value}:{}}));t.watch(()=>a.tablePreferences,e=>{d.value=e!=null&&e.pageSize?e.pageSize:d.value,h.value=e!=null&&e.columnWidths?e.columnWidths:h.value,b.value=e!=null&&e.columnVisibility?e.columnVisibility:b.value,(e!=null&&e.sortColumnKey||e!=null&&e.sortColumnOrder)&&(i.value!==e.sortColumnKey||s.value!==e.sortColumnOrder)&&F({sortColumnKey:e.sortColumnKey,prevKey:i.value,sortColumnOrder:e.sortColumnOrder},!1)});const pe=()=>{E.value==="success"&&y("update:table-preferences",$.value)},Se=()=>{l.value++,m.value=S.value},Ce=()=>{l.value--,m.value=k.value},Pe=t.computed(()=>{var n,o,r;if(!a.fetcher||a.hidePagination)return!1;const e=((o=(n=a.paginationAttributes)==null?void 0:n.pageSizes)==null?void 0:o[0])??q.DEFAULT_PAGE_SIZE;return a.hidePaginationWhenOptional&&l.value===1?(r=a.paginationAttributes)!=null&&r.offset?!!k.value||!!S.value||c.value.length>=e:w.value>e:!0});return t.watch(de,e=>{var n,o,r,f;e!=null&&e.data&&(c.value=[...e.data],w.value=((n=a.paginationAttributes)==null?void 0:n.totalCount)||e.total||((o=e.data)==null?void 0:o.length)||0,(r=a.paginationAttributes)!=null&&r.offset&&((f=e.pagination)!=null&&f.offset?(S.value=e.pagination.offset,v.value[l.value]||v.value.push(e.pagination.offset)):S.value=null,O.value=e.pagination&&"hasNextPage"in e.pagination?e.pagination.hasNextPage||!1:!0),c.value.length===0&&l.value>1&&(l.value=1,v.value=[null],m.value=null),a.sortable&&!x.value&&F({sortColumnKey:i.value,prevKey:"",sortColumnOrder:s.value},!1))},{deep:!0,immediate:!0}),t.watch([I,E],e=>{const[n,o]=e;y("state",{state:o,hasData:n.hasData})}),t.watch(()=>a.searchInput,e=>{e===""?se(e):ie(e)},{immediate:!0}),t.watch([p,d],async(e,n)=>{const[o]=n,[r]=e;r!==o&&l.value!==1&&(l.value=1,v.value=[null],m.value=null)},{deep:!0,immediate:!0}),t.onMounted(()=>{re()}),W({revalidate:()=>{K()}}),(e,n)=>(t.openBlock(),t.createBlock(ke.default,t.mergeProps({"cell-attrs":a.cellAttrs,class:"k-table-data",data:c.value,"empty-state-action-message":a.emptyStateActionMessage,"empty-state-action-route":a.emptyStateActionRoute,"empty-state-button-appearance":J.value,"empty-state-icon-variant":a.emptyStateIconVariant,"empty-state-message":a.emptyStateMessage,"empty-state-title":a.emptyStateTitle,error:a.error,"error-state-action-message":a.errorStateActionMessage,"error-state-action-route":a.errorStateActionRoute,"error-state-message":a.errorStateMessage,"error-state-title":a.errorStateTitle,headers:C.value,"hide-headers":a.hideHeaders,"hide-pagination":a.hidePagination||!Pe.value,"hide-pagination-when-optional":!1,"hide-toolbar":a.hideToolbar,loading:a.loading||t.unref(D),"max-height":a.maxHeight,nested:a.nested,"pagination-attributes":Z.value,"resize-columns":a.resizeColumns,"row-attrs":a.rowAttrs,"row-bulk-action-enabled":a.rowBulkActionEnabled,"row-expandable":a.rowExpandable,"row-expanded":a.rowExpanded,"row-hover":a.rowHover,"row-key":a.rowKey,"row-link":a.rowLink,"table-preferences":$.value,"tooltip-target":a.tooltipTarget},U.value,{onEmptyStateActionClick:n[0]||(n[0]=o=>y("empty-state-action-click")),onErrorActionClick:n[1]||(n[1]=o=>y("error-action-click")),onGetNextOffset:Se,onGetPreviousOffset:Ce,onPageChange:ge,onPageSizeChange:he,onRowActionsToggle:n[2]||(n[2]=o=>e.$emit("row-actions-toggle",o)),onRowSelect:n[3]||(n[3]=o=>y("row-select",o)),onSort:F,"onUpdate:rowExpanded":n[4]||(n[4]=o=>y("update:row-expanded",o)),"onUpdate:tablePreferences":be}),t.createSlots({_:2},[u.toolbar&&!a.hideToolbar?{name:"toolbar",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"toolbar",{state:I.value})]),key:"0"}:void 0,u["bulk-actions"]?{name:"bulk-actions",fn:t.withCtx(o=>[t.renderSlot(e.$slots,"bulk-actions",t.normalizeProps(t.guardReactiveProps(o)))]),key:"1"}:void 0,u["bulk-action-items"]?{name:"bulk-action-items",fn:t.withCtx(o=>[t.renderSlot(e.$slots,"bulk-action-items",t.normalizeProps(t.guardReactiveProps(o)))]),key:"2"}:void 0,u["error-state"]?{name:"error-state",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"error-state")]),key:"3"}:void 0,u["empty-state"]?{name:"empty-state",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"empty-state")]),key:"4"}:void 0,u["empty-state-action-icon"]?{name:"empty-state-action-icon",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"empty-state-action-icon")]),key:"5"}:void 0,t.renderList(_.value,o=>({name:o,fn:t.withCtx(r=>[t.renderSlot(e.$slots,o,t.normalizeProps(t.guardReactiveProps(r)))])})),t.renderList(ee.value,o=>({name:o,fn:t.withCtx(r=>[t.renderSlot(e.$slots,o,t.normalizeProps(t.guardReactiveProps(r)))])})),t.renderList(te.value,o=>({name:o,fn:t.withCtx(r=>[t.renderSlot(e.$slots,o,t.normalizeProps(t.guardReactiveProps(r)))])})),u["action-items"]?{name:"action-items",fn:t.withCtx(o=>[t.renderSlot(e.$slots,"action-items",t.normalizeProps(t.guardReactiveProps(o)))]),key:"6"}:void 0,u["row-expanded"]?{name:"row-expanded",fn:t.withCtx(o=>[t.renderSlot(e.$slots,"row-expanded",t.normalizeProps(t.guardReactiveProps(o)))]),key:"7"}:void 0]),1040,["cell-attrs","data","empty-state-action-message","empty-state-action-route","empty-state-button-appearance","empty-state-icon-variant","empty-state-message","empty-state-title","error","error-state-action-message","error-state-action-route","error-state-message","error-state-title","headers","hide-headers","hide-pagination","hide-toolbar","loading","max-height","nested","pagination-attributes","resize-columns","row-attrs","row-bulk-action-enabled","row-expandable","row-expanded","row-hover","row-key","row-link","table-preferences","tooltip-target"]))}});exports.default=xe;
|
package/dist/kongponents280.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("./kongponents361.cjs"),w=require("./kongponents362.cjs"),v=require("./kongponents363.cjs"),l=require("./kongponents364.cjs"),b=require("./kongponents365.cjs"),o=require("./kongponents366.cjs"),d=require("./kongponents367.cjs");var s={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},x={G:function(n,r,t){var e=n.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return t.era(e,{width:"abbreviated"});case"GGGGG":return t.era(e,{width:"narrow"});case"GGGG":default:return t.era(e,{width:"wide"})}},y:function(n,r,t){if(r==="yo"){var e=n.getUTCFullYear(),a=e>0?e:1-e;return t.ordinalNumber(a,{unit:"year"})}return d.default.y(n,r)},Y:function(n,r,t,e){var a=b.default(n,e),u=a>0?a:1-a;if(r==="YY"){var g=u%100;return o.default(g,2)}return r==="Yo"?t.ordinalNumber(u,{unit:"year"}):o.default(u,r.length)},R:function(n,r){var t=v.default(n);return o.default(t,r.length)},u:function(n,r){var t=n.getUTCFullYear();return o.default(t,r.length)},Q:function(n,r,t){var e=Math.ceil((n.getUTCMonth()+1)/3);switch(r){case"Q":return String(e);case"QQ":return o.default(e,2);case"Qo":return t.ordinalNumber(e,{unit:"quarter"});case"QQQ":return t.quarter(e,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(e,{width:"wide",context:"formatting"})}},q:function(n,r,t){var e=Math.ceil((n.getUTCMonth()+1)/3);switch(r){case"q":return String(e);case"qq":return o.default(e,2);case"qo":return t.ordinalNumber(e,{unit:"quarter"});case"qqq":return t.quarter(e,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(e,{width:"wide",context:"standalone"})}},M:function(n,r,t){var e=n.getUTCMonth();switch(r){case"M":case"MM":return d.default.M(n,r);case"Mo":return t.ordinalNumber(e+1,{unit:"month"});case"MMM":return t.month(e,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(e,{width:"wide",context:"formatting"})}},L:function(n,r,t){var e=n.getUTCMonth();switch(r){case"L":return String(e+1);case"LL":return o.default(e+1,2);case"Lo":return t.ordinalNumber(e+1,{unit:"month"});case"LLL":return t.month(e,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(e,{width:"wide",context:"standalone"})}},w:function(n,r,t,e){var a=l.default(n,e);return r==="wo"?t.ordinalNumber(a,{unit:"week"}):o.default(a,r.length)},I:function(n,r,t){var e=w.default(n);return r==="Io"?t.ordinalNumber(e,{unit:"week"}):o.default(e,r.length)},d:function(n,r,t){return r==="do"?t.ordinalNumber(n.getUTCDate(),{unit:"date"}):d.default.d(n,r)},D:function(n,r,t){var e=m.default(n);return r==="Do"?t.ordinalNumber(e,{unit:"dayOfYear"}):o.default(e,r.length)},E:function(n,r,t){var e=n.getUTCDay();switch(r){case"E":case"EE":case"EEE":return t.day(e,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(e,{width:"short",context:"formatting"});case"EEEE":default:return t.day(e,{width:"wide",context:"formatting"})}},e:function(n,r,t,e){var a=n.getUTCDay(),u=(a-e.weekStartsOn+8)%7||7;switch(r){case"e":return String(u);case"ee":return o.default(u,2);case"eo":return t.ordinalNumber(u,{unit:"day"});case"eee":return t.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(a,{width:"short",context:"formatting"});case"eeee":default:return t.day(a,{width:"wide",context:"formatting"})}},c:function(n,r,t,e){var a=n.getUTCDay(),u=(a-e.weekStartsOn+8)%7||7;switch(r){case"c":return String(u);case"cc":return o.default(u,r.length);case"co":return t.ordinalNumber(u,{unit:"day"});case"ccc":return t.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(a,{width:"narrow",context:"standalone"});case"cccccc":return t.day(a,{width:"short",context:"standalone"});case"cccc":default:return t.day(a,{width:"wide",context:"standalone"})}},i:function(n,r,t){var e=n.getUTCDay(),a=e===0?7:e;switch(r){case"i":return String(a);case"ii":return o.default(a,r.length);case"io":return t.ordinalNumber(a,{unit:"day"});case"iii":return t.day(e,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(e,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(e,{width:"short",context:"formatting"});case"iiii":default:return t.day(e,{width:"wide",context:"formatting"})}},a:function(n,r,t){var e=n.getUTCHours(),a=e/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,r,t){var e=n.getUTCHours(),a;switch(e===12?a=s.noon:e===0?a=s.midnight:a=e/12>=1?"pm":"am",r){case"b":case"bb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,r,t){var e=n.getUTCHours(),a;switch(e>=17?a=s.evening:e>=12?a=s.afternoon:e>=4?a=s.morning:a=s.night,r){case"B":case"BB":case"BBB":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,r,t){if(r==="ho"){var e=n.getUTCHours()%12;return e===0&&(e=12),t.ordinalNumber(e,{unit:"hour"})}return d.default.h(n,r)},H:function(n,r,t){return r==="Ho"?t.ordinalNumber(n.getUTCHours(),{unit:"hour"}):d.default.H(n,r)},K:function(n,r,t){var e=n.getUTCHours()%12;return r==="Ko"?t.ordinalNumber(e,{unit:"hour"}):o.default(e,r.length)},k:function(n,r,t){var e=n.getUTCHours();return e===0&&(e=24),r==="ko"?t.ordinalNumber(e,{unit:"hour"}):o.default(e,r.length)},m:function(n,r,t){return r==="mo"?t.ordinalNumber(n.getUTCMinutes(),{unit:"minute"}):d.default.m(n,r)},s:function(n,r,t){return r==="so"?t.ordinalNumber(n.getUTCSeconds(),{unit:"second"}):d.default.s(n,r)},S:function(n,r){return d.default.S(n,r)},X:function(n,r,t,e){var a=e._originalDate||n,u=a.getTimezoneOffset();if(u===0)return"Z";switch(r){case"X":return h(u);case"XXXX":case"XX":return c(u);case"XXXXX":case"XXX":default:return c(u,":")}},x:function(n,r,t,e){var a=e._originalDate||n,u=a.getTimezoneOffset();switch(r){case"x":return h(u);case"xxxx":case"xx":return c(u);case"xxxxx":case"xxx":default:return c(u,":")}},O:function(n,r,t,e){var a=e._originalDate||n,u=a.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+f(u,":");case"OOOO":default:return"GMT"+c(u,":")}},z:function(n,r,t,e){var a=e._originalDate||n,u=a.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+f(u,":");case"zzzz":default:return"GMT"+c(u,":")}},t:function(n,r,t,e){var a=e._originalDate||n,u=Math.floor(a.getTime()/1e3);return o.default(u,r.length)},T:function(n,r,t,e){var a=e._originalDate||n,u=a.getTime();return o.default(u,r.length)}};function f(i,n){var r=i>0?"-":"+",t=Math.abs(i),e=Math.floor(t/60),a=t%60;if(a===0)return r+String(e);var u=n;return r+String(e)+u+o.default(a,2)}function h(i,n){if(i%60===0){var r=i>0?"-":"+";return r+o.default(Math.abs(i)/60,2)}return c(i,n)}function c(i,n){var r=n||"",t=i>0?"-":"+",e=Math.abs(i),a=o.default(Math.floor(e/60),2),u=o.default(e%60,2);return t+a+r+u}exports.default=x;
|
package/dist/kongponents285.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents452.cjs"),t=require("./kongponents453.cjs"),a=require("./kongponents454.cjs"),r=require("./kongponents455.cjs"),i=require("./kongponents456.cjs");var o={code:"en-US",formatDistance:e.default,formatLong:t.default,formatRelative:a.default,localize:r.default,match:i.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};exports.default=o;
|
package/dist/kongponents292.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents479.cjs"),r=require("./kongponents369.cjs");var t=r.__require();const o=e.getDefaultExportFromCjs(t);exports.default=o;
|
package/dist/kongponents293.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("./kongponents383.cjs"),z=require("./kongponents299.cjs");var v=60*1e3,O={X:function(e,r,n,t){var a=c(t.timeZone,e);if(a===0)return"Z";switch(r){case"X":return l(a);case"XXXX":case"XX":return i(a);case"XXXXX":case"XXX":default:return i(a,":")}},x:function(e,r,n,t){var a=c(t.timeZone,e);switch(r){case"x":return l(a);case"xxxx":case"xx":return i(a);case"xxxxx":case"xxx":default:return i(a,":")}},O:function(e,r,n,t){var a=c(t.timeZone,e);switch(r){case"O":case"OO":case"OOO":return"GMT"+m(a,":");case"OOOO":default:return"GMT"+i(a,":")}},z:function(e,r,n,t){switch(r){case"z":case"zz":case"zzz":return f.default("short",e,t);case"zzzz":default:return f.default("long",e,t)}}};function c(e,r){var n=e?z.default(e,r,!0)/v:r.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function s(e,r){for(var n=e<0?"-":"",t=Math.abs(e).toString();t.length<r;)t="0"+t;return n+t}function i(e,r){var n=r||"",t=e>0?"-":"+",a=Math.abs(e),u=s(Math.floor(a/60),2),o=s(Math.floor(a%60),2);return t+u+n+o}function l(e,r){if(e%60===0){var n=e>0?"-":"+";return n+s(Math.abs(e)/60,2)}return i(e,r)}function m(e,r){var n=e>0?"-":"+",t=Math.abs(e),a=Math.floor(t/60),u=t%60;if(u===0)return n+String(a);var o=r;return n+String(a)+o+s(u,2)}exports.default=O;
|
package/dist/kongponents295.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents479.cjs"),t=require("./kongponents386.cjs");var r=t.__require();const o=e.getDefaultExportFromCjs(r);exports.default=o;
|
package/dist/kongponents297.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents479.cjs"),t=require("./kongponents379.cjs");var r=t.__require();const o=e.getDefaultExportFromCjs(r);exports.default=o;
|
package/dist/kongponents298.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents479.cjs"),t=require("./kongponents377.cjs");var o=t.__require();const s=e.getDefaultExportFromCjs(o);exports.default=s;
|
package/dist/kongponents299.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const T=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const T=require("./kongponents384.cjs"),M=require("./kongponents385.cjs");var c=36e5,H=6e4,o={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function d(e,r,n){var a,u;if(!e||(a=o.timezoneZ.exec(e),a))return 0;var t;if(a=o.timezoneHH.exec(e),a)return t=parseInt(a[1],10),f(t)?-(t*c):NaN;if(a=o.timezoneHHMM.exec(e),a){t=parseInt(a[2],10);var i=parseInt(a[3],10);return f(t,i)?(u=Math.abs(t)*c+i*H,a[1]==="+"?-u:u):NaN}if(O(e)){r=new Date(r||Date.now());var I=n?r:D(r),v=l(I,e),N=n?v:x(r,v,e);return-N}return NaN}function D(e){return M.default(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function l(e,r){var n=T.default(e,r),a=M.default(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),u=e.getTime(),t=u%1e3;return u-=t>=0?t:1e3+t,a-u}function x(e,r,n){var a=e.getTime(),u=a-r,t=l(new Date(u),n);if(r===t)return r;u-=t-r;var i=l(new Date(u),n);return t===i?t:Math.max(t,i)}function f(e,r){return-23<=e&&e<=23&&(r==null||0<=r&&r<=59)}var s={};function O(e){if(s[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),s[e]=!0,!0}catch{return!1}}exports.default=d;
|
package/dist/kongponents307.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./kongponents401.cjs"),r=require("./kongponents345.cjs");function i(e,u){u=t.default(u,e);for(var l=0,n=u.length;e!=null&&l<n;)e=e[r.default(u[l++])];return l&&l==n?e:void 0}exports.default=i;
|
package/dist/kongponents310.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./kongponents401.cjs"),a=require("./kongponents312.cjs"),d=require("./kongponents315.cjs"),f=require("./kongponents402.cjs"),g=require("./kongponents318.cjs"),q=require("./kongponents345.cjs");function h(e,u,i){u=s.default(u,e);for(var l=-1,r=u.length,t=!1;++l<r;){var n=q.default(u[l]);if(!(t=e!=null&&i(e,n)))break;e=e[n]}return t||++l!=r?t:(r=e==null?0:e.length,!!r&&g.default(r)&&f.default(n,r)&&(d.default(e)||a.default(e)))}exports.default=h;
|
package/dist/kongponents320.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents403.cjs");var t=typeof self=="object"&&self&&self.Object===Object&&self,l=e.default||t||Function("return this")();exports.default=l;
|
package/dist/kongponents322.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./kongponents397.cjs"),r=require("./kongponents404.cjs"),u=require("./kongponents405.cjs");var i="[object Null]",d="[object Undefined]",n=t.default?t.default.toStringTag:void 0;function o(e){return e==null?e===void 0?d:i:n&&n in Object(e)?r.default(e):u.default(e)}exports.default=o;
|
package/dist/kongponents327.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./kongponents403.cjs");var o=typeof exports=="object"&&exports&&!exports.nodeType&&exports,e=o&&typeof module=="object"&&module&&!module.nodeType&&module,i=e&&e.exports===o,r=i&&u.default.process,l=(function(){try{var t=e&&e.require&&e.require("util").types;return t||r&&r.binding&&r.binding("util")}catch{}})();exports.default=l;
|
package/dist/kongponents329.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./kongponents424.cjs"),l=require("./kongponents312.cjs"),c=require("./kongponents315.cjs"),g=require("./kongponents319.cjs"),p=require("./kongponents402.cjs"),b=require("./kongponents324.cjs");var h=Object.prototype,q=h.hasOwnProperty;function A(r,u){var t=c.default(r),s=!t&&l.default(r),i=!t&&!s&&g.default(r),f=!t&&!s&&!i&&b.default(r),o=t||s||i||f,n=o?d.default(r.length,String):[],a=n.length;for(var e in r)(u||q.call(r,e))&&!(o&&(e=="length"||i&&(e=="offset"||e=="parent")||f&&(e=="buffer"||e=="byteLength"||e=="byteOffset")||p.default(e,a)))&&n.push(e);return n}exports.default=A;
|
package/dist/kongponents330.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./kongponents392.cjs"),u=require("./kongponents408.cjs");var a=Object.prototype,s=a.hasOwnProperty;function n(e){if(!o.default(e))return u.default(e);var t=[];for(var r in Object(e))s.call(e,r)&&r!="constructor"&&t.push(r);return t}exports.default=n;
|
package/dist/kongponents332.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./kongponents301.cjs"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./kongponents301.cjs"),s=require("./kongponents392.cjs"),a=require("./kongponents425.cjs");var n=Object.prototype,i=n.hasOwnProperty;function l(r){if(!u.default(r))return a.default(r);var o=s.default(r),t=[];for(var e in r)e=="constructor"&&(o||!i.call(r,e))||t.push(e);return t}exports.default=l;
|
package/dist/kongponents333.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./kongponents393.cjs");function l(t,e,u){e=="__proto__"&&r.default?r.default(t,e,{configurable:!0,enumerable:!0,value:u,writable:!0}):t[e]=u}exports.default=l;
|
package/dist/kongponents334.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./kongponents399.cjs"),u=require("./kongponents328.cjs");function o(e,r){return e&&t.default(e,r,u.default)}exports.default=o;
|
package/dist/kongponents335.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./kongponents395.cjs"),r=require("./kongponents396.cjs"),i=require("./kongponents311.cjs"),n=require("./kongponents315.cjs"),o=require("./kongponents341.cjs");function u(e){return typeof e=="function"?e:e==null?i.default:typeof e=="object"?n.default(e)?r.default(e[0],e[1]):t.default(e):o.default(e)}exports.default=u;
|
package/dist/kongponents337.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./kongponents427.cjs"),u=require("./kongponents428.cjs"),p=require("./kongponents429.cjs"),c=require("./kongponents430.cjs"),s=require("./kongponents431.cjs");function e(t){var a=-1,l=t==null?0:t.length;for(this.clear();++a<l;){var r=t[a];this.set(r[0],r[1])}}e.prototype.clear=o.default;e.prototype.delete=u.default;e.prototype.get=p.default;e.prototype.has=c.default;e.prototype.set=s.default;exports.default=e;
|
package/dist/kongponents339.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./kongponents307.cjs"),d=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./kongponents307.cjs"),d=require("./kongponents436.cjs"),o=require("./kongponents401.cjs");function c(t,r,n){for(var u=-1,s=r.length,i={};++u<s;){var e=r[u],l=a.default(t,e);n(l,e)&&d.default(i,o.default(e,t),l)}return i}exports.default=c;
|
package/dist/kongponents340.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./kongponents433.cjs"),u=require("./kongponents434.cjs"),l=require("./kongponents331.cjs");function r(e){return t.default(e,l.default,u.default)}exports.default=r;
|
package/dist/kongponents347.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./kongponents439.cjs");var t=/^\s+/;function u(e){return e&&e.slice(0,r.default(e)+1).replace(t,"")}exports.default=u;
|
package/dist/kongponents348.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents397.cjs"),u=require("./kongponents338.cjs"),f=require("./kongponents315.cjs"),s=require("./kongponents323.cjs");var i=e.default?e.default.prototype:void 0,n=i?i.toString:void 0;function o(r){if(typeof r=="string")return r;if(f.default(r))return u.default(r,o)+"";if(s.default(r))return n?n.call(r):"";var t=r+"";return t=="0"&&1/r==-1/0?"-0":t}exports.default=o;
|
package/dist/kongponents349.cjs
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./kongponents441.cjs");/*!
|
|
2
|
+
* focus-trap 7.6.6
|
|
3
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
4
|
+
*/function _(r,t){(t==null||t>r.length)&&(t=r.length);for(var o=0,u=Array(t);o<t;o++)u[o]=r[o];return u}function ee(r){if(Array.isArray(r))return _(r)}function te(r,t,o){return(t=oe(t))in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function ae(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function ne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);t&&(u=u.filter(function(y){return Object.getOwnPropertyDescriptor(r,y).enumerable})),o.push.apply(o,u)}return o}function J(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?z(Object(o),!0).forEach(function(u){te(r,u,o[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):z(Object(o)).forEach(function(u){Object.defineProperty(r,u,Object.getOwnPropertyDescriptor(o,u))})}return r}function re(r){return ee(r)||ae(r)||ue(r)||ne()}function ie(r,t){if(typeof r!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var u=o.call(r,t);if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function oe(r){var t=ie(r,"string");return typeof t=="symbol"?t:t+""}function ue(r,t){if(r){if(typeof r=="string")return _(r,t);var o={}.toString.call(r).slice(8,-1);return o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set"?Array.from(r):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_(r,t):void 0}}var Q={activateTrap:function(t,o){if(t.length>0){var u=t[t.length-1];u!==o&&u._setPausedState(!0)}var y=t.indexOf(o);y===-1||t.splice(y,1),t.push(o)},deactivateTrap:function(t,o){var u=t.indexOf(o);u!==-1&&t.splice(u,1),t.length>0&&!t[t.length-1]._isManuallyPaused()&&t[t.length-1]._setPausedState(!1)}},se=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},ce=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},K=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},le=function(t){return K(t)&&!t.shiftKey},fe=function(t){return K(t)&&t.shiftKey},X=function(t){return setTimeout(t,0)},R=function(t){for(var o=arguments.length,u=new Array(o>1?o-1:0),y=1;y<o;y++)u[y-1]=arguments[y];return typeof t=="function"?t.apply(void 0,u):t},j=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},de=[],ve=function(t,o){var u=(o==null?void 0:o.document)||document,y=(o==null?void 0:o.trapStack)||de,f=J({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:le,isKeyBackward:fe},o),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},g,h=function(e,a,i){return e&&e[a]!==void 0?e[a]:f[i||a]},N=function(e,a){var i=typeof(a==null?void 0:a.composedPath)=="function"?a.composedPath():void 0;return n.containerGroups.findIndex(function(c){var l=c.container,v=c.tabbableNodes;return l.contains(e)||(i==null?void 0:i.includes(l))||v.find(function(s){return s===e})})},k=function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.hasFallback,c=i===void 0?!1:i,l=a.params,v=l===void 0?[]:l,s=f[e];if(typeof s=="function"&&(s=s.apply(void 0,re(v))),s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var b=s;if(typeof s=="string"){try{b=u.querySelector(s)}catch(p){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(p.message,'"'))}if(!b&&!c)throw new Error("`".concat(e,"` as selector refers to no known node"))}return b},E=function(){var e=k("initialFocus",{hasFallback:!0});if(e===!1)return!1;if(e===void 0||e&&!m.isFocusable(e,f.tabbableOptions))if(N(u.activeElement)>=0)e=u.activeElement;else{var a=n.tabbableGroups[0],i=a&&a.firstTabbableNode;e=i||k("fallbackFocus")}else e===null&&(e=k("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},P=function(){if(n.containerGroups=n.containers.map(function(e){var a=m.tabbable(e,f.tabbableOptions),i=m.focusable(e,f.tabbableOptions),c=a.length>0?a[0]:void 0,l=a.length>0?a[a.length-1]:void 0,v=i.find(function(p){return m.isTabbable(p)}),s=i.slice().reverse().find(function(p){return m.isTabbable(p)}),b=!!a.find(function(p){return m.getTabIndex(p)>0});return{container:e,tabbableNodes:a,focusableNodes:i,posTabIndexesFound:b,firstTabbableNode:c,lastTabbableNode:l,firstDomTabbableNode:v,lastDomTabbableNode:s,nextTabbableNode:function(T){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=a.indexOf(T);return F<0?O?i.slice(i.indexOf(T)+1).find(function(A){return m.isTabbable(A)}):i.slice(0,i.indexOf(T)).reverse().find(function(A){return m.isTabbable(A)}):a[F+(O?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(e){return e.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},L=function(e){var a=e.activeElement;if(a)return a.shadowRoot&&a.shadowRoot.activeElement!==null?L(a.shadowRoot):a},w=function(e){if(e!==!1&&e!==L(document)){if(!e||!e.focus){w(E());return}e.focus({preventScroll:!!f.preventScroll}),n.mostRecentlyFocusedNode=e,se(e)&&e.select()}},x=function(e){var a=k("setReturnFocus",{params:[e]});return a||(a===!1?!1:e)},G=function(e){var a=e.target,i=e.event,c=e.isBackward,l=c===void 0?!1:c;a=a||j(i),P();var v=null;if(n.tabbableGroups.length>0){var s=N(a,i),b=s>=0?n.containerGroups[s]:void 0;if(s<0)l?v=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:v=n.tabbableGroups[0].firstTabbableNode;else if(l){var p=n.tabbableGroups.findIndex(function(C){var S=C.firstTabbableNode;return a===S});if(p<0&&(b.container===a||m.isFocusable(a,f.tabbableOptions)&&!m.isTabbable(a,f.tabbableOptions)&&!b.nextTabbableNode(a,!1))&&(p=s),p>=0){var T=p===0?n.tabbableGroups.length-1:p-1,O=n.tabbableGroups[T];v=m.getTabIndex(a)>=0?O.lastTabbableNode:O.lastDomTabbableNode}else K(i)||(v=b.nextTabbableNode(a,!1))}else{var F=n.tabbableGroups.findIndex(function(C){var S=C.lastTabbableNode;return a===S});if(F<0&&(b.container===a||m.isFocusable(a,f.tabbableOptions)&&!m.isTabbable(a,f.tabbableOptions)&&!b.nextTabbableNode(a))&&(F=s),F>=0){var A=F===n.tabbableGroups.length-1?0:F+1,W=n.tabbableGroups[A];v=m.getTabIndex(a)>=0?W.firstTabbableNode:W.firstDomTabbableNode}else K(i)||(v=b.nextTabbableNode(a))}}else v=k("fallbackFocus");return v},I=function(e){var a=j(e);if(!(N(a,e)>=0)){if(R(f.clickOutsideDeactivates,e)){g.deactivate({returnFocus:f.returnFocusOnDeactivate});return}R(f.allowOutsideClick,e)||e.preventDefault()}},M=function(e){var a=j(e),i=N(a,e)>=0;if(i||a instanceof Document)i&&(n.mostRecentlyFocusedNode=a);else{e.stopImmediatePropagation();var c,l=!0;if(n.mostRecentlyFocusedNode)if(m.getTabIndex(n.mostRecentlyFocusedNode)>0){var v=N(n.mostRecentlyFocusedNode),s=n.containerGroups[v].tabbableNodes;if(s.length>0){var b=s.findIndex(function(p){return p===n.mostRecentlyFocusedNode});b>=0&&(f.isKeyForward(n.recentNavEvent)?b+1<s.length&&(c=s[b+1],l=!1):b-1>=0&&(c=s[b-1],l=!1))}}else n.containerGroups.some(function(p){return p.tabbableNodes.some(function(T){return m.getTabIndex(T)>0})})||(l=!1);else l=!1;l&&(c=G({target:n.mostRecentlyFocusedNode,isBackward:f.isKeyBackward(n.recentNavEvent)})),w(c||n.mostRecentlyFocusedNode||E())}n.recentNavEvent=void 0},Z=function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=e;var i=G({event:e,isBackward:a});i&&(K(e)&&e.preventDefault(),w(i))},$=function(e){(f.isKeyForward(e)||f.isKeyBackward(e))&&Z(e,f.isKeyBackward(e))},q=function(e){ce(e)&&R(f.escapeDeactivates,e)!==!1&&(e.preventDefault(),g.deactivate())},H=function(e){var a=j(e);N(a,e)>=0||R(f.clickOutsideDeactivates,e)||R(f.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},Y=function(){if(n.active)return Q.activateTrap(y,g),n.delayInitialFocusTimer=f.delayInitialFocus?X(function(){w(E())}):w(E()),u.addEventListener("focusin",M,!0),u.addEventListener("mousedown",I,{capture:!0,passive:!1}),u.addEventListener("touchstart",I,{capture:!0,passive:!1}),u.addEventListener("click",H,{capture:!0,passive:!1}),u.addEventListener("keydown",$,{capture:!0,passive:!1}),u.addEventListener("keydown",q),g},V=function(){if(n.active)return u.removeEventListener("focusin",M,!0),u.removeEventListener("mousedown",I,!0),u.removeEventListener("touchstart",I,!0),u.removeEventListener("click",H,!0),u.removeEventListener("keydown",$,!0),u.removeEventListener("keydown",q),g},U=function(e){var a=e.some(function(i){var c=Array.from(i.removedNodes);return c.some(function(l){return l===n.mostRecentlyFocusedNode})});a&&w(E())},B=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(U):void 0,D=function(){B&&(B.disconnect(),n.active&&!n.paused&&n.containers.map(function(e){B.observe(e,{subtree:!0,childList:!0})}))};return g={get active(){return n.active},get paused(){return n.paused},activate:function(e){if(n.active)return this;var a=h(e,"onActivate"),i=h(e,"onPostActivate"),c=h(e,"checkCanFocusTrap");c||P(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=L(u),a==null||a();var l=function(){c&&P(),Y(),D(),i==null||i()};return c?(c(n.containers.concat()).then(l,l),this):(l(),this)},deactivate:function(e){if(!n.active)return this;var a=J({onDeactivate:f.onDeactivate,onPostDeactivate:f.onPostDeactivate,checkCanReturnFocus:f.checkCanReturnFocus},e);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,V(),n.active=!1,n.paused=!1,D(),Q.deactivateTrap(y,g);var i=h(a,"onDeactivate"),c=h(a,"onPostDeactivate"),l=h(a,"checkCanReturnFocus"),v=h(a,"returnFocus","returnFocusOnDeactivate");i==null||i();var s=function(){X(function(){v&&w(x(n.nodeFocusedBeforeActivation)),c==null||c()})};return v&&l?(l(x(n.nodeFocusedBeforeActivation)).then(s,s),this):(s(),this)},pause:function(e){return n.active?(n.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return n.active?(n.manuallyPaused=!1,y[y.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var a=[].concat(e).filter(Boolean);return n.containers=a.map(function(i){return typeof i=="string"?u.querySelector(i):i}),n.active&&P(),D(),this}},Object.defineProperties(g,{_isManuallyPaused:{value:function(){return n.manuallyPaused}},_setPausedState:{value:function(e,a){if(n.paused===e)return this;if(n.paused=e,e){var i=h(a,"onPause"),c=h(a,"onPostPause");i==null||i(),V(),D(),c==null||c()}else{var l=h(a,"onUnpause"),v=h(a,"onPostUnpause");l==null||l(),P(),Y(),D(),v==null||v()}return this}}}),g.updateContainerElements(t),g};exports.createFocusTrap=ve;
|