sep-yui 0.0.31 → 0.0.32

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,20 +1,17 @@
1
1
  import { ISearchProps } from './interface/interface';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISearchProps>, {
4
- showHistory: boolean;
5
4
  placeholder: string;
6
5
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
6
  enter: (value: string) => void;
8
7
  input: (value: string) => void;
9
8
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISearchProps>, {
10
- showHistory: boolean;
11
9
  placeholder: string;
12
10
  }>>> & {
13
11
  onInput?: ((value: string) => any) | undefined;
14
12
  onEnter?: ((value: string) => any) | undefined;
15
13
  }, {
16
14
  placeholder: string;
17
- showHistory: boolean;
18
15
  }, {}>;
19
16
  export default _default;
20
17
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -4,14 +4,15 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
4
4
  disabled: boolean;
5
5
  checked: boolean;
6
6
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- themeChange: (isChecked: boolean) => void;
7
+ change: (isChecked: boolean) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IToggleProps>, {
9
9
  disabled: boolean;
10
10
  checked: boolean;
11
11
  }>>> & {
12
- onThemeChange?: ((isChecked: boolean) => any) | undefined;
12
+ onChange?: ((isChecked: boolean) => any) | undefined;
13
13
  }, {
14
14
  disabled: boolean;
15
+ checked: boolean;
15
16
  }, {}>;
16
17
  export default _default;
17
18
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,4 +1,5 @@
1
1
  export interface IToggleProps {
2
2
  disabled?: boolean;
3
3
  backgroundColor?: string;
4
+ checked?: boolean;
4
5
  }
@@ -1,17 +1,20 @@
1
1
  import { ISwitchProps } from '../../Switch/interface/interface';
2
2
 
3
- type userT = {
3
+ type userType = {
4
4
  name: string;
5
5
  role: string;
6
- path: string;
6
+ avatar: string;
7
7
  };
8
8
  export interface IAdminPanel {
9
- user: userT;
9
+ user: userType;
10
10
  }
11
11
  export interface IMenuLanguagesProps {
12
12
  languages?: ISwitchProps;
13
13
  }
14
- export interface IMenuProps extends IAdminPanel, IMenuLanguagesProps {
14
+ export interface IThemeProps {
15
+ isBlackTheme?: boolean;
16
+ }
17
+ export interface IMenuProps extends IAdminPanel, IMenuLanguagesProps, IThemeProps {
15
18
  closeAfterClick?: boolean;
16
19
  }
17
20
  export {};