@stephenchenorg/astro 4.0.1 → 4.0.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/form-validator/components/FormValidatorProvider.d.ts +1 -1
- package/dist/form-validator/components/FormValidatorProvider.js +2 -2
- package/dist/form-validator/index.d.ts +2 -1
- package/dist/form-validator/index.js +2 -1
- package/dist/form-validator/injectionKey.d.ts +1 -1
- package/dist/query-params/components/ProvideUrlConfig.astro +1 -0
- package/package.json +1 -1
- /package/dist/form-validator/{form-validator.d.ts → FormValidator.d.ts} +0 -0
- /package/dist/form-validator/{form-validator.js → FormValidator.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { FormErrors } from '../types';
|
|
3
|
-
import { FormValidator } from '../
|
|
3
|
+
import { FormValidator } from '../FormValidator';
|
|
4
4
|
export interface FormValidatorProviderExposed {
|
|
5
5
|
formValidator: () => FormValidator;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { formValidatorInjectionKey } from "@stephenchenorg/astro/form-validator";
|
|
1
2
|
import { defineComponent, onMounted, provide } from "vue";
|
|
2
|
-
import { FormValidator } from "../
|
|
3
|
-
import { formValidatorInjectionKey } from "../injectionKey.js";
|
|
3
|
+
import { FormValidator } from "../FormValidator.js";
|
|
4
4
|
const FormValidatorProvider = defineComponent({
|
|
5
5
|
name: "FormValidatorProvider",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as FormField } from './components/FormField.vue';
|
|
2
2
|
export { default as FormValidatorProvider } from './components/FormValidatorProvider';
|
|
3
3
|
export type { FormValidatorProviderExposed } from './components/FormValidatorProvider';
|
|
4
|
-
export * from './
|
|
4
|
+
export * from './FormValidator';
|
|
5
|
+
export * from './injectionKey';
|
|
5
6
|
export * from './types';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as FormField } from "./components/FormField.vue";
|
|
2
2
|
export { default as FormValidatorProvider } from "./components/FormValidatorProvider.js";
|
|
3
|
-
export * from "./
|
|
3
|
+
export * from "./FormValidator.js";
|
|
4
|
+
export * from "./injectionKey.js";
|
|
4
5
|
export * from "./types.js";
|
|
@@ -18,6 +18,7 @@ window.__astro_provide_url_config__ = config;
|
|
|
18
18
|
</script>
|
|
19
19
|
|
|
20
20
|
<script>
|
|
21
|
+
// Must be imported from the regular package path to avoid duplicate instances
|
|
21
22
|
import { urlConfigStore } from '@stephenchenorg/astro/query-params'
|
|
22
23
|
|
|
23
24
|
const props = window.__astro_provide_url_config__
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|