@kaitify/vue 0.0.1-beta.25 → 0.0.1-beta.26

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.
@@ -9,9 +9,9 @@ declare function __VLS_template(): {
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
10
  declare const __VLS_component: import('vue').DefineComponent<ButtonPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonPropsType> & Readonly<{}>, {
11
11
  disabled: boolean;
12
+ large: boolean;
12
13
  block: boolean;
13
14
  active: boolean;
14
- large: boolean;
15
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
17
  export default _default;
@@ -2,5 +2,12 @@
2
2
  * 图标组件的属性类型
3
3
  */
4
4
  export type IconPropsType = {
5
+ /**
6
+ * iconify的图标name
7
+ */
5
8
  name: string;
9
+ /**
10
+ * 图标大小,如果是数值默认单位为px
11
+ */
12
+ size?: string | number;
6
13
  };
@@ -2,8 +2,8 @@ import { AttachmentMenuPropsType } from './props';
2
2
  declare const _default: import('vue').DefineComponent<AttachmentMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AttachmentMenuPropsType> & Readonly<{}>, {
3
3
  disabled: boolean;
4
4
  tabs: {
5
- data: ("upload" | "remote")[];
6
- default: "upload" | "remote";
5
+ data: ("remote" | "upload")[];
6
+ default: "remote" | "upload";
7
7
  };
8
8
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
9
  export default _default;
@@ -8,8 +8,8 @@ export type AttachmentMenuPropsType = {
8
8
  * tabs配置
9
9
  */
10
10
  tabs?: {
11
- data: ('upload' | 'remote')[];
12
- default: 'upload' | 'remote';
11
+ data: ('remote' | 'upload')[];
12
+ default: 'remote' | 'upload';
13
13
  };
14
14
  /**
15
15
  * 浮层属性
@@ -2,8 +2,8 @@ import { ImageMenuPropsType } from './props';
2
2
  declare const _default: import('vue').DefineComponent<ImageMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ImageMenuPropsType> & Readonly<{}>, {
3
3
  disabled: boolean;
4
4
  tabs: {
5
- data: ("upload" | "remote")[];
6
- default: "upload" | "remote";
5
+ data: ("remote" | "upload")[];
6
+ default: "remote" | "upload";
7
7
  };
8
8
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
9
  export default _default;
@@ -12,8 +12,8 @@ export type ImageMenuPropsType = {
12
12
  * tabs配置
13
13
  */
14
14
  tabs?: {
15
- data: ('upload' | 'remote')[];
16
- default: 'upload' | 'remote';
15
+ data: ('remote' | 'upload')[];
16
+ default: 'remote' | 'upload';
17
17
  };
18
18
  /**
19
19
  * 自定义上传方法
@@ -12,8 +12,8 @@ export type VideoMenuPropsType = {
12
12
  * tabs配置
13
13
  */
14
14
  tabs?: {
15
- data: ('upload' | 'remote')[];
16
- default: 'upload' | 'remote';
15
+ data: ('remote' | 'upload')[];
16
+ default: 'remote' | 'upload';
17
17
  };
18
18
  /**
19
19
  * 自定义上传方法
@@ -2,8 +2,8 @@ import { VideoMenuPropsType } from './props';
2
2
  declare const _default: import('vue').DefineComponent<VideoMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VideoMenuPropsType> & Readonly<{}>, {
3
3
  disabled: boolean;
4
4
  tabs: {
5
- data: ("upload" | "remote")[];
6
- default: "upload" | "remote";
5
+ data: ("remote" | "upload")[];
6
+ default: "remote" | "upload";
7
7
  };
8
8
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
9
  export default _default;
package/lib/index.d.ts CHANGED
@@ -2,5 +2,6 @@ export * from '@kaitify/core';
2
2
  export * from './core/divider';
3
3
  export * from './core/tabs';
4
4
  export * from './core/checkbox';
5
+ export * from './core/icon';
5
6
  export * from './editor/wrapper';
6
7
  export * from './editor/menu';