@kiva/kv-components 7.6.2 → 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 +47 -149
  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 +35 -33
  331. package/tsconfig.json +32 -0
  332. package/vite.config.ts +84 -0
@@ -0,0 +1,106 @@
1
+ import { toRefs as E, ref as i, computed as v, watch as w, onMounted as B, onBeforeUnmount as M, nextTick as N } from "vue";
2
+ import { mdiClose as x, mdiCheckCircle as F } from "@mdi/js";
3
+ import { useFocusTrap as I } from "@vueuse/integrations/useFocusTrap";
4
+ import { hideOthers as K } from "../vendor/aria-hidden/dist/es2015/index.js";
5
+ import { unlockScroll as O, lockScroll as P } from "../utils/scrollLock.js";
6
+ import { unlockPrintSingleEl as A, lockPrintSingleEl as L } from "../utils/printing.js";
7
+ import R from "./KvButton.js";
8
+ import U from "./KvMaterialIcon.js";
9
+ const H = {
10
+ components: {
11
+ KvMaterialIcon: U,
12
+ KvButton: R
13
+ },
14
+ props: {
15
+ /**
16
+ * Whether the dialog is open or not
17
+ * */
18
+ visible: {
19
+ type: Boolean,
20
+ default: !1
21
+ },
22
+ /**
23
+ * The dialog has no close X button, clicking the screen does not close,
24
+ * pressing ESC does not close.
25
+ * */
26
+ preventClose: {
27
+ type: Boolean,
28
+ default: !1
29
+ },
30
+ /**
31
+ * The number of loans in the basket
32
+ * */
33
+ basketCount: {
34
+ type: Number,
35
+ default: 0
36
+ },
37
+ /**
38
+ * Category name for the CTA button
39
+ * */
40
+ categoryName: {
41
+ type: String,
42
+ default: ""
43
+ }
44
+ },
45
+ emits: [
46
+ "cart-modal-closed"
47
+ ],
48
+ setup(l, { emit: f }) {
49
+ const {
50
+ visible: a,
51
+ preventClose: n
52
+ } = E(l), c = i(null), o = i(null), k = i(null), d = i(), C = v(() => [
53
+ c.value
54
+ // This cart modal
55
+ ]), p = v(() => !!l.categoryName), y = v(() => p.value ? `Support another ${l.categoryName}` : `View basket (${l.basketCount})`), {
56
+ activate: g,
57
+ deactivate: h
58
+ } = I(C, {
59
+ allowOutsideClick: !0
60
+ // allow clicking outside the cart modal to close it
61
+ });
62
+ let r = null, u = null;
63
+ const e = (t = "") => {
64
+ c.value && o.value && (h(), o.value.scrollTop = 0, A(o.value)), O(), r && (r(), r = null), document.removeEventListener("keyup", u), f("cart-modal-closed", { type: t });
65
+ };
66
+ u = (t) => {
67
+ t && t.key === "Escape" && !n.value && e();
68
+ };
69
+ const b = () => {
70
+ n.value || e("background");
71
+ }, s = () => {
72
+ a.value && (document.addEventListener("keyup", u), N(() => {
73
+ c.value && o.value && (g(), r = K(c.value), L(o.value)), P();
74
+ }));
75
+ }, T = (t) => {
76
+ e(t);
77
+ }, m = () => {
78
+ n.value || (d.value = setTimeout(() => {
79
+ f("cart-modal-closed", { type: "time" });
80
+ }, 1e4));
81
+ }, S = () => {
82
+ n.value || clearTimeout(d.value);
83
+ };
84
+ return w(a, () => {
85
+ a.value ? (s(), m()) : e();
86
+ }), B(() => {
87
+ a.value && (s(), m());
88
+ }), M(() => e()), {
89
+ mdiClose: x,
90
+ mdiCheckCircle: F,
91
+ onKeyUp: u,
92
+ onScreenClick: b,
93
+ hide: e,
94
+ show: s,
95
+ controlsRef: k,
96
+ handleClick: T,
97
+ clearAutomaticClose: S,
98
+ setAutomaticClose: m,
99
+ ctaText: y,
100
+ showCategoryOption: p
101
+ };
102
+ }
103
+ };
104
+ export {
105
+ H as default
106
+ };
@@ -1,57 +1,18 @@
1
- import { toRefs as a, computed as n, openBlock as i, createElementBlock as c, normalizeClass as u, renderSlot as p, createElementVNode as m, toDisplayString as f } from "vue";
2
- import d from "../_virtual/_plugin-vue_export-helper.js";
3
- const w = {
4
- props: {
5
- borrowerName: {
6
- type: String,
7
- default: ""
8
- },
9
- showBg: {
10
- type: Boolean,
11
- default: !1
12
- },
13
- milestonesNumber: {
14
- type: Number,
15
- default: 1
16
- },
17
- isCloseNextMilestone: {
18
- type: Boolean,
19
- default: !1
20
- },
21
- customMessage: {
22
- type: String,
23
- default: ""
24
- }
25
- },
26
- setup(e) {
27
- const {
28
- borrowerName: o,
29
- milestonesNumber: t,
30
- isCloseNextMilestone: s
31
- } = a(e);
32
- return {
33
- pillCopy: n(() => {
34
- if (e.customMessage)
35
- return e.customMessage;
36
- if (s.value)
37
- return "You’re close to your next achievement!";
38
- const l = t.value > 1 ? `${t.value} achievements` : "your next achievement";
39
- return o.value ? `Supporting ${o.value} will reach ${l}!` : "Supporting this loan reaches an achievement!";
40
- })
41
- };
42
- }
43
- }, y = { class: "tw-text-wrap" };
44
- function g(e, o, t, s, r, l) {
45
- return i(), c("div", {
46
- class: u(["tw-w-max tw-flex tw-items-center tw-gap-1 tw-px-1 tw-py-0.5 tw-rounded", {
47
- "tw-text-small tw-bg-secondary": t.showBg
1
+ import r from "./KvCartPill2.js";
2
+ import { openBlock as s, createElementBlock as a, normalizeClass as l, renderSlot as n, createElementVNode as c, toDisplayString as i } from "vue";
3
+ import p from "../_virtual/_plugin-vue_export-helper.js";
4
+ const m = { class: "tw-text-wrap" };
5
+ function w(t, d, e, o, f, _) {
6
+ return s(), a("div", {
7
+ class: l(["tw-w-max tw-flex tw-items-center tw-gap-1 tw-px-1 tw-py-0.5 tw-rounded", {
8
+ "tw-text-small tw-bg-secondary": e.showBg
48
9
  }])
49
10
  }, [
50
- p(e.$slots, "icon"),
51
- m("p", y, f(s.pillCopy), 1)
11
+ n(t.$slots, "icon"),
12
+ c("p", m, i(o.pillCopy), 1)
52
13
  ], 2);
53
14
  }
54
- const x = /* @__PURE__ */ d(w, [["render", g]]);
15
+ const y = /* @__PURE__ */ p(r, [["render", w]]);
55
16
  export {
56
- x as default
17
+ y as default
57
18
  };
@@ -0,0 +1,52 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ borrowerName: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ showBg: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ milestonesNumber: {
11
+ type: NumberConstructor;
12
+ default: number;
13
+ };
14
+ isCloseNextMilestone: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ customMessage: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ }>, {
23
+ pillCopy: import('vue').ComputedRef<string>;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
+ borrowerName: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ showBg: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ milestonesNumber: {
34
+ type: NumberConstructor;
35
+ default: number;
36
+ };
37
+ isCloseNextMilestone: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ customMessage: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ }>> & Readonly<{}>, {
46
+ borrowerName: string;
47
+ showBg: boolean;
48
+ milestonesNumber: number;
49
+ isCloseNextMilestone: boolean;
50
+ customMessage: string;
51
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
52
+ export default _default;
@@ -0,0 +1,45 @@
1
+ import { toRefs as l, computed as n } from "vue";
2
+ const i = {
3
+ props: {
4
+ borrowerName: {
5
+ type: String,
6
+ default: ""
7
+ },
8
+ showBg: {
9
+ type: Boolean,
10
+ default: !1
11
+ },
12
+ milestonesNumber: {
13
+ type: Number,
14
+ default: 1
15
+ },
16
+ isCloseNextMilestone: {
17
+ type: Boolean,
18
+ default: !1
19
+ },
20
+ customMessage: {
21
+ type: String,
22
+ default: ""
23
+ }
24
+ },
25
+ setup(e) {
26
+ const {
27
+ borrowerName: t,
28
+ milestonesNumber: o,
29
+ isCloseNextMilestone: s
30
+ } = l(e);
31
+ return {
32
+ pillCopy: n(() => {
33
+ if (e.customMessage)
34
+ return e.customMessage;
35
+ if (s.value)
36
+ return "You’re close to your next achievement!";
37
+ const a = o.value > 1 ? `${o.value} achievements` : "your next achievement";
38
+ return t.value ? `Supporting ${t.value} will reach ${a}!` : "Supporting this loan reaches an achievement!";
39
+ })
40
+ };
41
+ }
42
+ };
43
+ export {
44
+ i as default
45
+ };
@@ -1 +1 @@
1
- [data-v-d1a3011d] .check-icon svg{transform:scale(1.2)}
1
+ [data-v-14afb787] .check-icon svg{transform:scale(1.2)}
@@ -1,124 +1,28 @@
1
- import { nanoid as k } from "nanoid";
2
- import { toRefs as L, ref as v, watch as M, onMounted as I, resolveComponent as K, openBlock as r, createElementBlock as d, normalizeClass as c, normalizeStyle as S, createElementVNode as s, mergeProps as q, toHandlers as R, withModifiers as j, createCommentVNode as b, createBlock as z, renderSlot as D } from "vue";
3
- import { mdiCheckCircle as E } from "@mdi/js";
4
- import N from "./KvMaterialIcon.js";
5
- import { useAttrs as O } from "../utils/attrs.js";
1
+ import s from "./KvCheckbox2.js";
2
+ import { resolveComponent as f, openBlock as i, createElementBlock as r, normalizeClass as o, normalizeStyle as h, createElementVNode as l, mergeProps as v, toHandlers as b, withModifiers as k, createCommentVNode as d, createBlock as m, renderSlot as C } from "vue";
6
3
  import "./KvCheckbox.css";
7
- import H from "../_virtual/_plugin-vue_export-helper.js";
8
- const C = [
9
- "change",
10
- "update:modelValue"
11
- ], P = {
12
- components: {
13
- KvMaterialIcon: N
14
- },
15
- inheritAttrs: !1,
16
- model: {
17
- prop: "modelValue",
18
- event: "update:modelValue"
19
- },
20
- props: {
21
- /**
22
- * Whether the checkbox is checked or not
23
- * */
24
- modelValue: {
25
- type: [Boolean, Array],
26
- default: !1
27
- },
28
- /**
29
- * Prevents the checkbox from being toggled or focused
30
- * */
31
- disabled: {
32
- type: Boolean,
33
- default: !1
34
- },
35
- /**
36
- * Value of the checkbox if v-model is an array
37
- * */
38
- value: {
39
- type: [String, Boolean],
40
- default: ""
41
- },
42
- /**
43
- * When set to false, visually indicates to the user that the contents of the input need
44
- * to be changed
45
- * */
46
- valid: {
47
- type: Boolean,
48
- default: !0
49
- },
50
- /**
51
- * Variant of the checkbox: 'square' (default) or 'round'
52
- */
53
- variant: {
54
- type: String,
55
- default: "square",
56
- validator: (i) => ["square", "round"].includes(i)
57
- },
58
- blurOnDisabled: {
59
- type: Boolean,
60
- default: !0
61
- }
62
- },
63
- emits: C,
64
- setup(i, l) {
65
- const {
66
- modelValue: t,
67
- value: e
68
- } = L(i), { emit: u } = l, w = v(`kvc-${k(10)}`), a = v(!1), n = v(null), {
69
- classes: g,
70
- styles: y,
71
- inputAttrs: x,
72
- inputListeners: _
73
- } = O(l, C), p = (h) => {
74
- const m = h.target.checked;
75
- let o;
76
- Array.isArray(t.value) ? m ? o = [...t.value, h.target.value] : o = t.value.filter((V) => V !== e.value) : o = m, u("change", o), u("update:modelValue", o);
77
- }, f = () => {
78
- Array.isArray(t.value) ? a.value = t.value.includes(e.value) : a.value = t.value;
79
- }, A = () => {
80
- n.focus();
81
- }, B = () => {
82
- n.blur();
83
- };
84
- return f(), M(t, () => f()), I(() => {
85
- w.value = `kvc-${k(10)}`;
86
- }), {
87
- uuid: w,
88
- isChecked: a,
89
- checkboxRef: n,
90
- onChange: p,
91
- setChecked: f,
92
- focus: A,
93
- blur: B,
94
- classes: g,
95
- styles: y,
96
- inputAttrs: x,
97
- inputListeners: _,
98
- iconCheckCircle: E
99
- };
100
- }
101
- }, Z = ["for"], F = ["id", "checked", "value", "disabled"], G = {
4
+ import g from "../_virtual/_plugin-vue_export-helper.js";
5
+ const u = ["for"], x = ["id", "checked", "value", "disabled"], _ = {
102
6
  key: 0,
103
7
  class: "tw-w-1.5 tw-h-auto",
104
8
  viewBox: "0 0 12 9",
105
9
  fill: "none",
106
10
  xmlns: "http://www.w3.org/2000/svg"
107
- }, J = { class: "tw-flex-1 peer-focus-visible:tw-ring-2 peer-focus-visible:tw-ring-action" };
108
- function Q(i, l, t, e, u, w) {
109
- const a = K("KvMaterialIcon");
110
- return r(), d("div", {
111
- class: c(e.classes),
112
- style: S(e.styles)
11
+ }, y = { class: "tw-flex-1 peer-focus-visible:tw-ring-2 peer-focus-visible:tw-ring-action" };
12
+ function L(a, n, t, e, B, M) {
13
+ const c = f("KvMaterialIcon");
14
+ return i(), r("div", {
15
+ class: o(e.classes),
16
+ style: h(e.styles)
113
17
  }, [
114
- s("label", {
115
- class: c(["tw-inline-flex tw-items-center", [
18
+ l("label", {
19
+ class: o(["tw-inline-flex tw-items-center", [
116
20
  { "tw-opacity-low": t.disabled && t.blurOnDisabled },
117
21
  t.variant === "round" ? "tw-align-middle" : ""
118
22
  ]]),
119
23
  for: e.uuid
120
24
  }, [
121
- s("input", q(e.inputAttrs, {
25
+ l("input", v(e.inputAttrs, {
122
26
  id: e.uuid,
123
27
  ref: "checkboxRef",
124
28
  class: "tw-peer tw-appearance-none tw-w-max",
@@ -126,12 +30,12 @@ function Q(i, l, t, e, u, w) {
126
30
  checked: e.isChecked,
127
31
  value: t.value,
128
32
  disabled: t.disabled
129
- }, R(e.inputListeners, !0), {
130
- onChange: l[0] || (l[0] = j((...n) => e.onChange && e.onChange(...n), ["prevent"]))
131
- }), null, 16, F),
132
- t.variant === "square" ? (r(), d("div", {
33
+ }, b(e.inputListeners, !0), {
34
+ onChange: n[0] || (n[0] = k((...w) => e.onChange && e.onChange(...w), ["prevent"]))
35
+ }), null, 16, x),
36
+ t.variant === "square" ? (i(), r("div", {
133
37
  key: 0,
134
- class: c(["tw-w-3 tw-h-3 tw-mr-2 tw-flex-shrink-0 tw-rounded-xs tw-border tw-flex tw-justify-center tw-items-center tw-overflow-hidden tw-transition-all tw-duration-100 peer-focus-visible:tw-ring-2 peer-focus-visible:tw-ring-action", {
38
+ class: o(["tw-w-3 tw-h-3 tw-mr-2 tw-flex-shrink-0 tw-rounded-xs tw-border tw-flex tw-justify-center tw-items-center tw-overflow-hidden tw-transition-all tw-duration-100 peer-focus-visible:tw-ring-2 peer-focus-visible:tw-ring-action", {
135
39
  "tw-bg-white": !e.isChecked,
136
40
  "tw-bg-action": e.isChecked,
137
41
  "tw-border-secondary": !e.isChecked && t.valid,
@@ -139,15 +43,15 @@ function Q(i, l, t, e, u, w) {
139
43
  "tw-border-danger": !t.valid
140
44
  }])
141
45
  }, [
142
- e.isChecked ? (r(), d("svg", G, l[1] || (l[1] = [
143
- s("path", {
46
+ e.isChecked ? (i(), r("svg", _, n[1] || (n[1] = [
47
+ l("path", {
144
48
  d: "M3.99975 6.79988L1.66642 4.46655C1.40642 4.20655 0.993086 4.20655 0.733086 4.46655C0.473086 4.72655 0.473086 5.13988 0.733086 5.39988L3.52642 8.19322C3.78642 8.45322 4.20642 8.45322 4.46642 8.19322L11.5331 1.13322C11.7931 0.873216 11.7931 0.459883 11.5331 0.199883C11.2731 -0.0601172 10.8598 -0.0601172 10.5998 0.199883L3.99975 6.79988Z",
145
49
  fill: "white"
146
50
  }, null, -1)
147
- ]))) : b("", !0)
148
- ], 2)) : (r(), d("div", {
51
+ ]))) : d("", !0)
52
+ ], 2)) : (i(), r("div", {
149
53
  key: 1,
150
- class: c([
54
+ class: o([
151
55
  "tw-w-3 tw-h-3 tw-mr-1",
152
56
  "tw-flex-shrink-0",
153
57
  "tw-rounded-full",
@@ -163,19 +67,19 @@ function Q(i, l, t, e, u, w) {
163
67
  (!e.isChecked && t.valid, "")
164
68
  ])
165
69
  }, [
166
- e.isChecked ? (r(), z(a, {
70
+ e.isChecked ? (i(), m(c, {
167
71
  key: 0,
168
72
  icon: e.iconCheckCircle,
169
73
  class: "check-icon"
170
- }, null, 8, ["icon"])) : b("", !0)
74
+ }, null, 8, ["icon"])) : d("", !0)
171
75
  ], 2)),
172
- s("div", J, [
173
- D(i.$slots, "default", {}, void 0, !0)
76
+ l("div", y, [
77
+ C(a.$slots, "default", {}, void 0, !0)
174
78
  ])
175
- ], 10, Z)
79
+ ], 10, u)
176
80
  ], 6);
177
81
  }
178
- const te = /* @__PURE__ */ H(P, [["render", Q], ["__scopeId", "data-v-d1a3011d"]]);
82
+ const E = /* @__PURE__ */ g(s, [["render", L], ["__scopeId", "data-v-14afb787"]]);
179
83
  export {
180
- te as default
84
+ E as default
181
85
  };
@@ -0,0 +1,90 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: {
3
+ type: (BooleanConstructor | ArrayConstructor)[];
4
+ default: boolean;
5
+ };
6
+ disabled: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ value: {
11
+ type: (StringConstructor | BooleanConstructor)[];
12
+ default: string;
13
+ };
14
+ valid: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ variant: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ validator: (val: string) => boolean;
22
+ };
23
+ blurOnDisabled: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>, {
28
+ uuid: import('vue').Ref<string, string>;
29
+ isChecked: import('vue').Ref<boolean, boolean>;
30
+ checkboxRef: import('vue').Ref<any, any>;
31
+ onChange: (event: any) => void;
32
+ setChecked: () => void;
33
+ focus: () => void;
34
+ blur: () => void;
35
+ classes: any[];
36
+ styles: any[];
37
+ inputAttrs: any;
38
+ inputListeners: any;
39
+ iconCheckCircle: string;
40
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, string[], string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
41
+ modelValue: {
42
+ type: (BooleanConstructor | ArrayConstructor)[];
43
+ default: boolean;
44
+ };
45
+ disabled: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ value: {
50
+ type: (StringConstructor | BooleanConstructor)[];
51
+ default: string;
52
+ };
53
+ valid: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ variant: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ validator: (val: string) => boolean;
61
+ };
62
+ blurOnDisabled: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ }>> & Readonly<{
67
+ [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
68
+ }>, {
69
+ value: string | boolean;
70
+ disabled: boolean;
71
+ variant: string;
72
+ modelValue: boolean | unknown[];
73
+ valid: boolean;
74
+ blurOnDisabled: boolean;
75
+ }, {}, {
76
+ KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
77
+ icon: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
82
+ icon: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
86
+ }>> & Readonly<{}>, {
87
+ icon: string;
88
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
89
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
90
+ export default _default;
@@ -0,0 +1,102 @@
1
+ import { nanoid as p } from "nanoid";
2
+ import { toRefs as V, ref as s, watch as B, onMounted as q } from "vue";
3
+ import { mdiCheckCircle as x } from "@mdi/js";
4
+ import M from "./KvMaterialIcon.js";
5
+ import { useAttrs as R } from "../utils/attrs.js";
6
+ const m = [
7
+ "change",
8
+ "update:modelValue"
9
+ ], I = {
10
+ components: {
11
+ KvMaterialIcon: M
12
+ },
13
+ inheritAttrs: !1,
14
+ model: {
15
+ prop: "modelValue",
16
+ event: "update:modelValue"
17
+ },
18
+ props: {
19
+ /**
20
+ * Whether the checkbox is checked or not
21
+ * */
22
+ modelValue: {
23
+ type: [Boolean, Array],
24
+ default: !1
25
+ },
26
+ /**
27
+ * Prevents the checkbox from being toggled or focused
28
+ * */
29
+ disabled: {
30
+ type: Boolean,
31
+ default: !1
32
+ },
33
+ /**
34
+ * Value of the checkbox if v-model is an array
35
+ * */
36
+ value: {
37
+ type: [String, Boolean],
38
+ default: ""
39
+ },
40
+ /**
41
+ * When set to false, visually indicates to the user that the contents of the input need
42
+ * to be changed
43
+ * */
44
+ valid: {
45
+ type: Boolean,
46
+ default: !0
47
+ },
48
+ /**
49
+ * Variant of the checkbox: 'square' (default) or 'round'
50
+ */
51
+ variant: {
52
+ type: String,
53
+ default: "square",
54
+ validator: (l) => ["square", "round"].includes(l)
55
+ },
56
+ blurOnDisabled: {
57
+ type: Boolean,
58
+ default: !0
59
+ }
60
+ },
61
+ emits: m,
62
+ setup(l, r) {
63
+ const {
64
+ modelValue: e,
65
+ value: n
66
+ } = V(l), { emit: c } = r, i = s(`kvc-${p(10)}`), t = s(!1), o = s(null), {
67
+ classes: v,
68
+ styles: h,
69
+ inputAttrs: y,
70
+ inputListeners: k
71
+ } = R(r, m), A = (d) => {
72
+ const f = d.target.checked;
73
+ let a;
74
+ Array.isArray(e.value) ? f ? a = [...e.value, d.target.value] : a = e.value.filter((g) => g !== n.value) : a = f, c("change", a), c("update:modelValue", a);
75
+ }, u = () => {
76
+ Array.isArray(e.value) ? t.value = e.value.includes(n.value) : t.value = e.value;
77
+ }, C = () => {
78
+ o.value.focus();
79
+ }, b = () => {
80
+ o.value.blur();
81
+ };
82
+ return u(), B(e, () => u()), q(() => {
83
+ i.value = `kvc-${p(10)}`;
84
+ }), {
85
+ uuid: i,
86
+ isChecked: t,
87
+ checkboxRef: o,
88
+ onChange: A,
89
+ setChecked: u,
90
+ focus: C,
91
+ blur: b,
92
+ classes: v,
93
+ styles: h,
94
+ inputAttrs: y,
95
+ inputListeners: k,
96
+ iconCheckCircle: x
97
+ };
98
+ }
99
+ };
100
+ export {
101
+ I as default
102
+ };
@@ -1 +1 @@
1
- .section[data-v-915e14e6]{border-bottom-width:.0625rem;border-top-width:0px;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));padding:.5rem;display:block;overflow:hidden}@media print{.section[data-v-915e14e6]{page-break-inside:avoid}}.section--lender-info[data-v-915e14e6]{padding-top:0}.section--print[data-v-915e14e6]{border-bottom:0}.checkout-receipt__headline[data-v-915e14e6]{text-align:center;margin-bottom:1.5rem}.checkout-receipt__item-list[data-v-915e14e6]{list-style:none;margin:0;width:100%}.loan__name[data-v-915e14e6]{margin-bottom:.5rem}.loan__name--inline[data-v-915e14e6]{display:inline-block}.loan__amount[data-v-915e14e6]{text-align:right}.total[data-v-915e14e6]{display:flex;align-items:baseline}.total__header[data-v-915e14e6],.total__amount[data-v-915e14e6]{text-align:right;flex:1}.total__amount[data-v-915e14e6]{flex-grow:.33}.payments[data-v-915e14e6]{border-bottom:none}.payments__type[data-v-915e14e6]{display:flex;text-align:right}.payments__type-title[data-v-915e14e6],.payments__type-amount[data-v-915e14e6]{flex:1}.print[data-v-915e14e6]{margin:0 auto}
1
+ .section[data-v-5a2e1c60]{border-bottom-width:.0625rem;border-top-width:0px;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));padding:.5rem;display:block;overflow:hidden}@media print{.section[data-v-5a2e1c60]{page-break-inside:avoid}}.section--lender-info[data-v-5a2e1c60]{padding-top:0}.section--print[data-v-5a2e1c60]{border-bottom:0}.checkout-receipt__headline[data-v-5a2e1c60]{text-align:center;margin-bottom:1.5rem}.checkout-receipt__item-list[data-v-5a2e1c60]{list-style:none;margin:0;width:100%}.loan__name[data-v-5a2e1c60]{margin-bottom:.5rem}.loan__name--inline[data-v-5a2e1c60]{display:inline-block}.loan__amount[data-v-5a2e1c60]{text-align:right}.total[data-v-5a2e1c60]{display:flex;align-items:baseline}.total__header[data-v-5a2e1c60],.total__amount[data-v-5a2e1c60]{text-align:right;flex:1}.total__amount[data-v-5a2e1c60]{flex-grow:.33}.payments[data-v-5a2e1c60]{border-bottom:none}.payments__type[data-v-5a2e1c60]{display:flex;text-align:right}.payments__type-title[data-v-5a2e1c60],.payments__type-amount[data-v-5a2e1c60]{flex:1}.print[data-v-5a2e1c60]{margin:0 auto}