@inzombieland/core 1.18.24 → 1.18.25

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.
@@ -1,4 +1,5 @@
1
- import { defineVarletPlugin } from "./plugins/index.mjs";
1
+ import { defineOtpInputPlugin, defineVarletPlugin } from "./plugins/index.mjs";
2
2
  export function defineVuePlugins(app) {
3
+ defineOtpInputPlugin(app);
3
4
  defineVarletPlugin(app);
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/core",
3
- "version": "1.18.24",
3
+ "version": "1.18.25",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "main": "./index.mjs",
@@ -1 +1,2 @@
1
+ export * from "./otp-input";
1
2
  export * from "./varlet-ui";
package/plugins/index.mjs CHANGED
@@ -1 +1,2 @@
1
+ export * from "./otp-input.mjs";
1
2
  export * from "./varlet-ui.mjs";
@@ -0,0 +1,4 @@
1
+ import type { createApp } from "vue";
2
+ type App = ReturnType<typeof createApp>;
3
+ export declare function defineOtpInputPlugin(app: App): void;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import VOtpInput from "vue3-otp-input";
2
+ export function defineOtpInputPlugin(app) {
3
+ app.component("OtpInput", VOtpInput);
4
+ }