@kong/kongponents 9.66.11 → 9.66.12
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/mcp-data/snapshot.json.gz +0 -0
- package/dist/kongponents.css +1 -1
- package/dist/kongponents104.cjs +1 -1
- package/dist/kongponents104.es.js +4 -4
- package/dist/kongponents115.cjs +1 -1
- package/dist/kongponents115.es.js +1 -1
- package/dist/kongponents117.cjs +1 -1
- package/dist/kongponents117.es.js +1 -1
- package/dist/kongponents121.cjs +1 -1
- package/dist/kongponents121.es.js +1 -1
- package/dist/kongponents123.cjs +1 -1
- package/dist/kongponents123.es.js +3 -3
- package/dist/kongponents127.cjs +1 -1
- package/dist/kongponents127.es.js +5 -5
- package/dist/kongponents130.cjs +1 -1
- package/dist/kongponents130.es.js +2 -2
- package/dist/kongponents132.cjs +1 -1
- package/dist/kongponents132.es.js +4 -4
- package/dist/kongponents138.cjs +1 -1
- package/dist/kongponents138.es.js +1 -1
- package/dist/kongponents140.cjs +1 -1
- package/dist/kongponents140.es.js +6 -6
- package/dist/kongponents147.cjs +1 -1
- package/dist/kongponents147.es.js +3 -3
- package/dist/kongponents149.cjs +1 -1
- package/dist/kongponents149.es.js +1 -1
- package/dist/kongponents151.cjs +1 -1
- package/dist/kongponents151.es.js +3 -3
- package/dist/kongponents155.cjs +1 -1
- package/dist/kongponents155.es.js +2 -2
- package/dist/kongponents163.cjs +1 -1
- package/dist/kongponents163.es.js +1 -1
- package/dist/kongponents165.cjs +1 -1
- package/dist/kongponents165.es.js +3 -3
- package/dist/kongponents167.cjs +1 -1
- package/dist/kongponents167.es.js +1 -1
- package/dist/kongponents169.cjs +1 -1
- package/dist/kongponents169.es.js +6 -6
- package/dist/kongponents182.cjs +1 -1
- package/dist/kongponents182.es.js +4 -97
- package/dist/kongponents184.cjs +1 -1
- package/dist/kongponents184.es.js +97 -18
- package/dist/kongponents185.cjs +1 -1
- package/dist/kongponents185.es.js +4 -4
- package/dist/kongponents186.cjs +1 -1
- package/dist/kongponents186.es.js +5 -36
- package/dist/kongponents187.cjs +1 -2
- package/dist/kongponents187.es.js +201 -86
- package/dist/kongponents188.cjs +1 -1
- package/dist/kongponents188.es.js +2 -17
- package/dist/kongponents190.cjs +1 -1
- package/dist/kongponents190.es.js +5 -52
- package/dist/kongponents191.cjs +1 -1
- package/dist/kongponents191.es.js +7 -212
- package/dist/kongponents192.cjs +1 -1
- package/dist/kongponents192.es.js +60 -2
- package/dist/kongponents193.cjs +1 -0
- package/dist/kongponents193.es.js +38 -0
- package/dist/kongponents194.cjs +2 -1
- package/dist/kongponents194.es.js +98 -5
- package/dist/kongponents195.cjs +1 -1
- package/dist/kongponents195.es.js +16 -7
- package/dist/kongponents196.cjs +1 -1
- package/dist/kongponents196.es.js +18 -59
- package/dist/kongponents197.cjs +1 -1
- package/dist/kongponents197.es.js +52 -17
- package/dist/kongponents198.cjs +1 -1
- package/dist/kongponents198.es.js +4 -4
- package/dist/kongponents199.cjs +1 -1
- package/dist/kongponents199.es.js +21 -5
- package/dist/kongponents200.cjs +1 -1
- package/dist/kongponents200.es.js +17 -5
- package/dist/kongponents201.cjs +1 -1
- package/dist/kongponents201.es.js +5 -21
- package/dist/kongponents202.cjs +1 -1
- package/dist/kongponents202.es.js +3 -3
- package/dist/kongponents203.cjs +1 -1
- package/dist/kongponents203.es.js +4 -4
- package/dist/kongponents204.cjs +1 -1
- package/dist/kongponents204.es.js +6 -4
- package/dist/kongponents205.cjs +1 -1
- package/dist/kongponents205.es.js +5 -5
- package/dist/kongponents206.cjs +1 -1
- package/dist/kongponents206.es.js +185 -5
- package/dist/kongponents207.cjs +1 -1
- package/dist/kongponents207.es.js +3 -3
- package/dist/kongponents208.cjs +1 -1
- package/dist/kongponents208.es.js +4 -4
- package/dist/kongponents209.cjs +1 -1
- package/dist/kongponents209.es.js +10 -5
- package/dist/kongponents210.cjs +1 -1
- package/dist/kongponents210.es.js +14 -4
- package/dist/kongponents211.cjs +1 -1
- package/dist/kongponents211.es.js +1 -1
- package/dist/kongponents212.cjs +1 -1
- package/dist/kongponents212.es.js +1 -1
- package/dist/kongponents213.cjs +1 -1
- package/dist/kongponents213.es.js +4 -6
- package/dist/kongponents214.cjs +1 -1
- package/dist/kongponents214.es.js +5 -185
- package/dist/kongponents215.cjs +1 -1
- package/dist/kongponents215.es.js +3 -3
- package/dist/kongponents216.cjs +1 -1
- package/dist/kongponents216.es.js +5 -15
- package/dist/kongponents217.cjs +1 -1
- package/dist/kongponents217.es.js +4 -4
- package/dist/kongponents218.cjs +1 -1
- package/dist/kongponents218.es.js +5 -10
- package/dist/kongponents219.cjs +1 -1
- package/dist/kongponents219.es.js +31 -55
- package/dist/kongponents220.cjs +1 -0
- package/dist/kongponents220.es.js +57 -0
- package/dist/kongponents222.cjs +1 -1
- package/dist/kongponents222.es.js +2 -182
- package/dist/kongponents223.cjs +1 -0
- package/dist/kongponents223.es.js +184 -0
- package/dist/kongponents225.cjs +1 -1
- package/dist/kongponents225.es.js +6 -24
- package/dist/{kongponents276.cjs → kongponents226.cjs} +1 -1
- package/dist/{kongponents276.es.js → kongponents226.es.js} +1 -1
- package/dist/kongponents231.cjs +1 -1
- package/dist/kongponents231.es.js +9 -23
- package/dist/kongponents232.cjs +1 -0
- package/dist/kongponents232.es.js +9 -0
- package/dist/kongponents233.cjs +1 -1
- package/dist/kongponents233.es.js +8 -44
- package/dist/kongponents234.cjs +1 -0
- package/dist/kongponents234.es.js +7 -0
- package/dist/kongponents235.cjs +1 -1
- package/dist/kongponents235.es.js +10 -41
- package/dist/kongponents236.cjs +1 -0
- package/dist/kongponents236.es.js +11 -0
- package/dist/kongponents237.cjs +1 -1
- package/dist/kongponents237.es.js +601 -54
- package/dist/kongponents238.cjs +1 -0
- package/dist/kongponents238.es.js +73 -0
- package/dist/kongponents239.cjs +1 -1
- package/dist/kongponents239.es.js +5 -2
- package/dist/kongponents240.cjs +1 -1
- package/dist/kongponents240.es.js +19 -8
- package/dist/kongponents241.cjs +1 -1
- package/dist/kongponents241.es.js +4 -6
- package/dist/kongponents242.cjs +1 -1
- package/dist/kongponents242.es.js +18 -8
- package/dist/kongponents243.cjs +1 -1
- package/dist/kongponents243.es.js +7 -4
- package/dist/kongponents244.cjs +1 -1
- package/dist/kongponents244.es.js +5 -9
- package/dist/kongponents245.cjs +1 -1
- package/dist/kongponents245.es.js +8 -8
- package/dist/kongponents246.cjs +1 -1
- package/dist/kongponents246.es.js +7 -601
- package/dist/kongponents247.cjs +1 -1
- package/dist/kongponents247.es.js +8 -71
- package/dist/kongponents248.cjs +1 -1
- package/dist/kongponents248.es.js +7 -4
- package/dist/kongponents249.cjs +1 -1
- package/dist/kongponents249.es.js +7 -19
- package/dist/kongponents25.cjs +1 -1
- package/dist/kongponents25.es.js +6 -6
- package/dist/kongponents250.cjs +1 -1
- package/dist/kongponents250.es.js +124 -4
- package/dist/kongponents251.cjs +2 -1
- package/dist/kongponents251.es.js +48 -17
- package/dist/kongponents252.cjs +1 -1
- package/dist/kongponents252.es.js +7 -7
- package/dist/kongponents253.cjs +1 -1
- package/dist/kongponents253.es.js +57 -6
- package/dist/kongponents254.cjs +1 -1
- package/dist/kongponents254.es.js +65 -9
- package/dist/kongponents255.cjs +1 -1
- package/dist/kongponents255.es.js +4 -7
- package/dist/kongponents256.cjs +1 -1
- package/dist/kongponents256.es.js +4 -8
- package/dist/kongponents257.cjs +1 -1
- package/dist/kongponents257.es.js +20 -7
- package/dist/kongponents258.cjs +1 -1
- package/dist/kongponents258.es.js +5 -8
- package/dist/kongponents259.cjs +1 -1
- package/dist/kongponents259.es.js +91 -119
- package/dist/kongponents260.cjs +1 -2
- package/dist/kongponents260.es.js +169 -46
- package/dist/kongponents261.cjs +1 -1
- package/dist/kongponents261.es.js +5 -8
- package/dist/kongponents262.cjs +1 -1
- package/dist/kongponents262.es.js +7 -57
- package/dist/kongponents263.cjs +1 -1
- package/dist/kongponents263.es.js +5 -65
- package/dist/kongponents264.cjs +1 -1
- package/dist/kongponents264.es.js +4 -4
- package/dist/kongponents265.cjs +1 -1
- package/dist/kongponents265.es.js +70 -4
- package/dist/kongponents266.cjs +1 -1
- package/dist/kongponents266.es.js +2 -21
- package/dist/kongponents267.cjs +1 -1
- package/dist/kongponents267.es.js +55 -5
- package/dist/kongponents269.cjs +1 -1
- package/dist/kongponents269.es.js +176 -170
- package/dist/kongponents27.cjs +1 -1
- package/dist/kongponents27.es.js +2 -2
- package/dist/kongponents271.cjs +1 -1
- package/dist/kongponents271.es.js +87 -7
- package/dist/kongponents273.cjs +1 -1
- package/dist/kongponents273.es.js +45 -5
- package/dist/kongponents275.cjs +1 -1
- package/dist/kongponents275.es.js +91 -2
- package/dist/kongponents277.cjs +1 -0
- package/dist/kongponents277.es.js +248 -0
- package/dist/kongponents279.cjs +1 -0
- package/dist/kongponents279.es.js +26 -0
- package/dist/kongponents281.cjs +1 -1
- package/dist/kongponents281.es.js +48 -5
- package/dist/kongponents283.cjs +1 -1
- package/dist/kongponents283.es.js +34 -4
- package/dist/kongponents285.cjs +1 -1
- package/dist/kongponents285.es.js +22 -5
- package/dist/kongponents287.cjs +1 -1
- package/dist/kongponents287.es.js +44 -6
- package/dist/kongponents289.cjs +1 -1
- package/dist/kongponents289.es.js +40 -16
- package/dist/kongponents291.cjs +1 -1
- package/dist/kongponents291.es.js +5 -8
- package/dist/kongponents292.cjs +1 -1
- package/dist/kongponents292.es.js +5 -7
- package/dist/kongponents293.cjs +1 -1
- package/dist/kongponents293.es.js +19 -3
- package/dist/kongponents294.cjs +1 -1
- package/dist/kongponents294.es.js +4 -2
- package/dist/kongponents295.cjs +1 -1
- package/dist/kongponents295.es.js +4 -5
- package/dist/kongponents296.cjs +1 -1
- package/dist/kongponents296.es.js +5 -9
- package/dist/kongponents297.cjs +1 -1
- package/dist/kongponents297.es.js +8 -4
- package/dist/kongponents298.cjs +1 -1
- package/dist/kongponents298.es.js +5 -3
- package/dist/kongponents299.cjs +1 -1
- package/dist/kongponents299.es.js +4 -3
- package/dist/kongponents300.cjs +1 -1
- package/dist/kongponents300.es.js +16 -3
- package/dist/kongponents301.cjs +1 -1
- package/dist/kongponents301.es.js +3 -7
- package/dist/kongponents302.cjs +1 -1
- package/dist/kongponents302.es.js +8 -7
- package/dist/kongponents303.cjs +1 -1
- package/dist/kongponents303.es.js +6 -4
- package/dist/kongponents304.cjs +1 -1
- package/dist/kongponents304.es.js +3 -9
- package/dist/kongponents305.cjs +1 -1
- package/dist/kongponents305.es.js +2 -6
- package/dist/kongponents306.cjs +1 -1
- package/dist/kongponents306.es.js +6 -9
- package/dist/kongponents307.cjs +1 -1
- package/dist/kongponents307.es.js +9 -6
- package/dist/kongponents308.cjs +1 -1
- package/dist/kongponents308.es.js +4 -17
- package/dist/kongponents309.cjs +1 -1
- package/dist/kongponents309.es.js +4 -12
- package/dist/kongponents310.cjs +1 -1
- package/dist/kongponents310.es.js +3 -7
- package/dist/kongponents311.cjs +1 -1
- package/dist/kongponents311.es.js +3 -12
- package/dist/kongponents312.cjs +1 -1
- package/dist/kongponents312.es.js +7 -9
- package/dist/kongponents313.cjs +1 -1
- package/dist/kongponents313.es.js +6 -5
- package/dist/kongponents314.cjs +1 -1
- package/dist/kongponents314.es.js +5 -9
- package/dist/kongponents315.cjs +1 -1
- package/dist/kongponents315.es.js +9 -15
- package/dist/kongponents316.cjs +1 -1
- package/dist/kongponents316.es.js +5 -17
- package/dist/kongponents317.cjs +1 -1
- package/dist/kongponents317.es.js +9 -6
- package/dist/kongponents318.cjs +1 -1
- package/dist/kongponents318.es.js +6 -10
- package/dist/kongponents319.cjs +1 -1
- package/dist/kongponents319.es.js +17 -6
- package/dist/kongponents32.cjs +1 -1
- package/dist/kongponents32.es.js +4 -4
- package/dist/kongponents320.cjs +1 -1
- package/dist/kongponents320.es.js +11 -7
- package/dist/kongponents321.cjs +1 -1
- package/dist/kongponents321.es.js +6 -5
- package/dist/kongponents322.cjs +1 -1
- package/dist/kongponents322.es.js +12 -6
- package/dist/kongponents323.cjs +1 -1
- package/dist/kongponents323.es.js +9 -9
- package/dist/kongponents324.cjs +1 -1
- package/dist/kongponents324.es.js +5 -7
- package/dist/kongponents325.cjs +1 -1
- package/dist/kongponents325.es.js +8 -3
- package/dist/kongponents326.cjs +1 -1
- package/dist/kongponents326.es.js +15 -5
- package/dist/kongponents327.cjs +1 -1
- package/dist/kongponents327.es.js +17 -15
- package/dist/kongponents328.cjs +1 -0
- package/dist/kongponents328.es.js +8 -0
- package/dist/kongponents329.cjs +1 -1
- package/dist/kongponents329.es.js +10 -86
- package/dist/kongponents330.cjs +1 -0
- package/dist/kongponents330.es.js +9 -0
- package/dist/kongponents331.cjs +1 -1
- package/dist/kongponents331.es.js +8 -45
- package/dist/kongponents332.cjs +1 -0
- package/dist/kongponents332.es.js +8 -0
- package/dist/kongponents333.cjs +1 -1
- package/dist/kongponents333.es.js +7 -91
- package/dist/kongponents334.cjs +1 -0
- package/dist/kongponents334.es.js +12 -0
- package/dist/kongponents335.cjs +1 -1
- package/dist/kongponents335.es.js +8 -246
- package/dist/kongponents336.cjs +1 -0
- package/dist/kongponents336.es.js +6 -0
- package/dist/kongponents337.cjs +1 -1
- package/dist/kongponents337.es.js +6 -178
- package/dist/kongponents338.cjs +1 -0
- package/dist/kongponents338.es.js +18 -0
- package/dist/kongponents339.cjs +1 -1
- package/dist/kongponents339.es.js +2 -2
- package/dist/kongponents340.cjs +1 -1
- package/dist/kongponents340.es.js +2 -2
- package/dist/kongponents341.cjs +1 -1
- package/dist/kongponents341.es.js +2 -2
- package/dist/kongponents342.cjs +1 -1
- package/dist/kongponents342.es.js +2 -2
- package/dist/kongponents343.cjs +1 -1
- package/dist/kongponents343.es.js +4 -4
- package/dist/kongponents346.cjs +1 -1
- package/dist/kongponents346.es.js +1 -1
- package/dist/kongponents349.cjs +1 -1
- package/dist/kongponents349.es.js +1 -1
- package/dist/kongponents350.cjs +1 -1
- package/dist/kongponents350.es.js +3 -3
- package/dist/kongponents352.cjs +1 -1
- package/dist/kongponents352.es.js +1 -1
- package/dist/kongponents353.cjs +1 -1
- package/dist/kongponents353.es.js +1 -1
- package/dist/kongponents354.cjs +1 -1
- package/dist/kongponents354.es.js +1 -1
- package/dist/kongponents355.cjs +1 -1
- package/dist/kongponents355.es.js +2 -2
- package/dist/kongponents356.cjs +1 -1
- package/dist/kongponents356.es.js +2 -2
- package/dist/kongponents357.cjs +1 -1
- package/dist/kongponents357.es.js +2 -2
- package/dist/kongponents358.cjs +1 -1
- package/dist/kongponents358.es.js +2 -2
- package/dist/kongponents359.cjs +1 -1
- package/dist/kongponents359.es.js +2 -2
- package/dist/kongponents360.cjs +1 -1
- package/dist/kongponents360.es.js +2 -2
- package/dist/kongponents361.cjs +1 -1
- package/dist/kongponents361.es.js +3 -3
- package/dist/kongponents362.cjs +1 -1
- package/dist/kongponents362.es.js +3 -3
- package/dist/kongponents363.cjs +1 -1
- package/dist/kongponents363.es.js +4 -4
- package/dist/kongponents364.cjs +1 -1
- package/dist/kongponents364.es.js +4 -4
- package/dist/kongponents365.cjs +1 -1
- package/dist/kongponents365.es.js +3 -3
- package/dist/kongponents366.cjs +1 -1
- package/dist/kongponents366.es.js +3 -3
- package/dist/kongponents367.cjs +1 -1
- package/dist/kongponents367.es.js +2 -2
- package/dist/kongponents368.cjs +1 -1
- package/dist/kongponents368.es.js +3 -3
- package/dist/kongponents369.cjs +1 -1
- package/dist/kongponents369.es.js +3 -3
- package/dist/kongponents370.cjs +1 -1
- package/dist/kongponents370.es.js +3 -3
- package/dist/kongponents371.cjs +1 -1
- package/dist/kongponents371.es.js +2 -2
- package/dist/kongponents372.cjs +1 -1
- package/dist/kongponents372.es.js +2 -2
- package/dist/kongponents373.cjs +1 -1
- package/dist/kongponents373.es.js +2 -2
- package/dist/kongponents374.cjs +1 -1
- package/dist/kongponents374.es.js +3 -3
- package/dist/kongponents375.cjs +1 -1
- package/dist/kongponents375.es.js +3 -3
- package/dist/kongponents376.cjs +1 -1
- package/dist/kongponents376.es.js +3 -3
- package/dist/kongponents377.cjs +1 -1
- package/dist/kongponents377.es.js +3 -3
- package/dist/kongponents378.cjs +1 -1
- package/dist/kongponents378.es.js +3 -3
- package/dist/kongponents379.cjs +1 -1
- package/dist/kongponents379.es.js +3 -3
- package/dist/kongponents380.cjs +1 -1
- package/dist/kongponents380.es.js +2 -2
- package/dist/kongponents381.cjs +1 -1
- package/dist/kongponents381.es.js +3 -3
- package/dist/kongponents382.cjs +1 -1
- package/dist/kongponents382.es.js +3 -3
- package/dist/kongponents383.cjs +1 -1
- package/dist/kongponents383.es.js +2 -2
- package/dist/kongponents384.cjs +1 -1
- package/dist/kongponents384.es.js +2 -2
- package/dist/kongponents400.cjs +1 -1
- package/dist/kongponents400.es.js +16 -63
- package/dist/kongponents401.cjs +1 -1
- package/dist/kongponents401.es.js +2 -5
- package/dist/kongponents402.cjs +1 -1
- package/dist/kongponents402.es.js +13 -13
- package/dist/kongponents403.cjs +1 -1
- package/dist/kongponents403.es.js +65 -2
- package/dist/kongponents404.cjs +1 -1
- package/dist/kongponents404.es.js +4 -17
- package/dist/kongponents409.cjs +1 -1
- package/dist/kongponents409.es.js +4 -19
- package/dist/kongponents410.cjs +1 -1
- package/dist/kongponents410.es.js +5 -8
- package/dist/kongponents411.cjs +1 -1
- package/dist/kongponents411.es.js +19 -5
- package/dist/kongponents413.cjs +1 -1
- package/dist/kongponents413.es.js +94 -6
- package/dist/kongponents415.cjs +1 -1
- package/dist/kongponents415.es.js +7 -14
- package/dist/kongponents416.cjs +1 -1
- package/dist/kongponents416.es.js +6 -3
- package/dist/kongponents417.cjs +1 -1
- package/dist/kongponents417.es.js +8 -7
- package/dist/kongponents418.cjs +1 -1
- package/dist/kongponents418.es.js +6 -3
- package/dist/kongponents419.cjs +1 -1
- package/dist/kongponents419.es.js +7 -8
- package/dist/kongponents420.cjs +1 -1
- package/dist/kongponents420.es.js +14 -7
- package/dist/kongponents421.cjs +1 -1
- package/dist/kongponents421.es.js +3 -6
- package/dist/kongponents422.cjs +1 -1
- package/dist/kongponents422.es.js +8 -2
- package/dist/kongponents423.cjs +1 -1
- package/dist/kongponents423.es.js +3 -13
- package/dist/kongponents424.cjs +1 -1
- package/dist/kongponents424.es.js +10 -4
- package/dist/kongponents425.cjs +1 -1
- package/dist/kongponents425.es.js +7 -5
- package/dist/kongponents426.cjs +1 -1
- package/dist/kongponents426.es.js +5 -29
- package/dist/kongponents427.cjs +1 -1
- package/dist/kongponents427.es.js +13 -3
- package/dist/kongponents428.cjs +1 -1
- package/dist/kongponents428.es.js +5 -26
- package/dist/kongponents429.cjs +1 -1
- package/dist/kongponents429.es.js +2 -4
- package/dist/kongponents430.cjs +1 -1
- package/dist/kongponents430.es.js +3 -4
- package/dist/kongponents431.cjs +1 -1
- package/dist/kongponents431.es.js +26 -4
- package/dist/kongponents432.cjs +1 -1
- package/dist/kongponents432.es.js +3 -3
- package/dist/kongponents433.cjs +1 -1
- package/dist/kongponents433.es.js +4 -4
- package/dist/kongponents434.cjs +1 -1
- package/dist/kongponents434.es.js +4 -15
- package/dist/kongponents435.cjs +1 -1
- package/dist/kongponents435.es.js +4 -27
- package/dist/kongponents436.cjs +1 -1
- package/dist/kongponents436.es.js +4 -16
- package/dist/kongponents437.cjs +1 -1
- package/dist/kongponents437.es.js +13 -8
- package/dist/kongponents438.cjs +1 -1
- package/dist/kongponents438.es.js +5 -4
- package/dist/kongponents439.cjs +1 -1
- package/dist/kongponents439.es.js +29 -13
- package/dist/kongponents440.cjs +1 -1
- package/dist/kongponents440.es.js +26 -8
- package/dist/kongponents441.cjs +1 -1
- package/dist/kongponents441.es.js +16 -3
- package/dist/kongponents442.cjs +1 -1
- package/dist/kongponents442.es.js +9 -5
- package/dist/kongponents443.cjs +1 -1
- package/dist/kongponents443.es.js +4 -5
- package/dist/kongponents444.cjs +1 -1
- package/dist/kongponents444.es.js +13 -7
- package/dist/kongponents445.cjs +1 -1
- package/dist/kongponents445.es.js +8 -5
- package/dist/kongponents446.cjs +1 -1
- package/dist/kongponents446.es.js +2 -10
- package/dist/kongponents447.cjs +1 -1
- package/dist/kongponents447.es.js +5 -5
- package/dist/kongponents448.cjs +1 -1
- package/dist/kongponents448.es.js +5 -4
- package/dist/kongponents449.cjs +1 -1
- package/dist/kongponents449.es.js +7 -4
- package/dist/kongponents450.cjs +1 -1
- package/dist/kongponents450.es.js +5 -5
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents451.es.js +11 -8
- package/dist/kongponents452.cjs +1 -1
- package/dist/kongponents452.es.js +5 -6
- package/dist/kongponents453.cjs +1 -1
- package/dist/kongponents453.es.js +5 -10
- package/dist/kongponents454.cjs +1 -1
- package/dist/kongponents454.es.js +4 -6
- package/dist/kongponents455.cjs +1 -1
- package/dist/kongponents455.es.js +5 -21
- package/dist/kongponents456.cjs +1 -1
- package/dist/kongponents456.es.js +8 -7
- package/dist/kongponents457.cjs +1 -1
- package/dist/kongponents457.es.js +6 -6
- package/dist/kongponents458.cjs +1 -1
- package/dist/kongponents458.es.js +10 -7
- package/dist/kongponents459.cjs +1 -1
- package/dist/kongponents459.es.js +6 -8
- package/dist/kongponents460.cjs +1 -1
- package/dist/kongponents460.es.js +22 -5
- package/dist/kongponents461.cjs +1 -1
- package/dist/kongponents461.es.js +7 -5
- package/dist/kongponents462.cjs +1 -0
- package/dist/kongponents462.es.js +9 -0
- package/dist/kongponents463.cjs +1 -1
- package/dist/kongponents463.es.js +7 -121
- package/dist/kongponents464.cjs +1 -0
- package/dist/kongponents464.es.js +11 -0
- package/dist/kongponents465.cjs +1 -1
- package/dist/kongponents465.es.js +113 -86
- package/dist/kongponents467.cjs +1 -1
- package/dist/kongponents467.es.js +2 -2
- package/dist/kongponents468.cjs +1 -1
- package/dist/kongponents468.es.js +1 -1
- package/dist/kongponents469.cjs +1 -1
- package/dist/kongponents469.es.js +4 -4
- package/dist/kongponents470.cjs +1 -1
- package/dist/kongponents470.es.js +3 -3
- package/dist/kongponents477.cjs +1 -1
- package/dist/kongponents477.es.js +25 -6
- package/dist/kongponents478.cjs +1 -1
- package/dist/kongponents478.es.js +96 -5
- package/dist/kongponents479.cjs +1 -1
- package/dist/kongponents479.es.js +47 -11
- package/dist/kongponents480.cjs +1 -1
- package/dist/kongponents480.es.js +9 -7
- package/dist/kongponents481.cjs +1 -1
- package/dist/kongponents481.es.js +9 -6
- package/dist/kongponents482.cjs +1 -1
- package/dist/kongponents482.es.js +14 -25
- package/dist/kongponents483.cjs +1 -1
- package/dist/kongponents483.es.js +10 -96
- package/dist/kongponents484.cjs +1 -1
- package/dist/kongponents484.es.js +6 -47
- package/dist/kongponents485.cjs +1 -1
- package/dist/kongponents485.es.js +5 -9
- package/dist/kongponents486.cjs +1 -1
- package/dist/kongponents486.es.js +10 -9
- package/dist/kongponents487.cjs +1 -1
- package/dist/kongponents487.es.js +7 -13
- package/dist/kongponents488.cjs +1 -1
- package/dist/kongponents488.es.js +6 -10
- package/dist/kongponents491.cjs +1 -1
- package/dist/kongponents491.es.js +1 -1
- package/dist/kongponents493.cjs +1 -1
- package/dist/kongponents493.es.js +1 -1
- package/dist/kongponents495.cjs +1 -1
- package/dist/kongponents495.es.js +1 -1
- package/dist/kongponents497.cjs +1 -1
- package/dist/kongponents497.es.js +1 -1
- package/dist/kongponents498.cjs +1 -1
- package/dist/kongponents498.es.js +3 -3
- package/dist/kongponents499.cjs +1 -1
- package/dist/kongponents499.es.js +2 -2
- package/dist/kongponents500.cjs +1 -1
- package/dist/kongponents500.es.js +3 -3
- package/dist/kongponents501.cjs +1 -1
- package/dist/kongponents501.es.js +2 -2
- package/dist/kongponents502.cjs +1 -1
- package/dist/kongponents502.es.js +1 -1
- package/dist/kongponents503.cjs +1 -1
- package/dist/kongponents503.es.js +1 -1
- package/dist/kongponents512.cjs +1 -1
- package/dist/kongponents512.es.js +1 -1
- package/dist/kongponents518.cjs +1 -1
- package/dist/kongponents518.es.js +2 -2
- package/dist/kongponents519.cjs +1 -1
- package/dist/kongponents519.es.js +2 -2
- package/dist/kongponents520.cjs +1 -1
- package/dist/kongponents520.es.js +2 -2
- package/dist/kongponents521.cjs +1 -1
- package/dist/kongponents521.es.js +1 -1
- package/dist/kongponents525.cjs +1 -1
- package/dist/kongponents525.es.js +1 -1
- package/dist/kongponents526.cjs +1 -1
- package/dist/kongponents526.es.js +4 -4
- package/dist/kongponents528.cjs +1 -1
- package/dist/kongponents528.es.js +1 -1
- package/dist/kongponents535.cjs +1 -1
- package/dist/kongponents535.es.js +1 -1
- package/dist/kongponents536.es.js +2 -2
- package/dist/kongponents537.es.js +2 -2
- package/dist/kongponents540.cjs +1 -1
- package/dist/kongponents540.es.js +21 -2
- package/dist/kongponents541.cjs +1 -1
- package/dist/kongponents541.es.js +18 -15
- package/dist/kongponents542.cjs +1 -1
- package/dist/kongponents542.es.js +2 -24
- package/dist/kongponents544.cjs +1 -1
- package/dist/kongponents544.es.js +27 -2
- package/dist/kongponents545.cjs +1 -1
- package/dist/kongponents545.es.js +23 -23
- package/dist/kongponents546.cjs +1 -1
- package/dist/kongponents546.es.js +2 -27
- package/dist/kongponents548.es.js +2 -2
- package/dist/kongponents549.es.js +2 -2
- package/dist/kongponents562.cjs +1 -1
- package/dist/kongponents562.es.js +1 -1
- package/dist/kongponents575.cjs +1 -1
- package/dist/kongponents575.es.js +1 -1
- package/dist/kongponents578.cjs +1 -1
- package/dist/kongponents578.es.js +1 -1
- package/dist/kongponents580.cjs +1 -1
- package/dist/kongponents580.es.js +1 -1
- package/dist/kongponents581.cjs +1 -1
- package/dist/kongponents581.es.js +1 -1
- package/dist/kongponents582.cjs +1 -1
- package/dist/kongponents582.es.js +1 -1
- package/dist/kongponents584.es.js +2 -2
- package/dist/kongponents585.es.js +2 -2
- package/dist/kongponents586.es.js +2 -2
- package/dist/kongponents587.es.js +2 -2
- 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/kongponents97.cjs +1 -1
- package/dist/kongponents97.es.js +6 -6
- package/package.json +1 -1
- package/dist/kongponents189.cjs +0 -1
- package/dist/kongponents189.es.js +0 -7
- package/dist/kongponents221.cjs +0 -1
- package/dist/kongponents221.es.js +0 -33
- package/dist/kongponents224.cjs +0 -1
- package/dist/kongponents224.es.js +0 -8
- package/dist/kongponents227.cjs +0 -1
- package/dist/kongponents227.es.js +0 -50
- package/dist/kongponents229.cjs +0 -1
- package/dist/kongponents229.es.js +0 -36
- package/dist/kongponents268.cjs +0 -1
- package/dist/kongponents268.es.js +0 -99
- package/dist/kongponents270.cjs +0 -1
- package/dist/kongponents270.es.js +0 -7
- package/dist/kongponents272.cjs +0 -1
- package/dist/kongponents272.es.js +0 -7
- package/dist/kongponents274.cjs +0 -1
- package/dist/kongponents274.es.js +0 -72
- package/dist/kongponents280.cjs +0 -1
- package/dist/kongponents280.es.js +0 -7
- package/dist/kongponents282.cjs +0 -1
- package/dist/kongponents282.es.js +0 -22
- package/dist/kongponents284.cjs +0 -1
- package/dist/kongponents284.es.js +0 -7
- package/dist/kongponents286.cjs +0 -1
- package/dist/kongponents286.es.js +0 -11
- package/dist/kongponents288.cjs +0 -1
- package/dist/kongponents288.es.js +0 -6
- package/dist/kongponents290.cjs +0 -1
- package/dist/kongponents290.es.js +0 -6
- package/dist/kongponents412.cjs +0 -1
- package/dist/kongponents412.es.js +0 -11
- package/dist/kongponents414.cjs +0 -1
- package/dist/kongponents414.es.js +0 -12
- /package/dist/{kongponents278.cjs → kongponents228.cjs} +0 -0
- /package/dist/{kongponents278.es.js → kongponents228.es.js} +0 -0
|
@@ -1,100 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
VALIDATING: "VALIDATING",
|
|
5
|
-
VALIDATING_HAS_DATA: "VALIDATING_HAS_DATA",
|
|
6
|
-
PENDING: "PENDING",
|
|
7
|
-
SUCCESS: "SUCCESS",
|
|
8
|
-
SUCCESS_HAS_DATA: "SUCCESS_HAS_DATA",
|
|
9
|
-
ERROR: "ERROR",
|
|
10
|
-
STALE_IF_ERROR: "STALE_IF_ERROR"
|
|
1
|
+
const n = (r) => {
|
|
2
|
+
const e = Number(r);
|
|
3
|
+
return Number.isNaN(e) ? `${r}` : `${e}px`;
|
|
11
4
|
};
|
|
12
|
-
function b() {
|
|
13
|
-
return {
|
|
14
|
-
useRequest: (e, u, a) => {
|
|
15
|
-
const {
|
|
16
|
-
data: t,
|
|
17
|
-
error: n,
|
|
18
|
-
isValidating: S,
|
|
19
|
-
isLoading: o,
|
|
20
|
-
mutate: c
|
|
21
|
-
} = R(e, u, {
|
|
22
|
-
revalidateDebounce: 500,
|
|
23
|
-
dedupingInterval: 100,
|
|
24
|
-
...a
|
|
25
|
-
});
|
|
26
|
-
return {
|
|
27
|
-
data: s(() => t.value?.data),
|
|
28
|
-
response: t,
|
|
29
|
-
error: n,
|
|
30
|
-
isValidating: S,
|
|
31
|
-
isLoading: o,
|
|
32
|
-
revalidate: c
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
useDebounce: (e, u = 300) => {
|
|
36
|
-
let a;
|
|
37
|
-
const t = (n) => async (...S) => {
|
|
38
|
-
clearTimeout(a), n > 0 ? await new Promise((o) => {
|
|
39
|
-
a = setTimeout(async () => {
|
|
40
|
-
await e(...S), o();
|
|
41
|
-
}, n);
|
|
42
|
-
}) : await e(...S);
|
|
43
|
-
};
|
|
44
|
-
return {
|
|
45
|
-
debouncedFn: t(u),
|
|
46
|
-
generateDebouncedFn: t
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
clientSideSorter: (e, u, a, t) => {
|
|
50
|
-
let n = null;
|
|
51
|
-
const S = (c, l) => typeof l == "number" && !Number.isNaN(c) && !Number.isNaN(l) ? c - l : 0, o = (c, l) => c.localeCompare(l);
|
|
52
|
-
return e !== u ? (n = (c, l) => {
|
|
53
|
-
const f = (r) => r == null ? "" : typeof r == "number" ? r : Array.isArray(r) && r.length && typeof r[0] == "number" ? r[0] : String(r), A = f(c[e]), d = f(l[e]);
|
|
54
|
-
return typeof A === "number" ? S(A, d) : o(A, d);
|
|
55
|
-
}, t.sort(n), u = e, a = "ascending") : (t.reverse(), a === "descending" || a === "desc" ? a = "ascending" : a = "descending"), { previousKey: u, sortOrder: a };
|
|
56
|
-
},
|
|
57
|
-
useSwrvState: (e, u, a) => {
|
|
58
|
-
const t = v(i.PENDING), n = v(!1);
|
|
59
|
-
return D(() => {
|
|
60
|
-
if (n.value = e.value && !!(Object.keys(e.value)?.length || e.value.data?.length || e.value.data?.data?.length || !e.value.data?.data && typeof e.value.data == "object" && Object.keys(e.value?.data).length), e.value && n.value && a.value) {
|
|
61
|
-
t.value = i.VALIDATING_HAS_DATA;
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
if (e.value && a.value) {
|
|
65
|
-
t.value = i.VALIDATING;
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
if (e.value && u.value) {
|
|
69
|
-
t.value = i.STALE_IF_ERROR;
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
if (e.value === void 0 && !u.value) {
|
|
73
|
-
t.value = i.PENDING;
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
if (e.value && !u.value && n.value) {
|
|
77
|
-
t.value = i.SUCCESS_HAS_DATA;
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
if (e.value && !u.value) {
|
|
81
|
-
t.value = i.SUCCESS;
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
e.value === void 0 && u && (t.value = i.ERROR);
|
|
85
|
-
}), {
|
|
86
|
-
hasData: n,
|
|
87
|
-
state: t,
|
|
88
|
-
swrvState: i
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
cloneDeep: (e) => {
|
|
92
|
-
if (e)
|
|
93
|
-
return JSON.parse(JSON.stringify(e));
|
|
94
|
-
},
|
|
95
|
-
stripRequiredLabel: (e, u) => !u || !e ? e || "" : /( )?\*$/gi.test(e) ? e.replace(/\*$/gi, "").trim() : e
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
5
|
export {
|
|
99
|
-
|
|
6
|
+
n as normalizeSize
|
|
100
7
|
};
|
package/dist/kongponents184.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const A=require("vue"),f=require("swrv"),i={VALIDATING:"VALIDATING",VALIDATING_HAS_DATA:"VALIDATING_HAS_DATA",PENDING:"PENDING",SUCCESS:"SUCCESS",SUCCESS_HAS_DATA:"SUCCESS_HAS_DATA",ERROR:"ERROR",STALE_IF_ERROR:"STALE_IF_ERROR"};function D(){return{useRequest:(e,u,a)=>{const{data:t,error:n,isValidating:S,isLoading:o,mutate:l}=f(e,u,{revalidateDebounce:500,dedupingInterval:100,...a});return{data:A.computed(()=>t.value?.data),response:t,error:n,isValidating:S,isLoading:o,revalidate:l}},useDebounce:(e,u=300)=>{let a;const t=n=>async(...S)=>{clearTimeout(a),n>0?await new Promise(o=>{a=setTimeout(async()=>{await e(...S),o()},n)}):await e(...S)};return{debouncedFn:t(u),generateDebouncedFn:t}},clientSideSorter:(e,u,a,t)=>{let n=null;const S=(l,c)=>typeof c=="number"&&!Number.isNaN(l)&&!Number.isNaN(c)?l-c:0,o=(l,c)=>l.localeCompare(c);return e!==u?(n=(l,c)=>{const s=r=>r==null?"":typeof r=="number"?r:Array.isArray(r)&&r.length&&typeof r[0]=="number"?r[0]:String(r),d=s(l[e]),v=s(c[e]);return typeof d==="number"?S(d,v):o(d,v)},t.sort(n),u=e,a="ascending"):(t.reverse(),a==="descending"||a==="desc"?a="ascending":a="descending"),{previousKey:u,sortOrder:a}},useSwrvState:(e,u,a)=>{const t=A.ref(i.PENDING),n=A.ref(!1);return A.watchEffect(()=>{if(n.value=e.value&&!!(Object.keys(e.value)?.length||e.value.data?.length||e.value.data?.data?.length||!e.value.data?.data&&typeof e.value.data=="object"&&Object.keys(e.value?.data).length),e.value&&n.value&&a.value){t.value=i.VALIDATING_HAS_DATA;return}if(e.value&&a.value){t.value=i.VALIDATING;return}if(e.value&&u.value){t.value=i.STALE_IF_ERROR;return}if(e.value===void 0&&!u.value){t.value=i.PENDING;return}if(e.value&&!u.value&&n.value){t.value=i.SUCCESS_HAS_DATA;return}if(e.value&&!u.value){t.value=i.SUCCESS;return}e.value===void 0&&u&&(t.value=i.ERROR)}),{hasData:n,state:t,swrvState:i}},cloneDeep:e=>{if(e)return JSON.parse(JSON.stringify(e))},stripRequiredLabel:(e,u)=>!u||!e?e||"":/( )?\*$/gi.test(e)?e.replace(/\*$/gi,"").trim():e}}exports.default=D;
|
|
@@ -1,21 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { computed as s, ref as v, watchEffect as D } from "vue";
|
|
2
|
+
import R from "swrv";
|
|
3
|
+
const i = {
|
|
4
|
+
VALIDATING: "VALIDATING",
|
|
5
|
+
VALIDATING_HAS_DATA: "VALIDATING_HAS_DATA",
|
|
6
|
+
PENDING: "PENDING",
|
|
7
|
+
SUCCESS: "SUCCESS",
|
|
8
|
+
SUCCESS_HAS_DATA: "SUCCESS_HAS_DATA",
|
|
9
|
+
ERROR: "ERROR",
|
|
10
|
+
STALE_IF_ERROR: "STALE_IF_ERROR"
|
|
11
|
+
};
|
|
12
|
+
function b() {
|
|
13
|
+
return {
|
|
14
|
+
useRequest: (e, u, a) => {
|
|
15
|
+
const {
|
|
16
|
+
data: t,
|
|
17
|
+
error: n,
|
|
18
|
+
isValidating: S,
|
|
19
|
+
isLoading: o,
|
|
20
|
+
mutate: c
|
|
21
|
+
} = R(e, u, {
|
|
22
|
+
revalidateDebounce: 500,
|
|
23
|
+
dedupingInterval: 100,
|
|
24
|
+
...a
|
|
25
|
+
});
|
|
26
|
+
return {
|
|
27
|
+
data: s(() => t.value?.data),
|
|
28
|
+
response: t,
|
|
29
|
+
error: n,
|
|
30
|
+
isValidating: S,
|
|
31
|
+
isLoading: o,
|
|
32
|
+
revalidate: c
|
|
33
|
+
};
|
|
34
|
+
},
|
|
35
|
+
useDebounce: (e, u = 300) => {
|
|
36
|
+
let a;
|
|
37
|
+
const t = (n) => async (...S) => {
|
|
38
|
+
clearTimeout(a), n > 0 ? await new Promise((o) => {
|
|
39
|
+
a = setTimeout(async () => {
|
|
40
|
+
await e(...S), o();
|
|
41
|
+
}, n);
|
|
42
|
+
}) : await e(...S);
|
|
43
|
+
};
|
|
44
|
+
return {
|
|
45
|
+
debouncedFn: t(u),
|
|
46
|
+
generateDebouncedFn: t
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
clientSideSorter: (e, u, a, t) => {
|
|
50
|
+
let n = null;
|
|
51
|
+
const S = (c, l) => typeof l == "number" && !Number.isNaN(c) && !Number.isNaN(l) ? c - l : 0, o = (c, l) => c.localeCompare(l);
|
|
52
|
+
return e !== u ? (n = (c, l) => {
|
|
53
|
+
const f = (r) => r == null ? "" : typeof r == "number" ? r : Array.isArray(r) && r.length && typeof r[0] == "number" ? r[0] : String(r), A = f(c[e]), d = f(l[e]);
|
|
54
|
+
return typeof A === "number" ? S(A, d) : o(A, d);
|
|
55
|
+
}, t.sort(n), u = e, a = "ascending") : (t.reverse(), a === "descending" || a === "desc" ? a = "ascending" : a = "descending"), { previousKey: u, sortOrder: a };
|
|
56
|
+
},
|
|
57
|
+
useSwrvState: (e, u, a) => {
|
|
58
|
+
const t = v(i.PENDING), n = v(!1);
|
|
59
|
+
return D(() => {
|
|
60
|
+
if (n.value = e.value && !!(Object.keys(e.value)?.length || e.value.data?.length || e.value.data?.data?.length || !e.value.data?.data && typeof e.value.data == "object" && Object.keys(e.value?.data).length), e.value && n.value && a.value) {
|
|
61
|
+
t.value = i.VALIDATING_HAS_DATA;
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
if (e.value && a.value) {
|
|
65
|
+
t.value = i.VALIDATING;
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
if (e.value && u.value) {
|
|
69
|
+
t.value = i.STALE_IF_ERROR;
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
if (e.value === void 0 && !u.value) {
|
|
73
|
+
t.value = i.PENDING;
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
if (e.value && !u.value && n.value) {
|
|
77
|
+
t.value = i.SUCCESS_HAS_DATA;
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (e.value && !u.value) {
|
|
81
|
+
t.value = i.SUCCESS;
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
e.value === void 0 && u && (t.value = i.ERROR);
|
|
85
|
+
}), {
|
|
86
|
+
hasData: n,
|
|
87
|
+
state: t,
|
|
88
|
+
swrvState: i
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
cloneDeep: (e) => {
|
|
92
|
+
if (e)
|
|
93
|
+
return JSON.parse(JSON.stringify(e));
|
|
94
|
+
},
|
|
95
|
+
stripRequiredLabel: (e, u) => !u || !e ? e || "" : /( )?\*$/gi.test(e) ? e.replace(/\*$/gi, "").trim() : e
|
|
96
|
+
};
|
|
18
97
|
}
|
|
19
98
|
export {
|
|
20
|
-
|
|
99
|
+
b as default
|
|
21
100
|
};
|
package/dist/kongponents185.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("./kongponents226.cjs");;/* empty css */const t=require("./kongponents82.cjs"),u=t.default(e.default,[["__scopeId","data-v-c348456b"]]);exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from "./kongponents226.es.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import o from "./kongponents82.es.js";
|
|
4
|
+
const s = /* @__PURE__ */ o(t, [["__scopeId", "data-v-c348456b"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
package/dist/kongponents186.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents228.cjs");;/* empty css */const t=require("./kongponents82.cjs"),u=t.default(e.default,[["__scopeId","data-v-02f131b4"]]);exports.default=u;
|
|
@@ -1,38 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
boundTriggerShortcuts;
|
|
6
|
-
constructor(r, o) {
|
|
7
|
-
this.commands = o, this.keyMap = Object.fromEntries(Object.entries(r).map(([i, s]) => [i.toLowerCase(), s])), this.boundTriggerShortcuts = this.triggerShortcuts.bind(this);
|
|
8
|
-
}
|
|
9
|
-
registerListener() {
|
|
10
|
-
document?.addEventListener("keydown", this.boundTriggerShortcuts);
|
|
11
|
-
}
|
|
12
|
-
unRegisterListener() {
|
|
13
|
-
document?.removeEventListener("keydown", this.boundTriggerShortcuts);
|
|
14
|
-
}
|
|
15
|
-
triggerShortcuts(r) {
|
|
16
|
-
d(r, this.keyMap, this.commands);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function d(t, r, o) {
|
|
20
|
-
if (!t.code)
|
|
21
|
-
return;
|
|
22
|
-
const i = h(t.code), s = [
|
|
23
|
-
t.ctrlKey ? "ctrl" : "",
|
|
24
|
-
t.shiftKey ? "shift" : "",
|
|
25
|
-
t.altKey ? "alt" : "",
|
|
26
|
-
i
|
|
27
|
-
].filter((c) => c !== "").join("+"), n = r[s];
|
|
28
|
-
if (!n)
|
|
29
|
-
return;
|
|
30
|
-
const e = o[n];
|
|
31
|
-
e.isAllowedContext && !e.isAllowedContext(t) || (e.shouldPreventDefaultAction && t.preventDefault(), !(e.isDisabled && e.isDisabled()) && e.trigger(t));
|
|
32
|
-
}
|
|
33
|
-
function h(t) {
|
|
34
|
-
return !t || u.includes(t) ? "" : t.replace(/^Key/, "").toLowerCase();
|
|
35
|
-
}
|
|
1
|
+
import t from "./kongponents228.es.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import o from "./kongponents82.es.js";
|
|
4
|
+
const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-02f131b4"]]);
|
|
36
5
|
export {
|
|
37
|
-
|
|
6
|
+
f as default
|
|
38
7
|
};
|
package/dist/kongponents187.cjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
`&&n.push(r+1);return n}function o(t,n){let r=0,e=t.length-1;for(;r<e;){const i=Math.floor((r+e+1)/2);t[i]&&t[i]<=n?r=i:e=i-1}return r+1}function d(t,n,r){if(!t||!n)return[];const e=[];let i=0;for(;;){const s=t.indexOf(n,i);if(s===-1)break;const l=o(r,s);e.push(l),i=(l<r.length?r[l]:t.length)??0}return e}function x(t,n,r){if(!t||!n)return[];const e=new RegExp(n,"sg"),i=[];let s;for(;(s=e.exec(t))!==null;){const l=s.index,c=s.index+s[0].length-1,a=o(r,l),M=o(r,c);for(let h=a;h<=M;h++)i[i.length-1]!==h&&i.push(h)}return i}function N(t,n,r,e=f(t)){return r?x(t,n,e):d(t,n,e)}const g=t=>`<mark class="matched-term">${t}</mark>`,p=/[<&]/;function u(t){return t.replace(/[&<]/g,n=>n==="&"?"&":"<")}function b(t,n=p,r=u){return n.test(t)?r(t):t}function I(t,n,r){if(!t||!n)return"";const e=!p.test(t);let i;try{i=new RegExp(`(?:${r?n:L.default(n)})+`,"sgi")}catch{return e?t:u(t)}let s="",l=0,c;for(;(c=i.exec(t))!==null;){const a=c.index;s+=e?t.slice(l,a):u(t.slice(l,a)),s+=g(e?c[0]:u(c[0])),l=a+c[0].length}return s+=e?t.slice(l):u(t.slice(l)),s}const m=/^\d+(?:-\d+)?(?:,\d+(?:-\d+)?)*$/;function R(t,n){if(!m.test(t))throw new Error("Invalid line number expression.");const r=t.split(",").map(e=>{const[i,s]=e.split("-").map(Number);return s==null?i:[i,s]}).filter(e=>e!==void 0);return E(r,n)}function E(t,n){const r=t.flatMap(e=>{if(typeof e=="number")return e<1||e>n?[]:e;let[i,s]=e[0]<e[1]?e:[e[1],e[0]];return i=Math.max(1,i),s=Math.min(n,s),Array.from({length:s-i+1},(l,c)=>c+i)}).sort((e,i)=>e-i);return Array.from(new Set(r))}function w(t,n){return typeof t=="string"?R(t,n):E(t,n)}exports.LINE_NUMBER_EXPRESSION_REGEX=m;exports.buildLineOffsets=f;exports.escapeHTMLIfNeeded=b;exports.escapeInnerHTML=u;exports.getMatchingLineNumbers=N;exports.highlightMatchingChars=I;exports.normalizeHighlightedLines=w;exports.wrapMark=g;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./kongponents219.cjs"),r=require("vue"),S=d.isClient?window:void 0;function b(o){var n;const i=r.toValue(o);return(n=i?.$el)!==null&&n!==void 0?n:i}function C(...o){const n=(e,l,s,c)=>(e.addEventListener(l,s,c),()=>e.removeEventListener(l,s,c)),i=r.computed(()=>{const e=d.toArray(r.toValue(o[0])).filter(l=>l!=null);return e.every(l=>typeof l!="string")?e:void 0});return d.watchImmediate(()=>{var e,l;return[(e=(l=i.value)===null||l===void 0?void 0:l.map(s=>b(s)))!==null&&e!==void 0?e:[S].filter(s=>s!=null),d.toArray(r.toValue(i.value?o[1]:o[0])),d.toArray(r.unref(i.value?o[2]:o[1])),r.toValue(i.value?o[3]:o[2])]},([e,l,s,c],p,f)=>{if(!e?.length||!l?.length||!s?.length)return;const h=d.isObject(c)?{...c}:c,w=e.flatMap(t=>l.flatMap(m=>s.map(g=>n(t,m,g,h))));f(()=>{w.forEach(t=>t())})},{flush:"post"})}function M(o,n,i={}){const{window:e=S,ignore:l=[],capture:s=!0,detectIframe:c=!1,controls:p=!1}=i;if(!e)return p?{stop:d.noop,cancel:d.noop,trigger:d.noop}:d.noop;let f=!0;const h=u=>r.toValue(l).some(a=>{if(typeof a=="string")return Array.from(e.document.querySelectorAll(a)).some(v=>v===u.target||u.composedPath().includes(v));{const v=b(a);return v&&(u.target===v||u.composedPath().includes(v))}});function w(u){const a=r.toValue(u);return a&&a.$.subTree.shapeFlag===16}function t(u,a){const v=r.toValue(u),E=v.$.subTree&&v.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(O=>O.el===a.target||a.composedPath().includes(O.el))}const m=u=>{const a=b(o);if(u.target!=null&&!(!(a instanceof Element)&&w(o)&&t(o,u))&&!(!a||a===u.target||u.composedPath().includes(a))){if("detail"in u&&u.detail===0&&(f=!h(u)),!f){f=!0;return}n(u)}};let g=!1;const y=[C(e,"click",u=>{g||(g=!0,setTimeout(()=>{g=!1},0),m(u))},{passive:!0,capture:s}),C(e,"pointerdown",u=>{const a=b(o);f=!h(u)&&!!(a&&!u.composedPath().includes(a))},{passive:!0}),c&&C(e,"blur",u=>{setTimeout(()=>{const a=b(o);let v=e.document.activeElement;for(;v?.shadowRoot;)v=v.shadowRoot.activeElement;v?.tagName==="IFRAME"&&!a?.contains(e.document.activeElement)&&n(u)},0)},{passive:!0})].filter(Boolean),R=()=>y.forEach(u=>u());return p?{stop:R,cancel:()=>{f=!1},trigger:u=>{f=!0,m(u),f=!1}}:R}function x(){const o=r.shallowRef(!1),n=r.getCurrentInstance();return n&&r.onMounted(()=>{o.value=!0},n),o}function A(o){const n=x();return r.computed(()=>(n.value,!!o()))}function T(o,n,i={}){const{window:e=S,...l}=i;let s;const c=A(()=>e&&"ResizeObserver"in e),p=()=>{s&&(s.disconnect(),s=void 0)},f=r.watch(r.computed(()=>{const w=r.toValue(o);return Array.isArray(w)?w.map(t=>b(t)):[b(w)]}),w=>{if(p(),c.value&&e){s=new ResizeObserver(n);for(const t of w)t&&s.observe(t,l)}},{immediate:!0,flush:"post"}),h=()=>{p(),f()};return d.tryOnScopeDispose(h),{isSupported:c,stop:h}}function $(o,n={width:0,height:0},i={}){const{window:e=S,box:l="content-box"}=i,s=r.computed(()=>{var t;return(t=b(o))===null||t===void 0||(t=t.namespaceURI)===null||t===void 0?void 0:t.includes("svg")}),c=r.shallowRef(n.width),p=r.shallowRef(n.height),{stop:f}=T(o,([t])=>{const m=l==="border-box"?t.borderBoxSize:l==="content-box"?t.contentBoxSize:t.devicePixelContentBoxSize;if(e&&s.value){const g=b(o);if(g){const y=g.getBoundingClientRect();c.value=y.width,p.value=y.height}}else if(m){const g=d.toArray(m);c.value=g.reduce((y,{inlineSize:R})=>y+R,0),p.value=g.reduce((y,{blockSize:R})=>y+R,0)}else c.value=t.contentRect.width,p.value=t.contentRect.height},i);d.tryOnMounted(()=>{const t=b(o);if(t&&"offsetWidth"in t)if(l==="content-box"&&e){const m=e.getComputedStyle(t),g=Number.parseFloat(m.paddingLeft)+Number.parseFloat(m.paddingRight),y=Number.parseFloat(m.paddingTop)+Number.parseFloat(m.paddingBottom),R=Number.parseFloat(m.borderLeftWidth)+Number.parseFloat(m.borderRightWidth),u=Number.parseFloat(m.borderTopWidth)+Number.parseFloat(m.borderBottomWidth);c.value=t.offsetWidth-g-R,p.value=t.offsetHeight-y-u}else c.value=t.offsetWidth,p.value=t.offsetHeight;else t&&(c.value=n.width,p.value=n.height)});const h=r.watch(()=>b(o),t=>{c.value=t?n.width:0,p.value=t?n.height:0});function w(){f(),h()}return{width:c,height:p,stop:w}}function F(o){var n;const i=(n=o.rangeCount)!==null&&n!==void 0?n:0;return Array.from({length:i},(e,l)=>o.getRangeAt(l))}function P(o={}){var n;const{window:i=S}=o,e=r.shallowRef((n=i?.getSelection())!==null&&n!==void 0?n:null),l=r.computed(()=>{var f,h;return(f=(h=e.value)===null||h===void 0?void 0:h.toString())!==null&&f!==void 0?f:""}),s=r.computed(()=>e.value?F(e.value):[]),c=r.computed(()=>s.value.map(f=>f.getBoundingClientRect()));function p(){e.value=null,i&&(e.value=i.getSelection())}return i&&C(i.document,"selectionchange",p,{passive:!0}),{text:l,rects:c,ranges:s,selection:e}}exports.getLifeCycleTarget=d.getLifeCycleTarget;exports.isClient=d.isClient;exports.isObject=d.isObject;exports.noop=d.noop;exports.toArray=d.toArray;exports.tryOnMounted=d.tryOnMounted;exports.tryOnScopeDispose=d.tryOnScopeDispose;exports.watchImmediate=d.watchImmediate;exports.defaultWindow=S;exports.onClickOutside=M;exports.unrefElement=b;exports.useElementSize=$;exports.useEventListener=C;exports.useMounted=x;exports.useResizeObserver=T;exports.useSupported=A;exports.useTextSelection=P;
|
|
@@ -1,100 +1,215 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { toArray as E, watchImmediate as B, tryOnScopeDispose as M, noop as C, tryOnMounted as P, isClient as N, isObject as W } from "./kongponents219.es.js";
|
|
2
|
+
import { getLifeCycleTarget as _ } from "./kongponents219.es.js";
|
|
3
|
+
import { computed as x, toValue as w, watch as A, shallowRef as T, getCurrentInstance as O, onMounted as L, unref as I } from "vue";
|
|
4
|
+
const S = N ? window : void 0;
|
|
5
|
+
function g(o) {
|
|
6
|
+
var n;
|
|
7
|
+
const u = w(o);
|
|
8
|
+
return (n = u?.$el) !== null && n !== void 0 ? n : u;
|
|
8
9
|
}
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
function $(...o) {
|
|
11
|
+
const n = (e, l, r, s) => (e.addEventListener(l, r, s), () => e.removeEventListener(l, r, s)), u = x(() => {
|
|
12
|
+
const e = E(w(o[0])).filter((l) => l != null);
|
|
13
|
+
return e.every((l) => typeof l != "string") ? e : void 0;
|
|
14
|
+
});
|
|
15
|
+
return B(() => {
|
|
16
|
+
var e, l;
|
|
17
|
+
return [
|
|
18
|
+
(e = (l = u.value) === null || l === void 0 ? void 0 : l.map((r) => g(r))) !== null && e !== void 0 ? e : [S].filter((r) => r != null),
|
|
19
|
+
E(w(u.value ? o[1] : o[0])),
|
|
20
|
+
E(I(u.value ? o[2] : o[1])),
|
|
21
|
+
w(u.value ? o[3] : o[2])
|
|
22
|
+
];
|
|
23
|
+
}, ([e, l, r, s], f, a) => {
|
|
24
|
+
if (!e?.length || !l?.length || !r?.length) return;
|
|
25
|
+
const p = W(s) ? { ...s } : s, h = e.flatMap((t) => l.flatMap((v) => r.map((m) => n(t, v, m, p))));
|
|
26
|
+
a(() => {
|
|
27
|
+
h.forEach((t) => t());
|
|
28
|
+
});
|
|
29
|
+
}, { flush: "post" });
|
|
16
30
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
31
|
+
function j(o, n, u = {}) {
|
|
32
|
+
const { window: e = S, ignore: l = [], capture: r = !0, detectIframe: s = !1, controls: f = !1 } = u;
|
|
33
|
+
if (!e) return f ? {
|
|
34
|
+
stop: C,
|
|
35
|
+
cancel: C,
|
|
36
|
+
trigger: C
|
|
37
|
+
} : C;
|
|
38
|
+
let a = !0;
|
|
39
|
+
const p = (i) => w(l).some((c) => {
|
|
40
|
+
if (typeof c == "string") return Array.from(e.document.querySelectorAll(c)).some((d) => d === i.target || i.composedPath().includes(d));
|
|
41
|
+
{
|
|
42
|
+
const d = g(c);
|
|
43
|
+
return d && (i.target === d || i.composedPath().includes(d));
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
function h(i) {
|
|
47
|
+
const c = w(i);
|
|
48
|
+
return c && c.$.subTree.shapeFlag === 16;
|
|
27
49
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (!t || !e)
|
|
32
|
-
return [];
|
|
33
|
-
const n = new RegExp(e, "sg"), i = [];
|
|
34
|
-
let s;
|
|
35
|
-
for (; (s = n.exec(t)) !== null; ) {
|
|
36
|
-
const l = s.index, c = s.index + s[0].length - 1, u = a(r, l), m = a(r, c);
|
|
37
|
-
for (let h = u; h <= m; h++)
|
|
38
|
-
i[i.length - 1] !== h && i.push(h);
|
|
50
|
+
function t(i, c) {
|
|
51
|
+
const d = w(i), y = d.$.subTree && d.$.subTree.children;
|
|
52
|
+
return y == null || !Array.isArray(y) ? !1 : y.some((F) => F.el === c.target || c.composedPath().includes(F.el));
|
|
39
53
|
}
|
|
40
|
-
|
|
54
|
+
const v = (i) => {
|
|
55
|
+
const c = g(o);
|
|
56
|
+
if (i.target != null && !(!(c instanceof Element) && h(o) && t(o, i)) && !(!c || c === i.target || i.composedPath().includes(c))) {
|
|
57
|
+
if ("detail" in i && i.detail === 0 && (a = !p(i)), !a) {
|
|
58
|
+
a = !0;
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
n(i);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
let m = !1;
|
|
65
|
+
const b = [
|
|
66
|
+
$(e, "click", (i) => {
|
|
67
|
+
m || (m = !0, setTimeout(() => {
|
|
68
|
+
m = !1;
|
|
69
|
+
}, 0), v(i));
|
|
70
|
+
}, {
|
|
71
|
+
passive: !0,
|
|
72
|
+
capture: r
|
|
73
|
+
}),
|
|
74
|
+
$(e, "pointerdown", (i) => {
|
|
75
|
+
const c = g(o);
|
|
76
|
+
a = !p(i) && !!(c && !i.composedPath().includes(c));
|
|
77
|
+
}, { passive: !0 }),
|
|
78
|
+
s && $(e, "blur", (i) => {
|
|
79
|
+
setTimeout(() => {
|
|
80
|
+
const c = g(o);
|
|
81
|
+
let d = e.document.activeElement;
|
|
82
|
+
for (; d?.shadowRoot; ) d = d.shadowRoot.activeElement;
|
|
83
|
+
d?.tagName === "IFRAME" && !c?.contains(e.document.activeElement) && n(i);
|
|
84
|
+
}, 0);
|
|
85
|
+
}, { passive: !0 })
|
|
86
|
+
].filter(Boolean), R = () => b.forEach((i) => i());
|
|
87
|
+
return f ? {
|
|
88
|
+
stop: R,
|
|
89
|
+
cancel: () => {
|
|
90
|
+
a = !1;
|
|
91
|
+
},
|
|
92
|
+
trigger: (i) => {
|
|
93
|
+
a = !0, v(i), a = !1;
|
|
94
|
+
}
|
|
95
|
+
} : R;
|
|
41
96
|
}
|
|
42
|
-
|
|
43
|
-
|
|
97
|
+
// @__NO_SIDE_EFFECTS__
|
|
98
|
+
function k() {
|
|
99
|
+
const o = T(!1), n = O();
|
|
100
|
+
return n && L(() => {
|
|
101
|
+
o.value = !0;
|
|
102
|
+
}, n), o;
|
|
44
103
|
}
|
|
45
|
-
|
|
46
|
-
function o
|
|
47
|
-
|
|
104
|
+
// @__NO_SIDE_EFFECTS__
|
|
105
|
+
function z(o) {
|
|
106
|
+
const n = /* @__PURE__ */ k();
|
|
107
|
+
return x(() => (n.value, !!o()));
|
|
48
108
|
}
|
|
49
|
-
function
|
|
50
|
-
|
|
109
|
+
function H(o, n, u = {}) {
|
|
110
|
+
const { window: e = S, ...l } = u;
|
|
111
|
+
let r;
|
|
112
|
+
const s = /* @__PURE__ */ z(() => e && "ResizeObserver" in e), f = () => {
|
|
113
|
+
r && (r.disconnect(), r = void 0);
|
|
114
|
+
}, a = A(x(() => {
|
|
115
|
+
const h = w(o);
|
|
116
|
+
return Array.isArray(h) ? h.map((t) => g(t)) : [g(h)];
|
|
117
|
+
}), (h) => {
|
|
118
|
+
if (f(), s.value && e) {
|
|
119
|
+
r = new ResizeObserver(n);
|
|
120
|
+
for (const t of h) t && r.observe(t, l);
|
|
121
|
+
}
|
|
122
|
+
}, {
|
|
123
|
+
immediate: !0,
|
|
124
|
+
flush: "post"
|
|
125
|
+
}), p = () => {
|
|
126
|
+
f(), a();
|
|
127
|
+
};
|
|
128
|
+
return M(p), {
|
|
129
|
+
isSupported: s,
|
|
130
|
+
stop: p
|
|
131
|
+
};
|
|
51
132
|
}
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
133
|
+
function q(o, n = {
|
|
134
|
+
width: 0,
|
|
135
|
+
height: 0
|
|
136
|
+
}, u = {}) {
|
|
137
|
+
const { window: e = S, box: l = "content-box" } = u, r = x(() => {
|
|
138
|
+
var t;
|
|
139
|
+
return (t = g(o)) === null || t === void 0 || (t = t.namespaceURI) === null || t === void 0 ? void 0 : t.includes("svg");
|
|
140
|
+
}), s = T(n.width), f = T(n.height), { stop: a } = H(o, ([t]) => {
|
|
141
|
+
const v = l === "border-box" ? t.borderBoxSize : l === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
|
|
142
|
+
if (e && r.value) {
|
|
143
|
+
const m = g(o);
|
|
144
|
+
if (m) {
|
|
145
|
+
const b = m.getBoundingClientRect();
|
|
146
|
+
s.value = b.width, f.value = b.height;
|
|
147
|
+
}
|
|
148
|
+
} else if (v) {
|
|
149
|
+
const m = E(v);
|
|
150
|
+
s.value = m.reduce((b, { inlineSize: R }) => b + R, 0), f.value = m.reduce((b, { blockSize: R }) => b + R, 0);
|
|
151
|
+
} else
|
|
152
|
+
s.value = t.contentRect.width, f.value = t.contentRect.height;
|
|
153
|
+
}, u);
|
|
154
|
+
P(() => {
|
|
155
|
+
const t = g(o);
|
|
156
|
+
if (t && "offsetWidth" in t) if (l === "content-box" && e) {
|
|
157
|
+
const v = e.getComputedStyle(t), m = Number.parseFloat(v.paddingLeft) + Number.parseFloat(v.paddingRight), b = Number.parseFloat(v.paddingTop) + Number.parseFloat(v.paddingBottom), R = Number.parseFloat(v.borderLeftWidth) + Number.parseFloat(v.borderRightWidth), i = Number.parseFloat(v.borderTopWidth) + Number.parseFloat(v.borderBottomWidth);
|
|
158
|
+
s.value = t.offsetWidth - m - R, f.value = t.offsetHeight - b - i;
|
|
159
|
+
} else
|
|
160
|
+
s.value = t.offsetWidth, f.value = t.offsetHeight;
|
|
161
|
+
else t && (s.value = n.width, f.value = n.height);
|
|
162
|
+
});
|
|
163
|
+
const p = A(() => g(o), (t) => {
|
|
164
|
+
s.value = t ? n.width : 0, f.value = t ? n.height : 0;
|
|
165
|
+
});
|
|
166
|
+
function h() {
|
|
167
|
+
a(), p();
|
|
66
168
|
}
|
|
67
|
-
return
|
|
169
|
+
return {
|
|
170
|
+
width: s,
|
|
171
|
+
height: f,
|
|
172
|
+
stop: h
|
|
173
|
+
};
|
|
68
174
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
const r = t.split(",").map((n) => {
|
|
74
|
-
const [i, s] = n.split("-").map(Number);
|
|
75
|
-
return s == null ? i : [i, s];
|
|
76
|
-
}).filter((n) => n !== void 0);
|
|
77
|
-
return p(r, e);
|
|
175
|
+
function V(o) {
|
|
176
|
+
var n;
|
|
177
|
+
const u = (n = o.rangeCount) !== null && n !== void 0 ? n : 0;
|
|
178
|
+
return Array.from({ length: u }, (e, l) => o.getRangeAt(l));
|
|
78
179
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return
|
|
85
|
-
}).
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return
|
|
180
|
+
// @__NO_SIDE_EFFECTS__
|
|
181
|
+
function D(o = {}) {
|
|
182
|
+
var n;
|
|
183
|
+
const { window: u = S } = o, e = T((n = u?.getSelection()) !== null && n !== void 0 ? n : null), l = x(() => {
|
|
184
|
+
var a, p;
|
|
185
|
+
return (a = (p = e.value) === null || p === void 0 ? void 0 : p.toString()) !== null && a !== void 0 ? a : "";
|
|
186
|
+
}), r = x(() => e.value ? V(e.value) : []), s = x(() => r.value.map((a) => a.getBoundingClientRect()));
|
|
187
|
+
function f() {
|
|
188
|
+
e.value = null, u && (e.value = u.getSelection());
|
|
189
|
+
}
|
|
190
|
+
return u && $(u.document, "selectionchange", f, { passive: !0 }), {
|
|
191
|
+
text: l,
|
|
192
|
+
rects: s,
|
|
193
|
+
ranges: r,
|
|
194
|
+
selection: e
|
|
195
|
+
};
|
|
90
196
|
}
|
|
91
197
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
198
|
+
S as defaultWindow,
|
|
199
|
+
_ as getLifeCycleTarget,
|
|
200
|
+
N as isClient,
|
|
201
|
+
W as isObject,
|
|
202
|
+
C as noop,
|
|
203
|
+
j as onClickOutside,
|
|
204
|
+
E as toArray,
|
|
205
|
+
P as tryOnMounted,
|
|
206
|
+
M as tryOnScopeDispose,
|
|
207
|
+
g as unrefElement,
|
|
208
|
+
q as useElementSize,
|
|
209
|
+
$ as useEventListener,
|
|
210
|
+
k as useMounted,
|
|
211
|
+
H as useResizeObserver,
|
|
212
|
+
z as useSupported,
|
|
213
|
+
D as useTextSelection,
|
|
214
|
+
B as watchImmediate
|
|
100
215
|
};
|
package/dist/kongponents188.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Symbol("popover-parent-zindex");exports.POPOVER_PARENT_ZINDEX_KEY=e;
|