@piying/view-vue2-legacy 2.4.2 → 2.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piying/view-vue2-legacy",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "Piying view For Vue2;Valibot to Component",
5
5
  "type": "module",
6
6
  "homepage": "https://piying-org.github.io/website/docs/client/intro",
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "license": "MIT",
39
39
  "dependencies": {
40
- "@piying/view-core": "^2.4.2",
40
+ "@piying/view-core": "^2.4.3",
41
41
  "static-injector": "^6.1.2",
42
42
  "vue-fragment": "1.6.0"
43
43
  },
package/token.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { PiResolvedViewFieldConfig, PiViewConfig } from './type/group';
4
4
  import { SetOptional, CoreSchemaHandle, FormBuilder } from '@piying/view-core';
5
5
  import { ConvertOptions } from '@piying/valibot-visit';
6
6
  import * as v from 'valibot';
7
- export declare const InjectorToken: InjectionKey<Injector>;
7
+ export declare const InjectorToken: InjectionKey<ComputedRef<Injector>>;
8
8
  export declare const PI_VIEW_FIELD_TOKEN: InjectionKey<ComputedRef<PiResolvedViewFieldConfig>>;
9
9
  export declare const PI_INPUT_OPTIONS_TOKEN: InjectionKey<ComputedRef<SetOptional<ConvertOptions<typeof CoreSchemaHandle<any, any>>, 'handle'> & {
10
10
  builder: typeof FormBuilder<CoreSchemaHandle<any, any>>;
@@ -1 +1,2 @@
1
- export declare function signalToRef<T>(value: () => T | undefined): import("vue").Ref<T> | import("vue").ShallowRef<T>;
1
+ import { type ShallowRef } from 'vue';
2
+ export declare function signalToRef<T>(value: () => T | undefined): ShallowRef<T>;