yc-design-vue 1.5.9 → 1.6.1

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.
Files changed (165) hide show
  1. package/es/Alert/index.css +1 -0
  2. package/es/Anchor/index.css +1 -0
  3. package/es/AutoComplete/index.css +1 -0
  4. package/es/Avatar/index.css +1 -0
  5. package/es/BackTop/index.css +1 -0
  6. package/es/Badge/index.css +1 -0
  7. package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  8. package/es/Breadcrumb/index.css +1 -0
  9. package/es/Button/index.css +1 -0
  10. package/es/Calendar/index.css +1 -0
  11. package/es/Card/index.css +1 -0
  12. package/es/Carousel/index.css +1 -0
  13. package/es/Cascader/index.css +1 -0
  14. package/es/Checkbox/index.css +1 -0
  15. package/es/Collapse/index.css +1 -0
  16. package/es/ColorPicker/index.css +1 -0
  17. package/es/Comment/index.css +1 -0
  18. package/es/Descriptions/index.css +1 -0
  19. package/es/Divider/index.css +1 -0
  20. package/es/Drawer/index.css +1 -0
  21. package/es/Dropdown/index.css +1 -0
  22. package/es/Empty/index.css +1 -0
  23. package/es/Grid/index.css +1 -0
  24. package/es/Image/index.css +1 -0
  25. package/es/Input/index.css +1 -0
  26. package/es/InputNumber/index.css +1 -0
  27. package/es/InputTag/index.css +1 -0
  28. package/es/Layout/index.css +1 -0
  29. package/es/Link/index.css +1 -0
  30. package/es/List/index.css +1 -0
  31. package/es/Menu/index.css +1 -0
  32. package/es/Message/index.css +1 -0
  33. package/es/Modal/index.css +1 -0
  34. package/es/Notification/index.css +1 -0
  35. package/es/OverflowList/index.css +1 -0
  36. package/es/PageHeader/index.css +1 -0
  37. package/es/Pagination/index.css +1 -0
  38. package/es/Popconfirm/index.css +1 -0
  39. package/es/Popover/index.css +1 -0
  40. package/es/Progress/index.css +1 -0
  41. package/es/Radio/index.css +1 -0
  42. package/es/Rate/index.css +1 -0
  43. package/es/ResizeBox/index.css +1 -0
  44. package/es/Result/index.css +1 -0
  45. package/es/Scrollbar/index.css +1 -0
  46. package/es/Select/index.css +1 -0
  47. package/es/Skeleton/index.css +1 -0
  48. package/es/Slider/index.css +1 -0
  49. package/es/Space/index.css +1 -0
  50. package/es/Spin/index.css +1 -0
  51. package/es/Split/index.css +1 -0
  52. package/es/Statistic/index.css +1 -0
  53. package/es/Steps/index.css +1 -0
  54. package/es/Switch/index.css +1 -0
  55. package/es/Tabs/index.css +1 -0
  56. package/es/Tag/index.css +1 -0
  57. package/es/Textarea/index.css +1 -0
  58. package/es/TimePicker/index.css +1 -0
  59. package/es/Timeline/index.css +1 -0
  60. package/es/Tooltip/index.css +1 -0
  61. package/es/Transfer/index.css +1 -0
  62. package/es/Trigger/index.css +1 -0
  63. package/es/Typography/TypographyBase.vue2.js +2 -2
  64. package/es/Typography/index.css +1 -0
  65. package/es/VerificationCode/index.css +1 -0
  66. package/es/Watermark/index.css +1 -0
  67. package/es/_shared/icons/IconCopy.vue.js +1 -16
  68. package/es/_shared/icons/IconCopy.vue2.js +16 -1
  69. package/es/_shared/icons/IconEdit.vue.js +1 -16
  70. package/es/_shared/icons/IconEdit.vue2.js +16 -1
  71. package/es/_shared/icons/IconSeparator.vue.js +16 -1
  72. package/es/_shared/icons/IconSeparator.vue2.js +1 -16
  73. package/es/index.d.ts +1 -3
  74. package/es/index.js +0 -3
  75. package/es/shared.css +1 -0
  76. package/es/style.css +1 -1
  77. package/lib/Alert/index.css +1 -0
  78. package/lib/Anchor/index.css +1 -0
  79. package/lib/AutoComplete/index.css +1 -0
  80. package/lib/Avatar/index.css +1 -0
  81. package/lib/BackTop/index.css +1 -0
  82. package/lib/Badge/index.css +1 -0
  83. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  84. package/lib/Breadcrumb/index.css +1 -0
  85. package/lib/Button/index.css +1 -0
  86. package/lib/Calendar/index.css +1 -0
  87. package/lib/Card/index.css +1 -0
  88. package/lib/Carousel/index.css +1 -0
  89. package/lib/Cascader/index.css +1 -0
  90. package/lib/Checkbox/index.css +1 -0
  91. package/lib/Collapse/index.css +1 -0
  92. package/lib/ColorPicker/index.css +1 -0
  93. package/lib/Comment/index.css +1 -0
  94. package/lib/Descriptions/index.css +1 -0
  95. package/lib/Divider/index.css +1 -0
  96. package/lib/Drawer/index.css +1 -0
  97. package/lib/Dropdown/index.css +1 -0
  98. package/lib/Empty/index.css +1 -0
  99. package/lib/Grid/index.css +1 -0
  100. package/lib/Image/index.css +1 -0
  101. package/lib/Input/index.css +1 -0
  102. package/lib/InputNumber/index.css +1 -0
  103. package/lib/InputTag/index.css +1 -0
  104. package/lib/Layout/index.css +1 -0
  105. package/lib/Link/index.css +1 -0
  106. package/lib/List/index.css +1 -0
  107. package/lib/Menu/index.css +1 -0
  108. package/lib/Message/index.css +1 -0
  109. package/lib/Modal/index.css +1 -0
  110. package/lib/Notification/index.css +1 -0
  111. package/lib/OverflowList/index.css +1 -0
  112. package/lib/PageHeader/index.css +1 -0
  113. package/lib/Pagination/index.css +1 -0
  114. package/lib/Popconfirm/index.css +1 -0
  115. package/lib/Popover/index.css +1 -0
  116. package/lib/Progress/index.css +1 -0
  117. package/lib/Radio/index.css +1 -0
  118. package/lib/Rate/index.css +1 -0
  119. package/lib/ResizeBox/index.css +1 -0
  120. package/lib/Result/index.css +1 -0
  121. package/lib/Scrollbar/index.css +1 -0
  122. package/lib/Select/index.css +1 -0
  123. package/lib/Skeleton/index.css +1 -0
  124. package/lib/Slider/index.css +1 -0
  125. package/lib/Space/index.css +1 -0
  126. package/lib/Spin/index.css +1 -0
  127. package/lib/Split/index.css +1 -0
  128. package/lib/Statistic/index.css +1 -0
  129. package/lib/Steps/index.css +1 -0
  130. package/lib/Switch/index.css +1 -0
  131. package/lib/Tabs/index.css +1 -0
  132. package/lib/Tag/index.css +1 -0
  133. package/lib/Textarea/index.css +1 -0
  134. package/lib/TimePicker/index.css +1 -0
  135. package/lib/Timeline/index.css +1 -0
  136. package/lib/Tooltip/index.css +1 -0
  137. package/lib/Transfer/index.css +1 -0
  138. package/lib/Trigger/index.css +1 -0
  139. package/lib/Typography/TypographyBase.vue2.js +1 -1
  140. package/lib/Typography/index.css +1 -0
  141. package/lib/VerificationCode/index.css +1 -0
  142. package/lib/Watermark/index.css +1 -0
  143. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  144. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  145. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  146. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  147. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  148. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  149. package/lib/index.d.ts +1 -3
  150. package/lib/index.js +1 -1
  151. package/lib/shared.css +1 -0
  152. package/lib/style.css +1 -1
  153. package/package.json +12 -20
  154. package/es/Icon/index.d.ts +0 -38
  155. package/es/Icon/index.js +0 -29
  156. package/es/Icon/index.vue.d.ts +0 -18
  157. package/es/Icon/index.vue.js +0 -7
  158. package/es/Icon/index.vue2.js +0 -55
  159. package/es/Icon/type.d.ts +0 -15
  160. package/lib/Icon/index.d.ts +0 -38
  161. package/lib/Icon/index.js +0 -1
  162. package/lib/Icon/index.vue.d.ts +0 -18
  163. package/lib/Icon/index.vue.js +0 -1
  164. package/lib/Icon/index.vue2.js +0 -1
  165. package/lib/Icon/type.d.ts +0 -15
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yc-design-vue",
3
3
  "private": false,
4
- "version": "1.5.9",
4
+ "version": "1.6.1",
5
5
  "type": "module",
6
6
  "description": "A Vue 3 component library.",
7
7
  "keywords": [
@@ -47,26 +47,17 @@
47
47
  "require": "./lib/index.js"
48
48
  },
49
49
  "./es/style.css": "./es/style.css",
50
+ "./es/shared.css": "./es/shared.css",
50
51
  "./lib/style.css": "./lib/style.css",
51
- "./*": {
52
- "types": [
53
- "./es/*/index.d.ts",
54
- "./es/*.d.ts",
55
- "./lib/*/index.d.ts",
56
- "./lib/*.d.ts"
57
- ],
58
- "import": [
59
- "./es/*/index.js",
60
- "./es/*.js"
61
- ],
62
- "require": [
63
- "./lib/*/index.js",
64
- "./lib/*.js"
65
- ]
52
+ "./lib/shared.css": "./lib/shared.css",
53
+ "./es/*": {
54
+ "types": "./es/*/index.d.ts",
55
+ "import": "./es/*/index.js"
66
56
  },
67
- "./*.css": "./*.css",
68
- "./es/*.css": "./es/*.css",
69
- "./lib/*.css": "./lib/*.css"
57
+ "./lib/*": {
58
+ "types": "./lib/*/index.d.ts",
59
+ "require": "./lib/*/index.js"
60
+ }
70
61
  },
71
62
  "dependencies": {
72
63
  "@vueuse/core": "^12.0.0",
@@ -77,6 +68,7 @@
77
68
  },
78
69
  "devDependencies": {
79
70
  "@arco-design/web-vue": "^2.55.1",
71
+ "@types/less": "^3.0.8",
80
72
  "@types/node": "^20.12.8",
81
73
  "@types/tinycolor2": "^1.4.6",
82
74
  "@typescript-eslint/eslint-plugin": "^7.11.0",
@@ -100,7 +92,7 @@
100
92
  "vite-plugin-dts": "^4.5.4",
101
93
  "vue": "^3.3.4",
102
94
  "vue-tsc": "^2.0.29",
103
- "yc-design-vue": "^1.5.8"
95
+ "yc-design-vue": "^1.6.0"
104
96
  },
105
97
  "peerDependencies": {
106
98
  "vue": "^3.3.4"
@@ -1,38 +0,0 @@
1
- import { App } from 'vue';
2
- import { IconFontOptions } from './type';
3
- import { default as _Icon } from './index.vue';
4
- export type IconInstance = InstanceType<typeof _Icon>;
5
- export * from './type';
6
- declare const Icon: {
7
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').IconProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
8
- spin: boolean;
9
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, SVGSVGElement, import('vue').ComponentProvideOptions, {
10
- P: {};
11
- B: {};
12
- D: {};
13
- C: {};
14
- M: {};
15
- Defaults: {};
16
- }, Readonly<import('./type').IconProps> & Readonly<{}>, {}, {}, {}, {}, {
17
- spin: boolean;
18
- }>;
19
- __isFragment?: never;
20
- __isTeleport?: never;
21
- __isSuspense?: never;
22
- } & import('vue').ComponentOptionsBase<Readonly<import('./type').IconProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
23
- spin: boolean;
24
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
25
- $slots: Readonly<import('./type').IconSlots> & import('./type').IconSlots;
26
- }) & {
27
- install: (app: App) => void;
28
- urlCache: Map<string, string>;
29
- addFromIconFontCn(options: IconFontOptions): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
30
- [key: string]: any;
31
- }>;
32
- };
33
- declare module 'vue' {
34
- interface GlobalComponents {
35
- YcIcon: typeof Icon;
36
- }
37
- }
38
- export default Icon;
package/es/Icon/index.js DELETED
@@ -1,29 +0,0 @@
1
- import { h } from "vue";
2
- import "../node_modules/tinycolor2/esm/tinycolor.js";
3
- import { isServerRendering } from "../_shared/utils/dom.js";
4
- import "../_shared/utils/time.js";
5
- import "../Empty/index.js";
6
- /* empty css */
7
- import _Icon from "./index.vue.js";
8
- const Icon = Object.assign(_Icon, {
9
- install: (app) => {
10
- app.component("Yc" + _Icon.name, _Icon);
11
- },
12
- urlCache: /* @__PURE__ */ new Map(),
13
- addFromIconFontCn(options) {
14
- const { src, extraProps = {} } = options;
15
- if ((src == null ? void 0 : src.length) && !isServerRendering && !this.urlCache.has(src)) {
16
- const script = document.createElement("script");
17
- script.setAttribute("src", src);
18
- script.setAttribute("data-namespace", src);
19
- document.body.appendChild(script);
20
- this.urlCache.set(src, src);
21
- }
22
- return h(_Icon, {
23
- ...extraProps
24
- });
25
- }
26
- });
27
- export {
28
- Icon as default
29
- };
@@ -1,18 +0,0 @@
1
- import { IconProps, IconSlots } from './type';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: Readonly<IconSlots> & IconSlots;
5
- refs: {};
6
- rootEl: SVGSVGElement;
7
- };
8
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {
10
- spin: boolean;
11
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,7 +0,0 @@
1
- import _sfc_main from "./index.vue2.js";
2
- /* empty css */
3
- import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const _Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-52e5518c"]]);
5
- export {
6
- _Icon as default
7
- };
@@ -1,55 +0,0 @@
1
- import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle, renderSlot } from "vue";
2
- import "../node_modules/tinycolor2/esm/tinycolor.js";
3
- import { valueToPx } from "../_shared/utils/dom.js";
4
- import { isUndefined } from "../_shared/utils/is.js";
5
- import "../_shared/utils/time.js";
6
- import "../Empty/index.js";
7
- /* empty css */
8
- const _hoisted_1 = ["xlinkHref"];
9
- const _sfc_main = /* @__PURE__ */ defineComponent({
10
- ...{
11
- name: "Icon"
12
- },
13
- __name: "index",
14
- props: {
15
- type: {},
16
- size: {},
17
- rotate: {},
18
- spin: { type: Boolean, default: false }
19
- },
20
- setup(__props) {
21
- const props = __props;
22
- const { size, rotate, spin } = toRefs(props);
23
- const calcSize = (type) => {
24
- if (isUndefined(size.value)) {
25
- return "1em";
26
- } else if (Array.isArray(size.value)) {
27
- return valueToPx(size.value[type == "height" ? 1 : 0]);
28
- } else {
29
- return valueToPx(size.value);
30
- }
31
- };
32
- const style = computed(() => {
33
- return {
34
- width: calcSize("width"),
35
- height: calcSize("height"),
36
- transform: isUndefined(rotate.value) ? "" : `rotate(${rotate.value}deg)`,
37
- animation: spin.value ? "animation: spin 1s infinite cubic-bezier(0, 0, 1, 1)" : ""
38
- };
39
- });
40
- return (_ctx, _cache) => {
41
- return openBlock(), createElementBlock("svg", {
42
- style: normalizeStyle(style.value),
43
- class: "yc-icon"
44
- }, [
45
- _ctx.type ? (openBlock(), createElementBlock("use", {
46
- key: 0,
47
- xlinkHref: `#${_ctx.type}`
48
- }, null, 8, _hoisted_1)) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
49
- ], 4);
50
- };
51
- }
52
- });
53
- export {
54
- _sfc_main as default
55
- };
package/es/Icon/type.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import { ObjectData } from '../_shared/type';
2
- import { VNode } from 'vue';
3
- export interface IconProps {
4
- type?: string;
5
- size?: number | string | number[];
6
- rotate?: number;
7
- spin?: boolean;
8
- }
9
- export interface IconSlots {
10
- default?: () => VNode[];
11
- }
12
- export interface IconFontOptions {
13
- src?: string;
14
- extraProps?: ObjectData;
15
- }
@@ -1,38 +0,0 @@
1
- import { App } from 'vue';
2
- import { IconFontOptions } from './type';
3
- import { default as _Icon } from './index.vue';
4
- export type IconInstance = InstanceType<typeof _Icon>;
5
- export * from './type';
6
- declare const Icon: {
7
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').IconProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
8
- spin: boolean;
9
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, SVGSVGElement, import('vue').ComponentProvideOptions, {
10
- P: {};
11
- B: {};
12
- D: {};
13
- C: {};
14
- M: {};
15
- Defaults: {};
16
- }, Readonly<import('./type').IconProps> & Readonly<{}>, {}, {}, {}, {}, {
17
- spin: boolean;
18
- }>;
19
- __isFragment?: never;
20
- __isTeleport?: never;
21
- __isSuspense?: never;
22
- } & import('vue').ComponentOptionsBase<Readonly<import('./type').IconProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
23
- spin: boolean;
24
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
25
- $slots: Readonly<import('./type').IconSlots> & import('./type').IconSlots;
26
- }) & {
27
- install: (app: App) => void;
28
- urlCache: Map<string, string>;
29
- addFromIconFontCn(options: IconFontOptions): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
30
- [key: string]: any;
31
- }>;
32
- };
33
- declare module 'vue' {
34
- interface GlobalComponents {
35
- YcIcon: typeof Icon;
36
- }
37
- }
38
- export default Icon;
package/lib/Icon/index.js DELETED
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("./index.vue.js"),s=Object.assign(r,{install:e=>{e.component("Yc"+r.name,r)},urlCache:new Map,addFromIconFontCn(s){const{src:n,extraProps:i={}}=s;if((null==n?void 0:n.length)&&!t.isServerRendering&&!this.urlCache.has(n)){const e=document.createElement("script");e.setAttribute("src",n),e.setAttribute("data-namespace",n),document.body.appendChild(e),this.urlCache.set(n,n)}return e.h(r,{...i})}});module.exports=s;
@@ -1,18 +0,0 @@
1
- import { IconProps, IconSlots } from './type';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: Readonly<IconSlots> & IconSlots;
5
- refs: {};
6
- rootEl: SVGSVGElement;
7
- };
8
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {
10
- spin: boolean;
11
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1 +0,0 @@
1
- "use strict";const e=;/* empty css */;/* empty css */const r=require("../_virtual/_plugin-vue_export-helper.js")(e,[["__scopeId","data-v-52e5518c"]]);module.exports=r;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),i=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const n=["xlinkHref"],s=e.defineComponent({name:"Icon",__name:"index",props:{type:{},size:{},rotate:{},spin:{type:Boolean,default:!1}},setup(s){const o=s,{size:r,rotate:l,spin:a}=e.toRefs(o),u=e=>i.isUndefined(r.value)?"1em":Array.isArray(r.value)?t.valueToPx(r.value["height"==e?1:0]):t.valueToPx(r.value),d=e.computed(()=>({width:u("width"),height:u("height"),transform:i.isUndefined(l.value)?"":`rotate(${l.value}deg)`,animation:a.value?"animation: spin 1s infinite cubic-bezier(0, 0, 1, 1)":""}));return(t,i)=>(e.openBlock(),e.createElementBlock("svg",{style:e.normalizeStyle(d.value),class:"yc-icon"},[t.type?(e.openBlock(),e.createElementBlock("use",{key:0,xlinkHref:`#${t.type}`},null,8,n)):e.renderSlot(t.$slots,"default",{key:1},void 0,!0)],4))}});module.exports=s;
@@ -1,15 +0,0 @@
1
- import { ObjectData } from '../_shared/type';
2
- import { VNode } from 'vue';
3
- export interface IconProps {
4
- type?: string;
5
- size?: number | string | number[];
6
- rotate?: number;
7
- spin?: boolean;
8
- }
9
- export interface IconSlots {
10
- default?: () => VNode[];
11
- }
12
- export interface IconFontOptions {
13
- src?: string;
14
- extraProps?: ObjectData;
15
- }