@oiij/naive-ui 0.0.14 → 0.0.16

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,5 +1,5 @@
1
- import * as _vueuse_core1 from "@vueuse/core";
2
- import * as vue0 from "vue";
1
+ import * as _vueuse_core2 from "@vueuse/core";
2
+ import * as vue1 from "vue";
3
3
  import { Ref } from "vue";
4
4
  import { FormInst, FormItemRule, FormRules } from "naive-ui";
5
5
 
@@ -20,7 +20,7 @@ declare function useNaiveForm<T extends Record<string, any>>(value?: T, options?
20
20
  formRules: Partial<Record<keyof T, FormRules | FormItemRule | FormItemRule[]>> | undefined;
21
21
  formProps: {
22
22
  ref: Ref<FormInst | undefined, FormInst | undefined>;
23
- model: vue0.Reactive<T>;
23
+ model: vue1.Reactive<T>;
24
24
  rules: Partial<Record<keyof T, FormRules | FormItemRule | FormItemRule[]>> | undefined;
25
25
  };
26
26
  validate: () => Promise<unknown[]> | undefined;
@@ -28,7 +28,7 @@ declare function useNaiveForm<T extends Record<string, any>>(value?: T, options?
28
28
  resetForm: () => void;
29
29
  reset: () => void;
30
30
  clear: () => void;
31
- onValidated: _vueuse_core1.EventHookOn<[T]>;
31
+ onValidated: _vueuse_core2.EventHookOn<[T]>;
32
32
  };
33
33
  type NaiveFormReturns<T extends Record<string, any>> = ReturnType<typeof useNaiveForm<T>>;
34
34
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { ComputedRef, Ref } from "vue";
2
2
  import { GlobalThemeOverrides, NDateLocale } from "naive-ui";
3
- import * as naive_ui_es_themes_interface2 from "naive-ui/es/themes/interface";
3
+ import * as naive_ui_es_themes_interface0 from "naive-ui/es/themes/interface";
4
4
 
5
5
  //#region src/composables/useNaiveTheme.d.ts
6
6
  interface Color {
@@ -19,7 +19,7 @@ interface NaiveThemeOptions {
19
19
  declare function useNaiveTheme(options?: NaiveThemeOptions): {
20
20
  language: Ref<string | undefined, string | undefined>;
21
21
  darkMode: Ref<boolean | undefined, boolean | undefined>;
22
- theme: ComputedRef<naive_ui_es_themes_interface2.BuiltInGlobalTheme | undefined>;
22
+ theme: ComputedRef<naive_ui_es_themes_interface0.BuiltInGlobalTheme | undefined>;
23
23
  themeOverrides: ComputedRef<GlobalThemeOverrides>;
24
24
  locale: ComputedRef<{
25
25
  name: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oiij/naive-ui",
3
3
  "type": "module",
4
- "version": "0.0.14",
4
+ "version": "0.0.16",
5
5
  "description": "Som Composable Functions And Components for Vue 3",
6
6
  "author": "oiij",
7
7
  "license": "MIT",
@@ -59,9 +59,9 @@
59
59
  "vue": "^3.5.17",
60
60
  "vue-component-type-helpers": "^2.2.10",
61
61
  "vue-hooks-plus": "^2.4.0",
62
+ "@oiij/css-render": "0.0.2",
62
63
  "@oiij/markdown-it": "0.0.3",
63
- "@oiij/use": "0.0.18",
64
- "@oiij/css-render": "0.0.2"
64
+ "@oiij/use": "0.0.18"
65
65
  },
66
66
  "publishConfig": {
67
67
  "access": "public"