@kiva/kv-components 7.6.3 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/.eslintignore +5 -0
  2. package/dist/index.d.ts +3 -0
  3. package/dist/index.js +236 -216
  4. package/dist/utils/Alea.d.ts +9 -0
  5. package/dist/utils/Alea.js +23 -23
  6. package/dist/utils/arrayUtils.d.ts +3 -0
  7. package/dist/utils/arrayUtils.js +1 -1
  8. package/dist/utils/attrs.d.ts +6 -0
  9. package/dist/utils/carousels.d.ts +21 -0
  10. package/dist/utils/comparators.d.ts +3 -0
  11. package/dist/utils/comparators.js +20 -6
  12. package/dist/utils/debounce.d.ts +1 -0
  13. package/dist/utils/debounce.js +4 -4
  14. package/dist/utils/event.d.ts +1 -0
  15. package/dist/utils/event.js +7 -0
  16. package/dist/utils/expander.d.ts +14 -0
  17. package/dist/utils/imageUtils.d.ts +11 -0
  18. package/dist/utils/imageUtils.js +12 -12
  19. package/dist/utils/index.d.ts +21 -0
  20. package/dist/utils/loanCard.d.ts +35 -0
  21. package/dist/utils/loanCard.js +2 -2
  22. package/dist/utils/loanSearch/queryParamUtils.d.ts +1 -0
  23. package/dist/utils/loanUtils.d.ts +11 -0
  24. package/dist/utils/loanUtils.js +56 -53
  25. package/dist/utils/mapUtils.d.ts +5 -0
  26. package/dist/utils/markMatches.d.ts +1 -0
  27. package/dist/utils/paramCase.d.ts +1 -0
  28. package/dist/utils/printing.d.ts +2 -0
  29. package/dist/utils/scrollLock.d.ts +4 -0
  30. package/dist/utils/themeUtils.d.ts +12 -0
  31. package/dist/utils/throttle.d.ts +1 -0
  32. package/dist/utils/throttle.js +4 -4
  33. package/dist/utils/touchEvents.d.ts +3 -0
  34. package/dist/utils/touchEvents.js +9 -9
  35. package/dist/utils/treemap.d.ts +16 -0
  36. package/dist/utils/treemap.js +1 -1
  37. package/dist/vue/KvAccordionItem.js +28 -82
  38. package/dist/vue/KvAccordionItem.vue.d.ts +107 -0
  39. package/dist/vue/KvAccordionItem2.js +60 -0
  40. package/dist/vue/KvActivityRow.js +11 -22
  41. package/dist/vue/KvActivityRow.vue.d.ts +66 -0
  42. package/dist/vue/KvActivityRow2.js +16 -0
  43. package/dist/vue/KvAtbModal.css +1 -1
  44. package/dist/vue/KvAtbModal.js +68 -248
  45. package/dist/vue/KvAtbModal.vue.d.ts +359 -0
  46. package/dist/vue/KvAtbModal2.js +186 -0
  47. package/dist/vue/KvBorrowerImage.js +17 -118
  48. package/dist/vue/KvBorrowerImage.vue.d.ts +62 -0
  49. package/dist/vue/KvBorrowerImage2.js +106 -0
  50. package/dist/vue/KvButton.js +20 -164
  51. package/dist/vue/KvButton.vue.d.ts +94 -0
  52. package/dist/vue/KvButton2.js +149 -0
  53. package/dist/vue/KvCardFrame.js +12 -74
  54. package/dist/vue/KvCardFrame.vue.d.ts +86 -0
  55. package/dist/vue/KvCardFrame2.js +67 -0
  56. package/dist/vue/KvCarousel.css +1 -1
  57. package/dist/vue/KvCarousel.js +55 -192
  58. package/dist/vue/KvCarousel.vue.d.ts +135 -0
  59. package/dist/vue/KvCarousel2.js +142 -0
  60. package/dist/vue/KvCartModal.css +1 -1
  61. package/dist/vue/KvCartModal.js +31 -131
  62. package/dist/vue/KvCartModal.vue.d.ts +163 -0
  63. package/dist/vue/KvCartModal2.js +106 -0
  64. package/dist/vue/KvCartPill.js +12 -51
  65. package/dist/vue/KvCartPill.vue.d.ts +52 -0
  66. package/dist/vue/KvCartPill2.js +45 -0
  67. package/dist/vue/KvCheckbox.css +1 -1
  68. package/dist/vue/KvCheckbox.js +30 -126
  69. package/dist/vue/KvCheckbox.vue.d.ts +90 -0
  70. package/dist/vue/KvCheckbox2.js +102 -0
  71. package/dist/vue/KvCheckoutReceipt.css +1 -1
  72. package/dist/vue/KvCheckoutReceipt.js +120 -199
  73. package/dist/vue/KvCheckoutReceipt.vue.d.ts +164 -0
  74. package/dist/vue/KvCheckoutReceipt2.js +85 -0
  75. package/dist/vue/KvChip.js +12 -29
  76. package/dist/vue/KvChip.vue.d.ts +22 -0
  77. package/dist/vue/KvChip2.js +22 -0
  78. package/dist/vue/KvClassicLoanCard.css +1 -1
  79. package/dist/vue/KvClassicLoanCard.js +83 -351
  80. package/dist/vue/KvClassicLoanCard.vue.d.ts +2120 -0
  81. package/dist/vue/KvClassicLoanCard2.js +281 -0
  82. package/dist/vue/KvCommentsAdd.css +1 -1
  83. package/dist/vue/KvCommentsAdd.js +34 -81
  84. package/dist/vue/KvCommentsAdd.vue.d.ts +296 -0
  85. package/dist/vue/KvCommentsAdd2.js +57 -0
  86. package/dist/vue/KvCommentsContainer.js +15 -66
  87. package/dist/vue/KvCommentsContainer.vue.d.ts +954 -0
  88. package/dist/vue/KvCommentsContainer2.js +58 -0
  89. package/dist/vue/KvCommentsHeartButton.css +1 -1
  90. package/dist/vue/KvCommentsHeartButton.js +12 -51
  91. package/dist/vue/KvCommentsHeartButton.vue.d.ts +42 -0
  92. package/dist/vue/KvCommentsHeartButton2.js +44 -0
  93. package/dist/vue/KvCommentsList.js +9 -51
  94. package/dist/vue/KvCommentsList.vue.d.ts +619 -0
  95. package/dist/vue/KvCommentsList2.js +46 -0
  96. package/dist/vue/KvCommentsListItem.js +62 -186
  97. package/dist/vue/KvCommentsListItem.vue.d.ts +571 -0
  98. package/dist/vue/KvCommentsListItem2.js +135 -0
  99. package/dist/vue/KvCommentsReplyButton.css +1 -1
  100. package/dist/vue/KvCommentsReplyButton.js +8 -17
  101. package/dist/vue/KvCommentsReplyButton.vue.d.ts +98 -0
  102. package/dist/vue/KvCommentsReplyButton2.js +13 -0
  103. package/dist/vue/KvCompactLoanCard.css +1 -1
  104. package/dist/vue/KvCompactLoanCard.js +71 -327
  105. package/dist/vue/KvCompactLoanCard.vue.d.ts +1272 -0
  106. package/dist/vue/KvCompactLoanCard2.js +269 -0
  107. package/dist/vue/KvContentfulImg.js +51 -164
  108. package/dist/vue/KvContentfulImg.vue.d.ts +107 -0
  109. package/dist/vue/KvContentfulImg2.js +119 -0
  110. package/dist/vue/KvCountdownTimer.js +8 -28
  111. package/dist/vue/KvCountdownTimer.vue.d.ts +15 -0
  112. package/dist/vue/KvCountdownTimer2.js +26 -0
  113. package/dist/vue/KvDatePicker.js +21 -101
  114. package/dist/vue/KvDatePicker.vue.d.ts +58 -0
  115. package/dist/vue/KvDatePicker2.js +86 -0
  116. package/dist/vue/KvExpandable.js +9 -56
  117. package/dist/vue/KvExpandable.vue.d.ts +53 -0
  118. package/dist/vue/KvExpandable2.js +52 -0
  119. package/dist/vue/KvExpandableQuestion.js +23 -82
  120. package/dist/vue/KvExpandableQuestion.vue.d.ts +124 -0
  121. package/dist/vue/KvExpandableQuestion2.js +65 -0
  122. package/dist/vue/KvFlag.css +1 -1
  123. package/dist/vue/KvFlag.js +16 -617
  124. package/dist/vue/KvFlag.vue.d.ts +66 -0
  125. package/dist/vue/KvFlag2.js +606 -0
  126. package/dist/vue/KvGrid.js +7 -18
  127. package/dist/vue/KvGrid.vue.d.ts +14 -0
  128. package/dist/vue/KvGrid2.js +15 -0
  129. package/dist/vue/KvIconBag.js +12 -18
  130. package/dist/vue/KvIconBag.vue.d.ts +14 -0
  131. package/dist/vue/KvIconBag2.js +11 -0
  132. package/dist/vue/KvImpactDashboardHeader.vue.d.ts +17 -0
  133. package/dist/vue/KvImpactVerticalSelector.js +31 -110
  134. package/dist/vue/KvImpactVerticalSelector.vue.d.ts +278 -0
  135. package/dist/vue/KvImpactVerticalSelector2.js +85 -0
  136. package/dist/vue/KvInlineActivityCard.js +15 -44
  137. package/dist/vue/KvInlineActivityCard.vue.d.ts +71 -0
  138. package/dist/vue/KvInlineActivityCard2.js +35 -0
  139. package/dist/vue/KvInlineActivityFeed.css +1 -1
  140. package/dist/vue/KvInlineActivityFeed.js +11 -23
  141. package/dist/vue/KvInlineActivityFeed.vue.d.ts +85 -0
  142. package/dist/vue/KvInlineActivityFeed2.js +17 -0
  143. package/dist/vue/KvIntroductionLoanCard.css +1 -1
  144. package/dist/vue/KvIntroductionLoanCard.js +111 -309
  145. package/dist/vue/KvIntroductionLoanCard.vue.d.ts +617 -0
  146. package/dist/vue/KvIntroductionLoanCard2.js +209 -0
  147. package/dist/vue/KvLendAmountButton.js +9 -53
  148. package/dist/vue/KvLendAmountButton.vue.d.ts +140 -0
  149. package/dist/vue/KvLendAmountButton2.js +48 -0
  150. package/dist/vue/KvLendCta.css +1 -1
  151. package/dist/vue/KvLendCta.js +150 -530
  152. package/dist/vue/KvLendCta.vue.d.ts +583 -0
  153. package/dist/vue/KvLendCta2.js +387 -0
  154. package/dist/vue/KvLightbox.js +37 -148
  155. package/dist/vue/KvLightbox.vue.d.ts +77 -0
  156. package/dist/vue/KvLightbox2.js +117 -0
  157. package/dist/vue/KvLineGraph.js +25 -58
  158. package/dist/vue/KvLineGraph.vue.d.ts +35 -0
  159. package/dist/vue/KvLineGraph2.js +39 -0
  160. package/dist/vue/KvLoadingPlaceholder.vue.d.ts +2 -0
  161. package/dist/vue/KvLoadingSpinner.js +9 -34
  162. package/dist/vue/KvLoadingSpinner.vue.d.ts +27 -0
  163. package/dist/vue/KvLoadingSpinner2.js +29 -0
  164. package/dist/vue/KvLoanActivities.css +1 -1
  165. package/dist/vue/KvLoanActivities.js +37 -179
  166. package/dist/vue/KvLoanActivities.vue.d.ts +853 -0
  167. package/dist/vue/KvLoanActivities2.js +151 -0
  168. package/dist/vue/KvLoanBookmark.js +14 -40
  169. package/dist/vue/KvLoanBookmark.vue.d.ts +32 -0
  170. package/dist/vue/KvLoanBookmark2.js +32 -0
  171. package/dist/vue/KvLoanCallouts.css +1 -1
  172. package/dist/vue/KvLoanCallouts.js +10 -17
  173. package/dist/vue/KvLoanCallouts.vue.d.ts +18 -0
  174. package/dist/vue/KvLoanCallouts2.js +12 -0
  175. package/dist/vue/KvLoanInfoCard.js +20 -19
  176. package/dist/vue/KvLoanProgressGroup.css +1 -1
  177. package/dist/vue/KvLoanProgressGroup.js +18 -57
  178. package/dist/vue/KvLoanProgressGroup.vue.d.ts +108 -0
  179. package/dist/vue/KvLoanProgressGroup2.js +44 -0
  180. package/dist/vue/KvLoanTag.js +15 -103
  181. package/dist/vue/KvLoanTag.vue.d.ts +46 -0
  182. package/dist/vue/KvLoanTag2.js +94 -0
  183. package/dist/vue/KvLoanTeamPick.vue.d.ts +2 -0
  184. package/dist/vue/KvLoanUse.js +12 -100
  185. package/dist/vue/KvLoanUse.vue.d.ts +120 -0
  186. package/dist/vue/KvLoanUse2.js +95 -0
  187. package/dist/vue/KvLogo.vue.d.ts +2 -0
  188. package/dist/vue/KvMap.js +13 -381
  189. package/dist/vue/KvMap.vue.d.ts +213 -0
  190. package/dist/vue/KvMap2.js +376 -0
  191. package/dist/vue/KvMaterialIcon.js +10 -20
  192. package/dist/vue/KvMaterialIcon.vue.d.ts +14 -0
  193. package/dist/vue/KvMaterialIcon2.js +15 -0
  194. package/dist/vue/KvPageContainer.js +9 -8
  195. package/dist/vue/KvPageContainer.vue.d.ts +2 -0
  196. package/dist/vue/KvPageContainer2.js +4 -0
  197. package/dist/vue/KvPagination.js +38 -138
  198. package/dist/vue/KvPagination.vue.d.ts +107 -0
  199. package/dist/vue/KvPagination2.js +105 -0
  200. package/dist/vue/KvPieChart.css +1 -1
  201. package/dist/vue/KvPieChart.js +49 -128
  202. package/dist/vue/KvPieChart.vue.d.ts +47 -0
  203. package/dist/vue/KvPieChart2.js +85 -0
  204. package/dist/vue/KvPill.js +9 -19
  205. package/dist/vue/KvPill.vue.d.ts +23 -0
  206. package/dist/vue/KvPill2.js +15 -0
  207. package/dist/vue/KvPopper.js +14 -122
  208. package/dist/vue/KvPopper.vue.d.ts +80 -0
  209. package/dist/vue/KvPopper2.js +113 -0
  210. package/dist/vue/KvProgressBar.js +17 -112
  211. package/dist/vue/KvProgressBar.vue.d.ts +70 -0
  212. package/dist/vue/KvProgressBar2.js +101 -0
  213. package/dist/vue/KvPulsingDot.css +1 -1
  214. package/dist/vue/KvPulsingDot.js +11 -25
  215. package/dist/vue/KvPulsingDot.vue.d.ts +23 -0
  216. package/dist/vue/KvPulsingDot2.js +19 -0
  217. package/dist/vue/KvRadio.js +23 -106
  218. package/dist/vue/KvRadio.vue.d.ts +62 -0
  219. package/dist/vue/KvRadio2.js +89 -0
  220. package/dist/vue/KvSecondaryNav.css +1 -1
  221. package/dist/vue/KvSecondaryNav.js +46 -122
  222. package/dist/vue/KvSecondaryNav.vue.d.ts +117 -0
  223. package/dist/vue/KvSecondaryNav2.js +82 -0
  224. package/dist/vue/KvSelect.css +1 -1
  225. package/dist/vue/KvSelect.js +18 -78
  226. package/dist/vue/KvSelect.vue.d.ts +58 -0
  227. package/dist/vue/KvSelect2.js +66 -0
  228. package/dist/vue/KvSideSheet.js +44 -262
  229. package/dist/vue/KvSideSheet.vue.d.ts +136 -0
  230. package/dist/vue/KvSideSheet2.js +224 -0
  231. package/dist/vue/KvSwitch.js +23 -76
  232. package/dist/vue/KvSwitch.vue.d.ts +34 -0
  233. package/dist/vue/KvSwitch2.js +59 -0
  234. package/dist/vue/KvTab.js +15 -57
  235. package/dist/vue/KvTab.vue.d.ts +34 -0
  236. package/dist/vue/KvTab2.js +48 -0
  237. package/dist/vue/KvTabPanel.js +14 -36
  238. package/dist/vue/KvTabPanel.vue.d.ts +14 -0
  239. package/dist/vue/KvTabPanel2.js +28 -0
  240. package/dist/vue/KvTabs.js +21 -75
  241. package/dist/vue/KvTabs.vue.d.ts +22 -0
  242. package/dist/vue/KvTabs2.js +60 -0
  243. package/dist/vue/KvTextInput.js +28 -148
  244. package/dist/vue/KvTextInput.vue.d.ts +105 -0
  245. package/dist/vue/KvTextInput2.js +126 -0
  246. package/dist/vue/KvTextLink.js +13 -76
  247. package/dist/vue/KvTextLink.vue.d.ts +64 -0
  248. package/dist/vue/KvTextLink2.js +68 -0
  249. package/dist/vue/KvThemeProvider.js +8 -59
  250. package/dist/vue/KvThemeProvider.vue.d.ts +23 -0
  251. package/dist/vue/KvThemeProvider2.js +55 -0
  252. package/dist/vue/KvToast.js +32 -69
  253. package/dist/vue/KvToast.vue.d.ts +31 -0
  254. package/dist/vue/KvToast2.js +43 -0
  255. package/dist/vue/KvTooltip.css +1 -1
  256. package/dist/vue/KvTooltip.js +27 -123
  257. package/dist/vue/KvTooltip.vue.d.ts +2 -0
  258. package/dist/vue/KvTooltip2.js +103 -0
  259. package/dist/vue/KvTreeMapChart.css +1 -1
  260. package/dist/vue/KvTreeMapChart.js +28 -156
  261. package/dist/vue/KvTreeMapChart.vue.d.ts +60 -0
  262. package/dist/vue/KvTreeMapChart2.js +133 -0
  263. package/dist/vue/KvUserAvatar.js +28 -110
  264. package/dist/vue/KvUserAvatar.vue.d.ts +55 -0
  265. package/dist/vue/KvUserAvatar2.js +88 -0
  266. package/dist/vue/KvUtilityMenu.js +19 -95
  267. package/dist/vue/KvUtilityMenu.vue.d.ts +104 -0
  268. package/dist/vue/KvUtilityMenu2.js +81 -0
  269. package/dist/vue/KvVerticalCarousel.js +40 -137
  270. package/dist/vue/KvVerticalCarousel.vue.d.ts +90 -0
  271. package/dist/vue/KvVerticalCarousel2.js +103 -0
  272. package/dist/vue/KvVotingCard.css +1 -1
  273. package/dist/vue/KvVotingCard.js +31 -88
  274. package/dist/vue/KvVotingCard.vue.d.ts +249 -0
  275. package/dist/vue/KvVotingCard2.js +63 -0
  276. package/dist/vue/KvVotingCardV2.js +35 -90
  277. package/dist/vue/KvVotingCardV2.vue.d.ts +308 -0
  278. package/dist/vue/KvVotingCardV22.js +61 -0
  279. package/dist/vue/KvWideLoanCard.css +1 -1
  280. package/dist/vue/KvWideLoanCard.js +66 -274
  281. package/dist/vue/KvWideLoanCard.vue.d.ts +1191 -0
  282. package/dist/vue/KvWideLoanCard2.js +220 -0
  283. package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +34 -38
  284. package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.vue.d.ts +20 -0
  285. package/dist/vue/KvWwwHeader/KvHeaderAboutMenu2.js +9 -0
  286. package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.js +20 -83
  287. package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.vue.d.ts +91 -0
  288. package/dist/vue/KvWwwHeader/KvHeaderDropdownLink2.js +69 -0
  289. package/dist/vue/KvWwwHeader/KvHeaderLinkBar.css +1 -1
  290. package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +77 -248
  291. package/dist/vue/KvWwwHeader/KvHeaderLinkBar.vue.d.ts +1071 -0
  292. package/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +178 -0
  293. package/dist/vue/KvWwwHeader/KvHeaderLogo.js +8 -12
  294. package/dist/vue/KvWwwHeader/KvHeaderLogo.vue.d.ts +4 -0
  295. package/dist/vue/KvWwwHeader/KvHeaderLogo2.js +9 -0
  296. package/dist/vue/KvWwwHeader/KvHeaderMenuLink.vue.d.ts +17 -0
  297. package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +1 -1
  298. package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +37 -91
  299. package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.vue.d.ts +162 -0
  300. package/dist/vue/KvWwwHeader/KvHeaderMobileMenu2.js +59 -0
  301. package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +36 -58
  302. package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.vue.d.ts +59 -0
  303. package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu2.js +27 -0
  304. package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +20 -24
  305. package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.vue.d.ts +20 -0
  306. package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu2.js +9 -0
  307. package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.css +1 -1
  308. package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +105 -181
  309. package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.vue.d.ts +319 -0
  310. package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu2.js +82 -0
  311. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.css +1 -1
  312. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +93 -173
  313. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.vue.d.ts +166 -0
  314. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +86 -0
  315. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +17 -157
  316. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.vue.d.ts +506 -0
  317. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu2.js +145 -0
  318. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.css +1 -1
  319. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +11 -18
  320. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.vue.d.ts +20 -0
  321. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList2.js +12 -0
  322. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +10 -16
  323. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.vue.d.ts +20 -0
  324. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList2.js +11 -0
  325. package/dist/vue/KvWwwHeader.css +1 -1
  326. package/dist/vue/KvWwwHeader.js +35 -148
  327. package/dist/vue/KvWwwHeader.vue.d.ts +4430 -0
  328. package/dist/vue/KvWwwHeader2.js +119 -0
  329. package/dist/vue/index.d.ts +86 -0
  330. package/package.json +34 -32
  331. package/tsconfig.json +32 -0
  332. package/vite.config.ts +84 -0
@@ -0,0 +1,135 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ multipleSlidesVisible: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ emblaOptions: {
7
+ type: ObjectConstructor;
8
+ default(): {};
9
+ };
10
+ autoplayOptions: {
11
+ type: ObjectConstructor;
12
+ default(): {};
13
+ };
14
+ fadeEnabled: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ slidesToScroll: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ validator: (value: string) => boolean;
22
+ };
23
+ slideMaxWidth: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ asideControls: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ isDotted: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ inCircle: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ controlsTopRight: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ }>, {
44
+ componentSlotKeys: import('vue').ComputedRef<string[]>;
45
+ currentIndex: import('vue').Ref<any, any>;
46
+ embla: import('vue').Ref<any, any>;
47
+ goToSlide: (index: number) => void;
48
+ handleUserInteraction: (index: number | null, interactionType: string) => Promise<void>;
49
+ isAriaHidden: (index: number) => boolean;
50
+ isAutoplaying: import('vue').Ref<boolean, boolean>;
51
+ mdiArrowLeft: string;
52
+ mdiArrowRight: string;
53
+ mdiChevronLeft: string;
54
+ mdiChevronRight: string;
55
+ nextIndex: import('vue').ComputedRef<any>;
56
+ previousIndex: import('vue').ComputedRef<number>;
57
+ reInit: () => void;
58
+ reInitVisible: () => void;
59
+ rootEl: import('vue').Ref<any, any>;
60
+ slideIndicatorCount: import('vue').Ref<number, number>;
61
+ slideIndicatorListLength: () => number;
62
+ slides: import('vue').Ref<any[], any[]>;
63
+ toggleAutoPlay: () => void;
64
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "interact-carousel")[], "change" | "interact-carousel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
65
+ multipleSlidesVisible: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ emblaOptions: {
70
+ type: ObjectConstructor;
71
+ default(): {};
72
+ };
73
+ autoplayOptions: {
74
+ type: ObjectConstructor;
75
+ default(): {};
76
+ };
77
+ fadeEnabled: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ slidesToScroll: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ validator: (value: string) => boolean;
85
+ };
86
+ slideMaxWidth: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ asideControls: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ isDotted: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ inCircle: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ controlsTopRight: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ }>> & Readonly<{
107
+ onChange?: (...args: any[]) => any;
108
+ "onInteract-carousel"?: (...args: any[]) => any;
109
+ }>, {
110
+ autoplayOptions: Record<string, any>;
111
+ fadeEnabled: boolean;
112
+ emblaOptions: Record<string, any>;
113
+ slidesToScroll: string;
114
+ multipleSlidesVisible: boolean;
115
+ slideMaxWidth: string;
116
+ asideControls: boolean;
117
+ isDotted: boolean;
118
+ inCircle: boolean;
119
+ controlsTopRight: boolean;
120
+ }, {}, {
121
+ KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
122
+ icon: {
123
+ type: StringConstructor;
124
+ default: string;
125
+ };
126
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
127
+ icon: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ }>> & Readonly<{}>, {
132
+ icon: string;
133
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
134
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
135
+ export default _default;
@@ -0,0 +1,142 @@
1
+ import { mdiArrowLeft as b, mdiArrowRight as v, mdiChevronLeft as x, mdiChevronRight as B } from "@mdi/js";
2
+ import { carouselUtil as C } from "../utils/carousels.js";
3
+ import S from "./KvMaterialIcon.js";
4
+ const K = {
5
+ name: "KvCarousel",
6
+ components: {
7
+ KvMaterialIcon: S
8
+ },
9
+ props: {
10
+ /**
11
+ * Should multiple slides be visible at a time.
12
+ * If true, a width must be set for each individual
13
+ * carousel slide or slideMaxWidth must
14
+ * be used.
15
+ * */
16
+ multipleSlidesVisible: {
17
+ type: Boolean,
18
+ default: !1
19
+ },
20
+ /**
21
+ * Options for the embla carousel - // https://davidcetinkaya.github.io/embla-carousel/api#options
22
+ * */
23
+ emblaOptions: {
24
+ type: Object,
25
+ default() {
26
+ return {};
27
+ }
28
+ },
29
+ /**
30
+ * Options for the autoplay plugin - // https://www.embla-carousel.com/plugins/autoplay/#options
31
+ * */
32
+ autoplayOptions: {
33
+ type: Object,
34
+ default() {
35
+ return {};
36
+ }
37
+ },
38
+ /**
39
+ * Enable fade plugin - // https://www.embla-carousel.com/plugins/fade/
40
+ * */
41
+ fadeEnabled: {
42
+ type: Boolean,
43
+ default: !1
44
+ },
45
+ /**
46
+ * The type of logic to implement when deciding how many slides
47
+ * to scroll when pressing the next/prev button
48
+ * `visible, auto`
49
+ * */
50
+ slidesToScroll: {
51
+ type: String,
52
+ default: "auto",
53
+ validator: (e) => ["visible", "auto"].indexOf(e) !== -1
54
+ },
55
+ /**
56
+ * CSS value and unit to set the max width on responsive slides.
57
+ * Slide will be responsive full width until the max width value
58
+ * is reached - example value: '32.5rem'
59
+ * */
60
+ slideMaxWidth: {
61
+ type: String,
62
+ default: ""
63
+ },
64
+ /**
65
+ * Aside controls version of the carousel
66
+ * */
67
+ asideControls: {
68
+ type: Boolean,
69
+ default: !1
70
+ },
71
+ /**
72
+ * Dotted controls version of the carousel
73
+ * */
74
+ isDotted: {
75
+ type: Boolean,
76
+ default: !1
77
+ },
78
+ /**
79
+ * Enables carousel slides to have a circle effect
80
+ * */
81
+ inCircle: {
82
+ type: Boolean,
83
+ default: !1
84
+ },
85
+ /**
86
+ * Position carousel controls in the top right corner
87
+ * */
88
+ controlsTopRight: {
89
+ type: Boolean,
90
+ default: !1
91
+ }
92
+ },
93
+ emits: [
94
+ "change",
95
+ "interact-carousel"
96
+ ],
97
+ setup(e, { emit: t, slots: o }) {
98
+ const {
99
+ componentSlotKeys: l,
100
+ currentIndex: a,
101
+ embla: i,
102
+ goToSlide: n,
103
+ handleUserInteraction: r,
104
+ isAriaHidden: s,
105
+ isAutoplaying: d,
106
+ nextIndex: u,
107
+ previousIndex: p,
108
+ reInit: f,
109
+ reInitVisible: c,
110
+ rootEl: m,
111
+ slideIndicatorCount: y,
112
+ slideIndicatorListLength: g,
113
+ slides: h,
114
+ toggleAutoPlay: I
115
+ } = C(e, { emit: t, slots: o }, {});
116
+ return {
117
+ componentSlotKeys: l,
118
+ currentIndex: a,
119
+ embla: i,
120
+ goToSlide: n,
121
+ handleUserInteraction: r,
122
+ isAriaHidden: s,
123
+ isAutoplaying: d,
124
+ mdiArrowLeft: b,
125
+ mdiArrowRight: v,
126
+ mdiChevronLeft: x,
127
+ mdiChevronRight: B,
128
+ nextIndex: u,
129
+ previousIndex: p,
130
+ reInit: f,
131
+ reInitVisible: c,
132
+ rootEl: m,
133
+ slideIndicatorCount: y,
134
+ slideIndicatorListLength: g,
135
+ slides: h,
136
+ toggleAutoPlay: I
137
+ };
138
+ }
139
+ };
140
+ export {
141
+ K as default
142
+ };
@@ -1 +1 @@
1
- .screen[data-v-4af12153]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;background-color:#0003}.modal[data-v-4af12153]{width:100%;border-bottom-right-radius:1rem;border-bottom-left-radius:1rem;--tw-bg-opacity: 1;background-color:rgba(var(--bg-primary),var(--tw-bg-opacity, 1))}@media (min-width: 45.875rem){.modal[data-v-4af12153]{position:absolute;right:0}}.modal[data-v-4af12153]{max-height:90%}.container[data-v-4af12153]{position:absolute;top:0;right:0;bottom:0;left:0}@media (min-width: 45.875rem){.modal[data-v-4af12153]{max-width:24.5rem}}
1
+ .screen[data-v-3fa0c68d]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;background-color:#0003}.modal[data-v-3fa0c68d]{width:100%;border-bottom-right-radius:1rem;border-bottom-left-radius:1rem;--tw-bg-opacity: 1;background-color:rgba(var(--bg-primary),var(--tw-bg-opacity, 1))}@media (min-width: 45.875rem){.modal[data-v-3fa0c68d]{position:absolute;right:0}}.modal[data-v-3fa0c68d]{max-height:90%}.container[data-v-3fa0c68d]{position:absolute;top:0;right:0;bottom:0;left:0}@media (min-width: 45.875rem){.modal[data-v-3fa0c68d]{max-width:24.5rem}}
@@ -1,118 +1,18 @@
1
- import { toRefs as I, ref as w, computed as p, watch as K, onMounted as F, onBeforeUnmount as P, resolveComponent as g, openBlock as C, createBlock as R, Transition as j, withCtx as h, withDirectives as D, createElementVNode as o, withModifiers as y, renderSlot as S, createVNode as b, createElementBlock as M, createCommentVNode as T, createTextVNode as L, toDisplayString as B, vShow as U, nextTick as q } from "vue";
2
- import { mdiClose as z, mdiCheckCircle as G } from "@mdi/js";
3
- import { useFocusTrap as H } from "@vueuse/integrations/useFocusTrap";
4
- import { hideOthers as J } from "../vendor/aria-hidden/dist/es2015/index.js";
5
- import { unlockScroll as Q, lockScroll as W } from "../utils/scrollLock.js";
6
- import { unlockPrintSingleEl as X, lockPrintSingleEl as Y } from "../utils/printing.js";
7
- import Z from "./KvButton.js";
8
- import $ from "./KvMaterialIcon.js";
1
+ import p from "./KvCartModal2.js";
2
+ import { resolveComponent as w, openBlock as i, createBlock as u, Transition as x, withCtx as c, withDirectives as b, createElementVNode as o, withModifiers as a, renderSlot as v, createVNode as s, createElementBlock as f, createCommentVNode as k, createTextVNode as y, toDisplayString as m, vShow as g } from "vue";
9
3
  import "./KvCartModal.css";
10
- import tt from "../_virtual/_plugin-vue_export-helper.js";
11
- const et = {
12
- components: {
13
- KvMaterialIcon: $,
14
- KvButton: Z
15
- },
16
- props: {
17
- /**
18
- * Whether the dialog is open or not
19
- * */
20
- visible: {
21
- type: Boolean,
22
- default: !1
23
- },
24
- /**
25
- * The dialog has no close X button, clicking the screen does not close,
26
- * pressing ESC does not close.
27
- * */
28
- preventClose: {
29
- type: Boolean,
30
- default: !1
31
- },
32
- /**
33
- * The number of loans in the basket
34
- * */
35
- basketCount: {
36
- type: Number,
37
- default: 0
38
- },
39
- /**
40
- * Category name for the CTA button
41
- * */
42
- categoryName: {
43
- type: String,
44
- default: ""
45
- }
46
- },
47
- emits: [
48
- "cart-modal-closed"
49
- ],
50
- setup(a, { emit: t }) {
51
- const {
52
- visible: l,
53
- preventClose: e
54
- } = I(a), c = w(null), i = w(null), d = w(null), u = w(), n = p(() => [
55
- c.value
56
- // This cart modal
57
- ]), x = p(() => !!a.categoryName), N = p(() => x.value ? `Support another ${a.categoryName}` : `View basket (${a.basketCount})`), {
58
- activate: _,
59
- deactivate: E
60
- } = H(n, {
61
- allowOutsideClick: !0
62
- // allow clicking outside the cart modal to close it
63
- });
64
- let v = null, m = null;
65
- const s = (r = "") => {
66
- c.value && i.value && (E(), i.value.scrollTop = 0, X(i.value)), Q(), v && (v(), v = null), document.removeEventListener("keyup", m), t("cart-modal-closed", { type: r });
67
- };
68
- m = (r) => {
69
- r && r.key === "Escape" && !e.value && s();
70
- };
71
- const A = () => {
72
- e.value || s("background");
73
- }, f = () => {
74
- l.value && (document.addEventListener("keyup", m), q(() => {
75
- c.value && i.value && (_(), v = J(c.value), Y(i.value)), W();
76
- }));
77
- }, O = (r) => {
78
- s(r);
79
- }, k = () => {
80
- e.value || (u.value = setTimeout(() => {
81
- t("cart-modal-closed", { type: "time" });
82
- }, 1e4));
83
- }, V = () => {
84
- e.value || clearTimeout(u.value);
85
- };
86
- return K(l, () => {
87
- l.value ? (f(), k()) : s();
88
- }), F(() => {
89
- l.value && (f(), k());
90
- }), P(() => s()), {
91
- mdiClose: z,
92
- mdiCheckCircle: G,
93
- onKeyUp: m,
94
- onScreenClick: A,
95
- hide: s,
96
- show: f,
97
- controlsRef: d,
98
- handleClick: O,
99
- clearAutomaticClose: V,
100
- setAutomaticClose: k,
101
- ctaText: N,
102
- showCategoryOption: x
103
- };
104
- }
105
- }, ot = { class: "container" }, lt = { class: "tw-flex tw-pt-2 tw-px-2.5" }, nt = { class: "tw-flex tw-flex-grow tw-gap-1 tw-items-center tw-pb-2" }, at = {
4
+ import h from "../_virtual/_plugin-vue_export-helper.js";
5
+ const _ = { class: "container" }, M = { class: "tw-flex tw-pt-2 tw-px-2.5" }, B = { class: "tw-flex tw-flex-grow tw-gap-1 tw-items-center tw-pb-2" }, N = {
106
6
  id: "kvCartModalBody",
107
7
  ref: "kvCartModalBody",
108
8
  class: "tw-flex tw-gap-2"
109
- }, it = {
9
+ }, S = {
110
10
  ref: "controlsRef",
111
11
  class: "tw-flex-shrink-0 tw-flex tw-justify-end tw-gap-x-2.5 tw-px-2.5 tw-pb-2 tw-flex-col tw-gap-1"
112
12
  };
113
- function st(a, t, l, e, c, i) {
114
- const d = g("kv-material-icon"), u = g("kv-button");
115
- return C(), R(j, {
13
+ function A(r, t, l, e, V, T) {
14
+ const d = w("kv-material-icon"), C = w("kv-button");
15
+ return i(), u(x, {
116
16
  "enter-active-class": "tw-transition-opacity tw-duration-300",
117
17
  "leave-active-class": "tw-transition-opacity tw-duration-300",
118
18
  "enter-class": "tw-opacity-0",
@@ -120,13 +20,13 @@ function st(a, t, l, e, c, i) {
120
20
  "leave-class": "tw-opacity-full",
121
21
  "leave-to-class": "tw-opacity-0"
122
22
  }, {
123
- default: h(() => [
124
- D(o("div", {
23
+ default: c(() => [
24
+ b(o("div", {
125
25
  class: "screen",
126
- onClick: t[6] || (t[6] = y((...n) => e.onScreenClick && e.onScreenClick(...n), ["stop", "prevent"]))
26
+ onClick: t[6] || (t[6] = a((...n) => e.onScreenClick && e.onScreenClick(...n), ["stop", "prevent"]))
127
27
  }, [
128
28
  o("div", null, [
129
- o("div", ot, [
29
+ o("div", _, [
130
30
  o("div", {
131
31
  ref: "kvCartModal",
132
32
  tabindex: "-1",
@@ -134,26 +34,26 @@ function st(a, t, l, e, c, i) {
134
34
  class: "modal",
135
35
  "aria-modal": "true",
136
36
  "aria-label": "Added to basket",
137
- onClick: t[3] || (t[3] = y(() => {
37
+ onClick: t[3] || (t[3] = a(() => {
138
38
  }, ["stop"])),
139
39
  onMouseenter: t[4] || (t[4] = (n) => e.clearAutomaticClose()),
140
40
  onMouseleave: t[5] || (t[5] = (n) => e.setAutomaticClose())
141
41
  }, [
142
- o("div", lt, [
143
- o("div", nt, [
144
- S(a.$slots, "header", {}, () => [
145
- b(d, {
42
+ o("div", M, [
43
+ o("div", B, [
44
+ v(r.$slots, "header", {}, () => [
45
+ s(d, {
146
46
  class: "tw-w-3.5 tw-h-3.5 tw-text-brand",
147
47
  icon: e.mdiCheckCircle
148
48
  }, null, 8, ["icon"]),
149
49
  t[7] || (t[7] = o("p", { class: "tw-flex-1 tw-font-medium tw-text-center" }, " Added to basket ", -1))
150
50
  ], !0),
151
- l.preventClose ? T("", !0) : (C(), M("button", {
51
+ l.preventClose ? k("", !0) : (i(), f("button", {
152
52
  key: 0,
153
53
  class: "tw-grid tw-content-center tw-justify-center tw-ml-auto tw-w-6 tw-h-6 tw--m-2 hover:tw-text-action-highlight",
154
- onClick: t[0] || (t[0] = y((n) => e.hide("x-button"), ["stop"]))
54
+ onClick: t[0] || (t[0] = a((n) => e.hide("x-button"), ["stop"]))
155
55
  }, [
156
- b(d, {
56
+ s(d, {
157
57
  class: "tw-w-3.5 tw-h-3.5",
158
58
  icon: e.mdiClose
159
59
  }, null, 8, ["icon"]),
@@ -161,38 +61,38 @@ function st(a, t, l, e, c, i) {
161
61
  ]))
162
62
  ])
163
63
  ]),
164
- o("div", at, [
165
- S(a.$slots, "content", {}, void 0, !0)
64
+ o("div", N, [
65
+ v(r.$slots, "content", {}, void 0, !0)
166
66
  ], 512),
167
- o("div", it, [
168
- b(u, {
67
+ o("div", S, [
68
+ s(C, {
169
69
  class: "tw-w-full",
170
70
  onClick: t[1] || (t[1] = (n) => e.handleClick(
171
71
  e.showCategoryOption ? "support-another" : "view-basket"
172
72
  ))
173
73
  }, {
174
- default: h(() => [
175
- L(B(e.ctaText), 1)
74
+ default: c(() => [
75
+ y(m(e.ctaText), 1)
176
76
  ]),
177
77
  _: 1
178
78
  }),
179
- e.showCategoryOption ? (C(), M("button", {
79
+ e.showCategoryOption ? (i(), f("button", {
180
80
  key: 0,
181
81
  class: "tw-text-action tw-pt-1.5 tw-font-medium",
182
82
  onClick: t[2] || (t[2] = (n) => e.handleClick("view-basket"))
183
- }, " No thanks, go to basket (" + B(l.basketCount) + ") ", 1)) : T("", !0)
83
+ }, " No thanks, go to basket (" + m(l.basketCount) + ") ", 1)) : k("", !0)
184
84
  ], 512)
185
85
  ], 544)
186
86
  ])
187
87
  ])
188
88
  ], 512), [
189
- [U, l.visible]
89
+ [g, l.visible]
190
90
  ])
191
91
  ]),
192
92
  _: 3
193
93
  });
194
94
  }
195
- const Ct = /* @__PURE__ */ tt(et, [["render", st], ["__scopeId", "data-v-4af12153"]]);
95
+ const I = /* @__PURE__ */ h(p, [["render", A], ["__scopeId", "data-v-3fa0c68d"]]);
196
96
  export {
197
- Ct as default
97
+ I as default
198
98
  };
@@ -0,0 +1,163 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ visible: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ preventClose: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ basketCount: {
11
+ type: NumberConstructor;
12
+ default: number;
13
+ };
14
+ categoryName: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ }>, {
19
+ mdiClose: string;
20
+ mdiCheckCircle: string;
21
+ onKeyUp: any;
22
+ onScreenClick: () => void;
23
+ hide: (closedBy?: string) => void;
24
+ show: () => void;
25
+ controlsRef: import('vue').Ref<any, any>;
26
+ handleClick: (cta: any) => void;
27
+ clearAutomaticClose: () => void;
28
+ setAutomaticClose: () => void;
29
+ ctaText: import('vue').ComputedRef<string>;
30
+ showCategoryOption: import('vue').ComputedRef<boolean>;
31
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "cart-modal-closed"[], "cart-modal-closed", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
32
+ visible: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ preventClose: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ basketCount: {
41
+ type: NumberConstructor;
42
+ default: number;
43
+ };
44
+ categoryName: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ }>> & Readonly<{
49
+ "onCart-modal-closed"?: (...args: any[]) => any;
50
+ }>, {
51
+ visible: boolean;
52
+ preventClose: boolean;
53
+ basketCount: number;
54
+ categoryName: string;
55
+ }, {}, {
56
+ KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
57
+ icon: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
62
+ icon: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ }>> & Readonly<{}>, {
67
+ icon: string;
68
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
69
+ KvButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
70
+ to: {
71
+ type: (StringConstructor | ObjectConstructor)[];
72
+ default: any;
73
+ };
74
+ href: {
75
+ type: StringConstructor;
76
+ default: any;
77
+ };
78
+ type: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ validator(value: string): boolean;
82
+ };
83
+ variant: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ validator(value: string): boolean;
87
+ };
88
+ state: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ validator(value: string): boolean;
92
+ };
93
+ }>, {
94
+ buttonRef: import('vue').Ref<any, any>;
95
+ buttonInnerRef: import('vue').Ref<any, any>;
96
+ computedClass: import('vue').ComputedRef<string>;
97
+ computedType: import('vue').ComputedRef<string>;
98
+ isDisabled: import('vue').ComputedRef<boolean>;
99
+ loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
100
+ onClick: (event: any) => void;
101
+ tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
102
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
103
+ to: {
104
+ type: (StringConstructor | ObjectConstructor)[];
105
+ default: any;
106
+ };
107
+ href: {
108
+ type: StringConstructor;
109
+ default: any;
110
+ };
111
+ type: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ validator(value: string): boolean;
115
+ };
116
+ variant: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ validator(value: string): boolean;
120
+ };
121
+ state: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ validator(value: string): boolean;
125
+ };
126
+ }>> & Readonly<{
127
+ onClick?: (...args: any[]) => any;
128
+ }>, {
129
+ to: string | Record<string, any>;
130
+ type: string;
131
+ href: string;
132
+ variant: string;
133
+ state: string;
134
+ }, {}, {
135
+ KvLoadingSpinner: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
136
+ size: {
137
+ type: StringConstructor;
138
+ default: string;
139
+ validator(value: string): boolean;
140
+ };
141
+ color: {
142
+ type: StringConstructor;
143
+ default: string;
144
+ validator(value: string): boolean;
145
+ };
146
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
147
+ size: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ validator(value: string): boolean;
151
+ };
152
+ color: {
153
+ type: StringConstructor;
154
+ default: string;
155
+ validator(value: string): boolean;
156
+ };
157
+ }>> & Readonly<{}>, {
158
+ size: string;
159
+ color: string;
160
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
161
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
162
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
163
+ export default _default;