@ulu/frontend-vue 0.6.1 → 0.6.2
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/index.js +44 -42
- package/dist/mcp-data.json +1561 -1561
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/modals/index.d.ts +2 -0
- package/dist/plugins/modals/index.d.ts.map +1 -1
- package/dist/plugins/modals/useModals.js +10 -0
- package/lib/plugins/index.js +1 -1
- package/lib/plugins/modals/index.js +7 -1
- package/package.json +1 -1
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as corePlugin } from './core/index.js';
|
|
2
|
-
export { default as modalsPlugin } from './modals/index.js';
|
|
3
2
|
export { default as toastPlugin } from './toast/index.js';
|
|
4
3
|
export { default as breakpointsPlugin } from './breakpoints/index.js';
|
|
5
4
|
export { default as popoversPlugin, useTooltip, useTooltipFollow } from './popovers/index.js';
|
|
5
|
+
export { default as modalsPlugin, useModals } from './modals/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { useModals } from './useModals.js';
|
|
1
2
|
/**
|
|
2
3
|
* Modals Vue Plugin
|
|
3
4
|
* @param {Object} App Vue app instance passed to plugin
|
|
4
5
|
* @param {UluModalsPluginOptions} userOptions Options to change (see defaults)
|
|
5
6
|
*/
|
|
6
7
|
export default function install(app: any, userOptions: UluModalsPluginOptions): void;
|
|
8
|
+
export { useModals };
|
|
7
9
|
/**
|
|
8
10
|
* Default plugin options
|
|
9
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/plugins/modals/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/plugins/modals/index.js"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,uDAFW,sBAAsB,QA8BhC;;;;;;;;;;;;;kBAxCa,eAAe;;0BANH,gBAAgB"}
|
package/lib/plugins/index.js
CHANGED
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
export { default as corePlugin } from './core/index.js';
|
|
9
9
|
export { default as popoversPlugin, useTooltip, useTooltipFollow } from './popovers/index.js';
|
|
10
|
-
export { default as modalsPlugin } from './modals/index.js';
|
|
10
|
+
export { default as modalsPlugin, useModals } from './modals/index.js';
|
|
11
11
|
export { default as toastPlugin } from './toast/index.js';
|
|
12
12
|
export { default as breakpointsPlugin } from './breakpoints/index.js';
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import UluModalsDisplay from "./UluModalsDisplay.vue";
|
|
8
8
|
import UluModal from "../../components/collapsible/UluModal.vue";
|
|
9
9
|
import { createApi, modalsState } from "./api.js";
|
|
10
|
+
import { useModals } from "./useModals.js";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Default plugin options
|
|
@@ -52,4 +53,9 @@ export default function install(app, userOptions) {
|
|
|
52
53
|
// Global property for modals component to access state
|
|
53
54
|
// and for debugging logging if needed
|
|
54
55
|
app.config.globalProperties.$uluModalsState = modalsState;
|
|
55
|
-
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Public export for composable function
|
|
60
|
+
*/
|
|
61
|
+
export { useModals };
|
package/package.json
CHANGED