@kong/kongponents 9.60.2-pr.3239.833d6a2.0 → 9.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kongponents.css +1 -1
- package/dist/kongponents100.cjs +1 -1
- package/dist/kongponents100.es.js +2 -2
- package/dist/kongponents106.cjs +1 -1
- package/dist/kongponents106.es.js +5 -5
- package/dist/kongponents108.cjs +1 -1
- package/dist/kongponents108.es.js +3 -3
- package/dist/kongponents110.cjs +1 -1
- package/dist/kongponents110.es.js +4 -4
- package/dist/kongponents114.cjs +1 -1
- package/dist/kongponents114.es.js +2 -2
- package/dist/kongponents116.cjs +1 -1
- package/dist/kongponents116.es.js +5 -5
- package/dist/kongponents118.cjs +1 -1
- package/dist/kongponents118.es.js +2 -2
- package/dist/kongponents120.cjs +1 -1
- package/dist/kongponents120.es.js +10 -10
- package/dist/kongponents123.cjs +1 -1
- package/dist/kongponents123.es.js +5 -5
- package/dist/kongponents125.cjs +1 -1
- package/dist/kongponents125.es.js +7 -7
- package/dist/kongponents129.cjs +1 -1
- package/dist/kongponents129.es.js +2 -2
- package/dist/kongponents131.cjs +1 -1
- package/dist/kongponents131.es.js +1 -1
- package/dist/kongponents133.cjs +1 -1
- package/dist/kongponents133.es.js +10 -10
- package/dist/kongponents140.cjs +1 -1
- package/dist/kongponents140.es.js +4 -4
- package/dist/kongponents142.cjs +1 -1
- package/dist/kongponents142.es.js +1 -1
- package/dist/kongponents144.cjs +1 -1
- package/dist/kongponents144.es.js +6 -6
- package/dist/kongponents148.cjs +1 -1
- package/dist/kongponents148.es.js +2 -2
- package/dist/kongponents150.cjs +1 -1
- package/dist/kongponents150.es.js +7 -7
- package/dist/kongponents156.cjs +1 -1
- package/dist/kongponents156.es.js +3 -3
- package/dist/kongponents158.cjs +1 -1
- package/dist/kongponents158.es.js +5 -5
- package/dist/kongponents160.cjs +1 -1
- package/dist/kongponents160.es.js +3 -3
- package/dist/kongponents162.cjs +1 -1
- package/dist/kongponents162.es.js +12 -12
- package/dist/kongponents167.cjs +1 -1
- package/dist/kongponents167.es.js +3 -3
- package/dist/kongponents175.cjs +1 -1
- package/dist/kongponents175.es.js +25 -25
- package/dist/kongponents176.cjs +1 -1
- package/dist/kongponents176.es.js +20 -121
- package/dist/kongponents177.cjs +1 -1
- package/dist/kongponents177.es.js +111 -118
- package/dist/kongponents178.cjs +1 -1
- package/dist/kongponents178.es.js +27 -27
- package/dist/kongponents179.cjs +1 -1
- package/dist/kongponents179.es.js +13 -117
- package/dist/kongponents180.cjs +1 -1
- package/dist/kongponents180.es.js +163 -117
- package/dist/kongponents181.cjs +1 -1
- package/dist/kongponents181.es.js +5 -20
- package/dist/kongponents182.cjs +1 -1
- package/dist/kongponents182.es.js +396 -4
- package/dist/kongponents183.cjs +1 -1
- package/dist/kongponents183.es.js +121 -5
- package/dist/kongponents184.cjs +1 -1
- package/dist/kongponents184.es.js +115 -102
- package/dist/kongponents185.cjs +1 -1
- package/dist/kongponents185.es.js +121 -5
- package/dist/kongponents186.cjs +1 -1
- package/dist/kongponents186.es.js +121 -5
- package/dist/kongponents187.cjs +1 -1
- package/dist/kongponents187.es.js +102 -115
- package/dist/kongponents188.cjs +1 -2
- package/dist/kongponents188.es.js +27 -28
- package/dist/kongponents189.cjs +1 -1
- package/dist/kongponents189.es.js +120 -23
- package/dist/kongponents190.cjs +1 -1
- package/dist/kongponents190.es.js +117 -163
- package/dist/kongponents191.cjs +1 -1
- package/dist/kongponents191.es.js +121 -5
- package/dist/kongponents192.cjs +1 -1
- package/dist/kongponents192.es.js +32 -32
- package/dist/kongponents193.cjs +1 -1
- package/dist/kongponents193.es.js +5 -121
- package/dist/kongponents194.cjs +1 -1
- package/dist/kongponents194.es.js +4 -4
- package/dist/kongponents195.cjs +1 -1
- package/dist/kongponents195.es.js +4 -4
- package/dist/kongponents196.cjs +2 -1
- package/dist/kongponents196.es.js +122 -5
- package/dist/kongponents197.cjs +1 -1
- package/dist/kongponents197.es.js +24 -5
- package/dist/kongponents198.cjs +1 -1
- package/dist/kongponents198.es.js +4 -4
- package/dist/kongponents199.cjs +1 -1
- package/dist/kongponents199.es.js +4 -4
- package/dist/kongponents20.cjs +1 -1
- package/dist/kongponents20.es.js +8 -8
- package/dist/kongponents200.cjs +1 -1
- package/dist/kongponents200.es.js +4 -4
- package/dist/kongponents201.cjs +1 -1
- package/dist/kongponents201.es.js +4 -4
- package/dist/kongponents202.cjs +1 -1
- package/dist/kongponents202.es.js +5 -114
- package/dist/kongponents203.cjs +1 -1
- package/dist/kongponents203.es.js +5 -17
- package/dist/kongponents204.cjs +1 -1
- package/dist/kongponents204.es.js +5 -397
- package/dist/kongponents205.cjs +1 -5
- package/dist/kongponents205.es.js +5 -102
- package/dist/kongponents206.cjs +1 -1
- package/dist/kongponents206.es.js +25 -25
- package/dist/kongponents207.cjs +1 -1
- package/dist/kongponents207.es.js +5 -121
- package/dist/kongponents208.cjs +1 -1
- package/dist/kongponents208.es.js +2 -2
- package/dist/kongponents209.cjs +1 -1
- package/dist/kongponents209.es.js +36 -36
- package/dist/kongponents210.cjs +1 -1
- package/dist/kongponents210.es.js +5 -121
- package/dist/kongponents211.cjs +1 -1
- package/dist/kongponents211.es.js +5 -18
- package/dist/kongponents212.cjs +1 -1
- package/dist/kongponents212.es.js +22 -22
- package/dist/kongponents213.cjs +1 -1
- package/dist/kongponents213.es.js +30 -30
- package/dist/kongponents214.cjs +1 -1
- package/dist/kongponents214.es.js +31 -31
- package/dist/kongponents215.cjs +1 -1
- package/dist/kongponents215.es.js +5 -121
- package/dist/kongponents216.cjs +5 -1
- package/dist/kongponents216.es.js +96 -115
- package/dist/kongponents217.cjs +1 -1
- package/dist/kongponents217.es.js +121 -15
- package/dist/kongponents218.cjs +1 -1
- package/dist/kongponents218.es.js +110 -514
- package/dist/kongponents219.cjs +1 -1
- package/dist/kongponents219.es.js +120 -38
- package/dist/kongponents22.cjs +1 -1
- package/dist/kongponents22.es.js +2 -2
- package/dist/kongponents220.cjs +1 -2
- package/dist/kongponents220.es.js +7 -98
- package/dist/kongponents221.cjs +1 -1
- package/dist/kongponents221.es.js +185 -117
- package/dist/kongponents222.cjs +1 -1
- package/dist/kongponents222.es.js +28 -28
- package/dist/kongponents223.cjs +1 -1
- package/dist/kongponents223.es.js +15 -121
- package/dist/kongponents224.cjs +1 -1
- package/dist/kongponents224.es.js +20 -20
- package/dist/kongponents225.cjs +1 -1
- package/dist/kongponents225.es.js +17 -51
- package/dist/kongponents226.cjs +1 -1
- package/dist/kongponents226.es.js +26 -26
- package/dist/kongponents227.cjs +1 -1
- package/dist/kongponents227.es.js +24 -24
- package/dist/kongponents228.cjs +1 -1
- package/dist/kongponents228.es.js +5 -121
- package/dist/kongponents229.cjs +1 -1
- package/dist/kongponents229.es.js +10 -5
- package/dist/kongponents231.cjs +1 -1
- package/dist/kongponents231.es.js +121 -10
- package/dist/kongponents232.cjs +1 -1
- package/dist/kongponents232.es.js +5 -121
- package/dist/kongponents233.cjs +1 -1
- package/dist/kongponents233.es.js +8 -121
- package/dist/kongponents234.cjs +1 -0
- package/dist/kongponents234.es.js +62 -0
- package/dist/kongponents235.cjs +1 -1
- package/dist/kongponents235.es.js +25 -25
- package/dist/kongponents236.cjs +1 -1
- package/dist/kongponents236.es.js +525 -5
- package/dist/kongponents237.cjs +1 -1
- package/dist/kongponents237.es.js +38 -7
- package/dist/kongponents238.cjs +2 -1
- package/dist/kongponents238.es.js +97 -59
- package/dist/kongponents239.cjs +1 -1
- package/dist/kongponents239.es.js +121 -5
- package/dist/kongponents24.cjs +1 -1
- package/dist/kongponents24.es.js +1 -1
- package/dist/kongponents240.cjs +1 -1
- package/dist/kongponents240.es.js +121 -5
- package/dist/kongponents241.cjs +1 -1
- package/dist/kongponents241.es.js +20 -20
- package/dist/kongponents242.cjs +1 -1
- package/dist/kongponents242.es.js +50 -119
- package/dist/kongponents243.cjs +1 -1
- package/dist/kongponents243.es.js +121 -7
- package/dist/kongponents244.cjs +1 -1
- package/dist/kongponents244.es.js +117 -185
- package/dist/kongponents248.cjs +1 -1
- package/dist/kongponents248.es.js +2 -2
- package/dist/kongponents254.cjs +1 -1
- package/dist/kongponents254.es.js +1 -1
- package/dist/kongponents258.cjs +1 -1
- package/dist/kongponents258.es.js +23 -56
- package/dist/kongponents259.cjs +1 -0
- package/dist/kongponents259.es.js +136 -0
- package/dist/kongponents26.cjs +1 -1
- package/dist/kongponents26.es.js +4 -4
- package/dist/kongponents260.cjs +1 -1
- package/dist/kongponents260.es.js +2 -40
- package/dist/kongponents261.cjs +1 -1
- package/dist/kongponents261.es.js +37 -325
- package/dist/kongponents262.cjs +1 -1
- package/dist/kongponents262.es.js +324 -19
- package/dist/kongponents263.cjs +1 -1
- package/dist/kongponents263.es.js +1 -1
- package/dist/kongponents267.cjs +1 -1
- package/dist/kongponents267.es.js +5 -5
- package/dist/kongponents269.cjs +6 -1
- package/dist/kongponents269.es.js +597 -119
- package/dist/kongponents270.cjs +1 -1
- package/dist/kongponents270.es.js +93 -2
- package/dist/kongponents272.cjs +1 -1
- package/dist/kongponents272.es.js +236 -76
- package/dist/kongponents274.cjs +1 -1
- package/dist/kongponents274.es.js +52 -37
- package/dist/kongponents276.cjs +1 -1
- package/dist/kongponents276.es.js +121 -6
- package/dist/kongponents277.cjs +1 -1
- package/dist/kongponents277.es.js +2 -121
- package/dist/kongponents278.cjs +1 -1
- package/dist/kongponents278.es.js +121 -2
- package/dist/kongponents279.cjs +1 -1
- package/dist/kongponents279.es.js +23 -23
- package/dist/kongponents280.cjs +1 -1
- package/dist/kongponents280.es.js +19 -19
- package/dist/kongponents281.cjs +1 -1
- package/dist/kongponents281.es.js +371 -117
- package/dist/kongponents283.cjs +1 -1
- package/dist/kongponents283.es.js +75 -83
- package/dist/kongponents285.cjs +1 -1
- package/dist/kongponents285.es.js +34 -238
- package/dist/kongponents287.cjs +1 -1
- package/dist/kongponents287.es.js +178 -373
- package/dist/kongponents290.cjs +4 -0
- package/dist/kongponents290.es.js +219 -0
- package/dist/kongponents291.cjs +1 -1
- package/dist/kongponents291.es.js +1 -1
- package/dist/kongponents293.cjs +1 -4
- package/dist/kongponents293.es.js +170 -212
- package/dist/kongponents295.cjs +1 -0
- package/dist/kongponents295.es.js +4 -0
- package/dist/kongponents296.cjs +1 -1
- package/dist/kongponents296.es.js +5 -5
- package/dist/kongponents297.cjs +10 -1
- package/dist/kongponents297.es.js +1556 -4
- package/dist/kongponents298.cjs +1 -1
- package/dist/kongponents298.es.js +5 -20
- package/dist/kongponents299.cjs +1 -1
- package/dist/kongponents299.es.js +6 -4
- package/dist/kongponents300.cjs +1 -1
- package/dist/kongponents300.es.js +5 -4
- package/dist/kongponents301.cjs +1 -1
- package/dist/kongponents301.es.js +4 -5
- package/dist/kongponents302.cjs +1 -1
- package/dist/kongponents302.es.js +5 -9
- package/dist/kongponents303.cjs +1 -1
- package/dist/kongponents303.es.js +19 -5
- package/dist/kongponents304.cjs +1 -1
- package/dist/kongponents304.es.js +3 -3
- package/dist/kongponents305.cjs +1 -1
- package/dist/kongponents305.es.js +4 -16
- package/dist/kongponents306.cjs +1 -1
- package/dist/kongponents306.es.js +5 -3
- package/dist/kongponents307.cjs +1 -1
- package/dist/kongponents307.es.js +9 -8
- package/dist/kongponents308.cjs +1 -1
- package/dist/kongponents308.es.js +5 -6
- package/dist/kongponents309.cjs +1 -1
- package/dist/kongponents309.es.js +2 -2
- package/dist/kongponents310.cjs +1 -1
- package/dist/kongponents310.es.js +17 -2
- package/dist/kongponents311.cjs +1 -1
- package/dist/kongponents311.es.js +2 -4
- package/dist/kongponents312.cjs +1 -1
- package/dist/kongponents312.es.js +8 -10
- package/dist/kongponents313.cjs +1 -1
- package/dist/kongponents313.es.js +6 -4
- package/dist/kongponents314.cjs +1 -1
- package/dist/kongponents314.es.js +4 -4
- package/dist/kongponents315.cjs +1 -1
- package/dist/kongponents315.es.js +1 -2
- package/dist/kongponents316.cjs +1 -1
- package/dist/kongponents316.es.js +4 -2
- package/dist/kongponents317.cjs +1 -1
- package/dist/kongponents317.es.js +9 -7
- package/dist/kongponents318.cjs +1 -1
- package/dist/kongponents318.es.js +4 -6
- package/dist/kongponents319.cjs +1 -1
- package/dist/kongponents319.es.js +4 -5
- package/dist/kongponents320.cjs +1 -1
- package/dist/kongponents320.es.js +3 -10
- package/dist/kongponents321.cjs +1 -1
- package/dist/kongponents321.es.js +3 -5
- package/dist/kongponents322.cjs +1 -1
- package/dist/kongponents322.es.js +8 -9
- package/dist/kongponents323.cjs +1 -1
- package/dist/kongponents323.es.js +6 -6
- package/dist/kongponents324.cjs +1 -1
- package/dist/kongponents324.es.js +5 -18
- package/dist/kongponents325.cjs +1 -1
- package/dist/kongponents325.es.js +9 -11
- package/dist/kongponents326.cjs +1 -1
- package/dist/kongponents326.es.js +4 -5
- package/dist/kongponents327.cjs +1 -1
- package/dist/kongponents327.es.js +9 -13
- package/dist/kongponents328.cjs +1 -1
- package/dist/kongponents328.es.js +6 -9
- package/dist/kongponents329.cjs +1 -1
- package/dist/kongponents329.es.js +17 -5
- package/dist/kongponents330.cjs +1 -1
- package/dist/kongponents330.es.js +11 -8
- package/dist/kongponents331.cjs +1 -1
- package/dist/kongponents331.es.js +6 -15
- package/dist/kongponents332.cjs +1 -1
- package/dist/kongponents332.es.js +12 -17
- package/dist/kongponents333.cjs +1 -1
- package/dist/kongponents333.es.js +9 -5
- package/dist/kongponents334.cjs +1 -1
- package/dist/kongponents334.es.js +5 -10
- package/dist/kongponents335.cjs +1 -1
- package/dist/kongponents335.es.js +8 -6
- package/dist/kongponents336.cjs +1 -1
- package/dist/kongponents336.es.js +15 -7
- package/dist/kongponents337.cjs +1 -1
- package/dist/kongponents337.es.js +17 -5
- package/dist/kongponents338.cjs +1 -1
- package/dist/kongponents338.es.js +5 -6
- package/dist/kongponents339.cjs +1 -1
- package/dist/kongponents339.es.js +10 -9
- package/dist/kongponents340.cjs +1 -1
- package/dist/kongponents340.es.js +6 -7
- package/dist/kongponents341.cjs +1 -1
- package/dist/kongponents341.es.js +7 -3
- package/dist/kongponents342.cjs +1 -1
- package/dist/kongponents342.es.js +5 -5
- package/dist/kongponents343.cjs +1 -1
- package/dist/kongponents343.es.js +6 -15
- package/dist/kongponents344.cjs +1 -1
- package/dist/kongponents344.es.js +10 -2
- package/dist/kongponents345.cjs +1 -1
- package/dist/kongponents345.es.js +8 -6
- package/dist/kongponents346.cjs +1 -10
- package/dist/kongponents346.es.js +2 -1555
- package/dist/kongponents347.cjs +1 -1
- package/dist/kongponents347.es.js +6 -5
- package/dist/kongponents348.cjs +1 -1
- package/dist/kongponents348.es.js +16 -5
- package/dist/kongponents349.cjs +1 -1
- package/dist/kongponents349.es.js +3 -3
- package/dist/kongponents351.cjs +1 -1
- package/dist/kongponents351.es.js +3 -3
- package/dist/kongponents372.cjs +1 -1
- package/dist/kongponents372.es.js +1 -1
- package/dist/kongponents375.cjs +1 -1
- package/dist/kongponents375.es.js +1 -1
- package/dist/kongponents377.cjs +1 -1
- package/dist/kongponents377.es.js +1 -1
- package/dist/kongponents378.cjs +1 -1
- package/dist/kongponents378.es.js +1 -1
- package/dist/kongponents379.cjs +1 -1
- package/dist/kongponents379.es.js +2 -2
- package/dist/kongponents382.cjs +1 -1
- package/dist/kongponents382.es.js +10 -7
- package/dist/kongponents383.cjs +1 -1
- package/dist/kongponents383.es.js +16 -5
- package/dist/kongponents384.cjs +1 -1
- package/dist/kongponents384.es.js +8 -9
- package/dist/kongponents385.cjs +1 -1
- package/dist/kongponents385.es.js +5 -5
- package/dist/kongponents386.cjs +1 -1
- package/dist/kongponents386.es.js +9 -10
- package/dist/kongponents387.cjs +1 -1
- package/dist/kongponents387.es.js +5 -14
- package/dist/kongponents388.cjs +1 -1
- package/dist/kongponents388.es.js +10 -3
- package/dist/kongponents389.cjs +1 -1
- package/dist/kongponents389.es.js +14 -7
- package/dist/kongponents390.cjs +1 -1
- package/dist/kongponents390.es.js +3 -3
- package/dist/kongponents391.cjs +1 -1
- package/dist/kongponents391.es.js +7 -10
- package/dist/kongponents392.cjs +1 -1
- package/dist/kongponents392.es.js +3 -8
- package/dist/kongponents393.cjs +1 -1
- package/dist/kongponents393.es.js +10 -5
- package/dist/kongponents394.cjs +1 -1
- package/dist/kongponents394.es.js +8 -2
- package/dist/kongponents395.cjs +1 -1
- package/dist/kongponents395.es.js +5 -12
- package/dist/kongponents396.cjs +1 -1
- package/dist/kongponents396.es.js +2 -5
- package/dist/kongponents397.cjs +1 -1
- package/dist/kongponents397.es.js +13 -3
- package/dist/kongponents398.cjs +1 -1
- package/dist/kongponents398.es.js +5 -26
- package/dist/kongponents399.cjs +1 -1
- package/dist/kongponents399.es.js +3 -4
- package/dist/kongponents400.cjs +1 -1
- package/dist/kongponents400.es.js +26 -4
- package/dist/kongponents401.cjs +1 -1
- package/dist/kongponents401.es.js +4 -4
- package/dist/kongponents402.cjs +1 -1
- package/dist/kongponents402.es.js +4 -4
- package/dist/kongponents403.cjs +1 -1
- package/dist/kongponents403.es.js +4 -4
- package/dist/kongponents404.cjs +1 -1
- package/dist/kongponents404.es.js +4 -15
- package/dist/kongponents405.cjs +1 -1
- package/dist/kongponents405.es.js +4 -6
- package/dist/kongponents406.cjs +1 -1
- package/dist/kongponents406.es.js +12 -27
- package/dist/kongponents407.cjs +1 -1
- package/dist/kongponents407.es.js +5 -26
- package/dist/kongponents408.cjs +1 -1
- package/dist/kongponents408.es.js +29 -15
- package/dist/kongponents409.cjs +1 -1
- package/dist/kongponents409.es.js +25 -8
- package/dist/kongponents410.cjs +1 -1
- package/dist/kongponents410.es.js +15 -4
- package/dist/kongponents411.cjs +1 -1
- package/dist/kongponents411.es.js +9 -13
- package/dist/kongponents412.cjs +1 -1
- package/dist/kongponents412.es.js +4 -8
- package/dist/kongponents413.cjs +1 -1
- package/dist/kongponents413.es.js +14 -3
- package/dist/kongponents414.cjs +1 -1
- package/dist/kongponents414.es.js +8 -5
- package/dist/kongponents415.cjs +1 -1
- package/dist/kongponents415.es.js +3 -6
- package/dist/kongponents416.cjs +1 -1
- package/dist/kongponents416.es.js +5 -7
- package/dist/kongponents417.cjs +1 -1
- package/dist/kongponents417.es.js +5 -5
- package/dist/kongponents418.cjs +1 -1
- package/dist/kongponents418.es.js +7 -10
- package/dist/kongponents419.cjs +1 -1
- package/dist/kongponents419.es.js +5 -5
- package/dist/kongponents420.cjs +1 -1
- package/dist/kongponents420.es.js +10 -4
- package/dist/kongponents421.cjs +1 -1
- package/dist/kongponents421.es.js +5 -4
- package/dist/kongponents422.cjs +1 -1
- package/dist/kongponents422.es.js +4 -5
- package/dist/kongponents423.cjs +1 -1
- package/dist/kongponents423.es.js +5 -8
- package/dist/kongponents424.cjs +1 -1
- package/dist/kongponents424.es.js +5 -6
- package/dist/kongponents425.cjs +1 -1
- package/dist/kongponents425.es.js +8 -10
- package/dist/kongponents426.cjs +1 -1
- package/dist/kongponents426.es.js +6 -6
- package/dist/kongponents427.cjs +1 -1
- package/dist/kongponents427.es.js +10 -22
- package/dist/kongponents428.cjs +1 -1
- package/dist/kongponents428.es.js +6 -6
- package/dist/kongponents429.cjs +1 -1
- package/dist/kongponents429.es.js +21 -6
- package/dist/kongponents430.cjs +1 -1
- package/dist/kongponents430.es.js +6 -6
- package/dist/kongponents431.cjs +1 -1
- package/dist/kongponents431.es.js +6 -8
- package/dist/kongponents432.cjs +1 -1
- package/dist/kongponents432.es.js +6 -10
- package/dist/kongponents433.cjs +1 -1
- package/dist/kongponents433.es.js +8 -16
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents451.es.js +1 -1
- package/dist/kongponents453.cjs +1 -1
- package/dist/kongponents453.es.js +1 -1
- package/dist/kongponents460.cjs +1 -1
- package/dist/kongponents460.es.js +1 -1
- package/dist/kongponents461.cjs +1 -1
- package/dist/kongponents461.es.js +65 -2
- package/dist/kongponents462.cjs +1 -1
- package/dist/kongponents462.es.js +5 -2
- package/dist/kongponents463.cjs +1 -1
- package/dist/kongponents463.es.js +2 -65
- package/dist/kongponents464.cjs +1 -1
- package/dist/kongponents464.es.js +2 -5
- package/dist/kongponents465.cjs +1 -1
- package/dist/kongponents465.es.js +1 -1
- package/dist/kongponents471.cjs +1 -1
- package/dist/kongponents471.es.js +2 -2
- package/dist/kongponents472.cjs +1 -1
- package/dist/kongponents472.es.js +2 -2
- package/dist/kongponents473.cjs +1 -1
- package/dist/kongponents473.es.js +2 -2
- package/dist/kongponents474.cjs +1 -1
- package/dist/kongponents474.es.js +1 -1
- package/dist/kongponents478.cjs +1 -1
- package/dist/kongponents478.es.js +1 -1
- package/dist/kongponents479.cjs +1 -1
- package/dist/kongponents479.es.js +4 -4
- package/dist/kongponents481.cjs +1 -1
- package/dist/kongponents481.es.js +1 -1
- package/dist/kongponents482.cjs +1 -1
- package/dist/kongponents482.es.js +5 -5
- package/dist/kongponents483.cjs +1 -1
- package/dist/kongponents483.es.js +1 -1
- package/dist/kongponents495.cjs +1 -1
- package/dist/kongponents495.es.js +1 -1
- package/dist/kongponents499.cjs +1 -1
- package/dist/kongponents499.es.js +1 -1
- package/dist/kongponents501.cjs +1 -1
- package/dist/kongponents501.es.js +1 -1
- package/dist/kongponents502.cjs +1 -1
- package/dist/kongponents502.es.js +3 -3
- package/dist/kongponents503.cjs +1 -1
- package/dist/kongponents503.es.js +2 -2
- package/dist/kongponents504.cjs +1 -1
- package/dist/kongponents504.es.js +3 -3
- package/dist/kongponents505.cjs +1 -1
- package/dist/kongponents505.es.js +2 -2
- package/dist/kongponents506.cjs +1 -1
- package/dist/kongponents506.es.js +1 -1
- package/dist/kongponents507.cjs +1 -1
- package/dist/kongponents507.es.js +1 -1
- package/dist/kongponents514.cjs +1 -1
- package/dist/kongponents514.es.js +2 -4
- package/dist/kongponents515.cjs +1 -1
- package/dist/kongponents515.es.js +4 -2
- package/dist/kongponents522.cjs +1 -1
- package/dist/kongponents522.es.js +1 -1
- package/dist/kongponents523.cjs +1 -1
- package/dist/kongponents523.es.js +3 -3
- package/dist/kongponents524.cjs +1 -1
- package/dist/kongponents524.es.js +4 -4
- package/dist/kongponents525.cjs +1 -1
- package/dist/kongponents525.es.js +10 -4
- package/dist/kongponents526.cjs +1 -1
- package/dist/kongponents526.es.js +6 -10
- package/dist/kongponents527.cjs +1 -1
- package/dist/kongponents527.es.js +6 -6
- package/dist/kongponents528.cjs +1 -1
- package/dist/kongponents528.es.js +4 -6
- package/dist/kongponents531.cjs +1 -1
- package/dist/kongponents531.es.js +7 -7
- package/dist/kongponents532.cjs +1 -1
- package/dist/kongponents532.es.js +1 -1
- package/dist/kongponents533.cjs +1 -1
- package/dist/kongponents533.es.js +4 -4
- package/dist/kongponents534.cjs +1 -1
- package/dist/kongponents534.es.js +6 -6
- package/dist/kongponents538.cjs +1 -1
- package/dist/kongponents538.es.js +1 -1
- package/dist/kongponents539.cjs +1 -1
- package/dist/kongponents539.es.js +1 -1
- package/dist/kongponents540.cjs +1 -1
- package/dist/kongponents540.es.js +1 -1
- package/dist/kongponents541.cjs +1 -1
- package/dist/kongponents541.es.js +6 -6
- package/dist/kongponents542.cjs +1 -1
- package/dist/kongponents542.es.js +1 -1
- package/dist/kongponents543.cjs +1 -1
- package/dist/kongponents543.es.js +1 -1
- package/dist/kongponents544.cjs +1 -1
- package/dist/kongponents544.es.js +6 -6
- package/dist/kongponents545.cjs +1 -1
- package/dist/kongponents545.es.js +8 -8
- package/dist/kongponents546.cjs +1 -1
- package/dist/kongponents546.es.js +6 -6
- package/dist/kongponents547.cjs +1 -1
- package/dist/kongponents547.es.js +1 -1
- package/dist/kongponents556.cjs +1 -1
- package/dist/kongponents556.es.js +21 -2
- package/dist/kongponents557.cjs +1 -1
- package/dist/kongponents557.es.js +18 -15
- package/dist/kongponents558.cjs +1 -1
- package/dist/kongponents558.es.js +2 -24
- package/dist/kongponents560.cjs +1 -1
- package/dist/kongponents560.es.js +27 -2
- package/dist/kongponents561.cjs +1 -1
- package/dist/kongponents561.es.js +23 -23
- package/dist/kongponents562.cjs +1 -1
- package/dist/kongponents562.es.js +2 -27
- package/dist/kongponents564.es.js +2 -2
- package/dist/kongponents565.es.js +2 -2
- package/dist/kongponents572.cjs +1 -1
- package/dist/kongponents572.es.js +1 -1
- package/dist/kongponents574.cjs +1 -1
- package/dist/kongponents574.es.js +20 -3
- package/dist/kongponents575.cjs +1 -1
- package/dist/kongponents575.es.js +7 -3
- package/dist/kongponents576.cjs +1 -1
- package/dist/kongponents576.es.js +3 -15
- package/dist/kongponents577.cjs +1 -1
- package/dist/kongponents577.es.js +6 -3
- package/dist/kongponents578.cjs +1 -1
- package/dist/kongponents578.es.js +7 -9
- package/dist/kongponents579.cjs +1 -1
- package/dist/kongponents579.es.js +5 -4
- package/dist/kongponents580.cjs +1 -1
- package/dist/kongponents580.es.js +4 -6
- package/dist/kongponents581.cjs +1 -1
- package/dist/kongponents581.es.js +7 -9
- package/dist/kongponents582.cjs +1 -1
- package/dist/kongponents582.es.js +14 -6
- package/dist/kongponents583.cjs +1 -1
- package/dist/kongponents583.es.js +9 -4
- package/dist/kongponents584.cjs +1 -1
- package/dist/kongponents584.es.js +4 -3
- package/dist/kongponents585.cjs +1 -1
- package/dist/kongponents585.es.js +5 -4
- package/dist/kongponents586.cjs +1 -1
- package/dist/kongponents586.es.js +6 -11
- package/dist/kongponents587.cjs +1 -1
- package/dist/kongponents587.es.js +30 -9
- package/dist/kongponents588.cjs +1 -1
- package/dist/kongponents588.es.js +34 -30
- package/dist/kongponents589.cjs +1 -1
- package/dist/kongponents589.es.js +51 -24
- package/dist/kongponents590.cjs +1 -1
- package/dist/kongponents590.es.js +8 -51
- package/dist/kongponents591.cjs +1 -1
- package/dist/kongponents591.es.js +4 -3
- package/dist/kongponents592.cjs +1 -1
- package/dist/kongponents592.es.js +5 -8
- package/dist/kongponents593.cjs +1 -1
- package/dist/kongponents593.es.js +3 -20
- package/dist/kongponents594.cjs +1 -1
- package/dist/kongponents594.es.js +15 -7
- package/dist/kongponents595.cjs +1 -1
- package/dist/kongponents595.es.js +3 -6
- package/dist/kongponents596.cjs +1 -1
- package/dist/kongponents596.es.js +9 -5
- package/dist/kongponents597.cjs +1 -1
- package/dist/kongponents597.es.js +3 -7
- package/dist/kongponents598.cjs +1 -1
- package/dist/kongponents598.es.js +11 -15
- package/dist/kongponents599.cjs +1 -1
- package/dist/kongponents599.es.js +8 -3
- package/dist/kongponents600.cjs +1 -1
- package/dist/kongponents600.es.js +24 -6
- package/dist/kongponents601.cjs +1 -1
- package/dist/kongponents601.es.js +3 -34
- package/dist/kongponents602.cjs +1 -1
- package/dist/kongponents602.es.js +8 -8
- package/dist/kongponents616.cjs +1 -1
- package/dist/kongponents616.es.js +1 -1
- package/dist/kongponents617.cjs +1 -1
- package/dist/kongponents617.es.js +1 -1
- package/dist/kongponents619.cjs +1 -1
- package/dist/kongponents619.es.js +3 -3
- package/dist/kongponents620.cjs +1 -1
- package/dist/kongponents620.es.js +4 -4
- package/dist/kongponents73.cjs +1 -1
- package/dist/kongponents73.es.js +7 -7
- package/dist/kongponents76.cjs +1 -1
- package/dist/kongponents76.es.js +1 -1
- package/dist/kongponents78.cjs +1 -1
- package/dist/kongponents78.es.js +1 -1
- package/dist/kongponents84.cjs +1 -1
- package/dist/kongponents84.es.js +1 -1
- package/dist/kongponents88.cjs +1 -1
- package/dist/kongponents88.es.js +3 -3
- package/dist/kongponents90.cjs +1 -1
- package/dist/kongponents90.es.js +15 -15
- package/dist/kongponents95.cjs +1 -1
- package/dist/kongponents95.es.js +2 -2
- package/dist/kongponents97.cjs +1 -1
- package/dist/kongponents97.es.js +6 -6
- package/package.json +32 -31
- package/dist/kongponents230.cjs +0 -1
- package/dist/kongponents230.es.js +0 -7
- package/dist/kongponents271.cjs +0 -6
- package/dist/kongponents271.es.js +0 -614
- package/dist/kongponents289.cjs +0 -1
- package/dist/kongponents289.es.js +0 -182
- package/dist/kongponents294.cjs +0 -1
- package/dist/kongponents294.es.js +0 -177
- /package/dist/{kongponents288.cjs → kongponents282.cjs} +0 -0
- /package/dist/{kongponents288.es.js → kongponents282.es.js} +0 -0
|
@@ -1,110 +1,123 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import "./
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
STALE_IF_ERROR: "STALE_IF_ERROR"
|
|
12
|
-
};
|
|
13
|
-
function w() {
|
|
14
|
-
return {
|
|
15
|
-
useRequest: (e, u, a) => {
|
|
16
|
-
const {
|
|
17
|
-
data: t,
|
|
18
|
-
error: n,
|
|
19
|
-
isValidating: c,
|
|
20
|
-
isLoading: o,
|
|
21
|
-
mutate: r
|
|
22
|
-
} = m(e, u, {
|
|
23
|
-
revalidateDebounce: 500,
|
|
24
|
-
dedupingInterval: 100,
|
|
25
|
-
...a
|
|
26
|
-
});
|
|
27
|
-
return {
|
|
28
|
-
data: s(() => {
|
|
29
|
-
var A;
|
|
30
|
-
return (A = t.value) == null ? void 0 : A.data;
|
|
31
|
-
}),
|
|
32
|
-
response: t,
|
|
33
|
-
error: n,
|
|
34
|
-
isValidating: c,
|
|
35
|
-
isLoading: o,
|
|
36
|
-
revalidate: r
|
|
37
|
-
};
|
|
1
|
+
import { defineComponent as h, computed as d, openBlock as u, createBlock as b, resolveDynamicComponent as x, normalizeStyle as S, withCtx as k, createElementBlock as w } from "vue";
|
|
2
|
+
import { KUI_ICON_SIZE_50 as p } from "./kongponents277.es.js";
|
|
3
|
+
const z = ["aria-hidden"], c = '<path fill-rule="evenodd" clip-rule="evenodd" d="M8.56654 17.8134H12.2371L14.1429 20.2096L13.8152 21.026H9.0731L9.18942 20.2096L8.07153 18.4462L8.56654 17.8134ZM11.193 7.28639L13.1602 7.28343L22 17.822L21.3132 21.026H17.5245L17.7604 20.1233L9.50009 10.2732L11.193 7.28639ZM14.6686 3L18.778 6.22975L18.2519 6.77265L18.9644 7.76492V8.82592L16.9157 10.496L13.4703 6.42551H11.4644L12.272 4.94512L14.6686 3ZM6.04318 13.3443L8.90974 10.853L12.7144 15.4313L11.6342 17.1086H8.12603L5.69899 20.2934L5.14469 21.026H2V17.1183L4.93106 13.3443H6.04318Z" fill="currentColor"/>', H = /* @__PURE__ */ h({
|
|
4
|
+
__name: "KongIcon",
|
|
5
|
+
props: {
|
|
6
|
+
/** The accessibility text provided to screen readers */
|
|
7
|
+
title: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: !1,
|
|
10
|
+
default: ""
|
|
38
11
|
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
await e(...c), o();
|
|
45
|
-
}, n);
|
|
46
|
-
}) : await e(...c);
|
|
47
|
-
};
|
|
48
|
-
return {
|
|
49
|
-
debouncedFn: t(u),
|
|
50
|
-
generateDebouncedFn: t
|
|
51
|
-
};
|
|
12
|
+
/** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
|
|
13
|
+
color: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: !1,
|
|
16
|
+
default: "currentColor"
|
|
52
17
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
switch (typeof f) {
|
|
59
|
-
case "number":
|
|
60
|
-
return c(f, d);
|
|
61
|
-
default:
|
|
62
|
-
return o(f, d);
|
|
63
|
-
}
|
|
64
|
-
}, t.sort(n), u = e, a = "ascending") : (t.reverse(), a === "descending" || a === "desc" ? a = "ascending" : a = "descending"), { previousKey: u, sortOrder: a };
|
|
18
|
+
/** The CSS display property for the icon. Defaults to `block` */
|
|
19
|
+
display: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: !1,
|
|
22
|
+
default: "block"
|
|
65
23
|
},
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
return;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
if (e.value && !u.value && n.value) {
|
|
87
|
-
t.value = S.SUCCESS_HAS_DATA;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
if (e.value && !u.value) {
|
|
91
|
-
t.value = S.SUCCESS;
|
|
92
|
-
return;
|
|
24
|
+
/** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
|
|
25
|
+
decorative: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
required: !1,
|
|
28
|
+
default: !1
|
|
29
|
+
},
|
|
30
|
+
/** The icon size */
|
|
31
|
+
size: {
|
|
32
|
+
type: [Number, String],
|
|
33
|
+
required: !1,
|
|
34
|
+
default: p,
|
|
35
|
+
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
36
|
+
validator: (t) => {
|
|
37
|
+
if (typeof t == "string" && /^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(t) || typeof t == "number" && t > 0)
|
|
38
|
+
return !0;
|
|
39
|
+
if (typeof t == "string") {
|
|
40
|
+
const e = String(t).replace(/px/gi, ""), n = Number(e);
|
|
41
|
+
if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
|
|
42
|
+
return !0;
|
|
93
43
|
}
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
hasData: n,
|
|
97
|
-
state: t,
|
|
98
|
-
swrvState: S
|
|
99
|
-
};
|
|
44
|
+
return !1;
|
|
45
|
+
}
|
|
100
46
|
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
47
|
+
/** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
|
|
48
|
+
as: {
|
|
49
|
+
type: String,
|
|
50
|
+
required: !1,
|
|
51
|
+
default: "span"
|
|
104
52
|
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
53
|
+
/**
|
|
54
|
+
* A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).
|
|
55
|
+
* Typically only set to `true` during snapshot testing.
|
|
56
|
+
* Defaults to `false`.
|
|
57
|
+
*/
|
|
58
|
+
staticIds: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !1
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
setup(t) {
|
|
64
|
+
const e = t, n = (r) => typeof r == "string" && /^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(r), a = d(() => {
|
|
65
|
+
if (n(e.size))
|
|
66
|
+
return e.size;
|
|
67
|
+
if (typeof e.size == "number" && e.size > 0)
|
|
68
|
+
return `${e.size}px`;
|
|
69
|
+
if (typeof e.size == "string") {
|
|
70
|
+
const r = String(e.size).replace(/px/gi, ""), i = Number(r);
|
|
71
|
+
if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
|
|
72
|
+
return `${i}px`;
|
|
73
|
+
}
|
|
74
|
+
return p;
|
|
75
|
+
}), f = d(() => ({
|
|
76
|
+
boxSizing: "border-box",
|
|
77
|
+
color: e.color,
|
|
78
|
+
display: e.display,
|
|
79
|
+
flexShrink: "0",
|
|
80
|
+
height: a.value,
|
|
81
|
+
lineHeight: "0",
|
|
82
|
+
width: a.value,
|
|
83
|
+
pointerEvents: e.decorative ? "none" : void 0
|
|
84
|
+
})), g = (r) => {
|
|
85
|
+
const i = {}, y = Math.random().toString(36).substring(2, 12);
|
|
86
|
+
return r.replace(/id="([^"]+)"/g, (s, o) => {
|
|
87
|
+
const l = `${y}-${o}`;
|
|
88
|
+
return i[o] = l, `id="${l}"`;
|
|
89
|
+
}).replace(/#([^\s^")]+)/g, (s, o) => i[o] ? `#${i[o]}` : s);
|
|
90
|
+
}, L = {
|
|
91
|
+
"<": "<",
|
|
92
|
+
">": ">",
|
|
93
|
+
'"': """,
|
|
94
|
+
"'": "'",
|
|
95
|
+
"&": "&"
|
|
96
|
+
}, v = (r) => r.replace(/[<>"'&]/g, (i) => L[i]), m = `${e.title ? `<title data-testid="kui-icon-svg-title">${v(e.title)}</title>` : ""}${e.staticIds ? c : g(c)}`;
|
|
97
|
+
return (r, i) => (u(), b(x(t.as), {
|
|
98
|
+
"aria-hidden": t.decorative ? "true" : void 0,
|
|
99
|
+
class: "kui-icon kong-icon",
|
|
100
|
+
"data-testid": "kui-icon-wrapper-kong-icon",
|
|
101
|
+
style: S(f.value),
|
|
102
|
+
tabindex: t.decorative ? "-1" : void 0
|
|
103
|
+
}, {
|
|
104
|
+
default: k(() => [
|
|
105
|
+
(u(), w("svg", {
|
|
106
|
+
"aria-hidden": t.decorative ? "true" : void 0,
|
|
107
|
+
"data-testid": "kui-icon-svg-kong-icon",
|
|
108
|
+
fill: "none",
|
|
109
|
+
height: "100%",
|
|
110
|
+
role: "img",
|
|
111
|
+
viewBox: "0 0 24 24",
|
|
112
|
+
width: "100%",
|
|
113
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
114
|
+
innerHTML: m
|
|
115
|
+
}, null, 8, z))
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["aria-hidden", "style", "tabindex"]));
|
|
119
|
+
}
|
|
120
|
+
});
|
|
108
121
|
export {
|
|
109
|
-
|
|
122
|
+
H as default
|
|
110
123
|
};
|
package/dist/kongponents185.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),d=require("./kongponents277.cjs"),y=["aria-hidden"],c='<path d="M19.6 21L13.3 14.7C12.8 15.1 12.225 15.4167 11.575 15.65C10.925 15.8833 10.2333 16 9.5 16C7.68333 16 6.14583 15.3708 4.8875 14.1125C3.62917 12.8542 3 11.3167 3 9.5C3 7.68333 3.62917 6.14583 4.8875 4.8875C6.14583 3.62917 7.68333 3 9.5 3C11.3167 3 12.8542 3.62917 14.1125 4.8875C15.3708 6.14583 16 7.68333 16 9.5C16 10.2333 15.8833 10.925 15.65 11.575C15.4167 12.225 15.1 12.8 14.7 13.3L21 19.6L19.6 21ZM9.5 14C10.75 14 11.8125 13.5625 12.6875 12.6875C13.5625 11.8125 14 10.75 14 9.5C14 8.25 13.5625 7.1875 12.6875 6.3125C11.8125 5.4375 10.75 5 9.5 5C8.25 5 7.1875 5.4375 6.3125 6.3125C5.4375 7.1875 5 8.25 5 9.5C5 10.75 5.4375 11.8125 6.3125 12.6875C7.1875 13.5625 8.25 14 9.5 14Z" fill="currentColor"/>',h=r.defineComponent({__name:"SearchIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:d.KUI_ICON_SIZE_50,validator:t=>{if(typeof t=="string"&&/^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(t)||typeof t=="number"&&t>0)return!0;if(typeof t=="string"){const e=String(t).replace(/px/gi,""),a=Number(e);if(a&&!isNaN(a)&&Number.isInteger(a)&&a>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(t){const e=t,a=n=>typeof n=="string"&&/^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(n),s=r.computed(()=>{if(a(e.size))return e.size;if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const n=String(e.size).replace(/px/gi,""),i=Number(n);if(i&&!isNaN(i)&&Number.isInteger(i)&&i>0)return`${i}px`}return d.KUI_ICON_SIZE_50}),p=r.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:s.value,lineHeight:"0",width:s.value,pointerEvents:e.decorative?"none":void 0})),f=n=>{const i={},m=Math.random().toString(36).substring(2,12);return n.replace(/id="([^"]+)"/g,(l,o)=>{const u=`${m}-${o}`;return i[o]=u,`id="${u}"`}).replace(/#([^\s^")]+)/g,(l,o)=>i[o]?`#${i[o]}`:l)},g={"<":"<",">":">",'"':""","'":"'","&":"&"},v=n=>n.replace(/[<>"'&]/g,i=>g[i]),C=`${e.title?`<title data-testid="kui-icon-svg-title">${v(e.title)}</title>`:""}${e.staticIds?c:f(c)}`;return(n,i)=>(r.openBlock(),r.createBlock(r.resolveDynamicComponent(t.as),{"aria-hidden":t.decorative?"true":void 0,class:"kui-icon search-icon","data-testid":"kui-icon-wrapper-search-icon",style:r.normalizeStyle(p.value),tabindex:t.decorative?"-1":void 0},{default:r.withCtx(()=>[(r.openBlock(),r.createElementBlock("svg",{"aria-hidden":t.decorative?"true":void 0,"data-testid":"kui-icon-svg-search-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:C},null,8,y))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=h;
|
|
@@ -1,7 +1,123 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { defineComponent as y, computed as d, openBlock as u, createBlock as b, resolveDynamicComponent as S, normalizeStyle as x, withCtx as w, createElementBlock as N } from "vue";
|
|
2
|
+
import { KUI_ICON_SIZE_50 as c } from "./kongponents277.es.js";
|
|
3
|
+
const $ = ["aria-hidden"], p = '<path d="M19.6 21L13.3 14.7C12.8 15.1 12.225 15.4167 11.575 15.65C10.925 15.8833 10.2333 16 9.5 16C7.68333 16 6.14583 15.3708 4.8875 14.1125C3.62917 12.8542 3 11.3167 3 9.5C3 7.68333 3.62917 6.14583 4.8875 4.8875C6.14583 3.62917 7.68333 3 9.5 3C11.3167 3 12.8542 3.62917 14.1125 4.8875C15.3708 6.14583 16 7.68333 16 9.5C16 10.2333 15.8833 10.925 15.65 11.575C15.4167 12.225 15.1 12.8 14.7 13.3L21 19.6L19.6 21ZM9.5 14C10.75 14 11.8125 13.5625 12.6875 12.6875C13.5625 11.8125 14 10.75 14 9.5C14 8.25 13.5625 7.1875 12.6875 6.3125C11.8125 5.4375 10.75 5 9.5 5C8.25 5 7.1875 5.4375 6.3125 6.3125C5.4375 7.1875 5 8.25 5 9.5C5 10.75 5.4375 11.8125 6.3125 12.6875C7.1875 13.5625 8.25 14 9.5 14Z" fill="currentColor"/>', I = /* @__PURE__ */ y({
|
|
4
|
+
__name: "SearchIcon",
|
|
5
|
+
props: {
|
|
6
|
+
/** The accessibility text provided to screen readers */
|
|
7
|
+
title: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: !1,
|
|
10
|
+
default: ""
|
|
11
|
+
},
|
|
12
|
+
/** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
|
|
13
|
+
color: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: !1,
|
|
16
|
+
default: "currentColor"
|
|
17
|
+
},
|
|
18
|
+
/** The CSS display property for the icon. Defaults to `block` */
|
|
19
|
+
display: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: !1,
|
|
22
|
+
default: "block"
|
|
23
|
+
},
|
|
24
|
+
/** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
|
|
25
|
+
decorative: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
required: !1,
|
|
28
|
+
default: !1
|
|
29
|
+
},
|
|
30
|
+
/** The icon size */
|
|
31
|
+
size: {
|
|
32
|
+
type: [Number, String],
|
|
33
|
+
required: !1,
|
|
34
|
+
default: c,
|
|
35
|
+
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
36
|
+
validator: (t) => {
|
|
37
|
+
if (typeof t == "string" && /^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(t) || typeof t == "number" && t > 0)
|
|
38
|
+
return !0;
|
|
39
|
+
if (typeof t == "string") {
|
|
40
|
+
const e = String(t).replace(/px/gi, ""), a = Number(e);
|
|
41
|
+
if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
|
|
42
|
+
return !0;
|
|
43
|
+
}
|
|
44
|
+
return !1;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
/** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
|
|
48
|
+
as: {
|
|
49
|
+
type: String,
|
|
50
|
+
required: !1,
|
|
51
|
+
default: "span"
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).
|
|
55
|
+
* Typically only set to `true` during snapshot testing.
|
|
56
|
+
* Defaults to `false`.
|
|
57
|
+
*/
|
|
58
|
+
staticIds: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !1
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
setup(t) {
|
|
64
|
+
const e = t, a = (r) => typeof r == "string" && /^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(r), o = d(() => {
|
|
65
|
+
if (a(e.size))
|
|
66
|
+
return e.size;
|
|
67
|
+
if (typeof e.size == "number" && e.size > 0)
|
|
68
|
+
return `${e.size}px`;
|
|
69
|
+
if (typeof e.size == "string") {
|
|
70
|
+
const r = String(e.size).replace(/px/gi, ""), i = Number(r);
|
|
71
|
+
if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
|
|
72
|
+
return `${i}px`;
|
|
73
|
+
}
|
|
74
|
+
return c;
|
|
75
|
+
}), f = d(() => ({
|
|
76
|
+
boxSizing: "border-box",
|
|
77
|
+
color: e.color,
|
|
78
|
+
display: e.display,
|
|
79
|
+
flexShrink: "0",
|
|
80
|
+
height: o.value,
|
|
81
|
+
lineHeight: "0",
|
|
82
|
+
width: o.value,
|
|
83
|
+
pointerEvents: e.decorative ? "none" : void 0
|
|
84
|
+
})), g = (r) => {
|
|
85
|
+
const i = {}, h = Math.random().toString(36).substring(2, 12);
|
|
86
|
+
return r.replace(/id="([^"]+)"/g, (s, n) => {
|
|
87
|
+
const l = `${h}-${n}`;
|
|
88
|
+
return i[n] = l, `id="${l}"`;
|
|
89
|
+
}).replace(/#([^\s^")]+)/g, (s, n) => i[n] ? `#${i[n]}` : s);
|
|
90
|
+
}, C = {
|
|
91
|
+
"<": "<",
|
|
92
|
+
">": ">",
|
|
93
|
+
'"': """,
|
|
94
|
+
"'": "'",
|
|
95
|
+
"&": "&"
|
|
96
|
+
}, m = (r) => r.replace(/[<>"'&]/g, (i) => C[i]), v = `${e.title ? `<title data-testid="kui-icon-svg-title">${m(e.title)}</title>` : ""}${e.staticIds ? p : g(p)}`;
|
|
97
|
+
return (r, i) => (u(), b(S(t.as), {
|
|
98
|
+
"aria-hidden": t.decorative ? "true" : void 0,
|
|
99
|
+
class: "kui-icon search-icon",
|
|
100
|
+
"data-testid": "kui-icon-wrapper-search-icon",
|
|
101
|
+
style: x(f.value),
|
|
102
|
+
tabindex: t.decorative ? "-1" : void 0
|
|
103
|
+
}, {
|
|
104
|
+
default: w(() => [
|
|
105
|
+
(u(), N("svg", {
|
|
106
|
+
"aria-hidden": t.decorative ? "true" : void 0,
|
|
107
|
+
"data-testid": "kui-icon-svg-search-icon",
|
|
108
|
+
fill: "none",
|
|
109
|
+
height: "100%",
|
|
110
|
+
role: "img",
|
|
111
|
+
viewBox: "0 0 24 24",
|
|
112
|
+
width: "100%",
|
|
113
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
114
|
+
innerHTML: v
|
|
115
|
+
}, null, 8, $))
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["aria-hidden", "style", "tabindex"]));
|
|
119
|
+
}
|
|
120
|
+
});
|
|
5
121
|
export {
|
|
6
|
-
|
|
122
|
+
I as default
|
|
7
123
|
};
|
package/dist/kongponents186.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),u=require("./kongponents277.cjs"),y=["aria-hidden"],c='<path d="M12.025 22.05C11.7583 22.05 11.5042 22 11.2625 21.9C11.0208 21.8 10.8 21.6583 10.6 21.475L2.575 13.45C2.39167 13.25 2.25 13.0292 2.15 12.7875C2.05 12.5458 2 12.2917 2 12.025C2 11.7583 2.05 11.5 2.15 11.25C2.25 11 2.39167 10.7833 2.575 10.6L10.6 2.575C10.8 2.375 11.0208 2.22917 11.2625 2.1375C11.5042 2.04583 11.7583 2 12.025 2C12.2917 2 12.55 2.04583 12.8 2.1375C13.05 2.22917 13.2667 2.375 13.45 2.575L21.475 10.6C21.675 10.7833 21.8208 11 21.9125 11.25C22.0042 11.5 22.05 11.7583 22.05 12.025C22.05 12.2917 22.0042 12.5458 21.9125 12.7875C21.8208 13.0292 21.675 13.25 21.475 13.45L13.45 21.475C13.2667 21.6583 13.05 21.8 12.8 21.9C12.55 22 12.2917 22.05 12.025 22.05ZM11.025 13.025H13.025V7.025H11.025V13.025ZM12.025 16.025C12.3083 16.025 12.5458 15.9292 12.7375 15.7375C12.9292 15.5458 13.025 15.3083 13.025 15.025C13.025 14.7417 12.9292 14.5042 12.7375 14.3125C12.5458 14.1208 12.3083 14.025 12.025 14.025C11.7417 14.025 11.5042 14.1208 11.3125 14.3125C11.1208 14.5042 11.025 14.7417 11.025 15.025C11.025 15.3083 11.1208 15.5458 11.3125 15.7375C11.5042 15.9292 11.7417 16.025 12.025 16.025Z" fill="currentColor"/>',b=r.defineComponent({__name:"WarningIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:t=>{if(typeof t=="string"&&/^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(t)||typeof t=="number"&&t>0)return!0;if(typeof t=="string"){const e=String(t).replace(/px/gi,""),a=Number(e);if(a&&!isNaN(a)&&Number.isInteger(a)&&a>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(t){const e=t,a=n=>typeof n=="string"&&/^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(n),s=r.computed(()=>{if(a(e.size))return e.size;if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const n=String(e.size).replace(/px/gi,""),i=Number(n);if(i&&!isNaN(i)&&Number.isInteger(i)&&i>0)return`${i}px`}return u.KUI_ICON_SIZE_50}),p=r.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:s.value,lineHeight:"0",width:s.value,pointerEvents:e.decorative?"none":void 0})),g=n=>{const i={},m=Math.random().toString(36).substring(2,12);return n.replace(/id="([^"]+)"/g,(l,o)=>{const d=`${m}-${o}`;return i[o]=d,`id="${d}"`}).replace(/#([^\s^")]+)/g,(l,o)=>i[o]?`#${i[o]}`:l)},f={"<":"<",">":">",'"':""","'":"'","&":"&"},C=n=>n.replace(/[<>"'&]/g,i=>f[i]),v=`${e.title?`<title data-testid="kui-icon-svg-title">${C(e.title)}</title>`:""}${e.staticIds?c:g(c)}`;return(n,i)=>(r.openBlock(),r.createBlock(r.resolveDynamicComponent(t.as),{"aria-hidden":t.decorative?"true":void 0,class:"kui-icon warning-icon","data-testid":"kui-icon-wrapper-warning-icon",style:r.normalizeStyle(p.value),tabindex:t.decorative?"-1":void 0},{default:r.withCtx(()=>[(r.openBlock(),r.createElementBlock("svg",{"aria-hidden":t.decorative?"true":void 0,"data-testid":"kui-icon-svg-warning-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:v},null,8,y))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=b;
|
|
@@ -1,7 +1,123 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { defineComponent as h, computed as d, openBlock as u, createBlock as b, resolveDynamicComponent as w, normalizeStyle as x, withCtx as S, createElementBlock as N } from "vue";
|
|
2
|
+
import { KUI_ICON_SIZE_50 as p } from "./kongponents277.es.js";
|
|
3
|
+
const $ = ["aria-hidden"], c = '<path d="M12.025 22.05C11.7583 22.05 11.5042 22 11.2625 21.9C11.0208 21.8 10.8 21.6583 10.6 21.475L2.575 13.45C2.39167 13.25 2.25 13.0292 2.15 12.7875C2.05 12.5458 2 12.2917 2 12.025C2 11.7583 2.05 11.5 2.15 11.25C2.25 11 2.39167 10.7833 2.575 10.6L10.6 2.575C10.8 2.375 11.0208 2.22917 11.2625 2.1375C11.5042 2.04583 11.7583 2 12.025 2C12.2917 2 12.55 2.04583 12.8 2.1375C13.05 2.22917 13.2667 2.375 13.45 2.575L21.475 10.6C21.675 10.7833 21.8208 11 21.9125 11.25C22.0042 11.5 22.05 11.7583 22.05 12.025C22.05 12.2917 22.0042 12.5458 21.9125 12.7875C21.8208 13.0292 21.675 13.25 21.475 13.45L13.45 21.475C13.2667 21.6583 13.05 21.8 12.8 21.9C12.55 22 12.2917 22.05 12.025 22.05ZM11.025 13.025H13.025V7.025H11.025V13.025ZM12.025 16.025C12.3083 16.025 12.5458 15.9292 12.7375 15.7375C12.9292 15.5458 13.025 15.3083 13.025 15.025C13.025 14.7417 12.9292 14.5042 12.7375 14.3125C12.5458 14.1208 12.3083 14.025 12.025 14.025C11.7417 14.025 11.5042 14.1208 11.3125 14.3125C11.1208 14.5042 11.025 14.7417 11.025 15.025C11.025 15.3083 11.1208 15.5458 11.3125 15.7375C11.5042 15.9292 11.7417 16.025 12.025 16.025Z" fill="currentColor"/>', I = /* @__PURE__ */ h({
|
|
4
|
+
__name: "WarningIcon",
|
|
5
|
+
props: {
|
|
6
|
+
/** The accessibility text provided to screen readers */
|
|
7
|
+
title: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: !1,
|
|
10
|
+
default: ""
|
|
11
|
+
},
|
|
12
|
+
/** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
|
|
13
|
+
color: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: !1,
|
|
16
|
+
default: "currentColor"
|
|
17
|
+
},
|
|
18
|
+
/** The CSS display property for the icon. Defaults to `block` */
|
|
19
|
+
display: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: !1,
|
|
22
|
+
default: "block"
|
|
23
|
+
},
|
|
24
|
+
/** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
|
|
25
|
+
decorative: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
required: !1,
|
|
28
|
+
default: !1
|
|
29
|
+
},
|
|
30
|
+
/** The icon size */
|
|
31
|
+
size: {
|
|
32
|
+
type: [Number, String],
|
|
33
|
+
required: !1,
|
|
34
|
+
default: p,
|
|
35
|
+
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
36
|
+
validator: (t) => {
|
|
37
|
+
if (typeof t == "string" && /^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(t) || typeof t == "number" && t > 0)
|
|
38
|
+
return !0;
|
|
39
|
+
if (typeof t == "string") {
|
|
40
|
+
const e = String(t).replace(/px/gi, ""), n = Number(e);
|
|
41
|
+
if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
|
|
42
|
+
return !0;
|
|
43
|
+
}
|
|
44
|
+
return !1;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
/** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
|
|
48
|
+
as: {
|
|
49
|
+
type: String,
|
|
50
|
+
required: !1,
|
|
51
|
+
default: "span"
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).
|
|
55
|
+
* Typically only set to `true` during snapshot testing.
|
|
56
|
+
* Defaults to `false`.
|
|
57
|
+
*/
|
|
58
|
+
staticIds: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !1
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
setup(t) {
|
|
64
|
+
const e = t, n = (r) => typeof r == "string" && /^\s*var\(\s*--[\w-]+\s*(?:,[^)]*)?\)\s*$/.test(r), o = d(() => {
|
|
65
|
+
if (n(e.size))
|
|
66
|
+
return e.size;
|
|
67
|
+
if (typeof e.size == "number" && e.size > 0)
|
|
68
|
+
return `${e.size}px`;
|
|
69
|
+
if (typeof e.size == "string") {
|
|
70
|
+
const r = String(e.size).replace(/px/gi, ""), i = Number(r);
|
|
71
|
+
if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
|
|
72
|
+
return `${i}px`;
|
|
73
|
+
}
|
|
74
|
+
return p;
|
|
75
|
+
}), f = d(() => ({
|
|
76
|
+
boxSizing: "border-box",
|
|
77
|
+
color: e.color,
|
|
78
|
+
display: e.display,
|
|
79
|
+
flexShrink: "0",
|
|
80
|
+
height: o.value,
|
|
81
|
+
lineHeight: "0",
|
|
82
|
+
width: o.value,
|
|
83
|
+
pointerEvents: e.decorative ? "none" : void 0
|
|
84
|
+
})), g = (r) => {
|
|
85
|
+
const i = {}, y = Math.random().toString(36).substring(2, 12);
|
|
86
|
+
return r.replace(/id="([^"]+)"/g, (s, a) => {
|
|
87
|
+
const l = `${y}-${a}`;
|
|
88
|
+
return i[a] = l, `id="${l}"`;
|
|
89
|
+
}).replace(/#([^\s^")]+)/g, (s, a) => i[a] ? `#${i[a]}` : s);
|
|
90
|
+
}, C = {
|
|
91
|
+
"<": "<",
|
|
92
|
+
">": ">",
|
|
93
|
+
'"': """,
|
|
94
|
+
"'": "'",
|
|
95
|
+
"&": "&"
|
|
96
|
+
}, m = (r) => r.replace(/[<>"'&]/g, (i) => C[i]), v = `${e.title ? `<title data-testid="kui-icon-svg-title">${m(e.title)}</title>` : ""}${e.staticIds ? c : g(c)}`;
|
|
97
|
+
return (r, i) => (u(), b(w(t.as), {
|
|
98
|
+
"aria-hidden": t.decorative ? "true" : void 0,
|
|
99
|
+
class: "kui-icon warning-icon",
|
|
100
|
+
"data-testid": "kui-icon-wrapper-warning-icon",
|
|
101
|
+
style: x(f.value),
|
|
102
|
+
tabindex: t.decorative ? "-1" : void 0
|
|
103
|
+
}, {
|
|
104
|
+
default: S(() => [
|
|
105
|
+
(u(), N("svg", {
|
|
106
|
+
"aria-hidden": t.decorative ? "true" : void 0,
|
|
107
|
+
"data-testid": "kui-icon-svg-warning-icon",
|
|
108
|
+
fill: "none",
|
|
109
|
+
height: "100%",
|
|
110
|
+
role: "img",
|
|
111
|
+
viewBox: "0 0 24 24",
|
|
112
|
+
width: "100%",
|
|
113
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
114
|
+
innerHTML: v
|
|
115
|
+
}, null, 8, $))
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["aria-hidden", "style", "tabindex"]));
|
|
119
|
+
}
|
|
120
|
+
});
|
|
5
121
|
export {
|
|
6
|
-
|
|
122
|
+
I as default
|
|
7
123
|
};
|
package/dist/kongponents187.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue");require("./kongponents261.cjs");const f=require("./kongponents262.cjs"),S={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:l,isLoading:o,mutate:r}=f.default(e,u,{revalidateDebounce:500,dedupingInterval:100,...a});return{data:s.computed(()=>{var A;return(A=t.value)==null?void 0:A.data}),response:t,error:n,isValidating:l,isLoading:o,revalidate:r}},useDebounce:(e,u=300)=>{let a;const t=n=>async(...l)=>{clearTimeout(a),n>0?await new Promise(o=>{a=setTimeout(async()=>{await e(...l),o()},n)}):await e(...l)};return{debouncedFn:t(u),generateDebouncedFn:t}},clientSideSorter:(e,u,a,t)=>{let n=null;const l=(r,i)=>typeof i=="number"&&!Number.isNaN(r)&&!Number.isNaN(i)?r-i:0,o=(r,i)=>r.localeCompare(i);return e!==u?(n=(r,i)=>{const A=c=>c==null?"":typeof c=="number"?c:Array.isArray(c)&&c.length&&typeof c[0]=="number"?c[0]:String(c),d=A(r[e]),v=A(i[e]);switch(typeof d){case"number":return l(d,v);default:return 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=s.ref(S.PENDING),n=s.ref(!1);return s.watchEffect(()=>{var l,o,r,i,A,d;if(n.value=e.value&&!!((l=Object.keys(e.value))!=null&&l.length||(o=e.value.data)!=null&&o.length||(i=(r=e.value.data)==null?void 0:r.data)!=null&&i.length||!((A=e.value.data)!=null&&A.data)&&typeof e.value.data=="object"&&Object.keys((d=e.value)==null?void 0:d.data).length),e.value&&n.value&&a.value){t.value=S.VALIDATING_HAS_DATA;return}if(e.value&&a.value){t.value=S.VALIDATING;return}if(e.value&&u.value){t.value=S.STALE_IF_ERROR;return}if(e.value===void 0&&!u.value){t.value=S.PENDING;return}if(e.value&&!u.value&&n.value){t.value=S.SUCCESS_HAS_DATA;return}if(e.value&&!u.value){t.value=S.SUCCESS;return}e.value===void 0&&u&&(t.value=S.ERROR)}),{hasData:n,state:t,swrvState:S}},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;
|