cosey 0.6.13 → 0.6.15

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.
@@ -32,7 +32,7 @@ var stdin_default = defineComponent({
32
32
  "onClick": () => copy(props.text || "")
33
33
  }, {
34
34
  default: () => [createVNode(stdin_default$2, {
35
- "name": copied ? "co:checkmark" : "co:copy",
35
+ "name": copied.value ? "co:checkmark" : "co:copy",
36
36
  "class": `${prefixCls.value}-icon`
37
37
  }, null)]
38
38
  });
@@ -1,4 +1,4 @@
1
- import { type SlotsType, type PropType, ExtractPropTypes } from 'vue';
1
+ import type { SlotsType, PropType, ExtractPropTypes, ExtractPublicPropTypes } from 'vue';
2
2
  export declare const mediaCardBaseProps: {
3
3
  src: {
4
4
  type: StringConstructor;
@@ -21,6 +21,7 @@ export declare const mediaCardBaseProps: {
21
21
  };
22
22
  };
23
23
  export type MediaCardBaseProps = ExtractPropTypes<typeof mediaCardBaseProps>;
24
+ export type MediaCardBasePublicProps = ExtractPublicPropTypes<typeof mediaCardBaseProps>;
24
25
  export declare const mediaCardProps: {
25
26
  src: {
26
27
  type: StringConstructor;
@@ -2,10 +2,10 @@ export * from './media-card-group.api';
2
2
  declare const _MediaCardGroup: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
4
  srcset: {
5
- type: import("vue").PropType<string | (import("..").MediaCardBaseProps | string)[]>;
5
+ type: import("vue").PropType<string | (import("..").MediaCardBasePublicProps | string)[]>;
6
6
  };
7
7
  size: {
8
- type: import("vue").PropType<import("..").MediaCardBaseProps["size"]>;
8
+ type: import("vue").PropType<import("..").MediaCardBasePublicProps["size"]>;
9
9
  };
10
10
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, import("vue").SlotsType<import("./media-card-group.api").MediaCardGroupSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
11
11
  P: {};
@@ -16,10 +16,10 @@ declare const _MediaCardGroup: {
16
16
  Defaults: {};
17
17
  }, Readonly<import("vue").ExtractPropTypes<{
18
18
  srcset: {
19
- type: import("vue").PropType<string | (import("..").MediaCardBaseProps | string)[]>;
19
+ type: import("vue").PropType<string | (import("..").MediaCardBasePublicProps | string)[]>;
20
20
  };
21
21
  size: {
22
- type: import("vue").PropType<import("..").MediaCardBaseProps["size"]>;
22
+ type: import("vue").PropType<import("..").MediaCardBasePublicProps["size"]>;
23
23
  };
24
24
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
25
25
  __isFragment?: never;
@@ -27,10 +27,10 @@ declare const _MediaCardGroup: {
27
27
  __isSuspense?: never;
28
28
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
29
29
  srcset: {
30
- type: import("vue").PropType<string | (import("..").MediaCardBaseProps | string)[]>;
30
+ type: import("vue").PropType<string | (import("..").MediaCardBasePublicProps | string)[]>;
31
31
  };
32
32
  size: {
33
- type: import("vue").PropType<import("..").MediaCardBaseProps["size"]>;
33
+ type: import("vue").PropType<import("..").MediaCardBasePublicProps["size"]>;
34
34
  };
35
35
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, import("vue").SlotsType<import("./media-card-group.api").MediaCardGroupSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
36
36
  export { _MediaCardGroup as MediaCardGroup };
@@ -1,11 +1,11 @@
1
1
  import type { ExtractPropTypes, PropType, SlotsType } from 'vue';
2
- import { type MediaCardBaseProps } from '../media-card/media-card.api';
2
+ import type { MediaCardBasePublicProps } from '../media-card/media-card.api';
3
3
  export declare const mediaCardGroupProps: {
4
4
  srcset: {
5
- type: PropType<string | (MediaCardBaseProps | string)[]>;
5
+ type: PropType<string | (MediaCardBasePublicProps | string)[]>;
6
6
  };
7
7
  size: {
8
- type: PropType<MediaCardBaseProps["size"]>;
8
+ type: PropType<MediaCardBasePublicProps["size"]>;
9
9
  };
10
10
  };
11
11
  export type MediaCardGroupProps = ExtractPropTypes<typeof mediaCardGroupProps>;
@@ -1,17 +1,16 @@
1
- import { type MediaCardBaseProps } from '../media-card/media-card.api';
2
1
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
2
  srcset: {
4
- type: import("vue").PropType<string | (MediaCardBaseProps | string)[]>;
3
+ type: import("vue").PropType<string | (import("..").MediaCardBasePublicProps | string)[]>;
5
4
  };
6
5
  size: {
7
- type: import("vue").PropType<MediaCardBaseProps["size"]>;
6
+ type: import("vue").PropType<import("..").MediaCardBasePublicProps["size"]>;
8
7
  };
9
8
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
9
  srcset: {
11
- type: import("vue").PropType<string | (MediaCardBaseProps | string)[]>;
10
+ type: import("vue").PropType<string | (import("..").MediaCardBasePublicProps | string)[]>;
12
11
  };
13
12
  size: {
14
- type: import("vue").PropType<MediaCardBaseProps["size"]>;
13
+ type: import("vue").PropType<import("..").MediaCardBasePublicProps["size"]>;
15
14
  };
16
15
  }>> & Readonly<{}>, {}, import("vue").SlotsType<import("./media-card-group.api").MediaCardGroupSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
16
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.6.13",
3
+ "version": "0.6.15",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",