@kong/kongponents 9.66.0 → 9.66.1-pr.3471.85e8b4e.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/bin/kongponents-mcp.js +0 -0
- package/dist/kongponents102.cjs +1 -1
- package/dist/kongponents102.es.js +1 -1
- package/dist/kongponents104.cjs +1 -1
- package/dist/kongponents104.es.js +5 -5
- package/dist/kongponents107.cjs +1 -1
- package/dist/kongponents107.es.js +1 -1
- package/dist/kongponents113.cjs +1 -1
- package/dist/kongponents113.es.js +1 -1
- package/dist/kongponents115.cjs +1 -1
- package/dist/kongponents115.es.js +1 -1
- package/dist/kongponents117.cjs +1 -1
- package/dist/kongponents117.es.js +2 -2
- package/dist/kongponents121.cjs +1 -1
- package/dist/kongponents121.es.js +2 -2
- package/dist/kongponents123.cjs +1 -1
- package/dist/kongponents123.es.js +4 -4
- package/dist/kongponents125.cjs +1 -1
- package/dist/kongponents125.es.js +1 -1
- package/dist/kongponents127.cjs +1 -1
- package/dist/kongponents127.es.js +6 -6
- package/dist/kongponents130.cjs +1 -1
- package/dist/kongponents130.es.js +2 -2
- package/dist/kongponents132.cjs +1 -1
- package/dist/kongponents132.es.js +5 -5
- package/dist/kongponents136.cjs +1 -1
- package/dist/kongponents136.es.js +1 -1
- package/dist/kongponents138.cjs +1 -1
- package/dist/kongponents138.es.js +1 -1
- package/dist/kongponents140.cjs +1 -1
- package/dist/kongponents140.es.js +7 -7
- package/dist/kongponents147.cjs +1 -1
- package/dist/kongponents147.es.js +4 -4
- package/dist/kongponents149.cjs +1 -1
- package/dist/kongponents149.es.js +1 -1
- package/dist/kongponents151.cjs +1 -1
- package/dist/kongponents151.es.js +4 -4
- package/dist/kongponents155.cjs +1 -1
- package/dist/kongponents155.es.js +2 -2
- package/dist/kongponents157.cjs +1 -1
- package/dist/kongponents157.es.js +1 -1
- package/dist/kongponents163.cjs +1 -1
- package/dist/kongponents163.es.js +2 -2
- package/dist/kongponents165.cjs +1 -1
- package/dist/kongponents165.es.js +4 -4
- package/dist/kongponents167.cjs +1 -1
- package/dist/kongponents167.es.js +2 -2
- package/dist/kongponents169.cjs +1 -1
- package/dist/kongponents169.es.js +7 -7
- package/dist/kongponents174.cjs +1 -1
- package/dist/kongponents174.es.js +3 -3
- package/dist/kongponents182.cjs +1 -1
- package/dist/kongponents182.es.js +5 -20
- package/dist/kongponents183.cjs +1 -1
- package/dist/kongponents183.es.js +35 -4
- package/dist/kongponents184.cjs +2 -1
- package/dist/kongponents184.es.js +98 -7
- package/dist/kongponents185.cjs +1 -1
- package/dist/kongponents185.es.js +20 -5
- package/dist/kongponents186.cjs +1 -1
- package/dist/kongponents186.es.js +17 -181
- package/dist/kongponents187.cjs +1 -1
- package/dist/kongponents187.es.js +18 -97
- package/dist/kongponents188.cjs +1 -1
- package/dist/kongponents188.es.js +51 -14
- package/dist/kongponents189.cjs +1 -1
- package/dist/kongponents189.es.js +4 -18
- package/dist/kongponents190.cjs +1 -1
- package/dist/kongponents190.es.js +15 -202
- package/dist/kongponents191.cjs +1 -1
- package/dist/kongponents191.es.js +208 -2
- package/dist/kongponents192.cjs +1 -1
- package/dist/kongponents192.es.js +2 -5
- package/dist/kongponents193.cjs +1 -1
- package/dist/kongponents193.es.js +3 -3
- package/dist/kongponents194.cjs +1 -1
- package/dist/kongponents194.es.js +98 -5
- package/dist/kongponents195.cjs +1 -1
- package/dist/kongponents195.es.js +3 -3
- package/dist/kongponents196.cjs +1 -1
- package/dist/kongponents196.es.js +15 -5
- package/dist/kongponents197.cjs +1 -1
- package/dist/kongponents197.es.js +6 -4
- package/dist/kongponents198.cjs +1 -1
- package/dist/kongponents198.es.js +181 -5
- package/dist/kongponents199.cjs +1 -1
- package/dist/kongponents199.es.js +4 -4
- package/dist/kongponents200.cjs +1 -1
- package/dist/kongponents200.es.js +5 -17
- package/dist/kongponents201.cjs +1 -1
- package/dist/kongponents201.es.js +5 -10
- package/dist/kongponents202.cjs +1 -1
- package/dist/kongponents202.es.js +3 -3
- package/dist/kongponents203.cjs +1 -1
- package/dist/kongponents203.es.js +5 -21
- package/dist/kongponents204.cjs +1 -1
- package/dist/kongponents204.es.js +5 -36
- package/dist/kongponents205.cjs +1 -2
- package/dist/kongponents205.es.js +5 -98
- package/dist/kongponents207.cjs +1 -0
- package/dist/kongponents207.es.js +7 -0
- package/dist/kongponents208.cjs +1 -1
- package/dist/kongponents208.es.js +8 -5
- package/dist/kongponents209.cjs +1 -1
- package/dist/kongponents209.es.js +59 -7
- package/dist/kongponents210.cjs +1 -1
- package/dist/kongponents210.es.js +17 -60
- package/dist/kongponents211.cjs +1 -1
- package/dist/kongponents211.es.js +2 -2
- package/dist/kongponents212.cjs +1 -1
- package/dist/kongponents212.es.js +3 -3
- package/dist/kongponents213.cjs +1 -1
- package/dist/kongponents213.es.js +4 -4
- package/dist/kongponents214.cjs +1 -1
- package/dist/kongponents214.es.js +4 -4
- package/dist/kongponents215.cjs +1 -1
- package/dist/kongponents215.es.js +4 -4
- package/dist/kongponents216.cjs +1 -1
- package/dist/kongponents216.es.js +4 -4
- package/dist/kongponents217.cjs +1 -1
- package/dist/kongponents217.es.js +5 -17
- package/dist/kongponents218.cjs +1 -1
- package/dist/kongponents218.es.js +10 -5
- package/dist/kongponents219.cjs +1 -1
- package/dist/kongponents219.es.js +6 -24
- package/dist/kongponents220.cjs +1 -0
- package/dist/kongponents220.es.js +26 -0
- package/dist/{kongponents221.cjs → kongponents222.cjs} +1 -1
- package/dist/{kongponents221.es.js → kongponents222.es.js} +2 -2
- package/dist/{kongponents227.cjs → kongponents228.cjs} +1 -1
- package/dist/{kongponents227.es.js → kongponents228.es.js} +1 -1
- package/dist/kongponents234.cjs +1 -1
- package/dist/kongponents234.es.js +168 -45
- package/dist/kongponents236.cjs +1 -0
- package/dist/kongponents236.es.js +93 -0
- package/dist/kongponents238.cjs +1 -1
- package/dist/kongponents238.es.js +246 -5
- package/dist/kongponents240.cjs +1 -1
- package/dist/kongponents240.es.js +54 -19
- package/dist/kongponents242.cjs +1 -1
- package/dist/kongponents242.es.js +83 -5
- package/dist/kongponents244.cjs +1 -1
- package/dist/kongponents244.es.js +41 -9
- package/dist/kongponents246.cjs +1 -1
- package/dist/kongponents246.es.js +87 -4
- package/dist/kongponents248.cjs +1 -1
- package/dist/kongponents248.es.js +45 -4
- package/dist/kongponents25.cjs +1 -1
- package/dist/kongponents25.es.js +7 -7
- package/dist/kongponents250.cjs +1 -1
- package/dist/kongponents250.es.js +55 -7
- package/dist/kongponents252.cjs +1 -1
- package/dist/kongponents252.es.js +5 -2
- package/dist/kongponents253.cjs +1 -1
- package/dist/kongponents253.es.js +5 -6
- package/dist/kongponents254.cjs +1 -1
- package/dist/kongponents254.es.js +19 -9
- package/dist/kongponents255.cjs +1 -1
- package/dist/kongponents255.es.js +3 -4
- package/dist/kongponents256.cjs +1 -1
- package/dist/kongponents256.es.js +5 -4
- package/dist/kongponents257.cjs +1 -1
- package/dist/kongponents257.es.js +6 -3
- package/dist/kongponents258.cjs +1 -1
- package/dist/kongponents258.es.js +8 -3
- package/dist/kongponents259.cjs +1 -1
- package/dist/kongponents259.es.js +5 -7
- package/dist/kongponents260.cjs +1 -1
- package/dist/kongponents260.es.js +3 -6
- package/dist/kongponents261.cjs +1 -1
- package/dist/kongponents261.es.js +17 -5
- package/dist/kongponents262.cjs +1 -1
- package/dist/kongponents262.es.js +3 -9
- package/dist/kongponents263.cjs +1 -1
- package/dist/kongponents263.es.js +8 -6
- package/dist/kongponents264.cjs +1 -1
- package/dist/kongponents264.es.js +7 -9
- package/dist/kongponents265.cjs +1 -1
- package/dist/kongponents265.es.js +3 -6
- package/dist/kongponents266.cjs +1 -1
- package/dist/kongponents266.es.js +2 -18
- package/dist/kongponents267.cjs +1 -1
- package/dist/kongponents267.es.js +5 -11
- package/dist/kongponents268.cjs +1 -1
- package/dist/kongponents268.es.js +9 -6
- package/dist/kongponents269.cjs +1 -1
- package/dist/kongponents269.es.js +4 -12
- package/dist/kongponents27.cjs +1 -1
- package/dist/kongponents27.es.js +2 -2
- package/dist/kongponents270.cjs +1 -1
- package/dist/kongponents270.es.js +4 -10
- package/dist/kongponents271.cjs +1 -1
- package/dist/kongponents271.es.js +3 -6
- package/dist/kongponents272.cjs +1 -1
- package/dist/kongponents272.es.js +3 -8
- package/dist/kongponents273.cjs +1 -1
- package/dist/kongponents273.es.js +7 -15
- package/dist/kongponents274.cjs +1 -1
- package/dist/kongponents274.es.js +6 -17
- package/dist/kongponents275.cjs +1 -1
- package/dist/kongponents275.es.js +5 -6
- package/dist/kongponents276.cjs +1 -1
- package/dist/kongponents276.es.js +9 -10
- package/dist/kongponents277.cjs +1 -1
- package/dist/kongponents277.es.js +5 -6
- package/dist/kongponents278.cjs +1 -1
- package/dist/kongponents278.es.js +9 -8
- package/dist/kongponents279.cjs +1 -1
- package/dist/kongponents279.es.js +6 -5
- package/dist/kongponents280.cjs +1 -1
- package/dist/kongponents280.es.js +17 -6
- package/dist/kongponents281.cjs +1 -1
- package/dist/kongponents281.es.js +11 -9
- package/dist/kongponents282.cjs +1 -1
- package/dist/kongponents282.es.js +6 -7
- package/dist/kongponents283.cjs +1 -1
- package/dist/kongponents283.es.js +12 -3
- package/dist/kongponents284.cjs +1 -1
- package/dist/kongponents284.es.js +9 -5
- package/dist/kongponents285.cjs +1 -1
- package/dist/kongponents285.es.js +5 -15
- package/dist/kongponents286.cjs +1 -1
- package/dist/kongponents286.es.js +9 -178
- package/dist/kongponents287.cjs +1 -0
- package/dist/kongponents287.es.js +18 -0
- package/dist/kongponents288.cjs +1 -1
- package/dist/kongponents288.es.js +17 -63
- package/dist/kongponents289.cjs +1 -0
- package/dist/kongponents289.es.js +8 -0
- package/dist/kongponents290.cjs +1 -1
- package/dist/kongponents290.es.js +10 -90
- package/dist/kongponents291.cjs +1 -0
- package/dist/kongponents291.es.js +9 -0
- package/dist/kongponents292.cjs +1 -1
- package/dist/kongponents292.es.js +8 -246
- package/dist/kongponents293.cjs +1 -0
- package/dist/kongponents293.es.js +8 -0
- package/dist/kongponents294.cjs +1 -1
- package/dist/kongponents294.es.js +7 -87
- package/dist/kongponents295.cjs +1 -0
- package/dist/kongponents295.es.js +12 -0
- package/dist/kongponents296.cjs +1 -1
- package/dist/kongponents296.es.js +8 -45
- package/dist/kongponents297.cjs +1 -0
- package/dist/kongponents297.es.js +6 -0
- package/dist/kongponents298.cjs +1 -1
- package/dist/kongponents298.es.js +5 -8
- package/dist/kongponents299.cjs +1 -1
- package/dist/kongponents299.es.js +15 -6
- package/dist/kongponents30.cjs +1 -1
- package/dist/kongponents30.es.js +1 -1
- package/dist/kongponents300.cjs +1 -1
- package/dist/kongponents300.es.js +182 -8
- package/dist/kongponents302.cjs +1 -1
- package/dist/kongponents302.es.js +2 -10
- package/dist/kongponents303.cjs +1 -1
- package/dist/kongponents303.es.js +2 -9
- package/dist/kongponents304.cjs +1 -1
- package/dist/kongponents304.es.js +5 -602
- package/dist/kongponents305.cjs +1 -1
- package/dist/kongponents305.es.js +63 -70
- package/dist/kongponents307.cjs +1 -1
- package/dist/kongponents307.es.js +5 -20
- package/dist/kongponents308.cjs +1 -1
- package/dist/kongponents308.es.js +121 -5
- package/dist/kongponents310.cjs +1 -1
- package/dist/kongponents310.es.js +94 -8
- package/dist/kongponents312.cjs +1 -1
- package/dist/kongponents312.es.js +7 -8
- package/dist/kongponents313.cjs +1 -1
- package/dist/kongponents313.es.js +5 -7
- package/dist/kongponents314.cjs +1 -1
- package/dist/kongponents314.es.js +9 -8
- package/dist/kongponents315.cjs +1 -1
- package/dist/kongponents315.es.js +5 -7
- package/dist/kongponents316.cjs +1 -1
- package/dist/kongponents316.es.js +9 -7
- package/dist/kongponents317.cjs +1 -1
- package/dist/kongponents317.es.js +14 -124
- package/dist/kongponents318.cjs +1 -2
- package/dist/kongponents318.es.js +3 -49
- package/dist/kongponents319.cjs +1 -1
- package/dist/kongponents319.es.js +7 -7
- package/dist/kongponents32.cjs +1 -1
- package/dist/kongponents32.es.js +4 -4
- package/dist/kongponents320.cjs +1 -1
- package/dist/kongponents320.es.js +3 -57
- package/dist/kongponents321.cjs +1 -1
- package/dist/kongponents321.es.js +11 -65
- package/dist/kongponents322.cjs +1 -1
- package/dist/kongponents322.es.js +7 -4
- package/dist/kongponents323.cjs +1 -1
- package/dist/kongponents323.es.js +6 -4
- package/dist/kongponents324.cjs +1 -1
- package/dist/kongponents324.es.js +2 -21
- package/dist/kongponents325.cjs +1 -1
- package/dist/kongponents325.es.js +13 -5
- package/dist/kongponents326.cjs +1 -1
- package/dist/kongponents326.es.js +4 -96
- package/dist/kongponents327.cjs +1 -1
- package/dist/kongponents327.es.js +3 -172
- package/dist/kongponents328.cjs +1 -1
- package/dist/kongponents328.es.js +26 -5
- package/dist/kongponents329.cjs +1 -1
- package/dist/kongponents329.es.js +4 -7
- package/dist/kongponents330.cjs +1 -1
- package/dist/kongponents330.es.js +4 -5
- package/dist/kongponents331.cjs +1 -1
- package/dist/kongponents331.es.js +4 -5
- package/dist/kongponents332.cjs +1 -1
- package/dist/kongponents332.es.js +4 -70
- package/dist/kongponents333.cjs +1 -1
- package/dist/kongponents333.es.js +4 -2
- package/dist/kongponents334.cjs +1 -1
- package/dist/kongponents334.es.js +15 -2
- package/dist/kongponents335.cjs +1 -1
- package/dist/kongponents335.es.js +6 -55
- package/dist/kongponents336.cjs +1 -0
- package/dist/kongponents336.es.js +32 -0
- package/dist/kongponents337.cjs +1 -1
- package/dist/kongponents337.es.js +26 -7
- package/dist/kongponents338.cjs +1 -1
- package/dist/kongponents338.es.js +15 -5
- package/dist/kongponents339.cjs +1 -1
- package/dist/kongponents339.es.js +9 -8
- package/dist/kongponents340.cjs +1 -1
- package/dist/kongponents340.es.js +4 -9
- package/dist/kongponents341.cjs +1 -1
- package/dist/kongponents341.es.js +13 -14
- package/dist/kongponents342.cjs +1 -1
- package/dist/kongponents342.es.js +8 -5
- package/dist/kongponents343.cjs +1 -1
- package/dist/kongponents343.es.js +3 -3
- package/dist/kongponents344.cjs +1 -1
- package/dist/kongponents344.es.js +5 -7
- package/dist/kongponents345.cjs +1 -1
- package/dist/kongponents345.es.js +6 -3
- package/dist/kongponents346.cjs +1 -1
- package/dist/kongponents346.es.js +7 -10
- package/dist/kongponents347.cjs +1 -1
- package/dist/kongponents347.es.js +5 -7
- package/dist/kongponents348.cjs +1 -1
- package/dist/kongponents348.es.js +10 -5
- package/dist/kongponents349.cjs +1 -1
- package/dist/kongponents349.es.js +6 -2
- package/dist/kongponents350.cjs +1 -1
- package/dist/kongponents350.es.js +4 -12
- package/dist/kongponents351.cjs +1 -1
- package/dist/kongponents351.es.js +3 -3
- package/dist/kongponents352.cjs +1 -1
- package/dist/kongponents352.es.js +5 -5
- package/dist/kongponents353.cjs +1 -1
- package/dist/kongponents353.es.js +8 -30
- package/dist/kongponents354.cjs +1 -1
- package/dist/kongponents354.es.js +7 -3
- package/dist/kongponents355.cjs +1 -1
- package/dist/kongponents355.es.js +10 -26
- package/dist/kongponents356.cjs +1 -1
- package/dist/kongponents356.es.js +7 -4
- package/dist/kongponents357.cjs +1 -1
- package/dist/kongponents357.es.js +22 -4
- package/dist/kongponents358.cjs +1 -1
- package/dist/kongponents358.es.js +7 -4
- package/dist/kongponents359.cjs +1 -1
- package/dist/kongponents359.es.js +7 -4
- package/dist/kongponents360.cjs +1 -1
- package/dist/kongponents360.es.js +7 -4
- package/dist/kongponents361.cjs +1 -1
- package/dist/kongponents361.es.js +8 -14
- package/dist/kongponents362.cjs +1 -1
- package/dist/kongponents362.es.js +8 -26
- package/dist/kongponents363.cjs +1 -1
- package/dist/kongponents363.es.js +6 -15
- package/dist/kongponents364.cjs +1 -1
- package/dist/kongponents364.es.js +6 -8
- package/dist/kongponents365.cjs +1 -1
- package/dist/kongponents365.es.js +4 -4
- package/dist/kongponents366.cjs +1 -1
- package/dist/kongponents366.es.js +8 -12
- package/dist/kongponents367.cjs +1 -1
- package/dist/kongponents367.es.js +8 -8
- package/dist/kongponents368.cjs +1 -1
- package/dist/kongponents368.es.js +602 -3
- package/dist/kongponents369.cjs +1 -1
- package/dist/kongponents369.es.js +71 -6
- package/dist/kongponents370.cjs +1 -1
- package/dist/kongponents370.es.js +4 -5
- package/dist/kongponents371.cjs +1 -1
- package/dist/kongponents371.es.js +19 -7
- package/dist/kongponents372.cjs +1 -1
- package/dist/kongponents372.es.js +4 -5
- package/dist/kongponents373.cjs +1 -1
- package/dist/kongponents373.es.js +18 -8
- package/dist/kongponents374.cjs +1 -1
- package/dist/kongponents374.es.js +7 -6
- package/dist/kongponents375.cjs +1 -1
- package/dist/kongponents375.es.js +6 -10
- package/dist/kongponents376.cjs +1 -1
- package/dist/kongponents376.es.js +8 -6
- package/dist/kongponents377.cjs +1 -1
- package/dist/kongponents377.es.js +7 -21
- package/dist/kongponents378.cjs +1 -1
- package/dist/kongponents378.es.js +7 -6
- package/dist/kongponents379.cjs +1 -1
- package/dist/kongponents379.es.js +7 -6
- package/dist/kongponents380.cjs +1 -1
- package/dist/kongponents380.es.js +7 -6
- package/dist/kongponents381.cjs +1 -1
- package/dist/kongponents381.es.js +124 -8
- package/dist/kongponents382.cjs +2 -1
- package/dist/kongponents382.es.js +47 -9
- package/dist/kongponents383.cjs +1 -1
- package/dist/kongponents383.es.js +6 -4
- package/dist/kongponents384.cjs +1 -1
- package/dist/kongponents384.es.js +57 -5
- package/dist/kongponents385.cjs +1 -1
- package/dist/kongponents385.es.js +65 -5
- package/dist/kongponents386.cjs +1 -1
- package/dist/kongponents386.es.js +4 -5
- package/dist/kongponents387.cjs +1 -1
- package/dist/kongponents387.es.js +4 -2
- package/dist/kongponents388.cjs +1 -1
- package/dist/kongponents388.es.js +21 -5
- package/dist/kongponents389.cjs +1 -1
- package/dist/kongponents389.es.js +5 -83
- package/dist/kongponents390.cjs +1 -0
- package/dist/kongponents390.es.js +99 -0
- package/dist/kongponents391.cjs +1 -1
- package/dist/kongponents391.es.js +171 -40
- package/dist/kongponents392.cjs +1 -0
- package/dist/kongponents392.es.js +7 -0
- package/dist/kongponents393.cjs +1 -1
- package/dist/kongponents393.es.js +7 -5
- package/dist/kongponents394.cjs +1 -1
- package/dist/kongponents394.es.js +5 -94
- package/dist/kongponents395.cjs +1 -0
- package/dist/kongponents395.es.js +7 -0
- package/dist/kongponents396.cjs +1 -1
- package/dist/kongponents396.es.js +69 -120
- package/dist/kongponents397.cjs +1 -0
- package/dist/kongponents397.es.js +4 -0
- package/dist/kongponents398.cjs +1 -1
- package/dist/kongponents398.es.js +6 -10
- package/dist/kongponents399.cjs +1 -1
- package/dist/kongponents399.es.js +17 -10
- package/dist/kongponents400.cjs +1 -1
- package/dist/kongponents400.es.js +4 -12
- package/dist/kongponents401.cjs +1 -1
- package/dist/kongponents401.es.js +4 -10
- package/dist/kongponents402.cjs +1 -1
- package/dist/kongponents402.es.js +3 -18
- package/dist/kongponents403.cjs +1 -1
- package/dist/kongponents403.es.js +3 -5
- package/dist/kongponents404.cjs +1 -1
- package/dist/kongponents404.es.js +14 -53
- package/dist/kongponents405.cjs +1 -1
- package/dist/kongponents405.es.js +7 -2
- package/dist/kongponents406.cjs +1 -1
- package/dist/kongponents406.es.js +8 -9
- package/dist/kongponents407.cjs +1 -1
- package/dist/kongponents407.es.js +10 -4
- package/dist/kongponents408.cjs +1 -1
- package/dist/kongponents408.es.js +4 -13
- package/dist/kongponents409.cjs +1 -1
- package/dist/kongponents409.es.js +3 -14
- package/dist/kongponents410.cjs +1 -1
- package/dist/kongponents410.es.js +3 -3
- package/dist/kongponents411.cjs +1 -1
- package/dist/kongponents411.es.js +36 -11
- package/dist/kongponents412.cjs +1 -1
- package/dist/kongponents412.es.js +42 -9
- package/dist/kongponents413.cjs +1 -1
- package/dist/kongponents413.es.js +32 -51
- package/dist/kongponents414.cjs +1 -1
- package/dist/kongponents414.es.js +3 -57
- package/dist/kongponents415.cjs +1 -1
- package/dist/kongponents415.es.js +17 -58
- package/dist/kongponents416.cjs +1 -1
- package/dist/kongponents416.es.js +6 -33
- package/dist/kongponents417.cjs +1 -1
- package/dist/kongponents417.es.js +11 -31
- package/dist/kongponents418.cjs +1 -1
- package/dist/kongponents418.es.js +11 -72
- package/dist/kongponents419.cjs +1 -1
- package/dist/kongponents419.es.js +13 -72
- package/dist/kongponents420.cjs +1 -1
- package/dist/kongponents420.es.js +11 -78
- package/dist/kongponents421.cjs +1 -1
- package/dist/kongponents421.es.js +19 -78
- package/dist/kongponents422.cjs +1 -1
- package/dist/kongponents422.es.js +6 -48
- package/dist/kongponents423.cjs +1 -1
- package/dist/kongponents423.es.js +53 -47
- package/dist/kongponents424.cjs +1 -1
- package/dist/kongponents424.es.js +2 -47
- package/dist/kongponents425.cjs +1 -1
- package/dist/kongponents425.es.js +8 -47
- package/dist/kongponents426.cjs +1 -1
- package/dist/kongponents426.es.js +5 -80
- package/dist/kongponents427.cjs +1 -1
- package/dist/kongponents427.es.js +13 -91
- package/dist/kongponents428.cjs +1 -1
- package/dist/kongponents428.es.js +15 -92
- package/dist/kongponents429.cjs +1 -1
- package/dist/kongponents429.es.js +4 -91
- package/dist/kongponents430.cjs +1 -1
- package/dist/kongponents430.es.js +12 -57
- package/dist/kongponents431.cjs +1 -1
- package/dist/kongponents431.es.js +10 -58
- package/dist/kongponents432.cjs +1 -1
- package/dist/kongponents432.es.js +42 -47
- package/dist/kongponents433.cjs +1 -1
- package/dist/kongponents433.es.js +44 -34
- package/dist/kongponents434.cjs +1 -1
- package/dist/kongponents434.es.js +48 -35
- package/dist/kongponents435.cjs +1 -1
- package/dist/kongponents435.es.js +25 -39
- package/dist/kongponents436.cjs +1 -1
- package/dist/kongponents436.es.js +24 -40
- package/dist/kongponents437.cjs +1 -1
- package/dist/kongponents437.es.js +60 -34
- package/dist/kongponents438.cjs +1 -1
- package/dist/kongponents438.es.js +60 -34
- package/dist/kongponents439.cjs +1 -1
- package/dist/kongponents439.es.js +71 -27
- package/dist/kongponents440.cjs +1 -1
- package/dist/kongponents440.es.js +67 -32
- package/dist/kongponents441.cjs +1 -1
- package/dist/kongponents441.es.js +39 -34
- package/dist/kongponents442.cjs +1 -1
- package/dist/kongponents442.es.js +41 -26
- package/dist/kongponents443.cjs +1 -1
- package/dist/kongponents443.es.js +41 -27
- package/dist/kongponents444.cjs +1 -1
- package/dist/kongponents444.es.js +46 -70
- package/dist/kongponents445.cjs +1 -1
- package/dist/kongponents445.es.js +80 -2
- package/dist/kongponents446.cjs +1 -1
- package/dist/kongponents446.es.js +90 -11
- package/dist/kongponents447.cjs +1 -1
- package/dist/kongponents447.es.js +91 -22
- package/dist/kongponents448.cjs +1 -1
- package/dist/kongponents448.es.js +90 -21
- package/dist/kongponents449.cjs +1 -1
- package/dist/kongponents449.es.js +57 -20
- package/dist/kongponents450.cjs +1 -1
- package/dist/kongponents450.es.js +53 -610
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents451.es.js +54 -77
- package/dist/kongponents452.cjs +1 -1
- package/dist/kongponents452.es.js +46 -14
- package/dist/kongponents453.cjs +1 -1
- package/dist/kongponents453.es.js +45 -26
- package/dist/kongponents454.cjs +1 -1
- package/dist/kongponents454.es.js +46 -16
- package/dist/kongponents455.cjs +1 -1
- package/dist/kongponents455.es.js +46 -14
- package/dist/kongponents456.cjs +1 -1
- package/dist/kongponents456.es.js +45 -16
- package/dist/kongponents457.cjs +1 -1
- package/dist/kongponents457.es.js +46 -15
- package/dist/kongponents458.cjs +1 -1
- package/dist/kongponents458.es.js +34 -24
- package/dist/kongponents459.cjs +1 -1
- package/dist/kongponents459.es.js +42 -64
- package/dist/kongponents460.cjs +1 -1
- package/dist/kongponents460.es.js +43 -5
- package/dist/kongponents461.cjs +1 -1
- package/dist/kongponents461.es.js +32 -17
- package/dist/kongponents462.cjs +1 -1
- package/dist/kongponents462.es.js +33 -2
- package/dist/kongponents463.cjs +1 -1
- package/dist/kongponents463.es.js +69 -15
- package/dist/kongponents464.es.js +2 -2
- package/dist/kongponents465.cjs +1 -1
- package/dist/kongponents465.es.js +13 -2
- package/dist/kongponents466.cjs +1 -1
- package/dist/kongponents466.es.js +22 -6
- package/dist/kongponents467.cjs +1 -1
- package/dist/kongponents467.es.js +21 -17
- package/dist/kongponents468.cjs +1 -1
- package/dist/kongponents468.es.js +20 -4
- package/dist/kongponents469.cjs +1 -1
- package/dist/kongponents469.es.js +614 -4
- package/dist/kongponents470.cjs +1 -1
- package/dist/kongponents470.es.js +80 -3
- package/dist/kongponents471.cjs +1 -1
- package/dist/kongponents471.es.js +14 -3
- package/dist/kongponents472.cjs +1 -1
- package/dist/kongponents472.es.js +25 -13
- package/dist/kongponents473.cjs +1 -1
- package/dist/kongponents473.es.js +16 -6
- package/dist/kongponents474.cjs +1 -1
- package/dist/kongponents474.es.js +15 -8
- package/dist/kongponents475.cjs +1 -1
- package/dist/kongponents475.es.js +16 -10
- package/dist/kongponents476.cjs +1 -1
- package/dist/kongponents476.es.js +14 -4
- package/dist/kongponents477.cjs +1 -1
- package/dist/kongponents477.es.js +23 -3
- package/dist/kongponents478.cjs +1 -1
- package/dist/kongponents478.es.js +17 -3
- package/dist/kongponents479.cjs +1 -1
- package/dist/kongponents479.es.js +2 -38
- package/dist/kongponents480.cjs +1 -1
- package/dist/kongponents480.es.js +17 -42
- package/dist/kongponents481.cjs +1 -1
- package/dist/kongponents481.es.js +2 -34
- package/dist/kongponents482.cjs +1 -1
- package/dist/kongponents482.es.js +2 -3
- package/dist/kongponents483.cjs +1 -1
- package/dist/kongponents483.es.js +63 -16
- package/dist/kongponents484.cjs +1 -1
- package/dist/kongponents484.es.js +4 -5
- package/dist/kongponents485.cjs +1 -1
- package/dist/kongponents485.es.js +3 -7
- package/dist/kongponents486.cjs +1 -1
- package/dist/kongponents486.es.js +3 -10
- package/dist/kongponents487.cjs +1 -1
- package/dist/kongponents487.es.js +9 -13
- package/dist/kongponents488.cjs +1 -1
- package/dist/kongponents488.es.js +5 -13
- package/dist/kongponents489.cjs +1 -1
- package/dist/kongponents489.es.js +5 -67
- package/dist/kongponents490.cjs +1 -1
- package/dist/kongponents490.es.js +6 -31
- package/dist/kongponents491.cjs +1 -1
- package/dist/kongponents491.es.js +3 -11
- package/dist/kongponents492.cjs +1 -1
- package/dist/kongponents492.es.js +5 -121
- package/dist/kongponents493.cjs +1 -1
- package/dist/kongponents493.es.js +5 -86
- package/dist/kongponents494.cjs +1 -1
- package/dist/kongponents494.es.js +10 -5
- package/dist/kongponents495.cjs +1 -1
- package/dist/kongponents495.es.js +6 -5
- package/dist/kongponents496.cjs +1 -1
- package/dist/kongponents496.es.js +6 -5
- package/dist/kongponents497.cjs +1 -1
- package/dist/kongponents497.es.js +4 -10
- package/dist/kongponents498.cjs +1 -1
- package/dist/kongponents498.es.js +7 -7
- package/dist/kongponents499.cjs +1 -1
- package/dist/kongponents499.es.js +10 -6
- package/dist/kongponents500.cjs +1 -1
- package/dist/kongponents500.es.js +14 -25
- package/dist/kongponents501.cjs +1 -1
- package/dist/kongponents501.es.js +13 -96
- package/dist/kongponents502.cjs +1 -1
- package/dist/kongponents502.es.js +66 -46
- package/dist/kongponents503.cjs +1 -1
- package/dist/kongponents503.es.js +31 -10
- package/dist/kongponents504.cjs +1 -1
- package/dist/kongponents504.es.js +11 -10
- package/dist/kongponents505.cjs +1 -1
- package/dist/kongponents505.es.js +121 -14
- package/dist/kongponents506.cjs +1 -1
- package/dist/kongponents506.es.js +86 -11
- package/dist/kongponents507.cjs +1 -1
- package/dist/kongponents507.es.js +6 -2
- package/dist/kongponents508.cjs +1 -1
- package/dist/kongponents508.es.js +25 -2
- package/dist/kongponents509.cjs +1 -1
- package/dist/kongponents509.es.js +96 -18
- package/dist/kongponents510.cjs +1 -1
- package/dist/kongponents510.es.js +47 -2
- package/dist/kongponents511.cjs +1 -1
- package/dist/kongponents511.es.js +9 -21
- package/dist/kongponents512.cjs +1 -1
- package/dist/kongponents512.es.js +10 -2
- package/dist/kongponents513.cjs +1 -1
- package/dist/kongponents513.es.js +13 -15
- package/dist/kongponents514.cjs +1 -1
- package/dist/kongponents514.es.js +11 -2
- package/dist/kongponents515.cjs +1 -1
- package/dist/kongponents515.es.js +5 -22
- package/dist/kongponents516.cjs +1 -1
- package/dist/kongponents516.es.js +5 -22
- package/dist/kongponents517.cjs +1 -1
- package/dist/kongponents517.es.js +10 -25
- package/dist/kongponents518.cjs +1 -1
- package/dist/kongponents518.es.js +7 -22
- package/dist/kongponents519.cjs +1 -1
- package/dist/kongponents519.es.js +6 -31
- package/dist/kongponents520.cjs +1 -1
- package/dist/kongponents520.es.js +2 -16
- package/dist/kongponents521.cjs +1 -1
- package/dist/kongponents521.es.js +2 -66
- package/dist/kongponents522.cjs +1 -1
- package/dist/kongponents522.es.js +19 -2
- package/dist/kongponents523.cjs +1 -1
- package/dist/kongponents523.es.js +2 -2
- package/dist/kongponents524.cjs +1 -1
- package/dist/kongponents524.es.js +22 -2
- package/dist/kongponents525.cjs +1 -1
- package/dist/kongponents525.es.js +2 -2
- package/dist/kongponents526.cjs +1 -1
- package/dist/kongponents526.es.js +16 -2
- package/dist/kongponents527.cjs +1 -1
- package/dist/kongponents527.es.js +2 -30
- package/dist/kongponents528.cjs +1 -1
- package/dist/kongponents528.es.js +23 -2
- package/dist/kongponents529.cjs +1 -1
- package/dist/kongponents529.es.js +22 -3
- package/dist/kongponents530.cjs +1 -1
- package/dist/kongponents530.es.js +25 -3
- package/dist/kongponents531.cjs +1 -1
- package/dist/kongponents531.es.js +22 -3
- package/dist/kongponents532.cjs +1 -1
- package/dist/kongponents532.es.js +31 -9
- package/dist/kongponents533.cjs +1 -1
- package/dist/kongponents533.es.js +15 -5
- package/dist/kongponents534.cjs +1 -1
- package/dist/kongponents534.es.js +65 -4
- package/dist/kongponents535.cjs +1 -1
- package/dist/kongponents535.es.js +2 -6
- package/dist/kongponents536.cjs +1 -1
- package/dist/kongponents536.es.js +2 -3
- package/dist/kongponents537.cjs +1 -1
- package/dist/kongponents537.es.js +2 -5
- package/dist/kongponents538.cjs +1 -1
- package/dist/kongponents538.es.js +2 -5
- package/dist/kongponents539.cjs +1 -1
- package/dist/kongponents539.es.js +2 -11
- package/dist/kongponents540.cjs +1 -1
- package/dist/kongponents540.es.js +29 -6
- package/dist/kongponents541.cjs +1 -1
- package/dist/kongponents541.es.js +2 -7
- package/dist/kongponents542.cjs +1 -1
- package/dist/kongponents542.es.js +2 -3
- package/dist/kongponents543.cjs +1 -1
- package/dist/kongponents543.es.js +7 -6
- package/dist/kongponents544.cjs +1 -1
- package/dist/kongponents544.es.js +3 -15
- package/dist/kongponents545.cjs +1 -1
- package/dist/kongponents545.es.js +5 -27
- package/dist/kongponents546.cjs +1 -1
- package/dist/kongponents546.es.js +13 -14
- package/dist/kongponents547.cjs +1 -1
- package/dist/kongponents547.es.js +28 -11
- package/dist/kongponents548.cjs +1 -1
- package/dist/kongponents548.es.js +16 -2
- package/dist/kongponents549.cjs +1 -1
- package/dist/kongponents549.es.js +12 -2
- package/dist/kongponents551.es.js +2 -2
- package/dist/kongponents553.cjs +1 -1
- package/dist/kongponents553.es.js +2 -21
- package/dist/kongponents554.cjs +1 -1
- package/dist/kongponents554.es.js +2 -24
- package/dist/kongponents555.cjs +1 -1
- package/dist/kongponents555.es.js +21 -2
- package/dist/kongponents556.cjs +1 -1
- package/dist/kongponents556.es.js +24 -2
- package/dist/kongponents557.cjs +1 -1
- package/dist/kongponents557.es.js +2 -27
- package/dist/kongponents558.cjs +1 -1
- package/dist/kongponents558.es.js +2 -27
- package/dist/kongponents559.cjs +1 -1
- package/dist/kongponents559.es.js +27 -2
- package/dist/kongponents560.cjs +1 -1
- package/dist/kongponents560.es.js +27 -2
- package/dist/kongponents561.es.js +2 -2
- package/dist/kongponents563.cjs +1 -1
- package/dist/kongponents563.es.js +2 -77
- package/dist/kongponents564.cjs +1 -1
- package/dist/kongponents564.es.js +2 -43
- package/dist/kongponents565.cjs +1 -1
- package/dist/kongponents565.es.js +75 -19
- package/dist/kongponents566.cjs +1 -1
- package/dist/kongponents566.es.js +37 -127
- package/dist/kongponents567.cjs +1 -1
- package/dist/kongponents567.es.js +17 -94
- package/dist/kongponents568.cjs +1 -1
- package/dist/kongponents568.es.js +132 -7
- package/dist/kongponents569.cjs +1 -1
- package/dist/kongponents569.es.js +98 -3
- package/dist/kongponents573.es.js +2 -2
- package/dist/kongponents574.es.js +2 -2
- package/dist/kongponents575.cjs +1 -1
- package/dist/kongponents575.es.js +2 -17
- package/dist/kongponents576.cjs +1 -1
- package/dist/kongponents576.es.js +17 -2
- package/dist/kongponents578.cjs +1 -1
- package/dist/kongponents578.es.js +2 -25
- package/dist/kongponents579.cjs +1 -1
- package/dist/kongponents579.es.js +25 -2
- package/dist/kongponents580.cjs +1 -1
- package/dist/kongponents580.es.js +2 -39
- package/dist/kongponents581.cjs +1 -1
- package/dist/kongponents581.es.js +33 -20
- package/dist/kongponents582.cjs +1 -1
- package/dist/kongponents582.es.js +26 -2
- package/dist/kongponents80.cjs +1 -1
- package/dist/kongponents80.es.js +1 -1
- package/dist/kongponents83.cjs +1 -1
- package/dist/kongponents83.es.js +1 -1
- package/dist/kongponents85.cjs +1 -1
- package/dist/kongponents85.es.js +1 -1
- package/dist/kongponents91.cjs +1 -1
- package/dist/kongponents91.es.js +1 -1
- package/dist/kongponents95.cjs +1 -1
- package/dist/kongponents95.es.js +1 -1
- package/dist/kongponents97.cjs +1 -1
- package/dist/kongponents97.es.js +7 -7
- package/package.json +42 -43
- package/dist/kongponents206.cjs +0 -1
- package/dist/kongponents206.es.js +0 -54
- package/dist/kongponents232.cjs +0 -1
- package/dist/kongponents232.es.js +0 -184
- package/dist/kongponents237.cjs +0 -1
- package/dist/kongponents237.es.js +0 -8
- package/dist/kongponents239.cjs +0 -1
- package/dist/kongponents239.es.js +0 -7
- package/dist/kongponents241.cjs +0 -1
- package/dist/kongponents241.es.js +0 -6
- package/dist/kongponents243.cjs +0 -1
- package/dist/kongponents243.es.js +0 -8
- package/dist/kongponents245.cjs +0 -1
- package/dist/kongponents245.es.js +0 -8
- package/dist/kongponents247.cjs +0 -1
- package/dist/kongponents247.es.js +0 -19
- package/dist/kongponents249.cjs +0 -1
- package/dist/kongponents249.es.js +0 -10
- package/dist/kongponents251.cjs +0 -1
- package/dist/kongponents251.es.js +0 -6
- package/dist/kongponents301.cjs +0 -1
- package/dist/kongponents301.es.js +0 -7
- package/dist/kongponents306.cjs +0 -1
- package/dist/kongponents306.es.js +0 -7
- package/dist/kongponents309.cjs +0 -1
- package/dist/kongponents309.es.js +0 -20
- package/dist/kongponents311.cjs +0 -1
- package/dist/kongponents311.es.js +0 -8
- /package/dist/{kongponents223.cjs → kongponents224.cjs} +0 -0
- /package/dist/{kongponents223.es.js → kongponents224.es.js} +0 -0
- /package/dist/{kongponents225.cjs → kongponents226.cjs} +0 -0
- /package/dist/{kongponents225.es.js → kongponents226.es.js} +0 -0
- /package/dist/{kongponents229.cjs → kongponents230.cjs} +0 -0
- /package/dist/{kongponents229.es.js → kongponents230.es.js} +0 -0
- /package/dist/{kongponents231.cjs → kongponents233.cjs} +0 -0
- /package/dist/{kongponents231.es.js → kongponents233.es.js} +0 -0
package/dist/kongponents582.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./kongponents586.cjs");var i;function s(){return i||(i=1,(function(o,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=d;function d(e){return function(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=a.match(e.matchPattern);if(!c)return null;var v=c[0],l=a.match(e.parsePattern);if(!l)return null;var t=e.valueCallback?e.valueCallback(l[0]):l[0];t=n.valueCallback?n.valueCallback(t):t;var m=a.slice(v.length);return{value:t,rest:m}}}o.exports=u.default})(r.__module,r.__module.exports)),r.__module.exports}exports.__require=s;
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
import { __module as a } from "./kongponents586.es.js";
|
|
2
|
+
var i;
|
|
3
|
+
function s() {
|
|
4
|
+
return i ? a.exports : (i = 1, (function(o, r) {
|
|
5
|
+
Object.defineProperty(r, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
}), r.default = v;
|
|
8
|
+
function v(e) {
|
|
9
|
+
return function(u) {
|
|
10
|
+
var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, c = u.match(e.matchPattern);
|
|
11
|
+
if (!c) return null;
|
|
12
|
+
var d = c[0], n = u.match(e.parsePattern);
|
|
13
|
+
if (!n) return null;
|
|
14
|
+
var t = e.valueCallback ? e.valueCallback(n[0]) : n[0];
|
|
15
|
+
t = l.valueCallback ? l.valueCallback(t) : t;
|
|
16
|
+
var f = u.slice(d.length);
|
|
17
|
+
return {
|
|
18
|
+
value: t,
|
|
19
|
+
rest: f
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
o.exports = r.default;
|
|
24
|
+
})(a, a.exports), a.exports);
|
|
25
|
+
}
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
s as __require
|
|
4
28
|
};
|
package/dist/kongponents80.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("./kongponents6.cjs");require("./kongponents7.cjs");require("./kongponents12.cjs");const s=require("@kong/icons"),l=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("./kongponents6.cjs");require("./kongponents7.cjs");require("./kongponents12.cjs");const s=require("@kong/icons"),l=require("./kongponents185.cjs"),d={key:0,class:"alert-icon-container"},m={class:"alert-content"},p={key:0,class:"alert-title"},k={key:1,class:"alert-message"},f=e.defineComponent({__name:"KAlert",props:{title:{default:""},message:{default:""},appearance:{default:()=>o.AlertAppearances.info},showIcon:{type:Boolean},dismissible:{type:Boolean}},emits:["dismiss"],setup(t,{emit:c}){const a=c,u=e.computed(()=>{switch(t.appearance){case o.AlertAppearances.info:return s.InfoIcon;case o.AlertAppearances.success:return s.CheckCircleIcon;case o.AlertAppearances.warning:return s.WarningIcon;case o.AlertAppearances.danger:return s.DangerIcon;case o.AlertAppearances.decorative:return s.RocketIcon;default:return s.InfoIcon}});return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-alert",[t.appearance]])},[t.showIcon||r.$slots.icon?(e.openBlock(),e.createElementBlock("div",d,[e.renderSlot(r.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"alert-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(l.KUI_ICON_SIZE_40)})`},null,8,["size"]))])])):e.createCommentVNode("",!0),e.createElementVNode("div",m,[t.title?(e.openBlock(),e.createElementBlock("span",p,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),t.message||r.$slots.default?(e.openBlock(),e.createElementBlock("div",k,[e.renderSlot(r.$slots,"default",{},()=>[e.createElementVNode("p",null,e.toDisplayString(t.message),1)])])):e.createCommentVNode("",!0)]),t.dismissible?(e.openBlock(),e.createBlock(e.unref(s.CloseIcon),{key:1,class:"alert-dismiss-icon",size:`var(--kui-icon-size-40, ${e.unref(l.KUI_ICON_SIZE_40)})`,tabindex:"0",onClick:n[0]||(n[0]=i=>a("dismiss")),onKeydown:n[1]||(n[1]=e.withKeys(e.withModifiers(()=>{},["prevent"]),["space"])),onKeyup:[n[2]||(n[2]=e.withKeys(i=>a("dismiss"),["enter"])),n[3]||(n[3]=e.withKeys(i=>a("dismiss"),["space"]))]},null,8,["size"])):e.createCommentVNode("",!0)],2))}});exports.default=f;
|
package/dist/kongponents80.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { AlertAppearances as n } from "./kongponents6.es.js";
|
|
|
3
3
|
import "./kongponents7.es.js";
|
|
4
4
|
import "./kongponents12.es.js";
|
|
5
5
|
import { InfoIcon as v, RocketIcon as B, DangerIcon as K, WarningIcon as A, CheckCircleIcon as b, CloseIcon as h } from "@kong/icons";
|
|
6
|
-
import { KUI_ICON_SIZE_40 as k } from "./
|
|
6
|
+
import { KUI_ICON_SIZE_40 as k } from "./kongponents185.es.js";
|
|
7
7
|
const D = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "alert-icon-container"
|
package/dist/kongponents83.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("./kongponents30.cjs");;/* empty css */const s=require("./kongponents7.cjs");require("./kongponents12.cjs");const c=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("./kongponents30.cjs");;/* empty css */const s=require("./kongponents7.cjs");require("./kongponents12.cjs");const c=require("./kongponents182.cjs"),f=["tabindex"],m=e.defineComponent({__name:"KBadge",props:{appearance:{default:"info"},size:{default:"medium"},tooltip:{default:""},truncationTooltip:{type:Boolean,default:!1},maxWidth:{default:"200px"},iconBefore:{type:Boolean,default:!0},tooltipAttributes:{default:()=>({})}},setup(t){e.useCssVars(o=>({v6b696ed4:l.value}));const r=e.computed(()=>Object.keys(s.BadgeMethodAppearances).includes(t.appearance)),a=e.ref(),n=e.ref(!1),l=e.computed(()=>c.normalizeSize(t.maxWidth)),u=async()=>{a.value&&(await e.nextTick(),n.value=a.value?.offsetWidth<a.value?.scrollWidth)},i=e.computed(()=>t.tooltip?t.truncationTooltip?n.value:!0:!1);return e.onMounted(()=>{u()}),(o,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-badge",[t.appearance,t.size,{method:r.value}]])},[e.createVNode(d.default,e.mergeProps({text:i.value?t.tooltip:void 0},t.tooltipAttributes),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["badge-content",{"icon-after":!t.iconBefore}]),tabindex:i.value?0:void 0},[o.$slots.icon?e.renderSlot(o.$slots,"icon",{},void 0,!0,0):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"badgeTextElement",ref:a,class:"badge-content-wrapper"},[e.renderSlot(o.$slots,"default",{},void 0,!0)],512)],10,f)]),_:3},16,["text"])],2))}});exports.default=m;
|
package/dist/kongponents83.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import y from "./kongponents30.es.js";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { BadgeMethodAppearances as z } from "./kongponents7.es.js";
|
|
5
5
|
import "./kongponents12.es.js";
|
|
6
|
-
import { normalizeSize as C } from "./
|
|
6
|
+
import { normalizeSize as C } from "./kongponents182.es.js";
|
|
7
7
|
const W = ["tabindex"], S = /* @__PURE__ */ m({
|
|
8
8
|
__name: "KBadge",
|
|
9
9
|
props: {
|
package/dist/kongponents85.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("./kongponents182.cjs"),u={key:0,class:"breadcrumbs-icon-container"},d={class:"breadcrumbs-divider"},i=e.defineComponent({inheritAttrs:!1,__name:"KBreadcrumbs",props:{items:{},itemMaxWidth:{default:"100px"}},setup(l){const a=t=>{const o=t.title||t.text;return t.to?typeof t.to=="object"?{type:"router-link",attrs:{title:o,to:t.to}}:{type:"a",attrs:{href:t.to,title:o}}:{type:"div",attrs:{title:o}}},s=(t,o)=>t.key||`breadcrumb-${o}`;return(t,o)=>(e.openBlock(),e.createElementBlock("ul",e.mergeProps({class:"k-breadcrumbs"},t.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(r,n)=>(e.openBlock(),e.createElementBlock("li",{key:s(r,n),class:"breadcrumbs-item-container"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(r).type),e.mergeProps({ref_for:!0},a(r).attrs,{class:["breadcrumbs-item",{link:!!r.to}]}),{default:e.withCtx(()=>[t.$slots[`icon-${s(r,n)}`]?(e.openBlock(),e.createElementBlock("span",u,[e.renderSlot(t.$slots,`icon-${s(r,n)}`,{},void 0,!0)])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",{key:1,class:"breadcrumbs-text",style:e.normalizeStyle({maxWidth:e.unref(c.normalizeSize)(r.maxWidth??l.itemMaxWidth)})},e.toDisplayString(r.text),5)):e.createCommentVNode("",!0)]),_:2},1040,["class"])),e.createElementVNode("span",d,[e.renderSlot(t.$slots,"divider",{},()=>[o[0]||(o[0]=e.createTextVNode(" / ",-1))],!0)])]))),128))],16))}});exports.default=i;
|
package/dist/kongponents85.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as s, createElementBlock as o, mergeProps as i, Fragment as p, renderList as b, createBlock as f, resolveDynamicComponent as y, withCtx as k, renderSlot as u, createCommentVNode as d, normalizeStyle as h, unref as x, toDisplayString as $, createElementVNode as g, createTextVNode as v } from "vue";
|
|
2
|
-
import { normalizeSize as B } from "./
|
|
2
|
+
import { normalizeSize as B } from "./kongponents182.es.js";
|
|
3
3
|
const C = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "breadcrumbs-icon-container"
|
package/dist/kongponents91.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ne=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ne=require("./kongponents194.cjs"),oe=require("./kongponents25.cjs");;/* empty css */const $=require("./kongponents51.cjs"),M=require("./kongponents38.cjs"),ie=require("./kongponents61.cjs"),re=require("./kongponents41.cjs"),ce={class:"k-catalog"},ue={key:1,class:"catalog-toolbar","data-testid":"catalog-toolbar"},se={key:3,class:"catalog-error-state","data-testid":"catalog-error-state"},de={key:4,class:"catalog-empty-state","data-testid":"catalog-empty-state"},ge=["data-tableid"],O=15,fe=e.defineComponent({__name:"KCatalog",props:{titleTag:{default:"div"},loading:{type:Boolean},cardSize:{default:"medium"},title:{default:""},truncateDescription:{type:Boolean,default:!0},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{default:""},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:"default"},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{default:""},errorStateActionMessage:{default:""},fetcher:{type:Function},initialFetcherParams:{default:null},cacheIdentifier:{default:""},fetcherCacheKey:{default:""},searchInput:{default:""},paginationNeighbors:{default:1},paginationPageSizes:{default:()=>[15,30,50,75,100]},paginationTotalItems:{default:null},disablePaginationPageJump:{type:Boolean},disablePagination:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},paginationOffset:{type:Boolean}},emits:["card-click","error-action-click","empty-state-action-click","update:catalog-preferences","state"],setup(a,{emit:V}){const{useRequest:q,useDebounce:E,useSwrvState:x}=ne.default(),s=V,F=e.useSlots(),m=e.useId(),K=()=>{const t=a.paginationPageSizes?.[0];return t||O},o=e.ref([]),y=e.ref(0),b=e.ref(""),l=e.ref(1),i=e.ref(K()),r=e.ref(null),c=e.ref([]),S=e.computed(()=>c.value[l.value-1]),d=e.ref(null),P=e.ref(!0),k=e.ref(!1),f={page:1,pageSize:i.value,query:"",offset:null},C=e.computed(()=>(g.value||a.loading||v.value)&&!a.error),R=e.computed(()=>!C.value&&o.value&&!o.value.length),L=e.computed(()=>({pageSize:i.value})),B=e.ref(!0),G=async()=>{const t=await a.fetcher({query:a.searchInput||b.value,pageSize:i.value,page:l.value,offset:r.value});if(t==null)throw new Error("KCatalog: Fetcher did not return data correctly.");return o.value=t.data,y.value=a.paginationTotalItems||t.total||t.data?.length,a.paginationOffset&&(t.pagination?.offset?(d.value=t.pagination.offset,c.value[l.value]||c.value.push(t.pagination.offset)):d.value=null,P.value=t.pagination&&"hasNextPage"in t.pagination?!!t.pagination.hasNextPage:!0),o.value.length===0&&l.value>1&&(l.value=1,c.value=[null],r.value=null),B.value=!1,t},H=()=>{const t={...f,...a.initialFetcherParams};l.value=t.page??f.page,i.value=t.pageSize??f.pageSize,b.value=t.query??f.query,a.paginationOffset&&(r.value=t.offset,c.value.push(t.offset)),k.value=!0},j=e.computed(()=>{if(!a.fetcher||!k.value)return"";let t=m;return a.cacheIdentifier&&(t=a.cacheIdentifier),a.fetcherCacheKey&&(t+=`-${a.fetcherCacheKey}`),`k-catalog_${t}`}),z=e.ref(""),{debouncedFn:Q,generateDebouncedFn:J}=E(t=>{z.value=t},350),U=J(0),{data:w,error:D,revalidate:W,isValidating:Z}=q(()=>j.value,()=>G(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:p,hasData:X,swrvState:I}=x(w,D,Z),g=e.ref(!0),N=e.computed(()=>({hasData:X.value,state:p.value})),Y=e.computed(()=>g.value?"loading":D.value?"error":"success"),_=({page:t})=>{l.value=t},ee=({pageSize:t})=>{c.value=[null],r.value=null,i.value=t,l.value=1},te=()=>{l.value++,r.value=d.value},ae=()=>{l.value--,r.value=S.value},A=t=>t.toLowerCase().replace(/[^[a-z0-9]/gi,"-"),le=e.computed(()=>{if(!a.fetcher||a.disablePagination||!o.value||!o.value.length||a.error)return!1;const t=a.paginationPageSizes?.[0]??O;return a.hidePaginationWhenOptional&&l.value===1?a.paginationOffset?!!S.value||!!d.value||o.value.length>=t:y.value>t:!0});e.watch(w,t=>{t?.length&&!o.value.length&&(o.value=t)},{deep:!0,immediate:!0}),e.watch(p,()=>{switch(p.value){case I.PENDING:g.value=!0;break;case I.VALIDATING_HAS_DATA:g.value=v.value;break;default:g.value=!1;break}},{immediate:!0}),e.watch([N,Y],t=>{s("state",{state:t?.[1],hasData:t?.[0]?.hasData})}),e.watch(()=>a.searchInput,t=>{l.value!==1&&(l.value=1),t===""?U(t):Q(t)},{immediate:!0});const v=e.ref(!1);return e.watch([z,l,i],async(t,u)=>{const n=u?.[0],h=t[0],T=t[1];h!==n&&T!==1&&(l.value=1,c.value=[null],r.value=null),k.value&&!B.value&&(v.value=!0,await W(),v.value=!1)},{deep:!0,immediate:!0}),e.watch(L,t=>{s("update:catalog-preferences",t)}),e.onMounted(()=>{H()}),(t,u)=>(e.openBlock(),e.createElementBlock("div",ce,[a.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.titleTag),{key:0,class:"catalog-title","data-testid":"catalog-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1})):e.createCommentVNode("",!0),F.toolbar?(e.openBlock(),e.createElementBlock("div",ue,[e.renderSlot(t.$slots,"toolbar",{state:N.value},void 0,!0)])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(oe.default,{key:2,"card-count":4,class:"catalog-skeleton-loader","data-testid":"catalog-skeleton-loader",type:"card"})):a.error?(e.openBlock(),e.createElementBlock("div",se,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode($.default,{"icon-variant":"error",message:a.errorStateMessage,title:a.errorStateTitle},e.createSlots({_:2},[a.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{"data-testid":A(a.errorStateActionMessage),to:a.errorStateActionRoute?a.errorStateActionRoute:void 0,onClick:u[0]||(u[0]=n=>s("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.errorStateActionMessage),1)]),_:1},8,["data-testid","to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):R.value?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode($.default,{"icon-variant":a.emptyStateIconVariant,message:a.emptyStateMessage,title:a.emptyStateTitle},e.createSlots({_:2},[a.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{appearance:a.searchInput?"tertiary":"primary","data-testid":A(a.emptyStateActionMessage),to:a.emptyStateActionRoute?a.emptyStateActionRoute:void 0,onClick:u[1]||(u[1]=n=>s("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(a.emptyStateActionMessage),1)]),_:3},8,["appearance","data-testid","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(["catalog-page",`card-${a.cardSize}`]),"data-tableid":e.unref(m)},[e.renderSlot(t.$slots,"body",{data:o.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(n,h)=>(e.openBlock(),e.createBlock(re.default,{key:n.key?n.key:`catalog-${e.unref(m)}-item-${h}`,class:"catalog-item","data-testid":n.id?n.id:`catalog-item-${h}`,item:n,truncate:a.truncateDescription,onClick:T=>s("card-click",n)},{"card-title":e.withCtx(()=>[e.renderSlot(t.$slots,"card-title",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)]),"card-actions":e.withCtx(()=>[e.renderSlot(t.$slots,"card-actions",{item:n},void 0,!0)]),"card-body":e.withCtx(()=>[e.renderSlot(t.$slots,"card-body",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.description),1)],!0)]),_:2},1032,["data-testid","item","truncate","onClick"]))),128))],!0)],10,ge)),le.value?(e.openBlock(),e.createBlock(ie.default,{key:6,class:"card-pagination","current-page":l.value,"data-testid":"catalog-pagination","disable-page-jump":a.disablePaginationPageJump,"initial-page-size":i.value,neighbors:a.paginationNeighbors,offset:a.paginationOffset,"offset-next-button-disabled":!d.value||!P.value,"offset-previous-button-disabled":!S.value,"page-sizes":a.paginationPageSizes,"total-count":y.value,onGetNextOffset:te,onGetPreviousOffset:ae,onPageChange:_,onPageSizeChange:ee},null,8,["current-page","disable-page-jump","initial-page-size","neighbors","offset","offset-next-button-disabled","offset-previous-button-disabled","page-sizes","total-count"])):e.createCommentVNode("",!0)]))}});exports.default=fe;
|
package/dist/kongponents91.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ye, useSlots as Se, useId as be, ref as i, computed as s, watch as v, onMounted as pe, openBlock as o, createElementBlock as m, createBlock as I, resolveDynamicComponent as ke, withCtx as r, createTextVNode as b, toDisplayString as p, createCommentVNode as T, renderSlot as u, createVNode as A, createSlots as H, unref as x, normalizeClass as Pe, Fragment as ze, renderList as Ie } from "vue";
|
|
2
|
-
import Ae from "./
|
|
2
|
+
import Ae from "./kongponents194.es.js";
|
|
3
3
|
import Ce from "./kongponents25.es.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import Q from "./kongponents51.es.js";
|
package/dist/kongponents95.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./kongponents57.cjs"),d=require("@kong/icons"),u=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./kongponents57.cjs"),d=require("@kong/icons"),u=require("./kongponents185.cjs"),C=["id","aria-checked"],S={class:"checkbox-label-wrapper"},V={key:1,class:"checkbox-description"},x=e.defineComponent({inheritAttrs:!1,__name:"KCheckbox",props:{modelValue:{type:Boolean},label:{default:""},labelAttributes:{default:()=>({})},description:{default:""},error:{type:Boolean,default:!1}},emits:["change","input","update:modelValue"],setup(o,{emit:m}){const a=m,i=e.useSlots(),l=e.useAttrs(),h=e.useId(),r=e.computed(()=>l.id?String(l.id):h),n=()=>!!(o.label||i.default),k=e.computed(()=>l?.disabled!==void 0&&String(l?.disabled)!=="false"),s=()=>n()&&(!!o.description||!!i.description),b=()=>!!i.tooltip,c=e.computed(()=>{const t={...l};return delete t.class,t.checked=o.modelValue,t.indeterminate!==void 0&&String(t.indeterminate)!=="false"&&!o.modelValue?(delete t.checked,t.indeterminate=!0):delete t.indeterminate,t}),p=()=>({disabled:k.value,"has-description":s(),"input-error":o.error}),f=e.computed(()=>c.value.indeterminate!==void 0&&String(c.value.indeterminate)!=="false");e.watch(()=>o.labelAttributes,t=>{t.help&&console.warn("KCheckbox: `help` property of `labelAttributes` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel")},{immediate:!0});const g=t=>{a("change",t.target.checked),a("input",t.target.checked),a("update:modelValue",t.target.checked)};return(t,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-checkbox",[t.$attrs.class,p()]])},[e.createElementVNode("div",{class:e.normalizeClass(["checkbox-input-wrapper",{"has-label":n()}])},[e.createElementVNode("input",e.mergeProps({id:r.value},c.value,{"aria-checked":o.modelValue,class:"checkbox-input",type:"checkbox",onChange:g}),null,16,C),o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.CheckSmallIcon),{key:0,class:"checkbox-icon","data-testid":"check-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0),f.value&&!o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.IndeterminateSmallIcon),{key:1,class:"checkbox-icon","data-testid":"indeterminate-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",S,[n()?(e.openBlock(),e.createBlock(v.default,e.mergeProps({key:0},o.labelAttributes,{class:"checkbox-label",for:r.value}),e.createSlots({default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)],!0)]),_:2},[b()?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for"])):e.createCommentVNode("",!0),s()?(e.openBlock(),e.createElementBlock("div",V,[e.renderSlot(t.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(o.description),1)],!0)])):e.createCommentVNode("",!0)])],2))}});exports.default=x;
|
package/dist/kongponents95.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, useSlots as B, useAttrs as K, useId as N, computed as l, watch as D, openBlock as a, createElementBlock as p, normalizeClass as f, createElementVNode as o, mergeProps as g, createBlock as m, unref as n, createCommentVNode as s, createSlots as E, withCtx as v, renderSlot as h, createTextVNode as L, toDisplayString as x } from "vue";
|
|
2
2
|
import P from "./kongponents57.es.js";
|
|
3
3
|
import { CheckSmallIcon as T, IndeterminateSmallIcon as q } from "@kong/icons";
|
|
4
|
-
import { KUI_ICON_SIZE_40 as C } from "./
|
|
4
|
+
import { KUI_ICON_SIZE_40 as C } from "./kongponents185.es.js";
|
|
5
5
|
const O = ["id", "aria-checked"], U = { class: "checkbox-label-wrapper" }, Z = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "checkbox-description"
|
package/dist/kongponents97.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Q=require("virtua/vue"),ie=require("./kongponents55.cjs"),ce=require("./kongponents177.cjs"),ue=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Q=require("virtua/vue"),ie=require("./kongponents55.cjs"),ce=require("./kongponents177.cjs"),ue=require("./kongponents183.cjs"),f=require("./kongponents184.cjs"),d=require("@kong/icons"),L=require("./kongponents185.cjs"),p=require("./kongponents44.cjs"),se=require("./kongponents186.cjs"),de=require("./kongponents182.cjs"),he=require("./kongponents187.cjs"),fe=require("./kongponents188.cjs"),me=["id"],ge={key:0,class:"code-block-actions"},ve={key:0,class:"code-block-search-results-container"},be={key:0,class:"code-block-search-results"},ke={class:"code-block-search-actions"},ye={ref:"codeBlockContent",class:"code-block-content"},pe={class:"code-block-secondary-actions"},Ce=["id","href"],Ne=["innerHTML"],Le=["id","href"],we=["innerHTML"],Be=e.defineComponent({__name:"KCodeBlock",props:{id:{},code:{},copyCode:{},language:{},initialFilterMode:{type:Boolean},initialRegExpMode:{type:Boolean},searchable:{type:Boolean},highlightedLineNumbers:{default:()=>[]},processing:{type:Boolean},query:{default:""},showCopyButton:{type:[Boolean,String],default:!0},showLineNumbers:{type:Boolean,default:!0},showLineNumberLinks:{type:Boolean},singleLine:{type:Boolean},maxHeight:{default:"none"}},emits:["code-block-render","matching-lines-change","query-change","filter-mode-change","reg-exp-mode-change"],setup(o,{emit:W}){e.useCssVars(t=>({v1d5b2df3:oe.value,v1e85e052:Z.value}));const m=se.IS_MAYBE_MAC?"Option":"Alt",Y=fe.default(D,150,{leading:!0,trailing:!0});e.watch(()=>o.highlightedLineNumbers,t=>{typeof t=="string"&&f.LINE_NUMBER_EXPRESSION_REGEX.test(t)||Array.isArray(t)&&t.every(n=>Array.isArray(n)?n.length===2&&n.every(l=>typeof l=="number"):typeof n=="number")||console.warn("KCodeBlock: `highlightedLineNumbers` prop should be either a properly formatted string (e.g. '1,3-5,7'), an array of numbers or tuples of numbers.")},{immediate:!0});const k=W,x=e.useSlots(),M=e.ref(o.query),g=e.ref(!1),s=e.ref(o.initialRegExpMode),u=e.ref(o.initialFilterMode),h=e.ref(null),i=e.ref(o.query),T=e.ref(0),a=e.ref([]),c=e.ref(null),r=e.useTemplateRef("codeBlock"),w=e.useTemplateRef("codeBlockContent"),S=e.useTemplateRef("codeBlockLineNumbers"),B=e.ref(!1),E=e.ref(!1),V=e.computed(()=>new Set(a.value)),C=e.computed(()=>Array.from({length:o.code?.split(`
|
|
2
2
|
`).length},(t,n)=>n+1)),Z=e.computed(()=>C.value[C.value.length-1]?.toString().length+"ch"),I=e.computed(()=>o.processing||g.value),v=e.computed(()=>u.value&&q.value!==""),J=e.computed(()=>o.id.toLowerCase().replace(/\s+/g,"-"));function y(t){return`${J.value}-L${t}`}const _=e.computed(()=>f.buildLineOffsets(o.code)),q=e.computed(()=>{if(i.value===""||a.value.length===0)return"";const t=o.code?.split(`
|
|
3
3
|
`).filter((n,l)=>V.value.has(l+1)).join(`
|
|
4
4
|
`);return f.highlightMatchingChars(t,i.value,s.value)}),b=()=>!!x.actions,ee=()=>!o.singleLine&&(o.searchable||b()),te=e.computed(()=>o.singleLine?f.escapeHTMLIfNeeded(o.code).replaceAll(`
|
package/dist/kongponents97.es.js
CHANGED
|
@@ -2,15 +2,15 @@ import { defineComponent as Te, useCssVars as Ie, watch as T, useSlots as Se, re
|
|
|
2
2
|
import { Virtualizer as fe } from "virtua/vue";
|
|
3
3
|
import Pe from "./kongponents55.es.js";
|
|
4
4
|
import { copyTextToClipboard as He } from "./kongponents177.es.js";
|
|
5
|
-
import { ShortcutManager as Fe } from "./
|
|
6
|
-
import { LINE_NUMBER_EXPRESSION_REGEX as qe, buildLineOffsets as Ve, highlightMatchingChars as $e, escapeHTMLIfNeeded as me, normalizeHighlightedLines as De, getMatchingLineNumbers as ze } from "./
|
|
5
|
+
import { ShortcutManager as Fe } from "./kongponents183.es.js";
|
|
6
|
+
import { LINE_NUMBER_EXPRESSION_REGEX as qe, buildLineOffsets as Ve, highlightMatchingChars as $e, escapeHTMLIfNeeded as me, normalizeHighlightedLines as De, getMatchingLineNumbers as ze } from "./kongponents184.es.js";
|
|
7
7
|
import { CloseIcon as Ue, SearchIcon as je, ProgressIcon as Oe, RegexIcon as Ke, FilterIcon as Ge, ArrowUpIcon as Xe, ArrowDownIcon as Qe, CopyIcon as We } from "@kong/icons";
|
|
8
|
-
import { KUI_ICON_SIZE_30 as Ye, KUI_COLOR_TEXT_NEUTRAL_STRONG as Ze, KUI_LINE_HEIGHT_30 as ve } from "./
|
|
8
|
+
import { KUI_ICON_SIZE_30 as Ye, KUI_COLOR_TEXT_NEUTRAL_STRONG as Ze, KUI_LINE_HEIGHT_30 as ve } from "./kongponents185.es.js";
|
|
9
9
|
import S from "./kongponents44.es.js";
|
|
10
|
-
import { IS_MAYBE_MAC as Je } from "./
|
|
11
|
-
import { normalizeSize as _e } from "./
|
|
12
|
-
import { findInteractiveAncestor as et } from "./
|
|
13
|
-
import tt from "./
|
|
10
|
+
import { IS_MAYBE_MAC as Je } from "./kongponents186.es.js";
|
|
11
|
+
import { normalizeSize as _e } from "./kongponents182.es.js";
|
|
12
|
+
import { findInteractiveAncestor as et } from "./kongponents187.es.js";
|
|
13
|
+
import tt from "./kongponents188.es.js";
|
|
14
14
|
const ot = ["id"], nt = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "code-block-actions"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong/kongponents",
|
|
3
|
-
"version": "9.66.0",
|
|
3
|
+
"version": "9.66.1-pr.3471.85e8b4e.0",
|
|
4
4
|
"description": "Kong Component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -33,43 +33,6 @@
|
|
|
33
33
|
"./package.json": "./package.json",
|
|
34
34
|
"./dist/*": "./dist/*"
|
|
35
35
|
},
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build:bin": "rimraf ./bin && pnpm build:cli && pnpm build:mcp",
|
|
38
|
-
"build:cli": "tsc --project ./cli/tsconfig.json && chmod u+x ./bin/index.js",
|
|
39
|
-
"build:docs": "vitepress build docs",
|
|
40
|
-
"build:mcp": "tsx ./mcp/build.ts && tsx ./mcp/generate-snapshot.ts",
|
|
41
|
-
"build:kongponents:umd": "BUILD_UMD=true vite build",
|
|
42
|
-
"build:kongponents": "pnpm typecheck && vite build && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json' && pnpm build:kongponents:umd && pnpm build:nuxt",
|
|
43
|
-
"build:nuxt": "tsc -p ./tsconfig.build.nuxt.json --outDir dist/nuxt",
|
|
44
|
-
"build:theme-contract": "tsx ./scripts/generate-theme-contract.mjs",
|
|
45
|
-
"build:visualize": "cross-env-shell BUILD_VISUALIZER=true vite build -m production",
|
|
46
|
-
"build": "pnpm build:bin && pnpm stylelint && pnpm lint && pnpm build:kongponents && pnpm build:docs",
|
|
47
|
-
"build:ci": "pnpm build:bin && pnpm build:kongponents && pnpm build:docs",
|
|
48
|
-
"commit": "cz",
|
|
49
|
-
"create-kongponent": "node ./bin/index.js",
|
|
50
|
-
"sandbox:dev": "cross-env USE_SANDBOX=true vite",
|
|
51
|
-
"sandbox:build": "cross-env USE_SANDBOX=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
|
|
52
|
-
"sandbox:build:netlify": "cross-env USE_SANDBOX=true USE_NETLIFY=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
|
|
53
|
-
"sandbox:preview": "cross-env USE_SANDBOX=true vite preview",
|
|
54
|
-
"docs:build": "vitepress build docs",
|
|
55
|
-
"docs:dev": "vitepress dev docs",
|
|
56
|
-
"docs:serve": "vitepress serve docs",
|
|
57
|
-
"docs:preview": "vitepress preview docs --port 8080",
|
|
58
|
-
"mcp:inspect": "cross-env PNPM_CONFIG_TRUST_POLICY_EXCLUDE=chokidar@4.0.3 pnpm dlx @modelcontextprotocol/inspector@2.7.0 --web --cwd . node ./bin/kongponents-mcp.js",
|
|
59
|
-
"typecheck": "vue-tsc -p './tsconfig.json' --noEmit && tsc -p './mcp/tsconfig.json' --noEmit",
|
|
60
|
-
"lint": "eslint",
|
|
61
|
-
"lint:fix": "eslint --fix",
|
|
62
|
-
"stylelint": "stylelint './src/**/*.{css,scss,sass,vue}'",
|
|
63
|
-
"stylelint:fix": "stylelint './src/**/*.{css,scss,sass,vue}' --fix",
|
|
64
|
-
"test": "pnpm test:unit && pnpm test:mcp && pnpm test:browser",
|
|
65
|
-
"test:mcp": "pnpm build:mcp && vitest run --project mcp",
|
|
66
|
-
"test:unit": "vitest run --project unit",
|
|
67
|
-
"test:unit:open": "vitest --project unit",
|
|
68
|
-
"test:browser:install": "playwright install --with-deps chromium firefox webkit",
|
|
69
|
-
"test:browser": "vitest run --project browser",
|
|
70
|
-
"test:browser:open": "vitest --project browser --browser.headless=false",
|
|
71
|
-
"semantic-release": "semantic-release"
|
|
72
|
-
},
|
|
73
36
|
"dependencies": {
|
|
74
37
|
"@floating-ui/vue": "^1.1.11",
|
|
75
38
|
"@kong/icons": "^1.63.1",
|
|
@@ -113,8 +76,8 @@
|
|
|
113
76
|
"@types/sortablejs": "^1.15.9",
|
|
114
77
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
115
78
|
"@vitest/browser-playwright": "^4.1.11",
|
|
116
|
-
"@vue/compiler-core": "^3.5.
|
|
117
|
-
"@vue/compiler-sfc": "3.5.
|
|
79
|
+
"@vue/compiler-core": "^3.5.43",
|
|
80
|
+
"@vue/compiler-sfc": "3.5.43",
|
|
118
81
|
"@vue/tsconfig": "^0.9.1",
|
|
119
82
|
"@vueuse/core": "^14.3.0",
|
|
120
83
|
"autoprefixer": "^10.5.4",
|
|
@@ -154,7 +117,7 @@
|
|
|
154
117
|
"vitepress": "^1.6.4",
|
|
155
118
|
"vitest": "^4.1.11",
|
|
156
119
|
"vitest-browser-vue": "^2.1.0",
|
|
157
|
-
"vue": "3.5.
|
|
120
|
+
"vue": "3.5.43",
|
|
158
121
|
"vue-router": "^5.1.0",
|
|
159
122
|
"vue-tsc": "^3.3.7",
|
|
160
123
|
"yaml": "^2.9.1",
|
|
@@ -219,7 +182,6 @@
|
|
|
219
182
|
"node": ">=v16.20.2 || >=18.12.1 || >=20.14.0 || >=22.14.0",
|
|
220
183
|
"pnpm": ">=10.34.5"
|
|
221
184
|
},
|
|
222
|
-
"packageManager": "pnpm@10.34.5",
|
|
223
185
|
"volta": {
|
|
224
186
|
"node": "24.14.1",
|
|
225
187
|
"pnpm": "10.34.5"
|
|
@@ -233,5 +195,42 @@
|
|
|
233
195
|
"jiraPrepend": "[",
|
|
234
196
|
"jiraAppend": "]"
|
|
235
197
|
}
|
|
198
|
+
},
|
|
199
|
+
"scripts": {
|
|
200
|
+
"build:bin": "rimraf ./bin && pnpm build:cli && pnpm build:mcp",
|
|
201
|
+
"build:cli": "tsc --project ./cli/tsconfig.json && chmod u+x ./bin/index.js",
|
|
202
|
+
"build:docs": "vitepress build docs",
|
|
203
|
+
"build:mcp": "tsx ./mcp/build.ts && tsx ./mcp/generate-snapshot.ts",
|
|
204
|
+
"build:kongponents:umd": "BUILD_UMD=true vite build",
|
|
205
|
+
"build:kongponents": "pnpm typecheck && vite build && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json' && pnpm build:kongponents:umd && pnpm build:nuxt",
|
|
206
|
+
"build:nuxt": "tsc -p ./tsconfig.build.nuxt.json --outDir dist/nuxt",
|
|
207
|
+
"build:theme-contract": "tsx ./scripts/generate-theme-contract.mjs",
|
|
208
|
+
"build:visualize": "cross-env-shell BUILD_VISUALIZER=true vite build -m production",
|
|
209
|
+
"build": "pnpm build:bin && pnpm stylelint && pnpm lint && pnpm build:kongponents && pnpm build:docs",
|
|
210
|
+
"build:ci": "pnpm build:bin && pnpm build:kongponents && pnpm build:docs",
|
|
211
|
+
"commit": "cz",
|
|
212
|
+
"create-kongponent": "node ./bin/index.js",
|
|
213
|
+
"sandbox:dev": "cross-env USE_SANDBOX=true vite",
|
|
214
|
+
"sandbox:build": "cross-env USE_SANDBOX=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
|
|
215
|
+
"sandbox:build:netlify": "cross-env USE_SANDBOX=true USE_NETLIFY=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
|
|
216
|
+
"sandbox:preview": "cross-env USE_SANDBOX=true vite preview",
|
|
217
|
+
"docs:build": "vitepress build docs",
|
|
218
|
+
"docs:dev": "vitepress dev docs",
|
|
219
|
+
"docs:serve": "vitepress serve docs",
|
|
220
|
+
"docs:preview": "vitepress preview docs --port 8080",
|
|
221
|
+
"mcp:inspect": "cross-env PNPM_CONFIG_TRUST_POLICY_EXCLUDE=chokidar@4.0.3 pnpm dlx @modelcontextprotocol/inspector@2.7.0 --web --cwd . node ./bin/kongponents-mcp.js",
|
|
222
|
+
"typecheck": "vue-tsc -p './tsconfig.json' --noEmit && tsc -p './mcp/tsconfig.json' --noEmit",
|
|
223
|
+
"lint": "eslint",
|
|
224
|
+
"lint:fix": "eslint --fix",
|
|
225
|
+
"stylelint": "stylelint './src/**/*.{css,scss,sass,vue}'",
|
|
226
|
+
"stylelint:fix": "stylelint './src/**/*.{css,scss,sass,vue}' --fix",
|
|
227
|
+
"test": "pnpm test:unit && pnpm test:mcp && pnpm test:browser",
|
|
228
|
+
"test:mcp": "pnpm build:mcp && vitest run --project mcp",
|
|
229
|
+
"test:unit": "vitest run --project unit",
|
|
230
|
+
"test:unit:open": "vitest --project unit",
|
|
231
|
+
"test:browser:install": "playwright install --with-deps chromium firefox webkit",
|
|
232
|
+
"test:browser": "vitest run --project browser",
|
|
233
|
+
"test:browser:open": "vitest --project browser --browser.headless=false",
|
|
234
|
+
"semantic-release": "semantic-release"
|
|
236
235
|
}
|
|
237
|
-
}
|
|
236
|
+
}
|
package/dist/kongponents206.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const C=require("./kongponents238.cjs"),h=require("./kongponents239.cjs"),M=require("./kongponents240.cjs");var L="Expected a function",_=Math.max,q=Math.min;function O(x,t,c){var r,f,s,a,n,u,d=0,E=!1,l=!1,v=!0;if(typeof x!="function")throw new TypeError(L);t=M.default(t)||0,C.default(c)&&(E=!0,l="maxWait"in c,s=l?_(M.default(c.maxWait)||0,t):s,v="trailing"in c?!0:v);function g(e){var i=r,o=f;return r=f=void 0,d=e,a=x.apply(o,i),a}function S(e){return d=e,n=setTimeout(m,t),E?g(e):a}function W(e){var i=e-u,o=e-d,I=t-i;return l?q(I,s-o):I}function b(e){var i=e-u,o=e-d;return u===void 0||i>=t||i<0||l&&o>=s}function m(){var e=h.default();if(b(e))return k(e);n=setTimeout(m,W(e))}function k(e){return n=void 0,v&&r?g(e):(r=f=void 0,a)}function p(){n!==void 0&&clearTimeout(n),d=0,r=u=f=n=void 0}function y(){return n===void 0?a:k(h.default())}function T(){var e=h.default(),i=b(e);if(r=arguments,f=this,u=e,i){if(n===void 0)return S(u);if(l)return clearTimeout(n),n=setTimeout(m,t),g(u)}return n===void 0&&(n=setTimeout(m,t)),a}return T.cancel=p,T.flush=y,T}exports.default=O;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import S from "./kongponents238.es.js";
|
|
2
|
-
import h from "./kongponents239.es.js";
|
|
3
|
-
import W from "./kongponents240.es.js";
|
|
4
|
-
var y = "Expected a function", R = Math.max, A = Math.min;
|
|
5
|
-
function _(x, i, l) {
|
|
6
|
-
var u, f, c, a, n, r, o = 0, p = !1, d = !1, v = !0;
|
|
7
|
-
if (typeof x != "function")
|
|
8
|
-
throw new TypeError(y);
|
|
9
|
-
i = W(i) || 0, S(l) && (p = !0, d = "maxWait" in l, c = d ? R(W(l.maxWait) || 0, i) : c, v = "trailing" in l ? !0 : v);
|
|
10
|
-
function g(e) {
|
|
11
|
-
var t = u, m = f;
|
|
12
|
-
return u = f = void 0, o = e, a = x.apply(m, t), a;
|
|
13
|
-
}
|
|
14
|
-
function b(e) {
|
|
15
|
-
return o = e, n = setTimeout(s, i), p ? g(e) : a;
|
|
16
|
-
}
|
|
17
|
-
function C(e) {
|
|
18
|
-
var t = e - r, m = e - o, I = i - t;
|
|
19
|
-
return d ? A(I, c - m) : I;
|
|
20
|
-
}
|
|
21
|
-
function E(e) {
|
|
22
|
-
var t = e - r, m = e - o;
|
|
23
|
-
return r === void 0 || t >= i || t < 0 || d && m >= c;
|
|
24
|
-
}
|
|
25
|
-
function s() {
|
|
26
|
-
var e = h();
|
|
27
|
-
if (E(e))
|
|
28
|
-
return k(e);
|
|
29
|
-
n = setTimeout(s, C(e));
|
|
30
|
-
}
|
|
31
|
-
function k(e) {
|
|
32
|
-
return n = void 0, v && u ? g(e) : (u = f = void 0, a);
|
|
33
|
-
}
|
|
34
|
-
function L() {
|
|
35
|
-
n !== void 0 && clearTimeout(n), o = 0, u = r = f = n = void 0;
|
|
36
|
-
}
|
|
37
|
-
function M() {
|
|
38
|
-
return n === void 0 ? a : k(h());
|
|
39
|
-
}
|
|
40
|
-
function T() {
|
|
41
|
-
var e = h(), t = E(e);
|
|
42
|
-
if (u = arguments, f = this, r = e, t) {
|
|
43
|
-
if (n === void 0)
|
|
44
|
-
return b(r);
|
|
45
|
-
if (d)
|
|
46
|
-
return clearTimeout(n), n = setTimeout(s, i), g(r);
|
|
47
|
-
}
|
|
48
|
-
return n === void 0 && (n = setTimeout(s, i)), a;
|
|
49
|
-
}
|
|
50
|
-
return T.cancel = L, T.flush = M, T;
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
_ as default
|
|
54
|
-
};
|
package/dist/kongponents232.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("v-calendar"),P=require("./kongponents310.cjs"),F=require("./kongponents322.cjs"),f=require("./kongponents210.cjs"),R=require("./kongponents317.cjs"),q=require("./kongponents313.cjs"),I=require("./kongponents315.cjs"),$={class:"calendar-wrapper"},p={key:2,class:"time-wrapper"},A={class:"time-inputs-container"},U={class:"time-input-column"},Y=["for"],j={key:0},z={key:1},W=["id","step"],O={class:"time-input-column"},J=["for"],K={key:0},L=["id","step"],Q={key:0,class:"help-text"},X=e.defineComponent({__name:"CalendarWrapper",props:e.mergeModels({isRange:{type:Boolean},kDatePickerMode:{},maxDate:{default:()=>{}},minDate:{default:()=>{}},errorMessage:{default:()=>{}},timeGranularity:{default:"minutely"},sameDayFullRange:{type:Boolean,default:!1},customRangeValidation:{type:Function,default:void 0}},{modelValue:{required:!0},modelModifiers:{},error:{type:Boolean,default:!1},errorModifiers:{}}),emits:["update:modelValue","update:error"],setup(a,{expose:G}){const u=(l,n)=>n==="secondly"?f.default(l,"HH:mm:ss"):f.default(l,"HH:mm"),t=e.useModel(a,"modelValue"),m=e.useModel(a,"error"),i=e.ref(u(new Date,a.timeGranularity)),s=e.ref(u(new Date,a.timeGranularity)),c=e.ref({start:u(new Date,a.timeGranularity),end:u(new Date,a.timeGranularity)}),v=e.useId(),b=e.computed(()=>a.isRange&&o(t.value)?{year:t.value.start.getFullYear(),month:t.value.start.getMonth()+1}:t.value instanceof Date?{year:t.value.getFullYear(),month:t.value.getMonth()+1}:a.maxDate&&P.default(a.maxDate,F.default())?{year:a.maxDate.getFullYear(),month:a.maxDate.getMonth()+1}:{year:new Date().getFullYear(),month:new Date().getMonth()+1}),D=e.computed(()=>({borderless:!0,color:"blue",dragAttribute:T,expanded:!0,initialPage:b.value,maxDate:a.maxDate,minDate:a.minDate,mode:"date",modelConfig:C,selectAttribute:N,transparent:!0,trimWeeks:!0})),k=e.computed(()=>["time","dateTime","relativeDateTime"].includes(a.kDatePickerMode)),h=e.computed(()=>{switch(a.timeGranularity){case"minutely":return 60;case"secondly":return 1;default:return 60}}),y=(l,n)=>l>n?!0:a.customRangeValidation?a.customRangeValidation(l,n):!1,o=l=>!l||typeof l!="object"||!("start"in l)||!("end"in l)?!1:l.start instanceof Date&&l.end instanceof Date,w=()=>{if(!a.sameDayFullRange||!a.isRange||!o(t.value))return!1;const l=t.value.start.getTime(),n=t.value.end.getTime(),r=a.timeGranularity==="secondly"?"HH:mm:ss":"HH:mm",d=i.value?R.default(i.value,r,t.value.start).getTime():l,g=s.value?R.default(s.value,r,t.value.end).getTime():n,S=q.default(t.value.start,t.value.end);return(I.default(t.value.start,t.value.end)||S&&(d>=g||l>=n))&&(t.value.start.setHours(0,0,0,0),t.value.end.setHours(23,59,59,999)),!0},V=()=>{k.value&&(a.isRange&&o(t.value)?(i.value=u(t.value.start,a.timeGranularity),s.value=u(t.value.end,a.timeGranularity)):t.value instanceof Date?i.value=u(t.value,a.timeGranularity):i.value=u(new Date,a.timeGranularity))},M=l=>{const n=l.split(":"),r=parseInt(n[0]??"0",10),d=parseInt(n[1]??"0",10),g=a.timeGranularity==="secondly"&&n[2]?parseInt(n[2],10):0;return{hours:r,minutes:d,seconds:g}};e.onMounted(()=>{V(),c.value.start=i.value,c.value.end=s.value});const C={type:"number"},T={key:"select-drag",highlight:{start:{contentClass:"vcal-day-drag-start"},base:{contentClass:"vcal-day-drag-base"},end:{contentClass:"vcal-day-drag-end"}}},N={key:"select-calendar",highlight:{start:{contentClass:"vcal-day-start"},base:{contentClass:"vcal-day-base"},end:{contentClass:"vcal-day-end"}}};e.watch(()=>i.value,l=>{if(!l)return;const{hours:n,minutes:r,seconds:d}=M(l);a.isRange&&o(t.value)?(t.value.start.setHours(n,r,d,0),m.value=y(t.value.start,t.value.end)):t.value instanceof Date&&t.value.setHours(n,r,d,0)}),e.watch(()=>s.value,l=>{if(!l)return;const{hours:n,minutes:r,seconds:d}=M(l);a.isRange&&o(t.value)&&(t.value.end.setHours(n,r,d,0),m.value=y(t.value.start,t.value.end))}),e.watch(()=>t.value,()=>{a.isRange&&o(t.value)?(w(),i.value=u(t.value.start,a.timeGranularity),s.value=u(t.value.end,a.timeGranularity),m.value=y(t.value.start,t.value.end)):t.value instanceof Date&&(i.value=u(t.value,a.timeGranularity))},{immediate:!1,deep:!0}),e.watch(()=>a.timeGranularity,()=>{a.isRange&&o(t.value)?(c.value.start=u(t.value.start,a.timeGranularity),c.value.end=u(t.value.end,a.timeGranularity)):t.value instanceof Date&&(c.value.start=u(t.value,a.timeGranularity))});const E=()=>a.isRange&&o(t.value),H=()=>{i.value=c.value.start,s.value=c.value.end},B=l=>{try{return f.default(l,"EEE MMM d yyyy")}catch(n){console.warn("Error formatting date:",n)}};return G({resetTime:H,initTimeInputs:V}),(l,n)=>(e.openBlock(),e.createElementBlock("div",$,[a.isRange?(e.openBlock(),e.createBlock(e.unref(x.DatePicker),e.mergeProps({key:0},D.value,{modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=r=>t.value=r),modelModifiers:{range:!0}}),null,16,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(x.DatePicker),e.mergeProps({key:1},D.value,{modelValue:t.value,"onUpdate:modelValue":n[1]||(n[1]=r=>t.value=r)}),null,16,["modelValue"])),k.value?(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",A,[e.createElementVNode("div",U,[e.createElementVNode("label",{class:"time-input-label",for:`time-input-start-${e.unref(v)}`},[E()?(e.openBlock(),e.createElementBlock("span",j,e.toDisplayString(B(t.value.start)),1)):t.value&&t.value instanceof Date?(e.openBlock(),e.createElementBlock("span",z,e.toDisplayString(B(t.value)),1)):e.createCommentVNode("",!0)],8,Y),e.withDirectives(e.createElementVNode("input",{id:`time-input-start-${e.unref(v)}`,"onUpdate:modelValue":n[2]||(n[2]=r=>i.value=r),class:e.normalizeClass(["time-input-start",{"input-error":m.value}]),"data-testid":"time-input-start",step:h.value,type:"time"},null,10,W),[[e.vModelText,i.value]])]),a.isRange?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n[4]||(n[4]=e.createElementVNode("div",{class:"time-input-separator"}," - ",-1)),e.createElementVNode("div",O,[e.createElementVNode("label",{class:"time-input-label",for:`time-input-end-${e.unref(v)}`},[E()?(e.openBlock(),e.createElementBlock("span",K,e.toDisplayString(e.unref(f.default)(t.value.end,"EEE MMM d yyyy")),1)):e.createCommentVNode("",!0)],8,J),e.withDirectives(e.createElementVNode("input",{id:`time-input-end-${e.unref(v)}`,"onUpdate:modelValue":n[3]||(n[3]=r=>s.value=r),class:e.normalizeClass(["time-input-end",{"input-error":m.value}]),"data-testid":"time-input-end",step:h.value,type:"time"},null,10,L),[[e.vModelText,s.value]])])],64)):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{mode:"out-in",name:"kongponents-fade-transition"},{default:e.withCtx(()=>[m.value&&a.errorMessage?(e.openBlock(),e.createElementBlock("div",Q,e.toDisplayString(a.errorMessage),1)):e.createCommentVNode("",!0)]),_:1})])):e.createCommentVNode("",!0)]))}});exports.default=X;
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { defineComponent as K, useModel as F, ref as T, useId as L, computed as h, onMounted as Q, watch as M, openBlock as s, createElementBlock as v, createBlock as I, unref as f, mergeProps as P, createElementVNode as m, toDisplayString as V, createCommentVNode as g, withDirectives as B, normalizeClass as A, vModelText as U, Fragment as X, createVNode as Z, Transition as _, withCtx as ee, mergeModels as te } from "vue";
|
|
2
|
-
import { DatePicker as Y } from "v-calendar";
|
|
3
|
-
import ae from "./kongponents310.es.js";
|
|
4
|
-
import ne from "./kongponents322.es.js";
|
|
5
|
-
import k from "./kongponents210.es.js";
|
|
6
|
-
import $ from "./kongponents317.es.js";
|
|
7
|
-
import le from "./kongponents313.es.js";
|
|
8
|
-
import ie from "./kongponents315.es.js";
|
|
9
|
-
const re = { class: "calendar-wrapper" }, ue = {
|
|
10
|
-
key: 2,
|
|
11
|
-
class: "time-wrapper"
|
|
12
|
-
}, se = { class: "time-inputs-container" }, oe = { class: "time-input-column" }, de = ["for"], me = { key: 0 }, ce = { key: 1 }, ve = ["id", "step"], fe = { class: "time-input-column" }, ye = ["for"], ge = { key: 0 }, De = ["id", "step"], he = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "help-text"
|
|
15
|
-
}, He = /* @__PURE__ */ K({
|
|
16
|
-
__name: "CalendarWrapper",
|
|
17
|
-
props: /* @__PURE__ */ te({
|
|
18
|
-
isRange: { type: Boolean },
|
|
19
|
-
kDatePickerMode: {},
|
|
20
|
-
maxDate: { default: () => {
|
|
21
|
-
} },
|
|
22
|
-
minDate: { default: () => {
|
|
23
|
-
} },
|
|
24
|
-
errorMessage: { default: () => {
|
|
25
|
-
} },
|
|
26
|
-
timeGranularity: { default: "minutely" },
|
|
27
|
-
sameDayFullRange: { type: Boolean, default: !1 },
|
|
28
|
-
customRangeValidation: { type: Function, default: void 0 }
|
|
29
|
-
}, {
|
|
30
|
-
modelValue: { required: !0 },
|
|
31
|
-
modelModifiers: {},
|
|
32
|
-
error: { type: Boolean, default: !1 },
|
|
33
|
-
errorModifiers: {}
|
|
34
|
-
}),
|
|
35
|
-
emits: ["update:modelValue", "update:error"],
|
|
36
|
-
setup(t, { expose: N }) {
|
|
37
|
-
const i = (n, a) => a === "secondly" ? k(n, "HH:mm:ss") : k(n, "HH:mm"), e = F(t, "modelValue"), y = F(t, "error"), r = T(i(/* @__PURE__ */ new Date(), t.timeGranularity)), u = T(i(/* @__PURE__ */ new Date(), t.timeGranularity)), c = T({
|
|
38
|
-
start: i(/* @__PURE__ */ new Date(), t.timeGranularity),
|
|
39
|
-
end: i(/* @__PURE__ */ new Date(), t.timeGranularity)
|
|
40
|
-
}), D = L(), W = h(() => t.isRange && o(e.value) ? { year: e.value.start.getFullYear(), month: e.value.start.getMonth() + 1 } : e.value instanceof Date ? { year: e.value.getFullYear(), month: e.value.getMonth() + 1 } : t.maxDate && ae(t.maxDate, ne()) ? { year: t.maxDate.getFullYear(), month: t.maxDate.getMonth() + 1 } : { year: (/* @__PURE__ */ new Date()).getFullYear(), month: (/* @__PURE__ */ new Date()).getMonth() + 1 }), b = h(() => ({
|
|
41
|
-
borderless: !0,
|
|
42
|
-
color: "blue",
|
|
43
|
-
dragAttribute: q,
|
|
44
|
-
expanded: !0,
|
|
45
|
-
initialPage: W.value,
|
|
46
|
-
maxDate: t.maxDate,
|
|
47
|
-
minDate: t.minDate,
|
|
48
|
-
mode: "date",
|
|
49
|
-
modelConfig: p,
|
|
50
|
-
selectAttribute: z,
|
|
51
|
-
transparent: !0,
|
|
52
|
-
trimWeeks: !0
|
|
53
|
-
})), w = h(() => ["time", "dateTime", "relativeDateTime"].includes(t.kDatePickerMode)), x = h(() => {
|
|
54
|
-
switch (t.timeGranularity) {
|
|
55
|
-
case "minutely":
|
|
56
|
-
return 60;
|
|
57
|
-
case "secondly":
|
|
58
|
-
return 1;
|
|
59
|
-
default:
|
|
60
|
-
return 60;
|
|
61
|
-
}
|
|
62
|
-
}), R = (n, a) => n > a ? !0 : t.customRangeValidation ? t.customRangeValidation(n, a) : !1, o = (n) => !n || typeof n != "object" || !("start" in n) || !("end" in n) ? !1 : n.start instanceof Date && n.end instanceof Date, j = () => {
|
|
63
|
-
if (!t.sameDayFullRange || !t.isRange || !o(e.value))
|
|
64
|
-
return !1;
|
|
65
|
-
const n = e.value.start.getTime(), a = e.value.end.getTime(), l = t.timeGranularity === "secondly" ? "HH:mm:ss" : "HH:mm", d = r.value ? $(r.value, l, e.value.start).getTime() : n, G = u.value ? $(u.value, l, e.value.end).getTime() : a, J = le(e.value.start, e.value.end);
|
|
66
|
-
return (ie(e.value.start, e.value.end) || J && (d >= G || n >= a)) && (e.value.start.setHours(0, 0, 0, 0), e.value.end.setHours(23, 59, 59, 999)), !0;
|
|
67
|
-
}, H = () => {
|
|
68
|
-
w.value && (t.isRange && o(e.value) ? (r.value = i(e.value.start, t.timeGranularity), u.value = i(e.value.end, t.timeGranularity)) : e.value instanceof Date ? r.value = i(e.value, t.timeGranularity) : r.value = i(/* @__PURE__ */ new Date(), t.timeGranularity));
|
|
69
|
-
}, C = (n) => {
|
|
70
|
-
const a = n.split(":"), l = parseInt(a[0] ?? "0", 10), d = parseInt(a[1] ?? "0", 10), G = t.timeGranularity === "secondly" && a[2] ? parseInt(a[2], 10) : 0;
|
|
71
|
-
return { hours: l, minutes: d, seconds: G };
|
|
72
|
-
};
|
|
73
|
-
Q(() => {
|
|
74
|
-
H(), c.value.start = r.value, c.value.end = u.value;
|
|
75
|
-
});
|
|
76
|
-
const p = { type: "number" }, q = {
|
|
77
|
-
key: "select-drag",
|
|
78
|
-
highlight: {
|
|
79
|
-
start: { contentClass: "vcal-day-drag-start" },
|
|
80
|
-
base: { contentClass: "vcal-day-drag-base" },
|
|
81
|
-
end: { contentClass: "vcal-day-drag-end" }
|
|
82
|
-
}
|
|
83
|
-
}, z = {
|
|
84
|
-
key: "select-calendar",
|
|
85
|
-
highlight: {
|
|
86
|
-
start: { contentClass: "vcal-day-start" },
|
|
87
|
-
base: { contentClass: "vcal-day-base" },
|
|
88
|
-
end: { contentClass: "vcal-day-end" }
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
M(() => r.value, (n) => {
|
|
92
|
-
if (!n)
|
|
93
|
-
return;
|
|
94
|
-
const { hours: a, minutes: l, seconds: d } = C(n);
|
|
95
|
-
t.isRange && o(e.value) ? (e.value.start.setHours(a, l, d, 0), y.value = R(e.value.start, e.value.end)) : e.value instanceof Date && e.value.setHours(a, l, d, 0);
|
|
96
|
-
}), M(() => u.value, (n) => {
|
|
97
|
-
if (!n)
|
|
98
|
-
return;
|
|
99
|
-
const { hours: a, minutes: l, seconds: d } = C(n);
|
|
100
|
-
t.isRange && o(e.value) && (e.value.end.setHours(a, l, d, 0), y.value = R(e.value.start, e.value.end));
|
|
101
|
-
}), M(() => e.value, () => {
|
|
102
|
-
t.isRange && o(e.value) ? (j(), r.value = i(e.value.start, t.timeGranularity), u.value = i(e.value.end, t.timeGranularity), y.value = R(e.value.start, e.value.end)) : e.value instanceof Date && (r.value = i(e.value, t.timeGranularity));
|
|
103
|
-
}, { immediate: !1, deep: !0 }), M(() => t.timeGranularity, () => {
|
|
104
|
-
t.isRange && o(e.value) ? (c.value.start = i(e.value.start, t.timeGranularity), c.value.end = i(e.value.end, t.timeGranularity)) : e.value instanceof Date && (c.value.start = i(e.value, t.timeGranularity));
|
|
105
|
-
});
|
|
106
|
-
const E = () => t.isRange && o(e.value), O = () => {
|
|
107
|
-
r.value = c.value.start, u.value = c.value.end;
|
|
108
|
-
}, S = (n) => {
|
|
109
|
-
try {
|
|
110
|
-
return k(n, "EEE MMM d yyyy");
|
|
111
|
-
} catch (a) {
|
|
112
|
-
console.warn("Error formatting date:", a);
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
return N({
|
|
116
|
-
resetTime: O,
|
|
117
|
-
initTimeInputs: H
|
|
118
|
-
}), (n, a) => (s(), v("div", re, [
|
|
119
|
-
t.isRange ? (s(), I(f(Y), P({ key: 0 }, b.value, {
|
|
120
|
-
modelValue: e.value,
|
|
121
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) => e.value = l),
|
|
122
|
-
modelModifiers: { range: !0 }
|
|
123
|
-
}), null, 16, ["modelValue"])) : (s(), I(f(Y), P({ key: 1 }, b.value, {
|
|
124
|
-
modelValue: e.value,
|
|
125
|
-
"onUpdate:modelValue": a[1] || (a[1] = (l) => e.value = l)
|
|
126
|
-
}), null, 16, ["modelValue"])),
|
|
127
|
-
w.value ? (s(), v("div", ue, [
|
|
128
|
-
m("div", se, [
|
|
129
|
-
m("div", oe, [
|
|
130
|
-
m("label", {
|
|
131
|
-
class: "time-input-label",
|
|
132
|
-
for: `time-input-start-${f(D)}`
|
|
133
|
-
}, [
|
|
134
|
-
E() ? (s(), v("span", me, V(S(e.value.start)), 1)) : e.value && e.value instanceof Date ? (s(), v("span", ce, V(S(e.value)), 1)) : g("", !0)
|
|
135
|
-
], 8, de),
|
|
136
|
-
B(m("input", {
|
|
137
|
-
id: `time-input-start-${f(D)}`,
|
|
138
|
-
"onUpdate:modelValue": a[2] || (a[2] = (l) => r.value = l),
|
|
139
|
-
class: A(["time-input-start", { "input-error": y.value }]),
|
|
140
|
-
"data-testid": "time-input-start",
|
|
141
|
-
step: x.value,
|
|
142
|
-
type: "time"
|
|
143
|
-
}, null, 10, ve), [
|
|
144
|
-
[U, r.value]
|
|
145
|
-
])
|
|
146
|
-
]),
|
|
147
|
-
t.isRange ? (s(), v(X, { key: 0 }, [
|
|
148
|
-
a[4] || (a[4] = m("div", { class: "time-input-separator" }, " - ", -1)),
|
|
149
|
-
m("div", fe, [
|
|
150
|
-
m("label", {
|
|
151
|
-
class: "time-input-label",
|
|
152
|
-
for: `time-input-end-${f(D)}`
|
|
153
|
-
}, [
|
|
154
|
-
E() ? (s(), v("span", ge, V(f(k)(e.value.end, "EEE MMM d yyyy")), 1)) : g("", !0)
|
|
155
|
-
], 8, ye),
|
|
156
|
-
B(m("input", {
|
|
157
|
-
id: `time-input-end-${f(D)}`,
|
|
158
|
-
"onUpdate:modelValue": a[3] || (a[3] = (l) => u.value = l),
|
|
159
|
-
class: A(["time-input-end", { "input-error": y.value }]),
|
|
160
|
-
"data-testid": "time-input-end",
|
|
161
|
-
step: x.value,
|
|
162
|
-
type: "time"
|
|
163
|
-
}, null, 10, De), [
|
|
164
|
-
[U, u.value]
|
|
165
|
-
])
|
|
166
|
-
])
|
|
167
|
-
], 64)) : g("", !0)
|
|
168
|
-
]),
|
|
169
|
-
Z(_, {
|
|
170
|
-
mode: "out-in",
|
|
171
|
-
name: "kongponents-fade-transition"
|
|
172
|
-
}, {
|
|
173
|
-
default: ee(() => [
|
|
174
|
-
y.value && t.errorMessage ? (s(), v("div", he, V(t.errorMessage), 1)) : g("", !0)
|
|
175
|
-
]),
|
|
176
|
-
_: 1
|
|
177
|
-
})
|
|
178
|
-
])) : g("", !0)
|
|
179
|
-
]));
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
export {
|
|
183
|
-
He as default
|
|
184
|
-
};
|