@ulu/frontend-vue 0.1.0-beta.9 → 0.1.1-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{breakpoints-BbkGNxxt.js → breakpoints-BYSYcx8V.js} +1 -1
- package/dist/frontend-vue.css +1 -1
- package/dist/frontend-vue.js +82 -70
- package/dist/index-A7weElM_.js +7766 -0
- package/lib/components/collapsible/UluAccordion.vue +71 -53
- package/lib/components/collapsible/UluAccordionGroup.vue +54 -0
- package/lib/components/collapsible/UluCollapsible.vue +144 -0
- package/lib/components/collapsible/UluDropdown.vue +29 -29
- package/lib/components/collapsible/UluOverflowPopover.vue +1 -1
- package/lib/components/elements/UluBadge.vue +51 -28
- package/lib/components/elements/UluBadgeStack.vue +8 -13
- package/lib/components/elements/UluButtonVerbose.vue +119 -0
- package/lib/components/elements/UluCard.vue +1 -1
- package/lib/components/elements/UluDefinitionList.vue +14 -17
- package/lib/components/elements/UluExternalLink.vue +21 -27
- package/lib/components/elements/UluIcon.vue +11 -1
- package/lib/components/elements/UluList.vue +53 -55
- package/lib/components/elements/UluSpokeSpinner.vue +12 -18
- package/lib/components/elements/UluTag.vue +35 -35
- package/lib/components/forms/UluFileDisplay.vue +49 -31
- package/lib/components/forms/UluFormFile.vue +37 -24
- package/lib/components/forms/UluFormMessage.vue +13 -10
- package/lib/components/forms/UluFormSelect.vue +28 -16
- package/lib/components/forms/UluFormText.vue +24 -15
- package/lib/components/forms/UluSearchForm.vue +11 -10
- package/lib/components/forms/UluSelectableMenu.vue +106 -0
- package/lib/components/index.js +4 -3
- package/lib/components/layout/UluTitleRail.vue +18 -0
- package/lib/components/layout/UluWhenBreakpoint.vue +9 -0
- package/lib/components/navigation/UluBreadcrumb.vue +9 -2
- package/lib/components/navigation/UluMenu.vue +13 -6
- package/lib/components/navigation/UluMenuStack.vue +50 -31
- package/lib/components/navigation/UluPager.vue +102 -0
- package/lib/components/systems/facets/ExampleFacetsWithPagination.vue +119 -0
- package/lib/components/systems/facets/UluFacetsActiveFilters.vue +84 -0
- package/lib/components/systems/facets/UluFacetsFilterLists.vue +97 -0
- package/lib/components/systems/facets/UluFacetsFilterPopovers.vue +125 -0
- package/lib/components/systems/facets/UluFacetsFilterSelects.vue +71 -0
- package/lib/components/systems/facets/UluFacetsHeaderLayout.vue +24 -0
- package/lib/components/systems/facets/UluFacetsList.vue +64 -34
- package/lib/components/systems/facets/UluFacetsResults.vue +63 -0
- package/lib/components/systems/facets/UluFacetsSearch.vue +27 -50
- package/lib/components/systems/facets/UluFacetsSidebarLayout.vue +90 -0
- package/lib/components/systems/facets/UluFacetsSort.vue +45 -0
- package/lib/components/systems/facets/_facets.scss +2 -3
- package/lib/components/systems/facets/_mock-data.js +40 -0
- package/lib/components/systems/facets/useFacets.js +394 -0
- package/lib/components/systems/index.js +14 -2
- package/lib/components/systems/scroll-anchors/UluScrollAnchors.vue +2 -1
- package/lib/components/systems/skeleton/UluShowSkeleton.vue +9 -8
- package/lib/components/systems/skeleton/UluSkeletonContent.vue +39 -43
- package/lib/components/systems/skeleton/UluSkeletonMedia.vue +4 -6
- package/lib/components/systems/skeleton/UluSkeletonText.vue +27 -0
- package/lib/components/systems/slider/UluImageSlideShow.vue +1 -1
- package/lib/components/systems/slider/UluSlideShow.vue +8 -3
- package/lib/components/systems/table-sticky/UluTableSticky.vue +7 -7
- package/lib/components/systems/table-sticky/UluTableStickyTable.vue +3 -3
- package/lib/components/visualizations/UluAnimateNumber.vue +7 -1
- package/lib/components/visualizations/UluProgressBar.vue +148 -74
- package/lib/components/visualizations/UluProgressCircle.vue +159 -0
- package/lib/composables/index.js +3 -1
- package/lib/composables/useDocumentTitle.js +61 -0
- package/lib/composables/usePagination.js +122 -0
- package/lib/index.js +1 -0
- package/lib/plugins/core/index.js +6 -1
- package/lib/plugins/popovers/UluPopover.vue +8 -3
- package/lib/plugins/toast/UluToast.vue +1 -1
- package/lib/plugins/toast/UluToastDisplay.vue +19 -2
- package/lib/utils/dom.js +12 -0
- package/lib/utils/index.js +2 -0
- package/lib/utils/{vue-router.js → router.js} +114 -30
- package/package.json +22 -12
- package/types/components/collapsible/UluAccordion.vue.d.ts +42 -0
- package/types/components/collapsible/UluAccordion.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluAccordionGroup.vue.d.ts +19 -0
- package/types/components/collapsible/UluAccordionGroup.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluCollapsible.vue.d.ts +40 -0
- package/types/components/collapsible/UluCollapsible.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluDropdown.vue.d.ts +22 -0
- package/types/components/collapsible/UluDropdown.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluModal.vue.d.ts +253 -0
- package/types/components/collapsible/UluModal.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluOverflowPopover.vue.d.ts +18 -0
- package/types/components/collapsible/UluOverflowPopover.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluTab.vue.d.ts +10 -0
- package/types/components/collapsible/UluTab.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluTabGroup.vue.d.ts +18 -0
- package/types/components/collapsible/UluTabGroup.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluTabList.vue.d.ts +10 -0
- package/types/components/collapsible/UluTabList.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluTabPanel.vue.d.ts +10 -0
- package/types/components/collapsible/UluTabPanel.vue.d.ts.map +1 -0
- package/types/components/collapsible/UluTabPanels.vue.d.ts +10 -0
- package/types/components/collapsible/UluTabPanels.vue.d.ts.map +1 -0
- package/types/components/elements/UluAlert.vue.d.ts +147 -0
- package/types/components/elements/UluAlert.vue.d.ts.map +1 -0
- package/types/components/elements/UluBadge.vue.d.ts +30 -0
- package/types/components/elements/UluBadge.vue.d.ts.map +1 -0
- package/types/components/elements/UluBadgeStack.vue.d.ts +9 -0
- package/types/components/elements/UluBadgeStack.vue.d.ts.map +1 -0
- package/types/components/elements/UluButton.vue.d.ts +186 -0
- package/types/components/elements/UluButton.vue.d.ts.map +1 -0
- package/types/components/elements/UluButtonVerbose.vue.d.ts +126 -0
- package/types/components/elements/UluButtonVerbose.vue.d.ts.map +1 -0
- package/types/components/elements/UluCallout.vue.d.ts +27 -0
- package/types/components/elements/UluCallout.vue.d.ts.map +1 -0
- package/types/components/elements/UluCard.vue.d.ts +238 -0
- package/types/components/elements/UluCard.vue.d.ts.map +1 -0
- package/types/components/elements/UluDefinitionList.vue.d.ts +26 -0
- package/types/components/elements/UluDefinitionList.vue.d.ts.map +1 -0
- package/types/components/elements/UluExternalLink.vue.d.ts +25 -0
- package/types/components/elements/UluExternalLink.vue.d.ts.map +1 -0
- package/types/components/elements/UluIcon.vue.d.ts +11 -0
- package/types/components/elements/UluIcon.vue.d.ts.map +1 -0
- package/types/components/elements/UluList.vue.d.ts +37 -0
- package/types/components/elements/UluList.vue.d.ts.map +1 -0
- package/types/components/elements/UluMain.vue.d.ts +13 -0
- package/types/components/elements/UluMain.vue.d.ts.map +1 -0
- package/types/components/elements/UluSpokeSpinner.vue.d.ts +9 -0
- package/types/components/elements/UluSpokeSpinner.vue.d.ts.map +1 -0
- package/types/components/elements/UluTag.vue.d.ts +26 -0
- package/types/components/elements/UluTag.vue.d.ts.map +1 -0
- package/types/components/forms/UluFileDisplay.vue.d.ts +23 -0
- package/types/components/forms/UluFileDisplay.vue.d.ts.map +1 -0
- package/types/components/forms/UluFormFile.vue.d.ts +26 -0
- package/types/components/forms/UluFormFile.vue.d.ts.map +1 -0
- package/types/components/forms/UluFormMessage.vue.d.ts +18 -0
- package/types/components/forms/UluFormMessage.vue.d.ts.map +1 -0
- package/types/components/forms/UluFormSelect.vue.d.ts +24 -0
- package/types/components/forms/UluFormSelect.vue.d.ts.map +1 -0
- package/types/components/forms/UluFormText.vue.d.ts +22 -0
- package/types/components/forms/UluFormText.vue.d.ts.map +1 -0
- package/types/components/forms/UluSearchForm.vue.d.ts +9 -0
- package/types/components/forms/UluSearchForm.vue.d.ts.map +1 -0
- package/types/components/forms/UluSelectableMenu.vue.d.ts +30 -0
- package/types/components/forms/UluSelectableMenu.vue.d.ts.map +1 -0
- package/types/components/index.d.ts +48 -0
- package/types/components/layout/UluAdaptiveLayout.vue.d.ts +12 -0
- package/types/components/layout/UluAdaptiveLayout.vue.d.ts.map +1 -0
- package/types/components/layout/UluDataGrid.vue.d.ts +3 -0
- package/types/components/layout/UluDataGrid.vue.d.ts.map +1 -0
- package/types/components/layout/UluTitleRail.vue.d.ts +91 -0
- package/types/components/layout/UluTitleRail.vue.d.ts.map +1 -0
- package/types/components/layout/UluWhenBreakpoint.vue.d.ts +20 -0
- package/types/components/layout/UluWhenBreakpoint.vue.d.ts.map +1 -0
- package/types/components/navigation/UluBreadcrumb.vue.d.ts +71 -0
- package/types/components/navigation/UluBreadcrumb.vue.d.ts.map +1 -0
- package/types/components/navigation/UluMenu.vue.d.ts +142 -0
- package/types/components/navigation/UluMenu.vue.d.ts.map +1 -0
- package/types/components/navigation/UluMenuStack.vue.d.ts +19 -0
- package/types/components/navigation/UluMenuStack.vue.d.ts.map +1 -0
- package/types/components/navigation/UluNavStrip.vue.d.ts +138 -0
- package/types/components/navigation/UluNavStrip.vue.d.ts.map +1 -0
- package/types/components/navigation/UluPager.vue.d.ts +15 -0
- package/types/components/navigation/UluPager.vue.d.ts.map +1 -0
- package/types/components/navigation/UluSkipLink.vue.d.ts +3 -0
- package/types/components/navigation/UluSkipLink.vue.d.ts.map +1 -0
- package/types/components/systems/facets/ExampleFacetsWithPagination.vue.d.ts +3 -0
- package/types/components/systems/facets/ExampleFacetsWithPagination.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsActiveFilters.vue.d.ts +18 -0
- package/types/components/systems/facets/UluFacetsActiveFilters.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsFilterLists.vue.d.ts +27 -0
- package/types/components/systems/facets/UluFacetsFilterLists.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsFilterPopovers.vue.d.ts +25 -0
- package/types/components/systems/facets/UluFacetsFilterPopovers.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsFilterSelects.vue.d.ts +11 -0
- package/types/components/systems/facets/UluFacetsFilterSelects.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsHeaderLayout.vue.d.ts +12 -0
- package/types/components/systems/facets/UluFacetsHeaderLayout.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsList.vue.d.ts +21 -0
- package/types/components/systems/facets/UluFacetsList.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsResults.vue.d.ts +27 -0
- package/types/components/systems/facets/UluFacetsResults.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsSearch.vue.d.ts +15 -0
- package/types/components/systems/facets/UluFacetsSearch.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsSidebarLayout.vue.d.ts +22 -0
- package/types/components/systems/facets/UluFacetsSidebarLayout.vue.d.ts.map +1 -0
- package/types/components/systems/facets/UluFacetsSort.vue.d.ts +22 -0
- package/types/components/systems/facets/UluFacetsSort.vue.d.ts.map +1 -0
- package/types/components/systems/facets/_mock-data.d.ts +18 -0
- package/types/components/systems/facets/_mock-data.d.ts.map +1 -0
- package/types/components/systems/facets/useFacets.d.ts +57 -0
- package/types/components/systems/facets/useFacets.d.ts.map +1 -0
- package/types/components/systems/index.d.ts +25 -1
- package/types/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts +60 -0
- package/types/components/systems/scroll-anchors/UluScrollAnchors.vue.d.ts.map +1 -0
- package/types/components/systems/scroll-anchors/UluScrollAnchorsNav.vue.d.ts +15 -0
- package/types/components/systems/scroll-anchors/UluScrollAnchorsNav.vue.d.ts.map +1 -0
- package/types/components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.d.ts +32 -0
- package/types/components/systems/scroll-anchors/UluScrollAnchorsNavAnimated.vue.d.ts.map +1 -0
- package/types/components/systems/scroll-anchors/UluScrollAnchorsSection.vue.d.ts +50 -0
- package/types/components/systems/scroll-anchors/UluScrollAnchorsSection.vue.d.ts.map +1 -0
- package/types/components/systems/scroll-anchors/symbols.d.ts +3 -3
- package/types/components/systems/scroll-anchors/symbols.d.ts.map +1 -1
- package/types/components/systems/skeleton/UluShowSkeleton.vue.d.ts +16 -0
- package/types/components/systems/skeleton/UluShowSkeleton.vue.d.ts.map +1 -0
- package/types/components/systems/skeleton/UluSkeletonContent.vue.d.ts +9 -0
- package/types/components/systems/skeleton/UluSkeletonContent.vue.d.ts.map +1 -0
- package/types/components/systems/skeleton/UluSkeletonMedia.vue.d.ts +3 -0
- package/types/components/systems/skeleton/UluSkeletonMedia.vue.d.ts.map +1 -0
- package/types/components/systems/skeleton/UluSkeletonText.vue.d.ts +13 -0
- package/types/components/systems/skeleton/UluSkeletonText.vue.d.ts.map +1 -0
- package/types/components/systems/slider/UluImageSlideShow.vue.d.ts +130 -0
- package/types/components/systems/slider/UluImageSlideShow.vue.d.ts.map +1 -0
- package/types/components/systems/slider/UluSlideShow.vue.d.ts +205 -0
- package/types/components/systems/slider/UluSlideShow.vue.d.ts.map +1 -0
- package/types/components/systems/slider/UluSlideShowSlide.vue.d.ts +17 -0
- package/types/components/systems/slider/UluSlideShowSlide.vue.d.ts.map +1 -0
- package/types/components/systems/table-sticky/UluTableSticky.vue.d.ts +455 -0
- package/types/components/systems/table-sticky/UluTableSticky.vue.d.ts.map +1 -0
- package/types/components/systems/table-sticky/UluTableStickyRows.vue.d.ts +34 -0
- package/types/components/systems/table-sticky/UluTableStickyRows.vue.d.ts.map +1 -0
- package/types/components/systems/table-sticky/UluTableStickyTable.vue.d.ts +151 -0
- package/types/components/systems/table-sticky/UluTableStickyTable.vue.d.ts.map +1 -0
- package/types/components/utils/UluCondText.vue.d.ts +29 -0
- package/types/components/utils/UluCondText.vue.d.ts.map +1 -0
- package/types/components/utils/UluEmpty.vue.d.ts +3 -0
- package/types/components/utils/UluEmpty.vue.d.ts.map +1 -0
- package/types/components/utils/UluEmptyView.vue.d.ts +3 -0
- package/types/components/utils/UluEmptyView.vue.d.ts.map +1 -0
- package/types/components/utils/UluPlaceholderImage.vue.d.ts +61 -0
- package/types/components/utils/UluPlaceholderImage.vue.d.ts.map +1 -0
- package/types/components/utils/UluPlaceholderText.vue.d.ts +24 -0
- package/types/components/utils/UluPlaceholderText.vue.d.ts.map +1 -0
- package/types/components/utils/UluRouteAnnouncer.vue.d.ts +63 -0
- package/types/components/utils/UluRouteAnnouncer.vue.d.ts.map +1 -0
- package/types/components/visualizations/UluAnimateNumber.vue.d.ts +16 -0
- package/types/components/visualizations/UluAnimateNumber.vue.d.ts.map +1 -0
- package/types/components/visualizations/UluProgressBar.vue.d.ts +66 -0
- package/types/components/visualizations/UluProgressBar.vue.d.ts.map +1 -0
- package/types/components/visualizations/UluProgressCircle.vue.d.ts +48 -0
- package/types/components/visualizations/UluProgressCircle.vue.d.ts.map +1 -0
- package/types/composables/index.d.ts +2 -0
- package/types/composables/useBreakpointManager.d.ts +1 -1
- package/types/composables/useBreakpointManager.d.ts.map +1 -1
- package/types/composables/useDocumentTitle.d.ts +22 -0
- package/types/composables/useDocumentTitle.d.ts.map +1 -0
- package/types/composables/useIcon.d.ts +1 -1
- package/types/composables/useIcon.d.ts.map +1 -1
- package/types/composables/useModifiers.d.ts +1 -1
- package/types/composables/useModifiers.d.ts.map +1 -1
- package/types/composables/usePageTitle.d.ts +19 -0
- package/types/composables/usePageTitle.d.ts.map +1 -0
- package/types/composables/usePagination.d.ts +25 -0
- package/types/composables/usePagination.d.ts.map +1 -0
- package/types/composables/useWindowResize.d.ts +1 -1
- package/types/composables/useWindowResize.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/plugins/core/index.d.ts.map +1 -1
- package/types/plugins/modals/UluModalsDisplay.vue.d.ts +14 -0
- package/types/plugins/modals/UluModalsDisplay.vue.d.ts.map +1 -0
- package/types/plugins/modals/api.d.ts +7 -4
- package/types/plugins/modals/api.d.ts.map +1 -1
- package/types/plugins/popovers/UluPopover.vue.d.ts +54 -0
- package/types/plugins/popovers/UluPopover.vue.d.ts.map +1 -0
- package/types/plugins/popovers/UluTooltipDisplay.vue.d.ts +3 -0
- package/types/plugins/popovers/UluTooltipDisplay.vue.d.ts.map +1 -0
- package/types/plugins/popovers/UluTooltipPopover.vue.d.ts +3 -0
- package/types/plugins/popovers/UluTooltipPopover.vue.d.ts.map +1 -0
- package/types/plugins/popovers/defaults.d.ts +2 -2
- package/types/plugins/popovers/defaults.d.ts.map +1 -1
- package/types/plugins/popovers/manager.d.ts +50 -6
- package/types/plugins/popovers/manager.d.ts.map +1 -1
- package/types/plugins/popovers/useFollow.d.ts +4 -4
- package/types/plugins/popovers/useFollow.d.ts.map +1 -1
- package/types/plugins/toast/UluToast.vue.d.ts +52 -0
- package/types/plugins/toast/UluToast.vue.d.ts.map +1 -0
- package/types/plugins/toast/UluToastDisplay.vue.d.ts +13 -0
- package/types/plugins/toast/UluToastDisplay.vue.d.ts.map +1 -0
- package/types/plugins/toast/defaults.d.ts +39 -2
- package/types/plugins/toast/store.d.ts +65 -2
- package/types/plugins/toast/store.d.ts.map +1 -1
- package/types/utils/dom.d.ts +2 -1
- package/types/utils/dom.d.ts.map +1 -1
- package/types/utils/index.d.ts +3 -0
- package/types/utils/index.d.ts.map +1 -0
- package/types/utils/router.d.ts +144 -0
- package/types/utils/router.d.ts.map +1 -0
- package/dist/index-D3Uc6T5M.js +0 -6469
- package/lib/components/collapsible/UluCollapsibleRegion.vue +0 -278
- package/lib/components/forms/UluCheckboxMenu.vue +0 -36
- package/lib/components/systems/facets/UluFacets.vue +0 -380
- package/lib/components/systems/skeleton/UluSkeletonTextInline.vue +0 -9
- package/lib/components/visualizations/UluProgressDonut.vue +0 -97
- package/lib/utils/placeholder.js +0 -6
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This Module Creates Menus from route or router config
|
|
3
3
|
* - Note: Functions prefixed with "$" work with $route objects (running application, provided by vue-router ie $router, useRoute, etc),
|
|
4
|
-
* @module
|
|
4
|
+
* @module router-utils
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Resolves a route's title from its meta.
|
|
9
|
+
* - If `meta.title` is a function, it's called with the `currentRoute` (or the route itself).
|
|
10
|
+
* - Otherwise, `meta.title` is returned.
|
|
11
|
+
* This function is the single source of truth for resolving titles from route configuration.
|
|
12
|
+
* @param {object} route The route or route match object.
|
|
13
|
+
* @param {object} [currentRoute] The current route from `useRoute()`, passed to functional titles.
|
|
14
|
+
* @returns {string|undefined} The resolved title, or undefined if not found.
|
|
15
|
+
*/
|
|
16
|
+
export function getRouteTitle(route, currentRoute) {
|
|
17
|
+
const meta = route?.meta || {};
|
|
18
|
+
let title = meta.title;
|
|
19
|
+
|
|
20
|
+
if (typeof title === "function") {
|
|
21
|
+
title = title(currentRoute || route);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return title;
|
|
25
|
+
}
|
|
26
|
+
|
|
7
27
|
/**
|
|
8
28
|
* Route Menu Item
|
|
9
29
|
* @typedef {Object} RouteMenuItem
|
|
@@ -21,21 +41,55 @@
|
|
|
21
41
|
*/
|
|
22
42
|
export function createBaseMenu(routes, options) {
|
|
23
43
|
const defaults = {
|
|
24
|
-
qualifier
|
|
44
|
+
qualifier(route, parentPath) {
|
|
45
|
+
if (!parentPath) {
|
|
46
|
+
return isStaticBaseRoute(route);
|
|
47
|
+
} else {
|
|
48
|
+
return isStaticRoute(route);
|
|
49
|
+
}
|
|
50
|
+
},
|
|
25
51
|
sort: sortByWeight,
|
|
26
|
-
item: {}
|
|
52
|
+
item: {},
|
|
53
|
+
includeChildren: false
|
|
27
54
|
};
|
|
28
55
|
const opts = Object.assign({}, defaults, options);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
56
|
+
const getItemPath = (r, parentPath) => parentPath ? `${ parentPath }/${ r.path }` : r.path;
|
|
57
|
+
const toMenuItems = (currentRoutes, parentPath = null) => {
|
|
58
|
+
return currentRoutes
|
|
59
|
+
.filter(r => opts.qualifier(r, parentPath))
|
|
60
|
+
.map(r => {
|
|
61
|
+
const menuRoute = r.children ? getChildIndexRoute(r.children) : r;
|
|
62
|
+
const children = r.children ? r.children.filter(child => child.path !== "") : false;
|
|
63
|
+
const item = createMenuItem(menuRoute, getItemPath(r, parentPath), opts.item);
|
|
64
|
+
if (opts.includeChildren && children.length) {
|
|
65
|
+
item.children = toMenuItems(children, item.path);
|
|
66
|
+
}
|
|
67
|
+
return item;
|
|
68
|
+
})
|
|
69
|
+
.sort(opts.sort);
|
|
70
|
+
};
|
|
71
|
+
return toMenuItems(routes);
|
|
37
72
|
}
|
|
38
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Returns menu flat (no parent children)
|
|
76
|
+
*/
|
|
77
|
+
export function flattenMenu(menu) {
|
|
78
|
+
function flatten(items) {
|
|
79
|
+
const result = [];
|
|
80
|
+
for (const item of items) {
|
|
81
|
+
const newItem = { ...item };
|
|
82
|
+
delete newItem.children;
|
|
83
|
+
result.push(newItem);
|
|
84
|
+
if (item.children) {
|
|
85
|
+
result.push(...flatten(item.children));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return result;
|
|
89
|
+
}
|
|
90
|
+
return flatten(menu);
|
|
91
|
+
}
|
|
92
|
+
|
|
39
93
|
/**
|
|
40
94
|
* Print out a section's menu based on path
|
|
41
95
|
* @param {*} routes All routes
|
|
@@ -53,7 +107,6 @@ export function createSectionMenu(routes, sectionPath, options) {
|
|
|
53
107
|
};
|
|
54
108
|
const opts = Object.assign({}, defaults, options);
|
|
55
109
|
const base = routes.find(r => r.path !== "/" && sectionPath.includes(r.path));
|
|
56
|
-
// Go through each item and
|
|
57
110
|
const getSection = (current, previous, path) => {
|
|
58
111
|
if (current.children) {
|
|
59
112
|
const child = current.children.find(c => c.path.includes(sectionPath));
|
|
@@ -74,20 +127,6 @@ export function createSectionMenu(routes, sectionPath, options) {
|
|
|
74
127
|
.sort(opts.sort);
|
|
75
128
|
}
|
|
76
129
|
|
|
77
|
-
/**
|
|
78
|
-
* For a given route this will return the route that renders. For routes without
|
|
79
|
-
* children this is the route itself for those with children (first child with empty path)
|
|
80
|
-
* @param {Object} route Route object to resolve
|
|
81
|
-
* @returns {Object} Resolved route
|
|
82
|
-
*/
|
|
83
|
-
// export function resolveRouteIndex(route) {
|
|
84
|
-
// if (route.children) {
|
|
85
|
-
// return getChildIndexRoute(route.children);
|
|
86
|
-
// } else {
|
|
87
|
-
// return route;
|
|
88
|
-
// }
|
|
89
|
-
// }
|
|
90
|
-
|
|
91
130
|
/**
|
|
92
131
|
* For a given array of child routes return the index
|
|
93
132
|
* @param {Array} children Children array of routes
|
|
@@ -96,6 +135,7 @@ export function createSectionMenu(routes, sectionPath, options) {
|
|
|
96
135
|
export function getChildIndexRoute(children) {
|
|
97
136
|
return children.find(r => r.path === "");
|
|
98
137
|
}
|
|
138
|
+
|
|
99
139
|
/**
|
|
100
140
|
* Creates common menu item structure from route, pulls title and weight from meta (on route or index child)
|
|
101
141
|
* @param {Object} route Route
|
|
@@ -115,9 +155,10 @@ export function createMenuItem(route, routePath = route.path, options) {
|
|
|
115
155
|
if (opts.indexMeta && route.children) {
|
|
116
156
|
meta = Object.assign({}, meta, getChildIndexRoute(route.children)?.meta);
|
|
117
157
|
}
|
|
158
|
+
const routeWithMergedMeta = { ...route, meta };
|
|
118
159
|
const item = {
|
|
119
160
|
path: routePath,
|
|
120
|
-
title:
|
|
161
|
+
title: getRouteTitle(routeWithMergedMeta, route) || "Missing Title",
|
|
121
162
|
weight: meta?.weight || 0,
|
|
122
163
|
meta
|
|
123
164
|
};
|
|
@@ -126,23 +167,26 @@ export function createMenuItem(route, routePath = route.path, options) {
|
|
|
126
167
|
}
|
|
127
168
|
return item;
|
|
128
169
|
}
|
|
170
|
+
|
|
129
171
|
/**
|
|
130
|
-
* Test if route is static (doesn't
|
|
172
|
+
* Test if route is static (doesn't include parameters)
|
|
131
173
|
* @param {Object} route Route object to test
|
|
132
174
|
* @returns {Boolean} Whether or not this route is static (not dynamic)
|
|
133
175
|
*/
|
|
134
176
|
export function isStaticRoute(route) {
|
|
135
177
|
return !route.path.includes("/:");
|
|
136
178
|
}
|
|
179
|
+
|
|
137
180
|
/**
|
|
138
181
|
*
|
|
139
182
|
* @param {Object} route Route object to test
|
|
140
183
|
* @returns {Boolean} Whether or not this route is a static base route
|
|
141
184
|
*/
|
|
142
185
|
export function isStaticBaseRoute(route) {
|
|
143
|
-
const matches = route.path.match(/\//) || [];
|
|
186
|
+
const matches = route.path.match(/\//g) || [];
|
|
144
187
|
return isStaticRoute(route) && matches.length === 1;
|
|
145
188
|
}
|
|
189
|
+
|
|
146
190
|
/**
|
|
147
191
|
* Function to make normal <a> behave as router links instread of page reload
|
|
148
192
|
* @param {Object} router Router instance (ie src/router) to push routes to
|
|
@@ -159,6 +203,7 @@ export function nativeLinkRouter(router, event) {
|
|
|
159
203
|
}
|
|
160
204
|
}
|
|
161
205
|
}
|
|
206
|
+
|
|
162
207
|
/**
|
|
163
208
|
* Returns the child routes for base route
|
|
164
209
|
* @param {Object} route Route Object
|
|
@@ -167,6 +212,7 @@ export function nativeLinkRouter(router, event) {
|
|
|
167
212
|
export function $getRouteChildren(route, parent = $getParentRoute(route)) {
|
|
168
213
|
return parent?.children;
|
|
169
214
|
}
|
|
215
|
+
|
|
170
216
|
/**
|
|
171
217
|
* Returns the route's parent
|
|
172
218
|
* @param {Object} route Route Object
|
|
@@ -216,4 +262,42 @@ export function $createSectionMenu(route, options) {
|
|
|
216
262
|
.filter(includeIndex(opts.includeIndex))
|
|
217
263
|
.map(r => createMenuItem(r, `${ parent.path }/${ r.path }`, opts.item))
|
|
218
264
|
.sort(opts.sort);
|
|
219
|
-
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* For a given $route, this will generate a breadcrumb trail.
|
|
269
|
+
* It iterates through `route.matched` to build the trail.
|
|
270
|
+
* - Falls back to `meta.title` (string or function).
|
|
271
|
+
* - Skips routes where `meta.breadcrumb` is set to `false`.
|
|
272
|
+
* - Avoids duplicate crumbs for nested routes with empty paths.
|
|
273
|
+
* @param {Object} route The Vue Router `$route` object.
|
|
274
|
+
* @returns {Array.<{title: String, to: Object, current: Boolean}>} An array of breadcrumb items.
|
|
275
|
+
*/
|
|
276
|
+
export function $createBreadcrumb(route) {
|
|
277
|
+
const { matched, path: currentPath } = route;
|
|
278
|
+
let prevPath;
|
|
279
|
+
|
|
280
|
+
const crumbs = matched.reduce((arr, match, index) => {
|
|
281
|
+
if (match.meta?.breadcrumb === false) {
|
|
282
|
+
return arr;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
if (match.path === prevPath) {
|
|
286
|
+
return arr;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
const isLast = index === matched.length - 1;
|
|
290
|
+
const title = getRouteTitle(match, route) || "Missing Title";
|
|
291
|
+
|
|
292
|
+
arr.push({
|
|
293
|
+
title,
|
|
294
|
+
to: { path: isLast ? currentPath : match.path },
|
|
295
|
+
current: isLast,
|
|
296
|
+
});
|
|
297
|
+
|
|
298
|
+
prevPath = match.path;
|
|
299
|
+
return arr;
|
|
300
|
+
}, []);
|
|
301
|
+
|
|
302
|
+
return crumbs;
|
|
303
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulu/frontend-vue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1-beta.10",
|
|
4
4
|
"description": "A modular and tree-shakeable Vue 3 component library for the Ulu frontend",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -11,17 +11,22 @@
|
|
|
11
11
|
"module": "./lib/index.js",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"import": "./lib/index.js"
|
|
14
|
+
"import": "./lib/index.js",
|
|
15
|
+
"types": "./types/index.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./*": {
|
|
18
|
+
"import": "./lib/*",
|
|
19
|
+
"types": "./types/*"
|
|
15
20
|
},
|
|
16
21
|
"./dist": {
|
|
17
22
|
"import": "./dist/frontend-vue.js"
|
|
18
23
|
},
|
|
19
|
-
"./*": "./lib/*",
|
|
20
24
|
"./scss": "./lib/_index.scss"
|
|
21
25
|
},
|
|
26
|
+
"types": "./types/index.d.ts",
|
|
22
27
|
"typesVersions": {
|
|
23
28
|
"*": {
|
|
24
|
-
"
|
|
29
|
+
"*": [
|
|
25
30
|
"./types/*"
|
|
26
31
|
]
|
|
27
32
|
}
|
|
@@ -34,8 +39,9 @@
|
|
|
34
39
|
"dev": "storybook dev -p 6006",
|
|
35
40
|
"docs:build": "storybook build -o docs",
|
|
36
41
|
"build": "vite build",
|
|
37
|
-
"types": "
|
|
38
|
-
"deploy": "npm run types && npm run build && npm run docs:build"
|
|
42
|
+
"types": "vue-tsc",
|
|
43
|
+
"deploy": "npm run types && npm run build && npm run docs:build",
|
|
44
|
+
"update-contexts": "rm -rf .ctx && mkdir -p .ctx/frontend && cp -R node_modules/@ulu/frontend/scss node_modules/@ulu/frontend/js .ctx/frontend/"
|
|
39
45
|
},
|
|
40
46
|
"keywords": [
|
|
41
47
|
"vue",
|
|
@@ -55,14 +61,16 @@
|
|
|
55
61
|
},
|
|
56
62
|
"homepage": "https://github.com/Jscherbe/frontend-vue#readme",
|
|
57
63
|
"peerDependencies": {
|
|
64
|
+
"@formkit/auto-animate": "^0.9.0",
|
|
58
65
|
"@headlessui/vue": "^1.7.23",
|
|
59
|
-
"@ulu/frontend": "^0.1.0-beta.
|
|
66
|
+
"@ulu/frontend": "^0.1.0-beta.112",
|
|
67
|
+
"@unhead/vue": "^2.0.11",
|
|
60
68
|
"vue": "^3.5.17",
|
|
61
69
|
"vue-router": "^4.5.1"
|
|
62
70
|
},
|
|
63
71
|
"optionalDependencies": {
|
|
64
|
-
"gsap": "^3.13.0",
|
|
65
72
|
"fuse.js": "^6.6.2",
|
|
73
|
+
"gsap": "^3.13.0",
|
|
66
74
|
"vue3-dropzone": "^2.2.1"
|
|
67
75
|
},
|
|
68
76
|
"dependencies": {
|
|
@@ -71,14 +79,16 @@
|
|
|
71
79
|
"lodash-es": "^4.17.21"
|
|
72
80
|
},
|
|
73
81
|
"devDependencies": {
|
|
82
|
+
"@formkit/auto-animate": "^0.9.0",
|
|
74
83
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
75
84
|
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
76
85
|
"@fortawesome/vue-fontawesome": "^3.0.8",
|
|
77
86
|
"@storybook/addon-docs": "^9.1.1",
|
|
78
|
-
"@storybook/addon-links": "^9.1.1",
|
|
79
87
|
"@storybook/addon-essentials": "^9.0.0-alpha.12",
|
|
88
|
+
"@storybook/addon-links": "^9.1.1",
|
|
80
89
|
"@storybook/vue3-vite": "^9.1.1",
|
|
81
|
-
"@ulu/frontend": "^0.1.0-beta.
|
|
90
|
+
"@ulu/frontend": "^0.1.0-beta.112",
|
|
91
|
+
"@unhead/vue": "^2.0.11",
|
|
82
92
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
83
93
|
"ollama": "^0.5.16",
|
|
84
94
|
"react": "^19.1.1",
|
|
@@ -86,12 +96,12 @@
|
|
|
86
96
|
"sass-embedded": "^1.89.2",
|
|
87
97
|
"storybook": "^9.1.1",
|
|
88
98
|
"storybook-addon-vue-mdx": "^2.0.2",
|
|
99
|
+
"typescript": "^5.3.3",
|
|
89
100
|
"vite": "^7.0.0",
|
|
90
101
|
"vue-router": "^4.5.1",
|
|
91
|
-
"
|
|
102
|
+
"vue-tsc": "^3.0.6"
|
|
92
103
|
},
|
|
93
104
|
"volta": {
|
|
94
105
|
"node": "22.17.0"
|
|
95
106
|
}
|
|
96
107
|
}
|
|
97
|
-
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
+
$emit: typeof emit;
|
|
8
|
+
$props: Partial<typeof props>;
|
|
9
|
+
startOpen: boolean;
|
|
10
|
+
classes: Record<string, any>;
|
|
11
|
+
animate: boolean | Record<string, any>;
|
|
12
|
+
triggerTextElement: string;
|
|
13
|
+
triggerText?: string | undefined;
|
|
14
|
+
modifiers?: string | unknown[] | undefined;
|
|
15
|
+
modelValue?: boolean | undefined;
|
|
16
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
type __VLS_Slots = {
|
|
18
|
+
trigger?: ((props: {
|
|
19
|
+
open: boolean | undefined;
|
|
20
|
+
toggle: typeof toggle;
|
|
21
|
+
}) => any) | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
icon?: ((props: {
|
|
24
|
+
open: boolean | undefined;
|
|
25
|
+
}) => any) | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
default?: ((props: {
|
|
28
|
+
open: true;
|
|
29
|
+
toggle: typeof toggle;
|
|
30
|
+
}) => any) | undefined;
|
|
31
|
+
};
|
|
32
|
+
declare const emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
33
|
+
declare const props: {
|
|
34
|
+
readonly startOpen: boolean;
|
|
35
|
+
readonly classes: Record<string, any>;
|
|
36
|
+
readonly animate: boolean | Record<string, any>;
|
|
37
|
+
readonly triggerTextElement: string;
|
|
38
|
+
readonly triggerText?: string | undefined;
|
|
39
|
+
readonly modifiers?: string | unknown[] | undefined;
|
|
40
|
+
readonly modelValue?: boolean | undefined;
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=UluAccordion.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluAccordion.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluAccordion.vue"],"names":[],"mappings":"wBAmSqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AATzB;WAIkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;2OAGrC;;;;;;;;;;;;;;;;AAlID,yEAAgD;AArDhD;;;;;;;;EAmDG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
+
$props: Partial<typeof props>;
|
|
8
|
+
items: unknown[];
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
item?: ((props: {
|
|
12
|
+
item: never;
|
|
13
|
+
index: number;
|
|
14
|
+
}) => any) | undefined;
|
|
15
|
+
};
|
|
16
|
+
declare const props: {
|
|
17
|
+
readonly items: unknown[];
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=UluAccordionGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluAccordionGroup.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluAccordionGroup.vue"],"names":[],"mappings":"wBAwKqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,KAAK,CAAC;;2OAErC;;;;;;;AA5GH;;EASG"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
+
$emit: typeof emit;
|
|
8
|
+
$props: Partial<typeof props>;
|
|
9
|
+
startOpen: boolean;
|
|
10
|
+
classes: Record<string, any>;
|
|
11
|
+
animate: boolean | Record<string, any>;
|
|
12
|
+
closeOnEscape: boolean;
|
|
13
|
+
triggerText?: string | undefined;
|
|
14
|
+
modelValue?: boolean | undefined;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
type __VLS_Slots = {
|
|
17
|
+
trigger?: ((props: {
|
|
18
|
+
isOpen: boolean | undefined;
|
|
19
|
+
toggle: typeof toggle;
|
|
20
|
+
}) => any) | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
default?: ((props: {
|
|
23
|
+
isOpen: true;
|
|
24
|
+
toggle: typeof toggle;
|
|
25
|
+
}) => any) | undefined;
|
|
26
|
+
};
|
|
27
|
+
declare const emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
28
|
+
declare const props: {
|
|
29
|
+
readonly startOpen: boolean;
|
|
30
|
+
readonly classes: Record<string, any>;
|
|
31
|
+
readonly animate: boolean | Record<string, any>;
|
|
32
|
+
readonly closeOnEscape: boolean;
|
|
33
|
+
readonly triggerText?: string | undefined;
|
|
34
|
+
readonly modelValue?: boolean | undefined;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Function used to toggle the collapsible
|
|
38
|
+
*/
|
|
39
|
+
declare function toggle(): void;
|
|
40
|
+
//# sourceMappingURL=UluCollapsible.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluCollapsible.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluCollapsible.vue"],"names":[],"mappings":"wBAgWqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AATzB;WAIkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;2OAGrC;;;;;;;;;;;;AA3JD,yEAAgD;AA/ChD;;;;;;;EA6CG;AAiDH;;GAEG;AACH,gCAEC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
+
$props: Partial<typeof __VLS_props>;
|
|
8
|
+
popoverClasses: Record<string, any>;
|
|
9
|
+
triggerText?: string | undefined;
|
|
10
|
+
items?: unknown[] | undefined;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
type __VLS_Slots = {
|
|
13
|
+
trigger?: ((props: {
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
}) => any) | undefined;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_props: {
|
|
18
|
+
readonly popoverClasses: Record<string, any>;
|
|
19
|
+
readonly triggerText?: string | undefined;
|
|
20
|
+
readonly items?: unknown[] | undefined;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=UluDropdown.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluDropdown.vue.d.ts","sourceRoot":"","sources":["../../../lib/components/collapsible/UluDropdown.vue"],"names":[],"mappings":"wBA2JqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,WAAW,CAAC;;;;2OAE3C;;;;;;AA5GD;;;;EAkBG"}
|