@oiij/naive-ui 0.0.69 → 0.0.71
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/components/config-providers/ConfigProviders.js +1 -3
- package/dist/components/config-providers/index.d.ts +1 -1
- package/dist/components/copy-button/CopyButton.vue.d.ts +4 -4
- package/dist/components/data-table-plus/DataTablePlus.js +1 -2
- package/dist/components/data-table-plus/DataTablePlus.vue.d.ts +2 -2
- package/dist/components/data-table-plus/index.d.ts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/loading-provider/LoadingProvider.js +0 -1
- package/dist/components/loading-provider/LoadingProvider.vue.d.ts +2 -2
- package/dist/components/loading-provider/loading-provider.cssr.js +0 -1
- package/dist/components/preset-form/PresetForm.js +1 -2
- package/dist/components/preset-form/PresetForm.vue.d.ts +15 -15
- package/dist/components/preset-form/index.d.ts +2 -2
- package/dist/components/preset-input/PresetInput.js +0 -1
- package/dist/components/preset-input/PresetInput.vue.d.ts +3 -3
- package/dist/components/preset-picker/PresetPicker.vue.d.ts +5 -5
- package/dist/components/preset-picker/index.d.ts +1 -1
- package/dist/components/preset-select/PresetSelect.js +1 -1
- package/dist/components/preset-select/PresetSelect.vue.d.ts +27 -27
- package/dist/components/preset-select/index.d.ts +1 -1
- package/dist/components/remote-request/RemoteRequest.js +1 -1
- package/dist/components/remote-request/RemoteRequest.vue.d.ts +11 -11
- package/dist/components/remote-request/index.d.ts +1 -1
- package/dist/components/search-input/SearchInput.vue.d.ts +4 -4
- package/dist/components/transition/BaseTransition.vue.d.ts +2 -2
- package/dist/components/type-writer/TypeWriter.js +0 -1
- package/dist/components/type-writer/type-writer.cssr.js +0 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +0 -1
- package/dist/composables/_helper.js +21 -6
- package/dist/composables/index.d.ts +4 -4
- package/dist/composables/{useDataRequest.d.ts → use-data-request.d.ts} +1 -1
- package/dist/composables/{useDataRequest.js → use-data-request.js} +1 -1
- package/dist/composables/{useLoading.d.ts → use-loading.d.ts} +1 -1
- package/dist/composables/{useLoading.js → use-loading.js} +1 -1
- package/dist/composables/{useNaiveForm.d.ts → use-naive-form.d.ts} +2 -2
- package/dist/composables/{useNaiveForm.js → use-naive-form.js} +1 -1
- package/dist/composables/use-naive-theme.d.ts +51 -0
- package/dist/composables/use-naive-theme.js +103 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -5
- package/package.json +5 -5
- package/dist/components/_utils/index.js +0 -2
- package/dist/components/config-providers/index.js +0 -1
- package/dist/components/copy-button/index.js +0 -1
- package/dist/components/data-table-plus/index.js +0 -1
- package/dist/components/index.js +0 -28
- package/dist/components/preset-form/index.js +0 -1
- package/dist/components/preset-input/index.js +0 -1
- package/dist/components/preset-picker/index.js +0 -1
- package/dist/components/preset-select/index.js +0 -1
- package/dist/components/remote-request/index.js +0 -1
- package/dist/components/search-input/index.js +0 -1
- package/dist/components/toggle-input/index.js +0 -1
- package/dist/components/tooltip-button/index.js +0 -1
- package/dist/components/transition/index.js +0 -1
- package/dist/components/type-writer/index.js +0 -1
- package/dist/composables/index.js +0 -4
- package/dist/composables/useNaiveTheme.d.ts +0 -165
- package/dist/composables/useNaiveTheme.js +0 -86
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import LoadingProvider_default from "../loading-provider/LoadingProvider.js";
|
|
2
|
-
import "
|
|
3
|
-
import { useLoading } from "../../composables/useLoading.js";
|
|
4
|
-
import "../../composables/index.js";
|
|
2
|
+
import { useLoading } from "../../composables/use-loading.js";
|
|
5
3
|
import { createBlock, createCommentVNode, createVNode, defineComponent, guardReactiveProps, normalizeProps, onMounted, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
6
4
|
import { NConfigProvider, NDialogProvider, NGlobalStyle, NLoadingBarProvider, NMessageProvider, NModalProvider, NNotificationProvider, useDialog, useLoadingBar, useMessage, useModal, useNotification } from "naive-ui";
|
|
7
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassStyle } from "../data-table-plus/index.js";
|
|
2
2
|
import { LoadingProviderProps } from "../loading-provider/index.js";
|
|
3
|
-
import { useLoading } from "../../composables/
|
|
3
|
+
import { useLoading } from "../../composables/use-loading.js";
|
|
4
4
|
import "../../composables/index.js";
|
|
5
5
|
import { _default } from "./ConfigProviders.vue.js";
|
|
6
6
|
import { ConfigProviderProps, DialogProviderInst, DialogProviderProps, LoadingBarProviderInst, LoadingBarProviderProps, MessageProviderInst, MessageProviderProps, ModalProviderInst, ModalProviderProps, NotificationProviderInst, NotificationProviderProps } from "naive-ui";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CopyButtonProps } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue28 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/copy-button/CopyButton.vue.d.ts
|
|
5
5
|
declare var __VLS_9: {}, __VLS_18: {}, __VLS_25: {};
|
|
@@ -10,11 +10,11 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
tooltip?: (props: typeof __VLS_25) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue28.DefineComponent<CopyButtonProps, {}, {}, {}, {}, vue28.ComponentOptionsMixin, vue28.ComponentOptionsMixin, {} & {
|
|
14
14
|
copied: (v: string | undefined) => any;
|
|
15
|
-
}, string,
|
|
15
|
+
}, string, vue28.PublicProps, Readonly<CopyButtonProps> & Readonly<{
|
|
16
16
|
onCopied?: ((v: string | undefined) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string,
|
|
17
|
+
}>, {}, {}, {}, {}, string, vue28.ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { useDataRequest } from "../../composables/
|
|
1
|
+
import { useDataRequest } from "../../composables/use-data-request.js";
|
|
2
2
|
import MageArrowUp_default from "../icons/MageArrowUp.js";
|
|
3
3
|
import SearchInput_default from "../search-input/SearchInput.js";
|
|
4
|
-
import "../search-input/index.js";
|
|
5
4
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, reactive, ref, renderSlot, toDisplayString, toRaw, toValue, unref, useTemplateRef, withCtx } from "vue";
|
|
6
5
|
import { NButton, NDataTable, NFlex, NPagination } from "naive-ui";
|
|
7
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataObject, UseDataRequestPagination } from "../../composables/
|
|
1
|
+
import { DataObject, UseDataRequestPagination } from "../../composables/use-data-request.js";
|
|
2
2
|
import { DataTablePlusEmits, DataTablePlusExpose, DataTablePlusProps } from "./index.js";
|
|
3
3
|
import "../../composables/index.js";
|
|
4
4
|
import * as _vueuse_core31 from "@vueuse/core";
|
|
@@ -12,10 +12,10 @@ declare const __VLS_export: <P extends DataObject, D extends DataObject, R exten
|
|
|
12
12
|
onError?: ((err: Error, params: P[]) => any) | undefined;
|
|
13
13
|
onLoad?: ((row: R) => any) | undefined;
|
|
14
14
|
onScroll?: ((ev: Event) => any) | undefined;
|
|
15
|
+
onFinally?: ((params: P[], data?: D | undefined, err?: Error | undefined) => any) | undefined;
|
|
15
16
|
onBefore?: ((params: P[]) => any) | undefined;
|
|
16
17
|
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
17
18
|
"onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
|
|
18
|
-
onFinally?: ((params: P[], data?: D | undefined, err?: Error | undefined) => any) | undefined;
|
|
19
19
|
onClickRow?: ((row: R, index: number, event: MouseEvent, currentData: R[]) => any) | undefined;
|
|
20
20
|
onContextMenuRow?: ((row: R, index: number, event: MouseEvent, currentData: R[]) => any) | undefined;
|
|
21
21
|
onScrollBottom?: ((ev: Event) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataObject, DataRequestFields, UseDataRequestReturns } from "../../composables/
|
|
1
|
+
import { DataObject, DataRequestFields, UseDataRequestReturns } from "../../composables/use-data-request.js";
|
|
2
2
|
import { RemoteRequestEmits, RemoteRequestProps } from "../remote-request/index.js";
|
|
3
3
|
import { SearchInputProps } from "../search-input/index.js";
|
|
4
4
|
import { _default } from "./DataTablePlus.vue.js";
|
|
@@ -6,7 +6,7 @@ import { _default as _default$2 } from "./data-table-plus/DataTablePlus.vue.js";
|
|
|
6
6
|
import { ClassStyle, DataTablePlusEmits, DataTablePlusExpose, DataTablePlusFields, DataTablePlusInst, DataTablePlusProps } from "./data-table-plus/index.js";
|
|
7
7
|
import { _default as _default$3 } from "./loading-provider/LoadingProvider.vue.js";
|
|
8
8
|
import { LoadingProviderInst, LoadingProviderProps, loadingProviderInjectionKey } from "./loading-provider/index.js";
|
|
9
|
-
import { NaiveFormRules } from "../composables/
|
|
9
|
+
import { NaiveFormRules } from "../composables/use-naive-form.js";
|
|
10
10
|
import { _default as _default$4 } from "./config-providers/ConfigProviders.vue.js";
|
|
11
11
|
import { ConfigProvidersProps } from "./config-providers/index.js";
|
|
12
12
|
import { _default as _default$5 } from "./copy-button/CopyButton.vue.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import BaseTransition_default from "../transition/BaseTransition.js";
|
|
2
|
-
import "../transition/index.js";
|
|
3
2
|
import { cName, loadingProviderCssr } from "./loading-provider.cssr.js";
|
|
4
3
|
import { loadingProviderInjectionKey } from "./index.js";
|
|
5
4
|
import { Fragment, Teleport, createBlock, createCommentVNode, createElementBlock, createSlots, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderSlot, unref, watchEffect, withCtx } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LoadingProviderProps } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue23 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/loading-provider/LoadingProvider.vue.d.ts
|
|
5
5
|
declare var __VLS_26: {}, __VLS_29: {}, __VLS_31: {};
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
default?: (props: typeof __VLS_31) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue23.DefineComponent<LoadingProviderProps, {}, {}, {}, {}, vue23.ComponentOptionsMixin, vue23.ComponentOptionsMixin, {}, string, vue23.PublicProps, Readonly<LoadingProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue23.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { useNaiveForm } from "../../composables/
|
|
1
|
+
import { useNaiveForm } from "../../composables/use-naive-form.js";
|
|
2
2
|
import PresetInput_default from "../preset-input/PresetInput.js";
|
|
3
|
-
import "../preset-input/index.js";
|
|
4
3
|
import { mergeRule } from "./_utils.js";
|
|
5
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toValue, unref, useTemplateRef, withCtx } from "vue";
|
|
6
5
|
import { NButton, NCollapseTransition, NDivider, NForm, NFormItem, NGi, NGrid } from "naive-ui";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { DataObject } from "../../composables/
|
|
1
|
+
import { DataObject } from "../../composables/use-data-request.js";
|
|
2
2
|
import { PresetFormExpose, PresetFormProps } from "./index.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as _vueuse_core4 from "@vueuse/core";
|
|
4
|
+
import * as vue33 from "vue";
|
|
5
5
|
import * as naive_ui0 from "naive-ui";
|
|
6
6
|
import { FormInst } from "naive-ui";
|
|
7
7
|
import * as async_validator0 from "async-validator";
|
|
8
8
|
|
|
9
9
|
//#region src/components/preset-form/PresetForm.vue.d.ts
|
|
10
10
|
declare const __VLS_export: <V extends DataObject>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
|
-
props:
|
|
11
|
+
props: vue33.PublicProps & __VLS_PrettifyLocal<PresetFormProps<V> & {
|
|
12
12
|
onValidated?: ((val: V) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
15
15
|
} ? P : {});
|
|
16
|
-
expose: (exposed:
|
|
16
|
+
expose: (exposed: vue33.ShallowUnwrapRef<PresetFormExpose<V>>) => void;
|
|
17
17
|
attrs: any;
|
|
18
18
|
slots: {
|
|
19
19
|
header?: (props: {
|
|
@@ -21,8 +21,8 @@ declare const __VLS_export: <V extends DataObject>(__VLS_props: NonNullable<Awai
|
|
|
21
21
|
formValue: V;
|
|
22
22
|
formRules: Partial<Record<keyof V, naive_ui0.FormRules | naive_ui0.FormItemRule | naive_ui0.FormItemRule[]>>;
|
|
23
23
|
formProps: {
|
|
24
|
-
model:
|
|
25
|
-
rules:
|
|
24
|
+
model: vue33.Reactive<V>;
|
|
25
|
+
rules: vue33.Reactive<Partial<Record<keyof V, naive_ui0.FormRules | naive_ui0.FormItemRule | naive_ui0.FormItemRule[]>>>;
|
|
26
26
|
};
|
|
27
27
|
setValue: (_value: Partial<V>) => void;
|
|
28
28
|
validate: () => Promise<{
|
|
@@ -32,7 +32,7 @@ declare const __VLS_export: <V extends DataObject>(__VLS_props: NonNullable<Awai
|
|
|
32
32
|
resetForm: () => void;
|
|
33
33
|
reset: () => void;
|
|
34
34
|
clear: () => void;
|
|
35
|
-
onValidated:
|
|
35
|
+
onValidated: _vueuse_core4.EventHookOn<[V]>;
|
|
36
36
|
}) => any;
|
|
37
37
|
} & {
|
|
38
38
|
default?: (props: {
|
|
@@ -40,8 +40,8 @@ declare const __VLS_export: <V extends DataObject>(__VLS_props: NonNullable<Awai
|
|
|
40
40
|
formValue: V;
|
|
41
41
|
formRules: Partial<Record<keyof V, naive_ui0.FormRules | naive_ui0.FormItemRule | naive_ui0.FormItemRule[]>>;
|
|
42
42
|
formProps: {
|
|
43
|
-
model:
|
|
44
|
-
rules:
|
|
43
|
+
model: vue33.Reactive<V>;
|
|
44
|
+
rules: vue33.Reactive<Partial<Record<keyof V, naive_ui0.FormRules | naive_ui0.FormItemRule | naive_ui0.FormItemRule[]>>>;
|
|
45
45
|
};
|
|
46
46
|
setValue: (_value: Partial<V>) => void;
|
|
47
47
|
validate: () => Promise<{
|
|
@@ -51,7 +51,7 @@ declare const __VLS_export: <V extends DataObject>(__VLS_props: NonNullable<Awai
|
|
|
51
51
|
resetForm: () => void;
|
|
52
52
|
reset: () => void;
|
|
53
53
|
clear: () => void;
|
|
54
|
-
onValidated:
|
|
54
|
+
onValidated: _vueuse_core4.EventHookOn<[V]>;
|
|
55
55
|
}) => any;
|
|
56
56
|
} & {
|
|
57
57
|
footer?: (props: {
|
|
@@ -59,8 +59,8 @@ declare const __VLS_export: <V extends DataObject>(__VLS_props: NonNullable<Awai
|
|
|
59
59
|
formValue: V;
|
|
60
60
|
formRules: Partial<Record<keyof V, naive_ui0.FormRules | naive_ui0.FormItemRule | naive_ui0.FormItemRule[]>>;
|
|
61
61
|
formProps: {
|
|
62
|
-
model:
|
|
63
|
-
rules:
|
|
62
|
+
model: vue33.Reactive<V>;
|
|
63
|
+
rules: vue33.Reactive<Partial<Record<keyof V, naive_ui0.FormRules | naive_ui0.FormItemRule | naive_ui0.FormItemRule[]>>>;
|
|
64
64
|
};
|
|
65
65
|
setValue: (_value: Partial<V>) => void;
|
|
66
66
|
validate: () => Promise<{
|
|
@@ -70,11 +70,11 @@ declare const __VLS_export: <V extends DataObject>(__VLS_props: NonNullable<Awai
|
|
|
70
70
|
resetForm: () => void;
|
|
71
71
|
reset: () => void;
|
|
72
72
|
clear: () => void;
|
|
73
|
-
onValidated:
|
|
73
|
+
onValidated: _vueuse_core4.EventHookOn<[V]>;
|
|
74
74
|
}) => any;
|
|
75
75
|
};
|
|
76
76
|
emit: (e: "validated", val: V) => void;
|
|
77
|
-
}>) =>
|
|
77
|
+
}>) => vue33.VNode & {
|
|
78
78
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
79
79
|
};
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DataObject } from "../../composables/
|
|
1
|
+
import { DataObject } from "../../composables/use-data-request.js";
|
|
2
2
|
import { ClassStyle } from "../data-table-plus/index.js";
|
|
3
|
-
import { NaiveFormClearRules, NaiveFormReturns, NaiveFormRules } from "../../composables/
|
|
3
|
+
import { NaiveFormClearRules, NaiveFormReturns, NaiveFormRules } from "../../composables/use-naive-form.js";
|
|
4
4
|
import { PresetInputOptions } from "../preset-input/index.js";
|
|
5
5
|
import { _default } from "./PresetForm.vue.js";
|
|
6
6
|
import { VNode } from "vue";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import SearchInput_default from "../search-input/SearchInput.js";
|
|
2
|
-
import "../search-input/index.js";
|
|
3
2
|
import { createBlock, defineComponent, h, openBlock, resolveDynamicComponent } from "vue";
|
|
4
3
|
import { NButton, NCheckbox, NCheckboxGroup, NColorPicker, NDatePicker, NDivider, NDynamicTags, NInput, NInputNumber, NRadio, NRadioGroup, NRate, NSelect, NSlider, NSwitch, NTimePicker } from "naive-ui";
|
|
5
4
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PresetInputProps } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue52 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/preset-input/PresetInput.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props:
|
|
6
|
+
props: vue52.PublicProps & __VLS_PrettifyLocal<PresetInputProps<V> & {
|
|
7
7
|
"onUpdate:value"?: ((val?: V | undefined) => any) | undefined;
|
|
8
8
|
}> & (typeof globalThis extends {
|
|
9
9
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -12,7 +12,7 @@ declare const __VLS_export: <V>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
12
12
|
attrs: any;
|
|
13
13
|
slots: {};
|
|
14
14
|
emit: (e: "update:value", val?: V) => void;
|
|
15
|
-
}>) =>
|
|
15
|
+
}>) => vue52.VNode & {
|
|
16
16
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
17
|
};
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { DataObject } from "../../composables/
|
|
1
|
+
import { DataObject } from "../../composables/use-data-request.js";
|
|
2
2
|
import { PresetPickerEmits, PresetPickerExpose, PresetPickerProps, PresetPickerValue } from "./index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue57 from "vue";
|
|
4
4
|
import { DataTableColumns } from "naive-ui";
|
|
5
5
|
|
|
6
6
|
//#region src/components/preset-picker/PresetPicker.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <V extends PresetPickerValue, R extends DataObject>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
-
props:
|
|
8
|
+
props: vue57.PublicProps & __VLS_PrettifyLocal<PresetPickerProps<V, R> & {
|
|
9
9
|
onClose?: (() => any) | undefined;
|
|
10
10
|
"onUpdate:value"?: ((val: V | null, raw: R | R[] | null) => any) | undefined;
|
|
11
11
|
onAfterEnter?: (() => any) | undefined;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_export: <V extends PresetPickerValue, R extends DataObject>(
|
|
|
18
18
|
}> & (typeof globalThis extends {
|
|
19
19
|
__VLS_PROPS_FALLBACK: infer P;
|
|
20
20
|
} ? P : {});
|
|
21
|
-
expose: (exposed:
|
|
21
|
+
expose: (exposed: vue57.ShallowUnwrapRef<PresetPickerExpose<R>>) => void;
|
|
22
22
|
attrs: any;
|
|
23
23
|
slots: {
|
|
24
24
|
'button-icon'?: (props: {}) => any;
|
|
@@ -54,7 +54,7 @@ declare const __VLS_export: <V extends PresetPickerValue, R extends DataObject>(
|
|
|
54
54
|
'modal-close'?: (props: {}) => any;
|
|
55
55
|
};
|
|
56
56
|
emit: PresetPickerEmits<V, R>;
|
|
57
|
-
}>) =>
|
|
57
|
+
}>) => vue57.VNode & {
|
|
58
58
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
59
59
|
};
|
|
60
60
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataObject } from "../../composables/
|
|
1
|
+
import { DataObject } from "../../composables/use-data-request.js";
|
|
2
2
|
import { ClassStyle } from "../data-table-plus/index.js";
|
|
3
3
|
import { _default } from "./PresetPicker.vue.js";
|
|
4
4
|
import { Ref } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useDataRequest } from "../../composables/
|
|
1
|
+
import { useDataRequest } from "../../composables/use-data-request.js";
|
|
2
2
|
import { useDebounceFn } from "@vueuse/core";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, reactive, ref, renderSlot, toRaw, toValue, unref, useTemplateRef, withCtx } from "vue";
|
|
4
4
|
import { NFlex, NPagination, NSelect } from "naive-ui";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DataObject, UseDataRequestPagination } from "../../composables/
|
|
1
|
+
import { DataObject, UseDataRequestPagination } from "../../composables/use-data-request.js";
|
|
2
2
|
import { PresetSelectEmits, PresetSelectExpose, PresetSelectProps, PresetSelectValue } from "./index.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as _vueuse_core11 from "@vueuse/core";
|
|
4
|
+
import * as vue60 from "vue";
|
|
5
5
|
import { SelectInst, SelectOption } from "naive-ui";
|
|
6
6
|
|
|
7
7
|
//#region src/components/preset-select/PresetSelect.vue.d.ts
|
|
8
8
|
declare const __VLS_export: <V extends PresetSelectValue, P extends DataObject, D extends DataObject, R extends DataObject>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
|
-
props:
|
|
9
|
+
props: vue60.PublicProps & __VLS_PrettifyLocal<PresetSelectProps<V, P, D, R> & {
|
|
10
10
|
onSuccess?: ((data: D, params: P[]) => any) | undefined;
|
|
11
11
|
onError?: ((err: Error, params: P[]) => any) | undefined;
|
|
12
12
|
onClear?: (() => any) | undefined;
|
|
@@ -15,15 +15,15 @@ declare const __VLS_export: <V extends PresetSelectValue, P extends DataObject,
|
|
|
15
15
|
onScroll?: ((ev: Event) => any) | undefined;
|
|
16
16
|
"onUpdate:value"?: ((val: V | null, option: SelectOption | SelectOption[] | null, raw: R | R[] | null) => any) | undefined;
|
|
17
17
|
onSearch?: ((value: string) => any) | undefined;
|
|
18
|
+
onFinally?: ((params: P[], data?: D | undefined, err?: Error | undefined) => any) | undefined;
|
|
18
19
|
onBefore?: ((params: P[]) => any) | undefined;
|
|
19
20
|
onCreate?: ((label: string) => any) | undefined;
|
|
20
21
|
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
21
22
|
"onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
|
|
22
|
-
onFinally?: ((params: P[], data?: D | undefined, err?: Error | undefined) => any) | undefined;
|
|
23
23
|
}> & (typeof globalThis extends {
|
|
24
24
|
__VLS_PROPS_FALLBACK: infer P_1;
|
|
25
25
|
} ? P_1 : {});
|
|
26
|
-
expose: (exposed:
|
|
26
|
+
expose: (exposed: vue60.ShallowUnwrapRef<PresetSelectExpose<P, D, R>>) => void;
|
|
27
27
|
attrs: any;
|
|
28
28
|
slots: {
|
|
29
29
|
header?: (props: {
|
|
@@ -47,10 +47,10 @@ declare const __VLS_export: <V extends PresetSelectValue, P extends DataObject,
|
|
|
47
47
|
setParams: (_params: Partial<P>) => void;
|
|
48
48
|
runParams: (_params: Partial<P>) => void;
|
|
49
49
|
runParamsAsync: (_params: Partial<P>) => Promise<D>;
|
|
50
|
-
onBefore:
|
|
51
|
-
onSuccess:
|
|
52
|
-
onError:
|
|
53
|
-
onFinally:
|
|
50
|
+
onBefore: _vueuse_core11.EventHookOn<[P[]]>;
|
|
51
|
+
onSuccess: _vueuse_core11.EventHookOn<[D, P[]]>;
|
|
52
|
+
onError: _vueuse_core11.EventHookOn<[Error, P[]]>;
|
|
53
|
+
onFinally: _vueuse_core11.EventHookOn<[P[], D | undefined, Error | undefined]>;
|
|
54
54
|
}) => any;
|
|
55
55
|
} & {
|
|
56
56
|
footer?: (props: {
|
|
@@ -74,10 +74,10 @@ declare const __VLS_export: <V extends PresetSelectValue, P extends DataObject,
|
|
|
74
74
|
setParams: (_params: Partial<P>) => void;
|
|
75
75
|
runParams: (_params: Partial<P>) => void;
|
|
76
76
|
runParamsAsync: (_params: Partial<P>) => Promise<D>;
|
|
77
|
-
onBefore:
|
|
78
|
-
onSuccess:
|
|
79
|
-
onError:
|
|
80
|
-
onFinally:
|
|
77
|
+
onBefore: _vueuse_core11.EventHookOn<[P[]]>;
|
|
78
|
+
onSuccess: _vueuse_core11.EventHookOn<[D, P[]]>;
|
|
79
|
+
onError: _vueuse_core11.EventHookOn<[Error, P[]]>;
|
|
80
|
+
onFinally: _vueuse_core11.EventHookOn<[P[], D | undefined, Error | undefined]>;
|
|
81
81
|
}) => any;
|
|
82
82
|
} & {
|
|
83
83
|
'footer-extra'?: (props: {
|
|
@@ -101,10 +101,10 @@ declare const __VLS_export: <V extends PresetSelectValue, P extends DataObject,
|
|
|
101
101
|
setParams: (_params: Partial<P>) => void;
|
|
102
102
|
runParams: (_params: Partial<P>) => void;
|
|
103
103
|
runParamsAsync: (_params: Partial<P>) => Promise<D>;
|
|
104
|
-
onBefore:
|
|
105
|
-
onSuccess:
|
|
106
|
-
onError:
|
|
107
|
-
onFinally:
|
|
104
|
+
onBefore: _vueuse_core11.EventHookOn<[P[]]>;
|
|
105
|
+
onSuccess: _vueuse_core11.EventHookOn<[D, P[]]>;
|
|
106
|
+
onError: _vueuse_core11.EventHookOn<[Error, P[]]>;
|
|
107
|
+
onFinally: _vueuse_core11.EventHookOn<[P[], D | undefined, Error | undefined]>;
|
|
108
108
|
}) => any;
|
|
109
109
|
} & {
|
|
110
110
|
empty?: (props: {
|
|
@@ -128,10 +128,10 @@ declare const __VLS_export: <V extends PresetSelectValue, P extends DataObject,
|
|
|
128
128
|
setParams: (_params: Partial<P>) => void;
|
|
129
129
|
runParams: (_params: Partial<P>) => void;
|
|
130
130
|
runParamsAsync: (_params: Partial<P>) => Promise<D>;
|
|
131
|
-
onBefore:
|
|
132
|
-
onSuccess:
|
|
133
|
-
onError:
|
|
134
|
-
onFinally:
|
|
131
|
+
onBefore: _vueuse_core11.EventHookOn<[P[]]>;
|
|
132
|
+
onSuccess: _vueuse_core11.EventHookOn<[D, P[]]>;
|
|
133
|
+
onError: _vueuse_core11.EventHookOn<[Error, P[]]>;
|
|
134
|
+
onFinally: _vueuse_core11.EventHookOn<[P[], D | undefined, Error | undefined]>;
|
|
135
135
|
}) => any;
|
|
136
136
|
} & {
|
|
137
137
|
arrow?: (props: {
|
|
@@ -155,14 +155,14 @@ declare const __VLS_export: <V extends PresetSelectValue, P extends DataObject,
|
|
|
155
155
|
setParams: (_params: Partial<P>) => void;
|
|
156
156
|
runParams: (_params: Partial<P>) => void;
|
|
157
157
|
runParamsAsync: (_params: Partial<P>) => Promise<D>;
|
|
158
|
-
onBefore:
|
|
159
|
-
onSuccess:
|
|
160
|
-
onError:
|
|
161
|
-
onFinally:
|
|
158
|
+
onBefore: _vueuse_core11.EventHookOn<[P[]]>;
|
|
159
|
+
onSuccess: _vueuse_core11.EventHookOn<[D, P[]]>;
|
|
160
|
+
onError: _vueuse_core11.EventHookOn<[Error, P[]]>;
|
|
161
|
+
onFinally: _vueuse_core11.EventHookOn<[P[], D | undefined, Error | undefined]>;
|
|
162
162
|
}) => any;
|
|
163
163
|
};
|
|
164
164
|
emit: PresetSelectEmits<V, P, D, R>;
|
|
165
|
-
}>) =>
|
|
165
|
+
}>) => vue60.VNode & {
|
|
166
166
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
167
167
|
};
|
|
168
168
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataObject, DataRequestFields, UseDataRequestReturns } from "../../composables/
|
|
1
|
+
import { DataObject, DataRequestFields, UseDataRequestReturns } from "../../composables/use-data-request.js";
|
|
2
2
|
import { RemoteRequestEmits, RemoteRequestProps } from "../remote-request/index.js";
|
|
3
3
|
import { ClassStyle } from "../data-table-plus/index.js";
|
|
4
4
|
import { _default } from "./PresetSelect.vue.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useDataRequest } from "../../composables/
|
|
1
|
+
import { useDataRequest } from "../../composables/use-data-request.js";
|
|
2
2
|
import { computed, defineComponent, guardReactiveProps, normalizeProps, renderSlot, toValue } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/remote-request/RemoteRequest.vue
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { DataObject, UseDataRequestPagination } from "../../composables/
|
|
1
|
+
import { DataObject, UseDataRequestPagination } from "../../composables/use-data-request.js";
|
|
2
2
|
import { RemoteRequestEmits, RemoteRequestExpose, RemoteRequestProps } from "./index.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as _vueuse_core7 from "@vueuse/core";
|
|
4
|
+
import * as vue54 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/remote-request/RemoteRequest.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <P extends DataObject, D extends DataObject, R extends DataObject>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
-
props:
|
|
8
|
+
props: vue54.PublicProps & __VLS_PrettifyLocal<RemoteRequestProps<P, D> & {
|
|
9
9
|
onSuccess?: ((data: D, params: P[]) => any) | undefined;
|
|
10
10
|
onError?: ((err: Error, params: P[]) => any) | undefined;
|
|
11
|
-
onBefore?: ((params: P[]) => any) | undefined;
|
|
12
11
|
onFinally?: ((params: P[], data?: D | undefined, err?: Error | undefined) => any) | undefined;
|
|
12
|
+
onBefore?: ((params: P[]) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P_1;
|
|
15
15
|
} ? P_1 : {});
|
|
16
|
-
expose: (exposed:
|
|
16
|
+
expose: (exposed: vue54.ShallowUnwrapRef<RemoteRequestExpose<P, D, R>>) => void;
|
|
17
17
|
attrs: any;
|
|
18
18
|
slots: {
|
|
19
19
|
default?: (props: {
|
|
@@ -36,14 +36,14 @@ declare const __VLS_export: <P extends DataObject, D extends DataObject, R exten
|
|
|
36
36
|
setParams: (_params: Partial<P>) => void;
|
|
37
37
|
runParams: (_params: Partial<P>) => void;
|
|
38
38
|
runParamsAsync: (_params: Partial<P>) => Promise<D>;
|
|
39
|
-
onBefore:
|
|
40
|
-
onSuccess:
|
|
41
|
-
onError:
|
|
42
|
-
onFinally:
|
|
39
|
+
onBefore: _vueuse_core7.EventHookOn<[P[]]>;
|
|
40
|
+
onSuccess: _vueuse_core7.EventHookOn<[D, P[]]>;
|
|
41
|
+
onError: _vueuse_core7.EventHookOn<[Error, P[]]>;
|
|
42
|
+
onFinally: _vueuse_core7.EventHookOn<[P[], D | undefined, Error | undefined]>;
|
|
43
43
|
}) => any;
|
|
44
44
|
};
|
|
45
45
|
emit: RemoteRequestEmits<P, D>;
|
|
46
|
-
}>) =>
|
|
46
|
+
}>) => vue54.VNode & {
|
|
47
47
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
48
48
|
};
|
|
49
49
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataObject, DataRequestFields, UseDataRequestReturns } from "../../composables/
|
|
1
|
+
import { DataObject, DataRequestFields, UseDataRequestReturns } from "../../composables/use-data-request.js";
|
|
2
2
|
import { _default } from "./RemoteRequest.vue.js";
|
|
3
3
|
import { ComponentExposed } from "vue-component-type-helpers";
|
|
4
4
|
import { UseRequestOptions, UseRequestPlugin } from "vue-hooks-plus/es/useRequest/types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchInputProps } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue42 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/search-input/SearchInput.vue.d.ts
|
|
5
5
|
declare var __VLS_19: {}, __VLS_21: {}, __VLS_28: {
|
|
@@ -15,11 +15,11 @@ type __VLS_Slots = {} & {
|
|
|
15
15
|
} & {
|
|
16
16
|
'button-icon'?: (props: typeof __VLS_39) => any;
|
|
17
17
|
};
|
|
18
|
-
declare const __VLS_base:
|
|
18
|
+
declare const __VLS_base: vue42.DefineComponent<SearchInputProps, {}, {}, {}, {}, vue42.ComponentOptionsMixin, vue42.ComponentOptionsMixin, {} & {
|
|
19
19
|
"update:value": (v: string | null | undefined) => any;
|
|
20
|
-
}, string,
|
|
20
|
+
}, string, vue42.PublicProps, Readonly<SearchInputProps> & Readonly<{
|
|
21
21
|
"onUpdate:value"?: ((v: string | null | undefined) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string,
|
|
22
|
+
}>, {}, {}, {}, {}, string, vue42.ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TransitionProps as TransitionProps$1 } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue47 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/transition/BaseTransition.vue.d.ts
|
|
5
5
|
declare var __VLS_7: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_7) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue47.DefineComponent<TransitionProps$1, {}, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<TransitionProps$1> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { highlight } from "../_utils/prismjs.js";
|
|
2
|
-
import "../_utils/index.js";
|
|
3
2
|
import { cName, typeWriterCssr } from "./type-writer.cssr.js";
|
|
4
3
|
import { computed, createBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, unref, withCtx } from "vue";
|
|
5
4
|
import { useStyle } from "@oiij/css-render";
|
package/dist/components.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { _default as _default$2 } from "./components/data-table-plus/DataTablePl
|
|
|
6
6
|
import { ClassStyle, DataTablePlusEmits, DataTablePlusExpose, DataTablePlusFields, DataTablePlusInst, DataTablePlusProps } from "./components/data-table-plus/index.js";
|
|
7
7
|
import { _default as _default$3 } from "./components/loading-provider/LoadingProvider.vue.js";
|
|
8
8
|
import { LoadingProviderInst, LoadingProviderProps, loadingProviderInjectionKey } from "./components/loading-provider/index.js";
|
|
9
|
-
import { NaiveFormRules } from "./composables/
|
|
9
|
+
import { NaiveFormRules } from "./composables/use-naive-form.js";
|
|
10
10
|
import { _default } from "./components/config-providers/ConfigProviders.vue.js";
|
|
11
11
|
import { ConfigProvidersProps } from "./components/config-providers/index.js";
|
|
12
12
|
import { _default as _default$1 } from "./components/copy-button/CopyButton.vue.js";
|
package/dist/components.js
CHANGED
|
@@ -13,7 +13,6 @@ import RemoteRequest_default from "./components/remote-request/RemoteRequest.js"
|
|
|
13
13
|
import ToggleInput_default from "./components/toggle-input/ToggleInput.js";
|
|
14
14
|
import TooltipButton_default from "./components/tooltip-button/TooltipButton.js";
|
|
15
15
|
import TypeWriter_default from "./components/type-writer/TypeWriter.js";
|
|
16
|
-
import "./components/index.js";
|
|
17
16
|
import { ComponentAttrs, ComponentEmit, ComponentExposed, ComponentProps, ComponentSlots } from "vue-component-type-helpers";
|
|
18
17
|
|
|
19
18
|
export { ComponentAttrs, ComponentEmit, ComponentExposed, ComponentProps, ComponentSlots, ConfigProviders_default as NConfigProviders, CopyButton_default as NCopyButton, DataTablePlus_default as NDataTablePlus, LoadingProvider_default as NLoadingProvider, PresetForm_default as NPresetForm, PresetInput_default as NPresetInput, PresetPicker_default as NPresetPicker, PresetSelect_default as NPresetSelect, RemoteRequest_default as NRemoteRequest, SearchInput_default as NSearchInput, ToggleInput_default as NToggleInput, TooltipButton_default as NTooltipButton, BaseTransition_default as NTransition, TypeWriter_default as NTypeWriter, loadingProviderInjectionKey };
|
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
import { colord } from "colord";
|
|
2
2
|
|
|
3
3
|
//#region src/composables/_helper.ts
|
|
4
|
+
function getDarkColor(color) {
|
|
5
|
+
if (!color) return void 0;
|
|
6
|
+
const colorInst = colord(color);
|
|
7
|
+
if (!colorInst.isValid()) return void 0;
|
|
8
|
+
return colorInst.lighten(.1).toHex();
|
|
9
|
+
}
|
|
10
|
+
function getDarkColors(colors) {
|
|
11
|
+
return {
|
|
12
|
+
primary: getDarkColor(colors.primary),
|
|
13
|
+
info: getDarkColor(colors.info),
|
|
14
|
+
success: getDarkColor(colors.success),
|
|
15
|
+
warning: getDarkColor(colors.warning),
|
|
16
|
+
error: getDarkColor(colors.error)
|
|
17
|
+
};
|
|
18
|
+
}
|
|
4
19
|
function getStatusColor(color) {
|
|
5
20
|
if (!color) return void 0;
|
|
6
|
-
const
|
|
7
|
-
if (!
|
|
21
|
+
const colorInst = colord(color);
|
|
22
|
+
if (!colorInst.isValid()) return void 0;
|
|
8
23
|
return {
|
|
9
24
|
color,
|
|
10
|
-
hover:
|
|
11
|
-
pressed:
|
|
12
|
-
suppl:
|
|
25
|
+
hover: colorInst.lighten(.1).toHex(),
|
|
26
|
+
pressed: colorInst.darken(.1).toHex(),
|
|
27
|
+
suppl: colorInst.lighten(.1).toHex()
|
|
13
28
|
};
|
|
14
29
|
}
|
|
15
30
|
function getColors(colors) {
|
|
@@ -24,4 +39,4 @@ function getColors(colors) {
|
|
|
24
39
|
}
|
|
25
40
|
|
|
26
41
|
//#endregion
|
|
27
|
-
export { getColors };
|
|
42
|
+
export { getColors, getDarkColors };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataObject, DataRequestFields, UseDataRequestOptions, UseDataRequestPagination, UseDataRequestReturns, useDataRequest } from "./
|
|
2
|
-
import { useLoading } from "./
|
|
3
|
-
import { NaiveFormClearRules, NaiveFormOptions, NaiveFormReturns, NaiveFormRules, useNaiveForm } from "./
|
|
4
|
-
import { NaiveThemeReturns, useNaiveTheme } from "./
|
|
1
|
+
import { DataObject, DataRequestFields, UseDataRequestOptions, UseDataRequestPagination, UseDataRequestReturns, useDataRequest } from "./use-data-request.js";
|
|
2
|
+
import { useLoading } from "./use-loading.js";
|
|
3
|
+
import { NaiveFormClearRules, NaiveFormOptions, NaiveFormReturns, NaiveFormRules, useNaiveForm } from "./use-naive-form.js";
|
|
4
|
+
import { NaiveThemeOptions, NaiveThemeReturns, useNaiveTheme } from "./use-naive-theme.js";
|