@ulu/frontend-vue 0.1.1-beta.2 → 0.1.1-beta.4
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-DfGETUy5.js → breakpoints-BveV_33Q.js} +1 -1
- package/dist/frontend-vue.js +1 -1
- package/dist/{index-94HkwBnP.js → index-19R4u5is.js} +1468 -1409
- package/lib/components/systems/facets/useFacets.js +157 -38
- package/lib/components/visualizations/UluProgressCircle.vue +1 -1
- package/package.json +10 -14
- 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 +28 -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 +138 -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/UluFacetsFilterLists.vue.d.ts +25 -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 +19 -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 +14 -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/useFacets.d.ts +30 -12
- package/types/components/systems/facets/useFacets.d.ts.map +1 -1
- package/types/components/systems/index.d.ts +23 -0
- 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/useBreakpointManager.d.ts +1 -1
- package/types/composables/useBreakpointManager.d.ts.map +1 -1
- package/types/composables/useDocumentTitle.d.ts +4 -4
- package/types/composables/useDocumentTitle.d.ts.map +1 -1
- 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/useWindowResize.d.ts +1 -1
- package/types/composables/useWindowResize.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 +1 -1
- package/types/utils/dom.d.ts.map +1 -1
- package/types/utils/router.d.ts +15 -15
- package/types/utils/router.d.ts.map +1 -1
|
@@ -3,7 +3,7 @@ export namespace modalsState {
|
|
|
3
3
|
export { modals };
|
|
4
4
|
}
|
|
5
5
|
export function createApi(resolveModalOptions: any): {
|
|
6
|
-
open(name: any, props?:
|
|
6
|
+
open(name: any, props?: null): void;
|
|
7
7
|
/**
|
|
8
8
|
* Close the active modal
|
|
9
9
|
* @param {String|Node} focusTo The element or selector for an element to programmatically focus after modal close
|
|
@@ -14,7 +14,7 @@ export function createApi(resolveModalOptions: any): {
|
|
|
14
14
|
* Get a modal's config object by name
|
|
15
15
|
* @return {Object} Modal config object
|
|
16
16
|
*/
|
|
17
|
-
get(name: any):
|
|
17
|
+
get(name: any): Object;
|
|
18
18
|
/**
|
|
19
19
|
* Add a modal config
|
|
20
20
|
*/
|
|
@@ -23,12 +23,15 @@ export function createApi(resolveModalOptions: any): {
|
|
|
23
23
|
* Removes a modal config by name
|
|
24
24
|
* @return {Object} Modal that was removed
|
|
25
25
|
*/
|
|
26
|
-
remove(name: any):
|
|
26
|
+
remove(name: any): Object;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* Reactive data from state
|
|
30
30
|
*/
|
|
31
|
-
declare const data:
|
|
31
|
+
declare const data: {
|
|
32
|
+
active: null;
|
|
33
|
+
activeProps: null;
|
|
34
|
+
};
|
|
32
35
|
declare const modals: any[];
|
|
33
36
|
export {};
|
|
34
37
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../lib/plugins/modals/api.js"],"names":[],"mappings":";;;;AA6BO;;IAML;;;;OAIG;;IAKH;;;OAGG;;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../lib/plugins/modals/api.js"],"names":[],"mappings":";;;;AA6BO;;IAML;;;;OAIG;;IAKH;;;OAGG;oBADS,MAAM;IAUlB;;OAEG;;IAKH;;;OAGG;uBADS,MAAM;EAUlB;AAxDF;;GAEG;AACH;;;EAAyB;AAnBzB,4BAAkB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
disabled: boolean;
|
|
10
|
+
noPadding: boolean;
|
|
11
|
+
startOpen: boolean;
|
|
12
|
+
activeClass: string;
|
|
13
|
+
classes: Record<string, any>;
|
|
14
|
+
clickOutsideCloses: boolean;
|
|
15
|
+
directFocus: Function;
|
|
16
|
+
size?: string | undefined;
|
|
17
|
+
tooltip?: string | undefined;
|
|
18
|
+
config?: Record<string, any> | undefined;
|
|
19
|
+
triggerText?: string | undefined;
|
|
20
|
+
triggerAlt?: string | undefined;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
type __VLS_Slots = {
|
|
23
|
+
trigger?: ((props: {
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
toggle: () => void;
|
|
26
|
+
close: () => void;
|
|
27
|
+
}) => any) | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
default?: ((props: {
|
|
30
|
+
isOpen: boolean;
|
|
31
|
+
toggle: () => void;
|
|
32
|
+
close: () => void;
|
|
33
|
+
}) => any) | undefined;
|
|
34
|
+
} & {
|
|
35
|
+
footer?: ((props: {
|
|
36
|
+
close: () => void;
|
|
37
|
+
}) => any) | undefined;
|
|
38
|
+
};
|
|
39
|
+
declare const emit: (event: "toggle", ...args: any[]) => void;
|
|
40
|
+
declare const props: {
|
|
41
|
+
readonly disabled: boolean;
|
|
42
|
+
readonly noPadding: boolean;
|
|
43
|
+
readonly startOpen: boolean;
|
|
44
|
+
readonly activeClass: string;
|
|
45
|
+
readonly classes: Record<string, any>;
|
|
46
|
+
readonly clickOutsideCloses: boolean;
|
|
47
|
+
readonly directFocus: Function;
|
|
48
|
+
readonly size?: string | undefined;
|
|
49
|
+
readonly tooltip?: string | undefined;
|
|
50
|
+
readonly config?: Record<string, any> | undefined;
|
|
51
|
+
readonly triggerText?: string | undefined;
|
|
52
|
+
readonly triggerAlt?: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=UluPopover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluPopover.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/UluPopover.vue"],"names":[],"mappings":"wBAkeqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AATzB;WAIkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;;;2OAGrC;;;;;;;;;;;;;;;;;;AAjRD,8DAAqC;AACrC;;;;;;;;;;;;;EA6BG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=UluTooltipDisplay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluTooltipDisplay.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/UluTooltipDisplay.vue"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluTooltipPopover.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/UluTooltipPopover.vue"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
let plugin:
|
|
2
|
+
let plugin: Object;
|
|
3
3
|
namespace popover {
|
|
4
4
|
let inline: boolean;
|
|
5
5
|
let delay: number;
|
|
@@ -8,7 +8,7 @@ declare namespace _default {
|
|
|
8
8
|
let offset: number;
|
|
9
9
|
let arrow: boolean;
|
|
10
10
|
}
|
|
11
|
-
let tooltip:
|
|
11
|
+
let tooltip: Object;
|
|
12
12
|
}
|
|
13
13
|
export default _default;
|
|
14
14
|
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/defaults.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/defaults.js"],"names":[],"mappings":";gBAGY,MAAM;;;;;;;;;iBA4DN,MAAM"}
|
|
@@ -3,8 +3,16 @@
|
|
|
3
3
|
* @param {Object} userOptions
|
|
4
4
|
* @param {Object} options Resolved options
|
|
5
5
|
*/
|
|
6
|
-
export function init(userOptions?:
|
|
7
|
-
plugin:
|
|
6
|
+
export function init(userOptions?: Object): {
|
|
7
|
+
plugin: {
|
|
8
|
+
constructor: Function;
|
|
9
|
+
toString(): string;
|
|
10
|
+
toLocaleString(): string;
|
|
11
|
+
valueOf(): Object;
|
|
12
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
13
|
+
isPrototypeOf(v: Object): boolean;
|
|
14
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
15
|
+
};
|
|
8
16
|
popover: {
|
|
9
17
|
inline: boolean;
|
|
10
18
|
delay: number;
|
|
@@ -13,7 +21,21 @@ export function init(userOptions?: any): {
|
|
|
13
21
|
offset: number;
|
|
14
22
|
arrow: boolean;
|
|
15
23
|
};
|
|
16
|
-
tooltip:
|
|
24
|
+
tooltip: {
|
|
25
|
+
inline: boolean;
|
|
26
|
+
delay: number;
|
|
27
|
+
placement: string;
|
|
28
|
+
strategy: string;
|
|
29
|
+
offset: number;
|
|
30
|
+
arrow: boolean;
|
|
31
|
+
constructor: Function;
|
|
32
|
+
toString(): string;
|
|
33
|
+
toLocaleString(): string;
|
|
34
|
+
valueOf(): Object;
|
|
35
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
36
|
+
isPrototypeOf(v: Object): boolean;
|
|
37
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
38
|
+
};
|
|
17
39
|
};
|
|
18
40
|
/**
|
|
19
41
|
* Config for a single tooltip instance
|
|
@@ -30,7 +52,15 @@ export function show(config: any): void;
|
|
|
30
52
|
*/
|
|
31
53
|
export function hide(): void;
|
|
32
54
|
export namespace options {
|
|
33
|
-
let plugin:
|
|
55
|
+
let plugin: {
|
|
56
|
+
constructor: Function;
|
|
57
|
+
toString(): string;
|
|
58
|
+
toLocaleString(): string;
|
|
59
|
+
valueOf(): Object;
|
|
60
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
61
|
+
isPrototypeOf(v: Object): boolean;
|
|
62
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
63
|
+
};
|
|
34
64
|
let popover: {
|
|
35
65
|
inline: boolean;
|
|
36
66
|
delay: number;
|
|
@@ -39,7 +69,21 @@ export namespace options {
|
|
|
39
69
|
offset: number;
|
|
40
70
|
arrow: boolean;
|
|
41
71
|
};
|
|
42
|
-
let tooltip:
|
|
72
|
+
let tooltip: {
|
|
73
|
+
inline: boolean;
|
|
74
|
+
delay: number;
|
|
75
|
+
placement: string;
|
|
76
|
+
strategy: string;
|
|
77
|
+
offset: number;
|
|
78
|
+
arrow: boolean;
|
|
79
|
+
constructor: Function;
|
|
80
|
+
toString(): string;
|
|
81
|
+
toLocaleString(): string;
|
|
82
|
+
valueOf(): Object;
|
|
83
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
84
|
+
isPrototypeOf(v: Object): boolean;
|
|
85
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
86
|
+
};
|
|
43
87
|
}
|
|
44
88
|
/**
|
|
45
89
|
* Whether or not the tooltip is active
|
|
@@ -48,5 +92,5 @@ export const active: import("vue").Ref<boolean, boolean>;
|
|
|
48
92
|
/**
|
|
49
93
|
* Current tooltip config
|
|
50
94
|
*/
|
|
51
|
-
export const activeConfig: import("vue").Ref<
|
|
95
|
+
export const activeConfig: import("vue").Ref<null, null>;
|
|
52
96
|
//# sourceMappingURL=manager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/manager.js"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/manager.js"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,mCAHW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQhB;AAED;;KAEK;AACL,mDAEC;AAED;;;GAGG;AACH,wCAGC;AAED;;;GAGG;AACH,6BAGC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5CD;;GAEG;AACH,yDAAiC;AACjC;;GAEG;AACH,yDAAsC"}
|
|
@@ -3,12 +3,12 @@ export default function useFollowPoint(userOptions: any): {
|
|
|
3
3
|
* Reactive X value
|
|
4
4
|
* @type {Object}
|
|
5
5
|
*/
|
|
6
|
-
x:
|
|
6
|
+
x: Object;
|
|
7
7
|
/**
|
|
8
8
|
* Reactive Y value
|
|
9
9
|
* @type {Object}
|
|
10
10
|
*/
|
|
11
|
-
y:
|
|
11
|
+
y: Object;
|
|
12
12
|
/**
|
|
13
13
|
* Show follow tooltip
|
|
14
14
|
*/
|
|
@@ -24,8 +24,8 @@ export default function useFollowPoint(userOptions: any): {
|
|
|
24
24
|
* @param {Object} changes.y New 'y' value
|
|
25
25
|
*/
|
|
26
26
|
update(changes: {
|
|
27
|
-
x:
|
|
28
|
-
y:
|
|
27
|
+
x: Object;
|
|
28
|
+
y: Object;
|
|
29
29
|
}): void;
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=useFollow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFollow.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/useFollow.js"],"names":[],"mappings":"AAOA;IAoCI;;;OAGG
|
|
1
|
+
{"version":3,"file":"useFollow.d.ts","sourceRoot":"","sources":["../../../lib/plugins/popovers/useFollow.js"],"names":[],"mappings":"AAOA;IAoCI;;;OAGG;OADO,MAAM;IAGhB;;;OAGG;OADO,MAAM;IAGhB;;OAEG;;IAIH;;OAEG;;IAIH;;;;;OAKG;oBAFA;QAAwB,CAAC,EAAjB,MAAM;QACU,CAAC,EAAjB,MAAM;KAChB;EASJ"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* Toast configuration
|
|
4
|
+
*/
|
|
5
|
+
toast: ObjectConstructor;
|
|
6
|
+
/**
|
|
7
|
+
* Icons for each element { icon, header, content, date, actions, action, closeButton, title, body, closeButton }
|
|
8
|
+
*/
|
|
9
|
+
classes: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: () => {
|
|
12
|
+
content: string;
|
|
13
|
+
date: string;
|
|
14
|
+
actions: string;
|
|
15
|
+
action: string;
|
|
16
|
+
closeButton: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {
|
|
20
|
+
handleAction(event: any, action: any): void;
|
|
21
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
/**
|
|
23
|
+
* Toast configuration
|
|
24
|
+
*/
|
|
25
|
+
toast: ObjectConstructor;
|
|
26
|
+
/**
|
|
27
|
+
* Icons for each element { icon, header, content, date, actions, action, closeButton, title, body, closeButton }
|
|
28
|
+
*/
|
|
29
|
+
classes: {
|
|
30
|
+
type: ObjectConstructor;
|
|
31
|
+
default: () => {
|
|
32
|
+
content: string;
|
|
33
|
+
date: string;
|
|
34
|
+
actions: string;
|
|
35
|
+
action: string;
|
|
36
|
+
closeButton: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
|
+
classes: Record<string, any>;
|
|
41
|
+
}, {}, {
|
|
42
|
+
UluIcon: import("vue").DefineComponent<{}, {
|
|
43
|
+
$props: Partial<{
|
|
44
|
+
readonly spaced: boolean;
|
|
45
|
+
readonly icon?: string | boolean | unknown[] | Record<string, any> | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
spaced: boolean;
|
|
48
|
+
icon?: string | boolean | unknown[] | Record<string, any> | undefined;
|
|
49
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
export default _default;
|
|
52
|
+
//# sourceMappingURL=UluToast.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluToast.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/UluToast.vue"],"names":[],"mappings":";IA+FM;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;IANH;;OAEG;;IAEH;;OAEG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
toasts: never[];
|
|
3
|
+
pluginOptions: {
|
|
4
|
+
componentName: string;
|
|
5
|
+
componentNameDisplay: string;
|
|
6
|
+
teleportTo: string;
|
|
7
|
+
position: string[];
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
classes(): string[];
|
|
11
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=UluToastDisplay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UluToastDisplay.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/UluToastDisplay.vue"],"names":[],"mappings":""}
|
|
@@ -1,8 +1,45 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
namespace toastOptions {
|
|
3
|
-
let component:
|
|
3
|
+
let component: import("vue").Raw<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
toast: ObjectConstructor;
|
|
5
|
+
classes: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: () => {
|
|
8
|
+
content: string;
|
|
9
|
+
date: string;
|
|
10
|
+
actions: string;
|
|
11
|
+
action: string;
|
|
12
|
+
closeButton: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {
|
|
16
|
+
handleAction(event: any, action: any): void;
|
|
17
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
toast: ObjectConstructor;
|
|
19
|
+
classes: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
default: () => {
|
|
22
|
+
content: string;
|
|
23
|
+
date: string;
|
|
24
|
+
actions: string;
|
|
25
|
+
action: string;
|
|
26
|
+
closeButton: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
classes: Record<string, any>;
|
|
31
|
+
}, {}, {
|
|
32
|
+
UluIcon: import("vue").DefineComponent<{}, {
|
|
33
|
+
$props: Partial<{
|
|
34
|
+
readonly spaced: boolean;
|
|
35
|
+
readonly icon?: string | boolean | unknown[] | Record<string, any> | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
spaced: boolean;
|
|
38
|
+
icon?: string | boolean | unknown[] | Record<string, any> | undefined;
|
|
39
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
4
41
|
let duration: number;
|
|
5
|
-
let actions:
|
|
42
|
+
let actions: never[];
|
|
6
43
|
}
|
|
7
44
|
namespace pluginOptions {
|
|
8
45
|
let componentName: string;
|
|
@@ -1,14 +1,77 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Reactive State Object (used inside global components, and as API globally)
|
|
3
3
|
*/
|
|
4
|
-
export const store:
|
|
4
|
+
export const store: {
|
|
5
|
+
toasts: never[];
|
|
6
|
+
pluginOptions: {
|
|
7
|
+
componentName: string;
|
|
8
|
+
componentNameDisplay: string;
|
|
9
|
+
teleportTo: string;
|
|
10
|
+
position: string[];
|
|
11
|
+
};
|
|
12
|
+
toastOptions: {
|
|
13
|
+
component: import("vue").Raw<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
+
toast: ObjectConstructor;
|
|
15
|
+
classes: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {
|
|
18
|
+
content: string;
|
|
19
|
+
date: string;
|
|
20
|
+
actions: string;
|
|
21
|
+
action: string;
|
|
22
|
+
closeButton: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}>, {}, {}, {}, {
|
|
26
|
+
handleAction(event: any, action: any): void;
|
|
27
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
toast: ObjectConstructor;
|
|
29
|
+
classes: {
|
|
30
|
+
type: ObjectConstructor;
|
|
31
|
+
default: () => {
|
|
32
|
+
content: string;
|
|
33
|
+
date: string;
|
|
34
|
+
actions: string;
|
|
35
|
+
action: string;
|
|
36
|
+
closeButton: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
|
+
classes: Record<string, any>;
|
|
41
|
+
}, {}, {
|
|
42
|
+
UluIcon: import("vue").DefineComponent<{}, {
|
|
43
|
+
$props: Partial<{
|
|
44
|
+
readonly spaced: boolean;
|
|
45
|
+
readonly icon?: string | boolean | unknown[] | Record<string, any> | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
spaced: boolean;
|
|
48
|
+
icon?: string | boolean | unknown[] | Record<string, any> | undefined;
|
|
49
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
51
|
+
duration: number;
|
|
52
|
+
actions: never[];
|
|
53
|
+
};
|
|
54
|
+
setToastOptions: (options: any) => {
|
|
55
|
+
componentName: string;
|
|
56
|
+
componentNameDisplay: string;
|
|
57
|
+
teleportTo: string;
|
|
58
|
+
position: string[];
|
|
59
|
+
};
|
|
60
|
+
setPluginOptions: (options: any) => {
|
|
61
|
+
componentName: string;
|
|
62
|
+
componentNameDisplay: string;
|
|
63
|
+
teleportTo: string;
|
|
64
|
+
position: string[];
|
|
65
|
+
};
|
|
66
|
+
createToast: (options: any) => any;
|
|
67
|
+
};
|
|
5
68
|
export namespace api {
|
|
6
69
|
/**
|
|
7
70
|
*
|
|
8
71
|
* @param {Object} options Toast options
|
|
9
72
|
* @returns Toast object (to be used to remove)
|
|
10
73
|
*/
|
|
11
|
-
function add(options:
|
|
74
|
+
function add(options: Object): any;
|
|
12
75
|
/**
|
|
13
76
|
*
|
|
14
77
|
* @param {Object} toast Toast uid
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/store.js"],"names":[],"mappings":"AAMA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/store.js"],"names":[],"mappings":"AAMA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBG;;IAMD;;;;OAIG;IACH,sBAHW,MAAM,OAYhB;IACD;;;OAGG;IACH,gCAKC;IACD;;OAEG;IACH,2BAEC"}
|
package/types/utils/dom.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @param {HTMLElement|Object} value - The unwrapped value from a template ref (e.g., `this.$refs.myElement` or `this.$refs.myComponent`)
|
|
5
5
|
* @returns {HTMLElement} The HTMLElement or undefined if not found/resolved.
|
|
6
6
|
*/
|
|
7
|
-
export function refToElement(value: HTMLElement |
|
|
7
|
+
export function refToElement(value: HTMLElement | Object): HTMLElement;
|
|
8
8
|
export function newId(prefix?: string): any;
|
|
9
9
|
//# sourceMappingURL=dom.d.ts.map
|
package/types/utils/dom.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../lib/utils/dom.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oCAHW,WAAW,
|
|
1
|
+
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../lib/utils/dom.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oCAHW,WAAW,GAAC,MAAM,GAChB,WAAW,CASvB;AAKD,4CAOC"}
|
package/types/utils/router.d.ts
CHANGED
|
@@ -28,8 +28,8 @@ export function getRouteTitle(route: object, currentRoute?: object): string | un
|
|
|
28
28
|
* @returns {Array.<RouteMenuItem>} Array of menu items
|
|
29
29
|
*/
|
|
30
30
|
export function createBaseMenu(routes: any, options: {
|
|
31
|
-
qualifier:
|
|
32
|
-
item:
|
|
31
|
+
qualifier: Object;
|
|
32
|
+
item: Object;
|
|
33
33
|
}): Array<RouteMenuItem>;
|
|
34
34
|
/**
|
|
35
35
|
* Returns menu flat (no parent children)
|
|
@@ -46,14 +46,14 @@ export function flattenMenu(menu: any): any;
|
|
|
46
46
|
*/
|
|
47
47
|
export function createSectionMenu(routes: any, sectionPath: any, options: {
|
|
48
48
|
includeIndex: boolean;
|
|
49
|
-
item:
|
|
49
|
+
item: Object;
|
|
50
50
|
}): Array<RouteMenuItem>;
|
|
51
51
|
/**
|
|
52
52
|
* For a given array of child routes return the index
|
|
53
53
|
* @param {Array} children Children array of routes
|
|
54
54
|
* @returns {Object} Route
|
|
55
55
|
*/
|
|
56
|
-
export function getChildIndexRoute(children: any[]):
|
|
56
|
+
export function getChildIndexRoute(children: any[]): Object;
|
|
57
57
|
/**
|
|
58
58
|
* Creates common menu item structure from route, pulls title and weight from meta (on route or index child)
|
|
59
59
|
* @param {Object} route Route
|
|
@@ -63,7 +63,7 @@ export function getChildIndexRoute(children: any[]): any;
|
|
|
63
63
|
* @param {Function} options.indexMeta Include the routes index child's meta (merged on top of route meta)
|
|
64
64
|
* @returns {RouteMenuItem} Menu item
|
|
65
65
|
*/
|
|
66
|
-
export function createMenuItem(route:
|
|
66
|
+
export function createMenuItem(route: Object, routePath: Object | undefined, options: {
|
|
67
67
|
modify: Function;
|
|
68
68
|
indexMeta: Function;
|
|
69
69
|
}): RouteMenuItem;
|
|
@@ -72,32 +72,32 @@ export function createMenuItem(route: any, routePath: any, options: {
|
|
|
72
72
|
* @param {Object} route Route object to test
|
|
73
73
|
* @returns {Boolean} Whether or not this route is static (not dynamic)
|
|
74
74
|
*/
|
|
75
|
-
export function isStaticRoute(route:
|
|
75
|
+
export function isStaticRoute(route: Object): boolean;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @param {Object} route Route object to test
|
|
79
79
|
* @returns {Boolean} Whether or not this route is a static base route
|
|
80
80
|
*/
|
|
81
|
-
export function isStaticBaseRoute(route:
|
|
81
|
+
export function isStaticBaseRoute(route: Object): boolean;
|
|
82
82
|
/**
|
|
83
83
|
* Function to make normal <a> behave as router links instread of page reload
|
|
84
84
|
* @param {Object} router Router instance (ie src/router) to push routes to
|
|
85
85
|
* @param {Object} event The event object that triggered route change (ie. onclick) pass event object
|
|
86
86
|
*/
|
|
87
|
-
export function nativeLinkRouter(router:
|
|
87
|
+
export function nativeLinkRouter(router: Object, event: Object): void;
|
|
88
88
|
/**
|
|
89
89
|
* Returns the child routes for base route
|
|
90
90
|
* @param {Object} route Route Object
|
|
91
91
|
* @returns
|
|
92
92
|
*/
|
|
93
|
-
export function $getRouteChildren(route:
|
|
93
|
+
export function $getRouteChildren(route: Object, parent?: Object | null): any;
|
|
94
94
|
/**
|
|
95
95
|
* Returns the route's parent
|
|
96
96
|
* @param {Object} route Route Object
|
|
97
97
|
* @param {Object} deepest By default this returns the routes parent, if deepest it will return it's base route (top level parent)
|
|
98
98
|
* @return {Object|Null} Parent route, if there is no parent route for the given route this will return null
|
|
99
99
|
*/
|
|
100
|
-
export function $getParentRoute(route:
|
|
100
|
+
export function $getParentRoute(route: Object, deepest: Object): Object | null;
|
|
101
101
|
/**
|
|
102
102
|
* For a given $route will return all it's children as menu items,
|
|
103
103
|
* using the route's meta.title property for the title. This is for sections only (routes with children)
|
|
@@ -109,10 +109,10 @@ export function $getParentRoute(route: any, deepest: any): any | null;
|
|
|
109
109
|
* @param {Object} options.item Options for createMenuItem
|
|
110
110
|
* @returns {Array.<RouteMenuItem>} Array of menu items
|
|
111
111
|
*/
|
|
112
|
-
export function $createSectionMenu(route:
|
|
113
|
-
parent:
|
|
112
|
+
export function $createSectionMenu(route: Object, options: {
|
|
113
|
+
parent: Object;
|
|
114
114
|
includeIndex: boolean;
|
|
115
|
-
item:
|
|
115
|
+
item: Object;
|
|
116
116
|
}): Array<RouteMenuItem>;
|
|
117
117
|
/**
|
|
118
118
|
* For a given $route, this will generate a breadcrumb trail.
|
|
@@ -123,9 +123,9 @@ export function $createSectionMenu(route: any, options: {
|
|
|
123
123
|
* @param {Object} route The Vue Router `$route` object.
|
|
124
124
|
* @returns {Array.<{title: String, to: Object, current: Boolean}>} An array of breadcrumb items.
|
|
125
125
|
*/
|
|
126
|
-
export function $createBreadcrumb(route:
|
|
126
|
+
export function $createBreadcrumb(route: Object): Array<{
|
|
127
127
|
title: string;
|
|
128
|
-
to:
|
|
128
|
+
to: Object;
|
|
129
129
|
current: boolean;
|
|
130
130
|
}>;
|
|
131
131
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../lib/utils/router.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;GAQG;AACH,qCAJW,MAAM,iBACN,MAAM,GACJ,MAAM,GAAC,SAAS,CAW5B;AAED;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,uCANW,GAAC,WAET;IAAwB,SAAS;
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../lib/utils/router.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;GAQG;AACH,qCAJW,MAAM,iBACN,MAAM,GACJ,MAAM,GAAC,SAAS,CAW5B;AAED;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,uCANW,GAAC,WAET;IAAwB,SAAS,EAAzB,MAAM;IACU,IAAI,EAApB,MAAM;CACd,GAAU,KAAK,CAAE,aAAa,CAAC,CAgCjC;AAED;;GAEG;AACH,4CAcC;AAED;;;;;;;;GAQG;AACH,0CAPW,GAAC,eACD,GAAC,WAET;IAAyB,YAAY;IACb,IAAI,EAApB,MAAM;CACd,GAAU,KAAK,CAAE,aAAa,CAAC,CA4BjC;AAED;;;;GAIG;AACH,qDAFa,MAAM,CAIlB;AAED;;;;;;;;GAQG;AACH,sCAPW,MAAM,aACN,MAAM,uBAEd;IAA0B,MAAM;IACN,SAAS;CACnC,GAAU,aAAa,CAuBzB;AAED;;;;GAIG;AACH,qCAHW,MAAM,WAKhB;AAED;;;;GAIG;AACH,yCAHW,MAAM,WAMhB;AAED;;;;GAIG;AACH,yCAHW,MAAM,SACN,MAAM,QAYhB;AAED;;;;GAIG;AACH,yCAHW,MAAM,+BAKhB;AAED;;;;;GAKG;AACH,uCAJW,MAAM,WACN,MAAM,GACL,MAAM,OAAK,CAUtB;AAUD;;;;;;;;;;GAUG;AACH,0CAPW,MAAM,WAEd;IAAwB,MAAM,EAAtB,MAAM;IACW,YAAY;IACb,IAAI,EAApB,MAAM;CACd,GAAU,KAAK,CAAE,aAAa,CAAC,CAgBjC;AAED;;;;;;;;GAQG;AACH,yCAHW,MAAM,GACJ,KAAK,CAAE;IAAC,KAAK,SAAS;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,UAAS;CAAC,CAAC,CA6BjE"}
|