@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.
- package/.eslintignore +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +236 -216
- package/dist/utils/Alea.d.ts +9 -0
- package/dist/utils/Alea.js +23 -23
- package/dist/utils/arrayUtils.d.ts +3 -0
- package/dist/utils/arrayUtils.js +1 -1
- package/dist/utils/attrs.d.ts +6 -0
- package/dist/utils/carousels.d.ts +21 -0
- package/dist/utils/comparators.d.ts +3 -0
- package/dist/utils/comparators.js +20 -6
- package/dist/utils/debounce.d.ts +1 -0
- package/dist/utils/debounce.js +4 -4
- package/dist/utils/event.d.ts +1 -0
- package/dist/utils/event.js +7 -0
- package/dist/utils/expander.d.ts +14 -0
- package/dist/utils/imageUtils.d.ts +11 -0
- package/dist/utils/imageUtils.js +12 -12
- package/dist/utils/index.d.ts +21 -0
- package/dist/utils/loanCard.d.ts +35 -0
- package/dist/utils/loanCard.js +2 -2
- package/dist/utils/loanSearch/queryParamUtils.d.ts +1 -0
- package/dist/utils/loanUtils.d.ts +11 -0
- package/dist/utils/loanUtils.js +56 -53
- package/dist/utils/mapUtils.d.ts +5 -0
- package/dist/utils/markMatches.d.ts +1 -0
- package/dist/utils/paramCase.d.ts +1 -0
- package/dist/utils/printing.d.ts +2 -0
- package/dist/utils/scrollLock.d.ts +4 -0
- package/dist/utils/themeUtils.d.ts +12 -0
- package/dist/utils/throttle.d.ts +1 -0
- package/dist/utils/throttle.js +4 -4
- package/dist/utils/touchEvents.d.ts +3 -0
- package/dist/utils/touchEvents.js +9 -9
- package/dist/utils/treemap.d.ts +16 -0
- package/dist/utils/treemap.js +1 -1
- package/dist/vue/KvAccordionItem.js +28 -82
- package/dist/vue/KvAccordionItem.vue.d.ts +107 -0
- package/dist/vue/KvAccordionItem2.js +60 -0
- package/dist/vue/KvActivityRow.js +11 -22
- package/dist/vue/KvActivityRow.vue.d.ts +66 -0
- package/dist/vue/KvActivityRow2.js +16 -0
- package/dist/vue/KvAtbModal.css +1 -1
- package/dist/vue/KvAtbModal.js +68 -248
- package/dist/vue/KvAtbModal.vue.d.ts +359 -0
- package/dist/vue/KvAtbModal2.js +186 -0
- package/dist/vue/KvBorrowerImage.js +17 -118
- package/dist/vue/KvBorrowerImage.vue.d.ts +62 -0
- package/dist/vue/KvBorrowerImage2.js +106 -0
- package/dist/vue/KvButton.js +20 -164
- package/dist/vue/KvButton.vue.d.ts +94 -0
- package/dist/vue/KvButton2.js +149 -0
- package/dist/vue/KvCardFrame.js +12 -74
- package/dist/vue/KvCardFrame.vue.d.ts +86 -0
- package/dist/vue/KvCardFrame2.js +67 -0
- package/dist/vue/KvCarousel.css +1 -1
- package/dist/vue/KvCarousel.js +55 -192
- package/dist/vue/KvCarousel.vue.d.ts +135 -0
- package/dist/vue/KvCarousel2.js +142 -0
- package/dist/vue/KvCartModal.css +1 -1
- package/dist/vue/KvCartModal.js +31 -131
- package/dist/vue/KvCartModal.vue.d.ts +163 -0
- package/dist/vue/KvCartModal2.js +106 -0
- package/dist/vue/KvCartPill.js +12 -51
- package/dist/vue/KvCartPill.vue.d.ts +52 -0
- package/dist/vue/KvCartPill2.js +45 -0
- package/dist/vue/KvCheckbox.css +1 -1
- package/dist/vue/KvCheckbox.js +30 -126
- package/dist/vue/KvCheckbox.vue.d.ts +90 -0
- package/dist/vue/KvCheckbox2.js +102 -0
- package/dist/vue/KvCheckoutReceipt.css +1 -1
- package/dist/vue/KvCheckoutReceipt.js +120 -199
- package/dist/vue/KvCheckoutReceipt.vue.d.ts +164 -0
- package/dist/vue/KvCheckoutReceipt2.js +85 -0
- package/dist/vue/KvChip.js +12 -29
- package/dist/vue/KvChip.vue.d.ts +22 -0
- package/dist/vue/KvChip2.js +22 -0
- package/dist/vue/KvClassicLoanCard.css +1 -1
- package/dist/vue/KvClassicLoanCard.js +83 -351
- package/dist/vue/KvClassicLoanCard.vue.d.ts +2120 -0
- package/dist/vue/KvClassicLoanCard2.js +281 -0
- package/dist/vue/KvCommentsAdd.css +1 -1
- package/dist/vue/KvCommentsAdd.js +34 -81
- package/dist/vue/KvCommentsAdd.vue.d.ts +296 -0
- package/dist/vue/KvCommentsAdd2.js +57 -0
- package/dist/vue/KvCommentsContainer.js +15 -66
- package/dist/vue/KvCommentsContainer.vue.d.ts +954 -0
- package/dist/vue/KvCommentsContainer2.js +58 -0
- package/dist/vue/KvCommentsHeartButton.css +1 -1
- package/dist/vue/KvCommentsHeartButton.js +12 -51
- package/dist/vue/KvCommentsHeartButton.vue.d.ts +42 -0
- package/dist/vue/KvCommentsHeartButton2.js +44 -0
- package/dist/vue/KvCommentsList.js +9 -51
- package/dist/vue/KvCommentsList.vue.d.ts +619 -0
- package/dist/vue/KvCommentsList2.js +46 -0
- package/dist/vue/KvCommentsListItem.js +62 -186
- package/dist/vue/KvCommentsListItem.vue.d.ts +571 -0
- package/dist/vue/KvCommentsListItem2.js +135 -0
- package/dist/vue/KvCommentsReplyButton.css +1 -1
- package/dist/vue/KvCommentsReplyButton.js +8 -17
- package/dist/vue/KvCommentsReplyButton.vue.d.ts +98 -0
- package/dist/vue/KvCommentsReplyButton2.js +13 -0
- package/dist/vue/KvCompactLoanCard.css +1 -1
- package/dist/vue/KvCompactLoanCard.js +71 -327
- package/dist/vue/KvCompactLoanCard.vue.d.ts +1272 -0
- package/dist/vue/KvCompactLoanCard2.js +269 -0
- package/dist/vue/KvContentfulImg.js +47 -149
- package/dist/vue/KvContentfulImg.vue.d.ts +107 -0
- package/dist/vue/KvContentfulImg2.js +119 -0
- package/dist/vue/KvCountdownTimer.js +8 -28
- package/dist/vue/KvCountdownTimer.vue.d.ts +15 -0
- package/dist/vue/KvCountdownTimer2.js +26 -0
- package/dist/vue/KvDatePicker.js +21 -101
- package/dist/vue/KvDatePicker.vue.d.ts +58 -0
- package/dist/vue/KvDatePicker2.js +86 -0
- package/dist/vue/KvExpandable.js +9 -56
- package/dist/vue/KvExpandable.vue.d.ts +53 -0
- package/dist/vue/KvExpandable2.js +52 -0
- package/dist/vue/KvExpandableQuestion.js +23 -82
- package/dist/vue/KvExpandableQuestion.vue.d.ts +124 -0
- package/dist/vue/KvExpandableQuestion2.js +65 -0
- package/dist/vue/KvFlag.css +1 -1
- package/dist/vue/KvFlag.js +16 -617
- package/dist/vue/KvFlag.vue.d.ts +66 -0
- package/dist/vue/KvFlag2.js +606 -0
- package/dist/vue/KvGrid.js +7 -18
- package/dist/vue/KvGrid.vue.d.ts +14 -0
- package/dist/vue/KvGrid2.js +15 -0
- package/dist/vue/KvIconBag.js +12 -18
- package/dist/vue/KvIconBag.vue.d.ts +14 -0
- package/dist/vue/KvIconBag2.js +11 -0
- package/dist/vue/KvImpactDashboardHeader.vue.d.ts +17 -0
- package/dist/vue/KvImpactVerticalSelector.js +31 -110
- package/dist/vue/KvImpactVerticalSelector.vue.d.ts +278 -0
- package/dist/vue/KvImpactVerticalSelector2.js +85 -0
- package/dist/vue/KvInlineActivityCard.js +15 -44
- package/dist/vue/KvInlineActivityCard.vue.d.ts +71 -0
- package/dist/vue/KvInlineActivityCard2.js +35 -0
- package/dist/vue/KvInlineActivityFeed.css +1 -1
- package/dist/vue/KvInlineActivityFeed.js +11 -23
- package/dist/vue/KvInlineActivityFeed.vue.d.ts +85 -0
- package/dist/vue/KvInlineActivityFeed2.js +17 -0
- package/dist/vue/KvIntroductionLoanCard.css +1 -1
- package/dist/vue/KvIntroductionLoanCard.js +111 -309
- package/dist/vue/KvIntroductionLoanCard.vue.d.ts +617 -0
- package/dist/vue/KvIntroductionLoanCard2.js +209 -0
- package/dist/vue/KvLendAmountButton.js +9 -53
- package/dist/vue/KvLendAmountButton.vue.d.ts +140 -0
- package/dist/vue/KvLendAmountButton2.js +48 -0
- package/dist/vue/KvLendCta.css +1 -1
- package/dist/vue/KvLendCta.js +150 -530
- package/dist/vue/KvLendCta.vue.d.ts +583 -0
- package/dist/vue/KvLendCta2.js +387 -0
- package/dist/vue/KvLightbox.js +37 -148
- package/dist/vue/KvLightbox.vue.d.ts +77 -0
- package/dist/vue/KvLightbox2.js +117 -0
- package/dist/vue/KvLineGraph.js +25 -58
- package/dist/vue/KvLineGraph.vue.d.ts +35 -0
- package/dist/vue/KvLineGraph2.js +39 -0
- package/dist/vue/KvLoadingPlaceholder.vue.d.ts +2 -0
- package/dist/vue/KvLoadingSpinner.js +9 -34
- package/dist/vue/KvLoadingSpinner.vue.d.ts +27 -0
- package/dist/vue/KvLoadingSpinner2.js +29 -0
- package/dist/vue/KvLoanActivities.css +1 -1
- package/dist/vue/KvLoanActivities.js +37 -179
- package/dist/vue/KvLoanActivities.vue.d.ts +853 -0
- package/dist/vue/KvLoanActivities2.js +151 -0
- package/dist/vue/KvLoanBookmark.js +14 -40
- package/dist/vue/KvLoanBookmark.vue.d.ts +32 -0
- package/dist/vue/KvLoanBookmark2.js +32 -0
- package/dist/vue/KvLoanCallouts.css +1 -1
- package/dist/vue/KvLoanCallouts.js +10 -17
- package/dist/vue/KvLoanCallouts.vue.d.ts +18 -0
- package/dist/vue/KvLoanCallouts2.js +12 -0
- package/dist/vue/KvLoanInfoCard.js +20 -19
- package/dist/vue/KvLoanProgressGroup.css +1 -1
- package/dist/vue/KvLoanProgressGroup.js +18 -57
- package/dist/vue/KvLoanProgressGroup.vue.d.ts +108 -0
- package/dist/vue/KvLoanProgressGroup2.js +44 -0
- package/dist/vue/KvLoanTag.js +15 -103
- package/dist/vue/KvLoanTag.vue.d.ts +46 -0
- package/dist/vue/KvLoanTag2.js +94 -0
- package/dist/vue/KvLoanTeamPick.vue.d.ts +2 -0
- package/dist/vue/KvLoanUse.js +12 -100
- package/dist/vue/KvLoanUse.vue.d.ts +120 -0
- package/dist/vue/KvLoanUse2.js +95 -0
- package/dist/vue/KvLogo.vue.d.ts +2 -0
- package/dist/vue/KvMap.js +13 -381
- package/dist/vue/KvMap.vue.d.ts +213 -0
- package/dist/vue/KvMap2.js +376 -0
- package/dist/vue/KvMaterialIcon.js +10 -20
- package/dist/vue/KvMaterialIcon.vue.d.ts +14 -0
- package/dist/vue/KvMaterialIcon2.js +15 -0
- package/dist/vue/KvPageContainer.js +9 -8
- package/dist/vue/KvPageContainer.vue.d.ts +2 -0
- package/dist/vue/KvPageContainer2.js +4 -0
- package/dist/vue/KvPagination.js +38 -138
- package/dist/vue/KvPagination.vue.d.ts +107 -0
- package/dist/vue/KvPagination2.js +105 -0
- package/dist/vue/KvPieChart.css +1 -1
- package/dist/vue/KvPieChart.js +49 -128
- package/dist/vue/KvPieChart.vue.d.ts +47 -0
- package/dist/vue/KvPieChart2.js +85 -0
- package/dist/vue/KvPill.js +9 -19
- package/dist/vue/KvPill.vue.d.ts +23 -0
- package/dist/vue/KvPill2.js +15 -0
- package/dist/vue/KvPopper.js +14 -122
- package/dist/vue/KvPopper.vue.d.ts +80 -0
- package/dist/vue/KvPopper2.js +113 -0
- package/dist/vue/KvProgressBar.js +17 -112
- package/dist/vue/KvProgressBar.vue.d.ts +70 -0
- package/dist/vue/KvProgressBar2.js +101 -0
- package/dist/vue/KvPulsingDot.css +1 -1
- package/dist/vue/KvPulsingDot.js +11 -25
- package/dist/vue/KvPulsingDot.vue.d.ts +23 -0
- package/dist/vue/KvPulsingDot2.js +19 -0
- package/dist/vue/KvRadio.js +23 -106
- package/dist/vue/KvRadio.vue.d.ts +62 -0
- package/dist/vue/KvRadio2.js +89 -0
- package/dist/vue/KvSecondaryNav.css +1 -1
- package/dist/vue/KvSecondaryNav.js +46 -122
- package/dist/vue/KvSecondaryNav.vue.d.ts +117 -0
- package/dist/vue/KvSecondaryNav2.js +82 -0
- package/dist/vue/KvSelect.css +1 -1
- package/dist/vue/KvSelect.js +18 -78
- package/dist/vue/KvSelect.vue.d.ts +58 -0
- package/dist/vue/KvSelect2.js +66 -0
- package/dist/vue/KvSideSheet.js +44 -262
- package/dist/vue/KvSideSheet.vue.d.ts +136 -0
- package/dist/vue/KvSideSheet2.js +224 -0
- package/dist/vue/KvSwitch.js +23 -76
- package/dist/vue/KvSwitch.vue.d.ts +34 -0
- package/dist/vue/KvSwitch2.js +59 -0
- package/dist/vue/KvTab.js +15 -57
- package/dist/vue/KvTab.vue.d.ts +34 -0
- package/dist/vue/KvTab2.js +48 -0
- package/dist/vue/KvTabPanel.js +14 -36
- package/dist/vue/KvTabPanel.vue.d.ts +14 -0
- package/dist/vue/KvTabPanel2.js +28 -0
- package/dist/vue/KvTabs.js +21 -75
- package/dist/vue/KvTabs.vue.d.ts +22 -0
- package/dist/vue/KvTabs2.js +60 -0
- package/dist/vue/KvTextInput.js +28 -148
- package/dist/vue/KvTextInput.vue.d.ts +105 -0
- package/dist/vue/KvTextInput2.js +126 -0
- package/dist/vue/KvTextLink.js +13 -76
- package/dist/vue/KvTextLink.vue.d.ts +64 -0
- package/dist/vue/KvTextLink2.js +68 -0
- package/dist/vue/KvThemeProvider.js +8 -59
- package/dist/vue/KvThemeProvider.vue.d.ts +23 -0
- package/dist/vue/KvThemeProvider2.js +55 -0
- package/dist/vue/KvToast.js +32 -69
- package/dist/vue/KvToast.vue.d.ts +31 -0
- package/dist/vue/KvToast2.js +43 -0
- package/dist/vue/KvTooltip.css +1 -1
- package/dist/vue/KvTooltip.js +27 -123
- package/dist/vue/KvTooltip.vue.d.ts +2 -0
- package/dist/vue/KvTooltip2.js +103 -0
- package/dist/vue/KvTreeMapChart.css +1 -1
- package/dist/vue/KvTreeMapChart.js +28 -156
- package/dist/vue/KvTreeMapChart.vue.d.ts +60 -0
- package/dist/vue/KvTreeMapChart2.js +133 -0
- package/dist/vue/KvUserAvatar.js +28 -110
- package/dist/vue/KvUserAvatar.vue.d.ts +55 -0
- package/dist/vue/KvUserAvatar2.js +88 -0
- package/dist/vue/KvUtilityMenu.js +19 -95
- package/dist/vue/KvUtilityMenu.vue.d.ts +104 -0
- package/dist/vue/KvUtilityMenu2.js +81 -0
- package/dist/vue/KvVerticalCarousel.js +40 -137
- package/dist/vue/KvVerticalCarousel.vue.d.ts +90 -0
- package/dist/vue/KvVerticalCarousel2.js +103 -0
- package/dist/vue/KvVotingCard.css +1 -1
- package/dist/vue/KvVotingCard.js +31 -88
- package/dist/vue/KvVotingCard.vue.d.ts +249 -0
- package/dist/vue/KvVotingCard2.js +63 -0
- package/dist/vue/KvVotingCardV2.js +35 -90
- package/dist/vue/KvVotingCardV2.vue.d.ts +308 -0
- package/dist/vue/KvVotingCardV22.js +61 -0
- package/dist/vue/KvWideLoanCard.css +1 -1
- package/dist/vue/KvWideLoanCard.js +66 -274
- package/dist/vue/KvWideLoanCard.vue.d.ts +1191 -0
- package/dist/vue/KvWideLoanCard2.js +220 -0
- package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +34 -38
- package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.vue.d.ts +20 -0
- package/dist/vue/KvWwwHeader/KvHeaderAboutMenu2.js +9 -0
- package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.js +20 -83
- package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.vue.d.ts +91 -0
- package/dist/vue/KvWwwHeader/KvHeaderDropdownLink2.js +69 -0
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +77 -248
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.vue.d.ts +1071 -0
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +178 -0
- package/dist/vue/KvWwwHeader/KvHeaderLogo.js +8 -12
- package/dist/vue/KvWwwHeader/KvHeaderLogo.vue.d.ts +4 -0
- package/dist/vue/KvWwwHeader/KvHeaderLogo2.js +9 -0
- package/dist/vue/KvWwwHeader/KvHeaderMenuLink.vue.d.ts +17 -0
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +37 -91
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.vue.d.ts +162 -0
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu2.js +59 -0
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +36 -58
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.vue.d.ts +59 -0
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu2.js +27 -0
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +20 -24
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.vue.d.ts +20 -0
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu2.js +9 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.css +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +105 -181
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.vue.d.ts +319 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu2.js +82 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.css +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +93 -173
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.vue.d.ts +166 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +86 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +17 -157
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.vue.d.ts +506 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu2.js +145 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.css +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +11 -18
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.vue.d.ts +20 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList2.js +12 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +10 -16
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.vue.d.ts +20 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList2.js +11 -0
- package/dist/vue/KvWwwHeader.css +1 -1
- package/dist/vue/KvWwwHeader.js +35 -148
- package/dist/vue/KvWwwHeader.vue.d.ts +4430 -0
- package/dist/vue/KvWwwHeader2.js +119 -0
- package/dist/vue/index.d.ts +86 -0
- package/package.json +35 -33
- package/tsconfig.json +32 -0
- package/vite.config.ts +84 -0
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
userId: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
showMGUpsellLink: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
countriesNotLentToUrl: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {
|
|
15
|
+
onLoad: (apollo: any) => Promise<void>;
|
|
16
|
+
regions: import('vue').ComputedRef<any[]>;
|
|
17
|
+
computedCategories: import('vue').ComputedRef<any[]>;
|
|
18
|
+
isChannelsLoading: import('vue').Ref<boolean, boolean>;
|
|
19
|
+
isRegionsLoading: import('vue').Ref<boolean, boolean>;
|
|
20
|
+
savedSearches: import('vue').Ref<any[], any[]>;
|
|
21
|
+
favoritesCount: import('vue').Ref<number, number>;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "load-lend-menu-data"[], "load-lend-menu-data", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
userId: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
showMGUpsellLink: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
countriesNotLentToUrl: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
"onLoad-lend-menu-data"?: (...args: any[]) => any;
|
|
37
|
+
}>, {
|
|
38
|
+
userId: number;
|
|
39
|
+
showMGUpsellLink: boolean;
|
|
40
|
+
countriesNotLentToUrl: string;
|
|
41
|
+
}, {}, {
|
|
42
|
+
KvLendListMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
43
|
+
categories: {
|
|
44
|
+
type: import('vue').PropType<import('./KvLendListMenu.vue').Category[]>;
|
|
45
|
+
default: () => any[];
|
|
46
|
+
};
|
|
47
|
+
favorites: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
userId: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: any;
|
|
54
|
+
};
|
|
55
|
+
regions: {
|
|
56
|
+
type: import('vue').PropType<import('./KvLendListMenu.vue').Region[]>;
|
|
57
|
+
default: () => any[];
|
|
58
|
+
};
|
|
59
|
+
searches: {
|
|
60
|
+
type: import('vue').PropType<import('./KvLendMenuSearchList.vue').LendMenuSearch[]>;
|
|
61
|
+
default: () => any[];
|
|
62
|
+
};
|
|
63
|
+
isRegionsLoading: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
isChannelsLoading: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
showMGUpsellLink: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
countriesNotLentToUrl: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
}>, {
|
|
80
|
+
mdiArrowRight: string;
|
|
81
|
+
hasSearches: import('vue').ComputedRef<boolean>;
|
|
82
|
+
navLendCategories: import('vue').Ref<any, any>;
|
|
83
|
+
regionAccordions: import('vue').Ref<any[], any[]>;
|
|
84
|
+
searchesLink: import('vue').Ref<any, any>;
|
|
85
|
+
onClose: () => void;
|
|
86
|
+
paramCase: typeof import('../../../utils/paramCase').default;
|
|
87
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
88
|
+
categories: {
|
|
89
|
+
type: import('vue').PropType<import('./KvLendListMenu.vue').Category[]>;
|
|
90
|
+
default: () => any[];
|
|
91
|
+
};
|
|
92
|
+
favorites: {
|
|
93
|
+
type: NumberConstructor;
|
|
94
|
+
default: number;
|
|
95
|
+
};
|
|
96
|
+
userId: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: any;
|
|
99
|
+
};
|
|
100
|
+
regions: {
|
|
101
|
+
type: import('vue').PropType<import('./KvLendListMenu.vue').Region[]>;
|
|
102
|
+
default: () => any[];
|
|
103
|
+
};
|
|
104
|
+
searches: {
|
|
105
|
+
type: import('vue').PropType<import('./KvLendMenuSearchList.vue').LendMenuSearch[]>;
|
|
106
|
+
default: () => any[];
|
|
107
|
+
};
|
|
108
|
+
isRegionsLoading: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
isChannelsLoading: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
showMGUpsellLink: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
countriesNotLentToUrl: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
}>> & Readonly<{}>, {
|
|
125
|
+
searches: import('./KvLendMenuSearchList.vue').LendMenuSearch[];
|
|
126
|
+
categories: import('./KvLendListMenu.vue').Category[];
|
|
127
|
+
favorites: number;
|
|
128
|
+
userId: number;
|
|
129
|
+
regions: import('./KvLendListMenu.vue').Region[];
|
|
130
|
+
isRegionsLoading: boolean;
|
|
131
|
+
isChannelsLoading: boolean;
|
|
132
|
+
showMGUpsellLink: boolean;
|
|
133
|
+
countriesNotLentToUrl: string;
|
|
134
|
+
}, {}, {
|
|
135
|
+
KvAccordionItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
136
|
+
id: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
required: true;
|
|
139
|
+
validator: (v: string) => boolean;
|
|
140
|
+
};
|
|
141
|
+
open: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
disabled: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
}>, {
|
|
150
|
+
collapse: () => void;
|
|
151
|
+
expand: () => void;
|
|
152
|
+
isOpen: import('vue').Ref<boolean, boolean>;
|
|
153
|
+
mdiChevronDown: string;
|
|
154
|
+
toggle: () => void;
|
|
155
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle"[], "toggle", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
156
|
+
id: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
required: true;
|
|
159
|
+
validator: (v: string) => boolean;
|
|
160
|
+
};
|
|
161
|
+
open: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
disabled: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
}>> & Readonly<{
|
|
170
|
+
onToggle?: (...args: any[]) => any;
|
|
171
|
+
}>, {
|
|
172
|
+
open: boolean;
|
|
173
|
+
disabled: boolean;
|
|
174
|
+
}, {}, {
|
|
175
|
+
KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
176
|
+
icon: {
|
|
177
|
+
type: StringConstructor;
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
180
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
181
|
+
icon: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
}>> & Readonly<{}>, {
|
|
186
|
+
icon: string;
|
|
187
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
188
|
+
KvExpandable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
189
|
+
property: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
delay: {
|
|
194
|
+
type: NumberConstructor;
|
|
195
|
+
default: number;
|
|
196
|
+
};
|
|
197
|
+
easing: {
|
|
198
|
+
type: StringConstructor;
|
|
199
|
+
default: string;
|
|
200
|
+
};
|
|
201
|
+
skipEnter: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
skipLeave: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
}>, {
|
|
210
|
+
enter: (el: any, done: any) => any;
|
|
211
|
+
leave: (el: any, done: any) => any;
|
|
212
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
213
|
+
property: {
|
|
214
|
+
type: StringConstructor;
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
217
|
+
delay: {
|
|
218
|
+
type: NumberConstructor;
|
|
219
|
+
default: number;
|
|
220
|
+
};
|
|
221
|
+
easing: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
225
|
+
skipEnter: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
skipLeave: {
|
|
230
|
+
type: BooleanConstructor;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
}>> & Readonly<{}>, {
|
|
234
|
+
property: string;
|
|
235
|
+
delay: number;
|
|
236
|
+
easing: string;
|
|
237
|
+
skipEnter: boolean;
|
|
238
|
+
skipLeave: boolean;
|
|
239
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
240
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
241
|
+
KvTab: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
242
|
+
forPanel: {
|
|
243
|
+
type: StringConstructor;
|
|
244
|
+
required: true;
|
|
245
|
+
};
|
|
246
|
+
selected: {
|
|
247
|
+
type: BooleanConstructor;
|
|
248
|
+
default: boolean;
|
|
249
|
+
};
|
|
250
|
+
vertical: {
|
|
251
|
+
type: BooleanConstructor;
|
|
252
|
+
default: boolean;
|
|
253
|
+
};
|
|
254
|
+
}>, {
|
|
255
|
+
isActive: import('vue').ComputedRef<boolean>;
|
|
256
|
+
handleTabClicked: () => void;
|
|
257
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
258
|
+
forPanel: {
|
|
259
|
+
type: StringConstructor;
|
|
260
|
+
required: true;
|
|
261
|
+
};
|
|
262
|
+
selected: {
|
|
263
|
+
type: BooleanConstructor;
|
|
264
|
+
default: boolean;
|
|
265
|
+
};
|
|
266
|
+
vertical: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
270
|
+
}>> & Readonly<{}>, {
|
|
271
|
+
vertical: boolean;
|
|
272
|
+
selected: boolean;
|
|
273
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
274
|
+
KvTabPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
275
|
+
id: {
|
|
276
|
+
type: StringConstructor;
|
|
277
|
+
required: true;
|
|
278
|
+
};
|
|
279
|
+
}>, {
|
|
280
|
+
isActive: import('vue').ComputedRef<boolean>;
|
|
281
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
282
|
+
id: {
|
|
283
|
+
type: StringConstructor;
|
|
284
|
+
required: true;
|
|
285
|
+
};
|
|
286
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
287
|
+
KvTabs: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
288
|
+
vertical: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
default: boolean;
|
|
291
|
+
};
|
|
292
|
+
}>, {
|
|
293
|
+
handleKeyDown: (event: any) => void;
|
|
294
|
+
selectedTabEl: import('vue').ComputedRef<any>;
|
|
295
|
+
tabContext: {
|
|
296
|
+
selectedIndex: number;
|
|
297
|
+
setTab: any;
|
|
298
|
+
navItems: any[];
|
|
299
|
+
};
|
|
300
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
301
|
+
vertical: {
|
|
302
|
+
type: BooleanConstructor;
|
|
303
|
+
default: boolean;
|
|
304
|
+
};
|
|
305
|
+
}>> & Readonly<{}>, {
|
|
306
|
+
vertical: boolean;
|
|
307
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
308
|
+
KvLendMenuCountryList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
309
|
+
countries: {
|
|
310
|
+
type: import('vue').PropType<import('./KvLendMenuCountryList.vue').LendMenuCountry[]>;
|
|
311
|
+
default: () => any[];
|
|
312
|
+
};
|
|
313
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
314
|
+
countries: {
|
|
315
|
+
type: import('vue').PropType<import('./KvLendMenuCountryList.vue').LendMenuCountry[]>;
|
|
316
|
+
default: () => any[];
|
|
317
|
+
};
|
|
318
|
+
}>> & Readonly<{}>, {
|
|
319
|
+
countries: import('./KvLendMenuCountryList.vue').LendMenuCountry[];
|
|
320
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
321
|
+
KvLendMenuSearchList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
322
|
+
searches: {
|
|
323
|
+
type: import('vue').PropType<import('./KvLendMenuSearchList.vue').LendMenuSearch[]>;
|
|
324
|
+
default: () => any[];
|
|
325
|
+
};
|
|
326
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
327
|
+
searches: {
|
|
328
|
+
type: import('vue').PropType<import('./KvLendMenuSearchList.vue').LendMenuSearch[]>;
|
|
329
|
+
default: () => any[];
|
|
330
|
+
};
|
|
331
|
+
}>> & Readonly<{}>, {
|
|
332
|
+
searches: import('./KvLendMenuSearchList.vue').LendMenuSearch[];
|
|
333
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
334
|
+
KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
335
|
+
KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
336
|
+
icon: {
|
|
337
|
+
type: StringConstructor;
|
|
338
|
+
default: string;
|
|
339
|
+
};
|
|
340
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
341
|
+
icon: {
|
|
342
|
+
type: StringConstructor;
|
|
343
|
+
default: string;
|
|
344
|
+
};
|
|
345
|
+
}>> & Readonly<{}>, {
|
|
346
|
+
icon: string;
|
|
347
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
348
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
349
|
+
KvLendMegaMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
350
|
+
categories: {
|
|
351
|
+
type: import('vue').PropType<import('./KvLendMegaMenu.vue').Category[]>;
|
|
352
|
+
default: () => any[];
|
|
353
|
+
};
|
|
354
|
+
favorites: {
|
|
355
|
+
type: NumberConstructor;
|
|
356
|
+
default: number;
|
|
357
|
+
};
|
|
358
|
+
isRegionsLoading: {
|
|
359
|
+
type: BooleanConstructor;
|
|
360
|
+
default: boolean;
|
|
361
|
+
};
|
|
362
|
+
isChannelsLoading: {
|
|
363
|
+
type: BooleanConstructor;
|
|
364
|
+
default: boolean;
|
|
365
|
+
};
|
|
366
|
+
userId: {
|
|
367
|
+
type: NumberConstructor;
|
|
368
|
+
default: any;
|
|
369
|
+
};
|
|
370
|
+
regions: {
|
|
371
|
+
type: import('vue').PropType<import('./KvLendMegaMenu.vue').Region[]>;
|
|
372
|
+
default: () => any[];
|
|
373
|
+
};
|
|
374
|
+
searches: {
|
|
375
|
+
type: import('vue').PropType<import('./KvLendMenuSearchList.vue').LendMenuSearch[]>;
|
|
376
|
+
default: () => any[];
|
|
377
|
+
};
|
|
378
|
+
showMGUpsellLink: {
|
|
379
|
+
type: BooleanConstructor;
|
|
380
|
+
default: boolean;
|
|
381
|
+
};
|
|
382
|
+
countriesNotLentToUrl: {
|
|
383
|
+
type: StringConstructor;
|
|
384
|
+
default: string;
|
|
385
|
+
};
|
|
386
|
+
}>, {
|
|
387
|
+
mdiArrowRight: string;
|
|
388
|
+
mdiChevronLeft: string;
|
|
389
|
+
categoriesSection: import('vue').Ref<any, any>;
|
|
390
|
+
openedSection: import('vue').Ref<string, string>;
|
|
391
|
+
sectionOpen: import('vue').ComputedRef<boolean>;
|
|
392
|
+
isOpenSection: (name: any) => boolean;
|
|
393
|
+
openSection: (name: any) => void;
|
|
394
|
+
onClose: () => void;
|
|
395
|
+
openRegions: import('vue').ComputedRef<import('./KvLendMegaMenu.vue').Region[]>;
|
|
396
|
+
computedStyle: import('vue').ComputedRef<{
|
|
397
|
+
width: string;
|
|
398
|
+
transform?: string;
|
|
399
|
+
}>;
|
|
400
|
+
hasSearches: import('vue').ComputedRef<boolean>;
|
|
401
|
+
savedSearchesTitle: string;
|
|
402
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
403
|
+
categories: {
|
|
404
|
+
type: import('vue').PropType<import('./KvLendMegaMenu.vue').Category[]>;
|
|
405
|
+
default: () => any[];
|
|
406
|
+
};
|
|
407
|
+
favorites: {
|
|
408
|
+
type: NumberConstructor;
|
|
409
|
+
default: number;
|
|
410
|
+
};
|
|
411
|
+
isRegionsLoading: {
|
|
412
|
+
type: BooleanConstructor;
|
|
413
|
+
default: boolean;
|
|
414
|
+
};
|
|
415
|
+
isChannelsLoading: {
|
|
416
|
+
type: BooleanConstructor;
|
|
417
|
+
default: boolean;
|
|
418
|
+
};
|
|
419
|
+
userId: {
|
|
420
|
+
type: NumberConstructor;
|
|
421
|
+
default: any;
|
|
422
|
+
};
|
|
423
|
+
regions: {
|
|
424
|
+
type: import('vue').PropType<import('./KvLendMegaMenu.vue').Region[]>;
|
|
425
|
+
default: () => any[];
|
|
426
|
+
};
|
|
427
|
+
searches: {
|
|
428
|
+
type: import('vue').PropType<import('./KvLendMenuSearchList.vue').LendMenuSearch[]>;
|
|
429
|
+
default: () => any[];
|
|
430
|
+
};
|
|
431
|
+
showMGUpsellLink: {
|
|
432
|
+
type: BooleanConstructor;
|
|
433
|
+
default: boolean;
|
|
434
|
+
};
|
|
435
|
+
countriesNotLentToUrl: {
|
|
436
|
+
type: StringConstructor;
|
|
437
|
+
default: string;
|
|
438
|
+
};
|
|
439
|
+
}>> & Readonly<{}>, {
|
|
440
|
+
searches: import('./KvLendMenuSearchList.vue').LendMenuSearch[];
|
|
441
|
+
categories: import('./KvLendMegaMenu.vue').Category[];
|
|
442
|
+
favorites: number;
|
|
443
|
+
userId: number;
|
|
444
|
+
regions: import('./KvLendMegaMenu.vue').Region[];
|
|
445
|
+
isRegionsLoading: boolean;
|
|
446
|
+
isChannelsLoading: boolean;
|
|
447
|
+
showMGUpsellLink: boolean;
|
|
448
|
+
countriesNotLentToUrl: string;
|
|
449
|
+
}, {}, {
|
|
450
|
+
KvGrid: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
451
|
+
as: {
|
|
452
|
+
type: StringConstructor;
|
|
453
|
+
default: string;
|
|
454
|
+
};
|
|
455
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
456
|
+
as: {
|
|
457
|
+
type: StringConstructor;
|
|
458
|
+
default: string;
|
|
459
|
+
};
|
|
460
|
+
}>> & Readonly<{}>, {
|
|
461
|
+
as: string;
|
|
462
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
463
|
+
KvLendMenuCountryList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
464
|
+
countries: {
|
|
465
|
+
type: import('vue').PropType<import('./KvLendMenuCountryList.vue').LendMenuCountry[]>;
|
|
466
|
+
default: () => any[];
|
|
467
|
+
};
|
|
468
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
469
|
+
countries: {
|
|
470
|
+
type: import('vue').PropType<import('./KvLendMenuCountryList.vue').LendMenuCountry[]>;
|
|
471
|
+
default: () => any[];
|
|
472
|
+
};
|
|
473
|
+
}>> & Readonly<{}>, {
|
|
474
|
+
countries: import('./KvLendMenuCountryList.vue').LendMenuCountry[];
|
|
475
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
476
|
+
KvLendMenuSearchList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
477
|
+
searches: {
|
|
478
|
+
type: import('vue').PropType<import('./KvLendMenuSearchList.vue').LendMenuSearch[]>;
|
|
479
|
+
default: () => any[];
|
|
480
|
+
};
|
|
481
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
482
|
+
searches: {
|
|
483
|
+
type: import('vue').PropType<import('./KvLendMenuSearchList.vue').LendMenuSearch[]>;
|
|
484
|
+
default: () => any[];
|
|
485
|
+
};
|
|
486
|
+
}>> & Readonly<{}>, {
|
|
487
|
+
searches: import('./KvLendMenuSearchList.vue').LendMenuSearch[];
|
|
488
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
489
|
+
KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
490
|
+
KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
491
|
+
icon: {
|
|
492
|
+
type: StringConstructor;
|
|
493
|
+
default: string;
|
|
494
|
+
};
|
|
495
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
496
|
+
icon: {
|
|
497
|
+
type: StringConstructor;
|
|
498
|
+
default: string;
|
|
499
|
+
};
|
|
500
|
+
}>> & Readonly<{}>, {
|
|
501
|
+
icon: string;
|
|
502
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
503
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
504
|
+
KvPageContainer: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
505
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
506
|
+
export default _default;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { gql as l } from "@apollo/client/core";
|
|
2
|
+
import { toRefs as S, ref as s, computed as g, onMounted as w } from "vue";
|
|
3
|
+
import A from "./KvLendListMenu.js";
|
|
4
|
+
import F from "./KvLendMegaMenu.js";
|
|
5
|
+
import { indexIn as N } from "../../../utils/comparators.js";
|
|
6
|
+
import { groupBy as O, sortBy as C } from "../../../utils/arrayUtils.js";
|
|
7
|
+
import x from "../../KvPageContainer.js";
|
|
8
|
+
const J = {
|
|
9
|
+
components: {
|
|
10
|
+
KvLendListMenu: A,
|
|
11
|
+
KvLendMegaMenu: F,
|
|
12
|
+
KvPageContainer: x
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
userId: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: null
|
|
18
|
+
},
|
|
19
|
+
showMGUpsellLink: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: !1
|
|
22
|
+
},
|
|
23
|
+
countriesNotLentToUrl: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: "/lend/countries-not-lent"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
emits: ["load-lend-menu-data"],
|
|
29
|
+
setup(h, { emit: L }) {
|
|
30
|
+
const {
|
|
31
|
+
userId: i
|
|
32
|
+
} = S(h), c = s([]), m = s([]), d = s(0), y = s([]), M = [
|
|
33
|
+
"North America",
|
|
34
|
+
"Central America",
|
|
35
|
+
"South America",
|
|
36
|
+
"Africa",
|
|
37
|
+
"Eastern Europe",
|
|
38
|
+
"Middle East",
|
|
39
|
+
"Asia",
|
|
40
|
+
"Oceania"
|
|
41
|
+
], p = s(!0), f = s(!0), b = async (r) => {
|
|
42
|
+
var o, t, n, a;
|
|
43
|
+
if (r.watchQuery({
|
|
44
|
+
query: l`query countryFacets {
|
|
45
|
+
lend {
|
|
46
|
+
countryFacets {
|
|
47
|
+
count
|
|
48
|
+
country {
|
|
49
|
+
name
|
|
50
|
+
region
|
|
51
|
+
isoCode
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
}`
|
|
57
|
+
}).subscribe({
|
|
58
|
+
next: ({ data: e }) => {
|
|
59
|
+
var u;
|
|
60
|
+
m.value = ((u = e == null ? void 0 : e.lend) == null ? void 0 : u.countryFacets) ?? [], p.value = !1;
|
|
61
|
+
}
|
|
62
|
+
}), r.watchQuery({
|
|
63
|
+
query: l`
|
|
64
|
+
query lendMenuData {
|
|
65
|
+
lend {
|
|
66
|
+
loanChannels(popular: true, applyMinLoanCount: true, limit: 50) {
|
|
67
|
+
values {
|
|
68
|
+
id
|
|
69
|
+
name
|
|
70
|
+
url
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
`
|
|
76
|
+
}).subscribe({
|
|
77
|
+
next: ({ data: e }) => {
|
|
78
|
+
var u, v;
|
|
79
|
+
c.value = ((v = (u = e == null ? void 0 : e.lend) == null ? void 0 : u.loanChannels) == null ? void 0 : v.values) ?? [], f.value = !1;
|
|
80
|
+
}
|
|
81
|
+
}), i.value) {
|
|
82
|
+
const { data: e } = await r.query({
|
|
83
|
+
query: l`
|
|
84
|
+
query lendMenuPrivateData($userId: Int!) {
|
|
85
|
+
lend {
|
|
86
|
+
loans(limit: 1, filters: {
|
|
87
|
+
lenderFavorite: $userId
|
|
88
|
+
}) {
|
|
89
|
+
totalCount
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
my {
|
|
93
|
+
savedSearches {
|
|
94
|
+
values {
|
|
95
|
+
id
|
|
96
|
+
name
|
|
97
|
+
url
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
`,
|
|
103
|
+
variables: {
|
|
104
|
+
userId: i.value
|
|
105
|
+
},
|
|
106
|
+
fetchPolicy: "network-only"
|
|
107
|
+
});
|
|
108
|
+
d.value = ((t = (o = e == null ? void 0 : e.lend) == null ? void 0 : o.loans) == null ? void 0 : t.totalCount) ?? 0, y.value = ((a = (n = e == null ? void 0 : e.my) == null ? void 0 : n.savedSearches) == null ? void 0 : a.values) ?? [];
|
|
109
|
+
}
|
|
110
|
+
}, q = g(() => {
|
|
111
|
+
const r = m.value.map((n) => ({
|
|
112
|
+
name: n.country.name,
|
|
113
|
+
region: n.country.region,
|
|
114
|
+
isoCode: n.country.isoCode.toLowerCase(),
|
|
115
|
+
count: n.count || 0
|
|
116
|
+
})), o = O(r, "region"), t = [];
|
|
117
|
+
for (const [n, a] of Object.entries(o))
|
|
118
|
+
t.push({
|
|
119
|
+
name: n,
|
|
120
|
+
countries: a.sort(C("name"))
|
|
121
|
+
});
|
|
122
|
+
return t.sort(N(M, "name"));
|
|
123
|
+
}), I = g(() => {
|
|
124
|
+
var o;
|
|
125
|
+
return ((o = c.value) == null ? void 0 : o.map((t) => {
|
|
126
|
+
const n = JSON.parse(JSON.stringify(t));
|
|
127
|
+
return n.url = n.url.replace("lend", "lend-by-category"), n;
|
|
128
|
+
})).sort(C("name"));
|
|
129
|
+
});
|
|
130
|
+
return w(() => {
|
|
131
|
+
L("load-lend-menu-data");
|
|
132
|
+
}), {
|
|
133
|
+
onLoad: b,
|
|
134
|
+
regions: q,
|
|
135
|
+
computedCategories: I,
|
|
136
|
+
isChannelsLoading: f,
|
|
137
|
+
isRegionsLoading: p,
|
|
138
|
+
savedSearches: y,
|
|
139
|
+
favoritesCount: d
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
export {
|
|
144
|
+
J as default
|
|
145
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.country-list-item[data-v-
|
|
1
|
+
.country-list-item[data-v-07c8276d]{width:11rem}
|