@ulu/frontend-vue 0.6.22 → 0.6.24
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/components/collapsible/UluAccordion.vue.d.ts +2 -2
- package/dist/components/collapsible/UluModal.vue.d.ts +4 -4
- package/dist/components/collapsible/UluTabGroup.vue.d.ts +2 -2
- package/dist/components/elements/UluAlert.vue.d.ts +2 -2
- package/dist/components/elements/UluBadge.vue.d.ts +4 -4
- package/dist/components/elements/UluButton.vue.d.ts +10 -10
- package/dist/components/elements/UluButtonVerbose.vue.d.ts +4 -4
- package/dist/components/elements/UluCaptionedFigure.vue.d.ts +2 -2
- package/dist/components/elements/UluCard.vue.d.ts +4 -4
- package/dist/components/elements/UluList.vue.d.ts +2 -2
- package/dist/components/elements/UluSlider.vue.d.ts +2 -2
- package/dist/components/elements/UluTag.vue.d.ts +2 -2
- package/dist/components/forms/UluSearchForm.vue.d.ts +2 -2
- package/dist/components/layout/UluTitleRail.vue.d.ts +2 -2
- package/dist/components/systems/facets/UluFacetsList.vue.d.ts +2 -2
- package/dist/components/systems/facets/UluFacetsSearch.vue.d.ts +2 -2
- package/dist/components/utils/UluAction.vue.d.ts +2 -2
- package/dist/components/visualizations/UluProgressBar.vue.d.ts +2 -2
- package/dist/components/visualizations/UluProgressCircle.vue.d.ts +2 -2
- package/dist/composables/useUluFloating.d.ts.map +1 -1
- package/dist/composables/useUluFloating.js +26 -25
- package/dist/index.js +258 -240
- package/dist/mcp-data.json +4108 -3442
- package/dist/plugins/index.d.ts +2 -1
- package/dist/plugins/popovers/UluPopover.vue.d.ts +188 -7
- package/dist/plugins/popovers/UluPopover.vue.d.ts.map +1 -1
- package/dist/plugins/popovers/UluPopover.vue.js +82 -133
- package/dist/plugins/popovers/UluPopoverBase.vue.d.ts +58 -0
- package/dist/plugins/popovers/UluPopoverBase.vue.d.ts.map +1 -0
- package/dist/plugins/popovers/UluPopoverBase.vue.js +146 -0
- package/dist/plugins/popovers/UluTooltipPopover.vue.d.ts +1 -4
- package/dist/plugins/popovers/UluTooltipPopover.vue.d.ts.map +1 -1
- package/dist/plugins/popovers/UluTooltipPopover.vue.js +24 -45
- package/dist/plugins/popovers/index.d.ts +4 -0
- package/dist/plugins/popovers/index.d.ts.map +1 -1
- package/dist/plugins/popovers/index.js +54 -49
- package/dist/plugins/toast/UluToastDisplay.vue.d.ts.map +1 -1
- package/dist/plugins/toast/UluToastDisplay.vue.js +8 -7
- package/dist/plugins/tour/UluTourContent.vue.d.ts +10 -0
- package/dist/plugins/tour/UluTourContent.vue.d.ts.map +1 -0
- package/dist/plugins/tour/UluTourContent.vue.js +39 -0
- package/dist/plugins/tour/UluTourDisplay.vue.d.ts +100 -0
- package/dist/plugins/tour/UluTourDisplay.vue.d.ts.map +1 -0
- package/dist/plugins/tour/UluTourDisplay.vue.js +133 -0
- package/dist/plugins/tour/UluTourPager.vue.d.ts +3 -0
- package/dist/plugins/tour/UluTourPager.vue.d.ts.map +1 -0
- package/dist/plugins/tour/UluTourPager.vue.js +31 -0
- package/dist/plugins/tour/api.d.ts +52 -0
- package/dist/plugins/tour/api.d.ts.map +1 -0
- package/dist/plugins/tour/api.js +52 -0
- package/dist/plugins/tour/index.d.ts +7 -0
- package/dist/plugins/tour/index.d.ts.map +1 -0
- package/dist/plugins/tour/index.js +14 -0
- package/dist/plugins/tour/useTour.d.ts +8 -0
- package/dist/plugins/tour/useTour.d.ts.map +1 -0
- package/dist/plugins/tour/useTour.js +8 -0
- package/lib/composables/useUluFloating.js +2 -0
- package/lib/plugins/index.js +3 -3
- package/lib/plugins/popovers/UluPopover.vue +42 -125
- package/lib/plugins/popovers/UluPopoverBase.vue +197 -0
- package/lib/plugins/popovers/UluTooltipPopover.vue +11 -33
- package/lib/plugins/popovers/index.js +15 -5
- package/lib/plugins/toast/UluToastDisplay.vue +1 -0
- package/lib/plugins/toast/_toast.scss +5 -0
- package/lib/plugins/tour/UluTourContent.vue +37 -0
- package/lib/plugins/tour/UluTourDisplay.vue +182 -0
- package/lib/plugins/tour/UluTourPager.vue +36 -0
- package/lib/plugins/tour/api.js +83 -0
- package/lib/plugins/tour/index.js +29 -0
- package/lib/plugins/tour/useTour.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module tourPlugin
|
|
3
|
+
*/
|
|
4
|
+
import { reactive } from 'vue';
|
|
5
|
+
import UluTourDisplay from './UluTourDisplay.vue';
|
|
6
|
+
import { createApi } from './api.js';
|
|
7
|
+
import { useTour } from './useTour.js';
|
|
8
|
+
|
|
9
|
+
export default function install(app) {
|
|
10
|
+
const state = reactive({
|
|
11
|
+
active: null,
|
|
12
|
+
stepIndex: 0
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
const api = createApi(state);
|
|
16
|
+
|
|
17
|
+
app.component("UluTourDisplay", UluTourDisplay);
|
|
18
|
+
|
|
19
|
+
app.config.globalProperties.$uluTour = api;
|
|
20
|
+
app.config.globalProperties.$uluTourState = state;
|
|
21
|
+
|
|
22
|
+
app.provide('uluTour', api);
|
|
23
|
+
app.provide('uluTourState', state);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { useTour };
|
|
27
|
+
export { default as UluTourDisplay } from './UluTourDisplay.vue';
|
|
28
|
+
export { default as UluTourPager } from './UluTourPager.vue';
|
|
29
|
+
export { default as UluTourContent } from './UluTourContent.vue';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useRequiredInject } from '../../composables/useRequiredInject.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Composable for accessing the Tour API and state
|
|
5
|
+
*/
|
|
6
|
+
export function useTour() {
|
|
7
|
+
const api = useRequiredInject('uluTour');
|
|
8
|
+
const state = useRequiredInject('uluTourState');
|
|
9
|
+
return { api, state };
|
|
10
|
+
}
|
package/package.json
CHANGED