@oiij/naive-ui 0.0.44 → 0.0.45

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,3 @@
1
- import { BubbleProps } from '.';
2
1
  declare function __VLS_template(): {
3
2
  attrs: Partial<{}>;
4
3
  slots: {
@@ -12,9 +11,33 @@ declare function __VLS_template(): {
12
11
  rootEl: any;
13
12
  };
14
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<BubbleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
14
+ declare const __VLS_component: import('vue').DefineComponent<{
15
+ avatar?: {
16
+ icon?: import('vue').VNodeChild;
17
+ props?: import('naive-ui').AvatarProps;
18
+ };
19
+ content?: string;
20
+ contentClass?: string;
21
+ contentStyle?: import('vue').CSSProperties;
22
+ loading?: boolean;
23
+ typing?: boolean;
24
+ markdown?: boolean;
25
+ placement?: "start" | "end";
26
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
27
  typingComplete: () => any;
17
- }, string, import('vue').PublicProps, Readonly<BubbleProps> & Readonly<{
28
+ }, string, import('vue').PublicProps, Readonly<{
29
+ avatar?: {
30
+ icon?: import('vue').VNodeChild;
31
+ props?: import('naive-ui').AvatarProps;
32
+ };
33
+ content?: string;
34
+ contentClass?: string;
35
+ contentStyle?: import('vue').CSSProperties;
36
+ loading?: boolean;
37
+ typing?: boolean;
38
+ markdown?: boolean;
39
+ placement?: "start" | "end";
40
+ }> & Readonly<{
18
41
  onTypingComplete?: (() => any) | undefined;
19
42
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
43
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,7 +1,7 @@
1
1
  import { AvatarProps } from 'naive-ui';
2
2
  import { CSSProperties, VNodeChild } from 'vue';
3
3
  export { default as NBubble } from './Bubble.vue';
4
- export interface BubbleProps {
4
+ export type BubbleProps = {
5
5
  avatar?: {
6
6
  icon?: VNodeChild;
7
7
  props?: AvatarProps;
@@ -13,4 +13,4 @@ export interface BubbleProps {
13
13
  typing?: boolean;
14
14
  markdown?: boolean;
15
15
  placement?: 'start' | 'end';
16
- }
16
+ };
@@ -1,4 +1,3 @@
1
- import { ConfigProvidersProps } from './index';
2
1
  declare function __VLS_template(): {
3
2
  attrs: Partial<{}>;
4
3
  slots: {
@@ -8,7 +7,25 @@ declare function __VLS_template(): {
8
7
  rootEl: any;
9
8
  };
10
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<ConfigProvidersProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConfigProvidersProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{
11
+ globalStyle?: boolean;
12
+ configProviderProps?: import('naive-ui').ConfigProviderProps & import('..').ClassStyle;
13
+ loadingBarProps?: import('naive-ui').LoadingBarProviderProps & import('..').ClassStyle;
14
+ fullLoadingProps?: import('../full-loading/index').FullLoadingProps & import('..').ClassStyle;
15
+ dialogProviderProps?: import('naive-ui').DialogProviderProps & import('..').ClassStyle;
16
+ modalProviderProps?: import('naive-ui').ModalProviderProps & import('..').ClassStyle;
17
+ notificationProviderProps?: import('naive-ui').NotificationProviderProps & import('..').ClassStyle;
18
+ messageProviderProps?: import('naive-ui').MessageProviderProps & import('..').ClassStyle;
19
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
20
+ globalStyle?: boolean;
21
+ configProviderProps?: import('naive-ui').ConfigProviderProps & import('..').ClassStyle;
22
+ loadingBarProps?: import('naive-ui').LoadingBarProviderProps & import('..').ClassStyle;
23
+ fullLoadingProps?: import('../full-loading/index').FullLoadingProps & import('..').ClassStyle;
24
+ dialogProviderProps?: import('naive-ui').DialogProviderProps & import('..').ClassStyle;
25
+ modalProviderProps?: import('naive-ui').ModalProviderProps & import('..').ClassStyle;
26
+ notificationProviderProps?: import('naive-ui').NotificationProviderProps & import('..').ClassStyle;
27
+ messageProviderProps?: import('naive-ui').MessageProviderProps & import('..').ClassStyle;
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
30
  export default _default;
14
31
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,7 +2,7 @@ import { ConfigProviderProps, DialogProviderInst, DialogProviderProps, LoadingBa
2
2
  import { ClassStyle } from '../data-table-plus';
3
3
  import { FullLoadingProps } from '../full-loading/index';
4
4
  export { default as NConfigProviders } from './ConfigProviders.vue';
5
- export interface ConfigProvidersProps {
5
+ export type ConfigProvidersProps = {
6
6
  globalStyle?: boolean;
7
7
  configProviderProps?: ConfigProviderProps & ClassStyle;
8
8
  loadingBarProps?: LoadingBarProviderProps & ClassStyle;
@@ -11,11 +11,11 @@ export interface ConfigProvidersProps {
11
11
  modalProviderProps?: ModalProviderProps & ClassStyle;
12
12
  notificationProviderProps?: NotificationProviderProps & ClassStyle;
13
13
  messageProviderProps?: MessageProviderProps & ClassStyle;
14
- }
15
- export interface LoadingIns {
14
+ };
15
+ export type LoadingIns = {
16
16
  start: () => void;
17
17
  finish: () => void;
18
- }
18
+ };
19
19
  declare global {
20
20
  interface Window {
21
21
  $dialog: DialogProviderInst;
@@ -1,4 +1,3 @@
1
- import { CopyButtonProps } from './index';
2
1
  declare function __VLS_template(): {
3
2
  attrs: Partial<{}>;
4
3
  slots: {
@@ -10,9 +9,19 @@ declare function __VLS_template(): {
10
9
  rootEl: any;
11
10
  };
12
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<CopyButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ declare const __VLS_component: import('vue').DefineComponent<{
13
+ value?: string;
14
+ config?: import('@vueuse/core').UseClipboardOptions<string | undefined>;
15
+ tooltipProps?: import('naive-ui').TooltipProps & import('..').ClassStyle;
16
+ buttonProps?: import('naive-ui').ButtonProps & import('..').ClassStyle;
17
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
14
18
  copied: (v: string | undefined) => any;
15
- }, string, import('vue').PublicProps, Readonly<CopyButtonProps> & Readonly<{
19
+ }, string, import('vue').PublicProps, Readonly<{
20
+ value?: string;
21
+ config?: import('@vueuse/core').UseClipboardOptions<string | undefined>;
22
+ tooltipProps?: import('naive-ui').TooltipProps & import('..').ClassStyle;
23
+ buttonProps?: import('naive-ui').ButtonProps & import('..').ClassStyle;
24
+ }> & Readonly<{
16
25
  onCopied?: ((v: string | undefined) => any) | undefined;
17
26
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -2,9 +2,9 @@ import { UseClipboardOptions } from '@vueuse/core';
2
2
  import { ButtonProps, TooltipProps } from 'naive-ui';
3
3
  import { ClassStyle } from '../data-table-plus';
4
4
  export { default as NCopyButton } from './CopyButton.vue';
5
- export interface CopyButtonProps {
5
+ export type CopyButtonProps = {
6
6
  value?: string;
7
7
  config?: UseClipboardOptions<string | undefined>;
8
8
  tooltipProps?: TooltipProps & ClassStyle;
9
9
  buttonProps?: ButtonProps & ClassStyle;
10
- }
10
+ };
@@ -10,7 +10,7 @@ export type ClassStyle = {
10
10
  class?: string;
11
11
  style?: CSSProperties | string;
12
12
  };
13
- export interface DataTablePlusExposeActions<P extends RObject = RObject, D extends RObject = RObject> {
13
+ export type DataTablePlusExposeActionsBase<P extends RObject = RObject, D extends RObject = RObject> = {
14
14
  run: (params: P) => void;
15
15
  runAsync: (params: P) => Promise<D>;
16
16
  refresh: () => void;
@@ -20,14 +20,17 @@ export interface DataTablePlusExposeActions<P extends RObject = RObject, D exten
20
20
  setParams: (params: Partial<P>) => void;
21
21
  runParams: (params: Partial<P>) => void;
22
22
  runParamsAsync: (params: Partial<P>) => Promise<D>;
23
+ };
24
+ export type DataTablePlusExposeActions<P extends RObject = RObject, D extends RObject = RObject> = DataTablePlusExposeActionsBase<P, D> & {
25
+ onValueUpdate: (key: keyof P, val: any) => void;
23
26
  showFilterModal: () => void;
24
27
  resetParams: () => void;
25
- }
26
- export interface DataTablePlusPagination {
28
+ };
29
+ export type DataTablePlusPagination = {
27
30
  page: number;
28
31
  pageSize: number;
29
32
  itemCount: number;
30
- }
33
+ };
31
34
  export type DataTablePlusExposeRefsBase<P extends RObject = RObject, D extends RObject = RObject, R extends RObject = RObject> = Pick<useRequestResult<D, P[], false, false>, 'loading' | 'data' | 'error' | 'params'> & {
32
35
  pagination: Readonly<Ref<DataTablePlusPagination, DataTablePlusPagination>>;
33
36
  rawList: ComputedRef<R[]>;
@@ -1,4 +1,3 @@
1
- import { FullLoadingProps } from './index';
2
1
  declare function __VLS_template(): {
3
2
  attrs: Partial<{}>;
4
3
  slots: {
@@ -9,7 +8,23 @@ declare function __VLS_template(): {
9
8
  rootEl: any;
10
9
  };
11
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<FullLoadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FullLoadingProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_component: import('vue').DefineComponent<{
12
+ show?: boolean;
13
+ appendTo?: string | import('vue').RendererElement;
14
+ mask?: boolean | import('vue').CSSProperties;
15
+ blur?: boolean;
16
+ disableScroll?: boolean;
17
+ scrollSelector?: string | HTMLElement;
18
+ spinProps?: Omit<import('naive-ui').SpinProps, "show"> & import('..').ClassStyle;
19
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
20
+ show?: boolean;
21
+ appendTo?: string | import('vue').RendererElement;
22
+ mask?: boolean | import('vue').CSSProperties;
23
+ blur?: boolean;
24
+ disableScroll?: boolean;
25
+ scrollSelector?: string | HTMLElement;
26
+ spinProps?: Omit<import('naive-ui').SpinProps, "show"> & import('..').ClassStyle;
27
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
29
  export default _default;
15
30
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,7 +2,7 @@ import { SpinProps } from 'naive-ui';
2
2
  import { CSSProperties, RendererElement } from 'vue';
3
3
  import { ClassStyle } from '../data-table-plus';
4
4
  export { default as NFullLoading } from './FullLoading.vue';
5
- export interface FullLoadingProps {
5
+ export type FullLoadingProps = {
6
6
  show?: boolean;
7
7
  appendTo?: string | RendererElement;
8
8
  mask?: boolean | CSSProperties;
@@ -10,4 +10,4 @@ export interface FullLoadingProps {
10
10
  disableScroll?: boolean;
11
11
  scrollSelector?: string | HTMLElement;
12
12
  spinProps?: Omit<SpinProps, 'show'> & ClassStyle;
13
- }
13
+ };
@@ -21,7 +21,7 @@ export type PresetFormOptionsItem<V extends Record<string, any> = Record<string,
21
21
  render?: (refs: PresetFormExposeRefs<V>, actions: PresetFormExposeActions<V>) => VNode | null;
22
22
  };
23
23
  export type PresetFormOptions<V extends Record<string, any> = Record<string, any>> = PresetFormOptionsItem<V>[];
24
- export interface PresetFormProps<V extends Record<string, any> = Record<string, any>> {
24
+ export type PresetFormProps<V extends Record<string, any> = Record<string, any>> = {
25
25
  options?: PresetFormOptions<V>;
26
26
  values?: V;
27
27
  rules?: NaiveFormRules<V>;
@@ -30,4 +30,4 @@ export interface PresetFormProps<V extends Record<string, any> = Record<string,
30
30
  gridProps?: GridProps & ClassStyle;
31
31
  flexProps?: FlexProps & ClassStyle;
32
32
  layout?: 'grid' | 'flex' | ['grid' | 'flex'];
33
- }
33
+ };
@@ -2,7 +2,7 @@ import { ButtonProps, CheckboxGroupProps, CheckboxProps, ColorPickerProps, DateP
2
2
  import { ClassStyle } from '../data-table-plus';
3
3
  import { SearchInputProps } from '../search-input/index';
4
4
  export { default as NPresetInput } from './PresetInput.vue';
5
- export interface PresetInputType {
5
+ export type PresetInputType = {
6
6
  'button': ButtonProps & {
7
7
  label?: string;
8
8
  };
@@ -24,14 +24,14 @@ export interface PresetInputType {
24
24
  'slider': SliderProps;
25
25
  'switch': SwitchProps;
26
26
  'time-picker': TimePickerProps;
27
- }
27
+ };
28
28
  export type PresetInputOptions = {
29
29
  [K in keyof PresetInputType]: {
30
30
  type?: K;
31
31
  props?: PresetInputType[K] & ClassStyle;
32
32
  };
33
33
  }[keyof PresetInputType];
34
- export interface PresetInputProps<V> {
34
+ export type PresetInputProps<V> = {
35
35
  value?: V;
36
36
  options?: PresetInputOptions;
37
- }
37
+ };
@@ -1,22 +1,22 @@
1
1
  import { PaginationProps, SelectGroupOption, SelectInst, SelectOption, SelectProps } from 'naive-ui';
2
2
  import { ShallowRef } from 'vue';
3
3
  import { ClassStyle } from '../data-table-plus';
4
- import { DataTablePlusExposeActions, DataTablePlusExposeRefsBase } from '../data-table-plus/index';
4
+ import { DataTablePlusExposeActionsBase, DataTablePlusExposeRefsBase } from '../data-table-plus/index';
5
5
  import { RemoteRequestEmits, RemoteRequestProps, RObject } from '../remote-request/index';
6
6
  export { default as NPresetSelect } from './PresetSelect.vue';
7
7
  export type ArrayAwareType<V, T> = V extends null ? null : (V extends any[] ? T[] : T) | null;
8
8
  export type OptionFormat<R extends RObject = RObject> = (row: R) => SelectOption | SelectGroupOption | false | undefined | null;
9
9
  export type PresetSelectValue = string | number | (string | number)[] | null;
10
10
  export type PresetSelectFields = Partial<Record<'page' | 'pageSize' | 'search' | 'list' | 'count' | 'rowKey' | 'label' | 'value' | 'children', string>>;
11
- export interface PresetSelectPagination {
11
+ export type PresetSelectPagination = {
12
12
  page: number;
13
13
  pageSize: number;
14
14
  itemCount: number;
15
- }
15
+ };
16
16
  export type PresetSelectExposeRefs<P extends RObject = RObject, D extends RObject = RObject, R extends RObject = RObject> = DataTablePlusExposeRefsBase<P, D, R> & {
17
17
  selectRef: Readonly<ShallowRef<SelectInst | null>>;
18
18
  };
19
- export type PresetSelectExposeActions<P extends RObject = RObject, D extends RObject = RObject> = Omit<DataTablePlusExposeActions<P, D>, 'showFilterModal' | 'resetParams'>;
19
+ export type PresetSelectExposeActions<P extends RObject = RObject, D extends RObject = RObject> = DataTablePlusExposeActionsBase<P, D> & {};
20
20
  export type PresetSelectProps<V extends PresetSelectValue, P extends RObject = RObject, D extends RObject = RObject, R extends RObject = RObject> = RemoteRequestProps<P, D> & {
21
21
  value?: V;
22
22
  fallbackLabel?: string | ((val: string | number) => SelectOption);
@@ -2,17 +2,17 @@ import { UseRequestOptions, UseRequestPlugin } from 'vue-hooks-plus/es/useReques
2
2
  export { default as NRemoteRequest } from './RemoteRequest.vue';
3
3
  export type RObject = Record<string, any>;
4
4
  export type RemoteRequestFields = Partial<Record<string, string>>;
5
- export interface RemoteRequestProps<P extends RObject = RObject, D extends RObject = RObject> {
5
+ export type RemoteRequestProps<P extends RObject = RObject, D extends RObject = RObject> = {
6
6
  api: (...args: P[]) => Promise<D>;
7
7
  defaultParams?: Partial<P>;
8
8
  manual?: boolean;
9
9
  fields?: RemoteRequestFields;
10
10
  requestOptions?: UseRequestOptions<D, P[]>;
11
11
  requestPlugins?: UseRequestPlugin<D, P[]>[];
12
- }
13
- export interface RemoteRequestEmits<P extends RObject = RObject, D extends RObject = RObject> {
12
+ };
13
+ export type RemoteRequestEmits<P extends RObject = RObject, D extends RObject = RObject> = {
14
14
  (e: 'before', params: P[]): void;
15
15
  (e: 'success', data: D, params: P[]): void;
16
16
  (e: 'error', err: Error, params: P[]): void;
17
17
  (e: 'finally', params: P[], data?: D, err?: Error): void;
18
- }
18
+ };
@@ -1,4 +1,3 @@
1
- import { SearchInputProps } from './index';
2
1
  declare function __VLS_template(): {
3
2
  attrs: Partial<{}>;
4
3
  slots: {
@@ -1047,9 +1046,27 @@ declare function __VLS_template(): {
1047
1046
  rootEl: any;
1048
1047
  };
1049
1048
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1050
- declare const __VLS_component: import('vue').DefineComponent<SearchInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1049
+ declare const __VLS_component: import('vue').DefineComponent<{
1050
+ value?: string | null;
1051
+ type?: import('naive-ui').ButtonProps["type"];
1052
+ placeholder?: string;
1053
+ loading?: boolean;
1054
+ autoTrigger?: boolean | number;
1055
+ searchButton?: "text" | "icon" | boolean;
1056
+ inputProps?: import('naive-ui').InputProps & import('..').ClassStyle;
1057
+ buttonProps?: import('naive-ui').ButtonProps & import('..').ClassStyle;
1058
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1051
1059
  "update:value": (v: string | null | undefined) => any;
1052
- }, string, import('vue').PublicProps, Readonly<SearchInputProps> & Readonly<{
1060
+ }, string, import('vue').PublicProps, Readonly<{
1061
+ value?: string | null;
1062
+ type?: import('naive-ui').ButtonProps["type"];
1063
+ placeholder?: string;
1064
+ loading?: boolean;
1065
+ autoTrigger?: boolean | number;
1066
+ searchButton?: "text" | "icon" | boolean;
1067
+ inputProps?: import('naive-ui').InputProps & import('..').ClassStyle;
1068
+ buttonProps?: import('naive-ui').ButtonProps & import('..').ClassStyle;
1069
+ }> & Readonly<{
1053
1070
  "onUpdate:value"?: ((v: string | null | undefined) => any) | undefined;
1054
1071
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
1055
1072
  'input-ref': import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -1,7 +1,7 @@
1
1
  import { ButtonProps, InputProps } from 'naive-ui';
2
2
  import { ClassStyle } from '../data-table-plus';
3
3
  export { default as NSearchInput } from './SearchInput.vue';
4
- export interface SearchInputProps {
4
+ export type SearchInputProps = {
5
5
  value?: string | null;
6
6
  type?: ButtonProps['type'];
7
7
  placeholder?: string;
@@ -10,4 +10,4 @@ export interface SearchInputProps {
10
10
  searchButton?: 'text' | 'icon' | boolean;
11
11
  inputProps?: InputProps & ClassStyle;
12
12
  buttonProps?: ButtonProps & ClassStyle;
13
- }
13
+ };
@@ -1,4 +1,3 @@
1
- import { TooltipButtonProps } from './index';
2
1
  declare function __VLS_template(): {
3
2
  attrs: Partial<{}>;
4
3
  slots: {
@@ -10,9 +9,17 @@ declare function __VLS_template(): {
10
9
  rootEl: any;
11
10
  };
12
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<TooltipButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ declare const __VLS_component: import('vue').DefineComponent<{
13
+ value?: string;
14
+ tooltipProps?: import('naive-ui').TooltipProps & import('..').ClassStyle;
15
+ buttonProps?: import('naive-ui').ButtonProps & import('..').ClassStyle;
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
14
17
  click: (ev: MouseEvent) => any;
15
- }, string, import('vue').PublicProps, Readonly<TooltipButtonProps> & Readonly<{
18
+ }, string, import('vue').PublicProps, Readonly<{
19
+ value?: string;
20
+ tooltipProps?: import('naive-ui').TooltipProps & import('..').ClassStyle;
21
+ buttonProps?: import('naive-ui').ButtonProps & import('..').ClassStyle;
22
+ }> & Readonly<{
16
23
  onClick?: ((ev: MouseEvent) => any) | undefined;
17
24
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,8 +1,8 @@
1
1
  import { ButtonProps, TooltipProps } from 'naive-ui';
2
2
  import { ClassStyle } from '../data-table-plus';
3
3
  export { default as NTooltipButton } from './TooltipButton.vue';
4
- export interface TooltipButtonProps {
4
+ export type TooltipButtonProps = {
5
5
  value?: string;
6
6
  tooltipProps?: TooltipProps & ClassStyle;
7
7
  buttonProps?: ButtonProps & ClassStyle;
8
- }
8
+ };
@@ -1,4 +1,3 @@
1
- import { TransitionProps } from './index';
2
1
  declare function __VLS_template(): {
3
2
  attrs: Partial<{}>;
4
3
  slots: {
@@ -8,7 +7,13 @@ declare function __VLS_template(): {
8
7
  rootEl: any;
9
8
  };
10
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<TransitionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TransitionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{
11
+ name?: string;
12
+ transitionProps?: import('vue').TransitionProps & import('..').ClassStyle;
13
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
14
+ name?: string;
15
+ transitionProps?: import('vue').TransitionProps & import('..').ClassStyle;
16
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
18
  export default _default;
14
19
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { TransitionProps as BaseTransitionProps } from 'vue';
2
2
  import { ClassStyle } from '../data-table-plus';
3
3
  export { default as NTransition } from './BaseTransition.vue';
4
- export interface TransitionProps {
4
+ export type TransitionProps = {
5
5
  name?: string;
6
6
  transitionProps?: BaseTransitionProps & ClassStyle;
7
- }
7
+ };
@@ -1,12 +1,25 @@
1
- import { TypeWriterProps } from './index';
2
- declare const _default: import('vue').DefineComponent<TypeWriterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1
+ declare const _default: import('vue').DefineComponent<{
2
+ value?: string;
3
+ typing?: boolean;
4
+ markdown?: boolean;
5
+ step?: number;
6
+ interval?: number;
7
+ suffix?: string;
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
9
  start: () => any;
4
10
  stop: (v: string) => any;
5
11
  update: (v: {
6
12
  index: number;
7
13
  value: string;
8
14
  }) => any;
9
- }, string, import('vue').PublicProps, Readonly<TypeWriterProps> & Readonly<{
15
+ }, string, import('vue').PublicProps, Readonly<{
16
+ value?: string;
17
+ typing?: boolean;
18
+ markdown?: boolean;
19
+ step?: number;
20
+ interval?: number;
21
+ suffix?: string;
22
+ }> & Readonly<{
10
23
  onStart?: (() => any) | undefined;
11
24
  onStop?: ((v: string) => any) | undefined;
12
25
  onUpdate?: ((v: {
@@ -1,9 +1,9 @@
1
1
  export { default as NTypeWriter } from './TypeWriter.vue';
2
- export interface TypeWriterProps {
2
+ export type TypeWriterProps = {
3
3
  value?: string;
4
4
  typing?: boolean;
5
5
  markdown?: boolean;
6
6
  step?: number;
7
7
  interval?: number;
8
8
  suffix?: string;
9
- }
9
+ };