@univerjs/icons-vue 1.12.0 → 1.13.0

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.
@@ -0,0 +1,91 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/mermaid-diagram-icon.ts
4
+ const element = {
5
+ "tag": "svg",
6
+ "attrs": {
7
+ "xmlns": "http://www.w3.org/2000/svg",
8
+ "fill": "none",
9
+ "viewBox": "0 0 20 20",
10
+ "width": "1em",
11
+ "height": "1em"
12
+ },
13
+ "children": [
14
+ {
15
+ "tag": "rect",
16
+ "attrs": {
17
+ "width": 4.6,
18
+ "height": 3.4,
19
+ "x": 7.7,
20
+ "y": 2.6,
21
+ "stroke": "currentColor",
22
+ "stroke-linejoin": "round",
23
+ "stroke-width": 1.6,
24
+ "rx": .6
25
+ }
26
+ },
27
+ {
28
+ "tag": "rect",
29
+ "attrs": {
30
+ "width": 4.6,
31
+ "height": 3.4,
32
+ "x": 2.6,
33
+ "y": 14,
34
+ "stroke": "currentColor",
35
+ "stroke-linejoin": "round",
36
+ "stroke-width": 1.6,
37
+ "rx": .6
38
+ }
39
+ },
40
+ {
41
+ "tag": "rect",
42
+ "attrs": {
43
+ "width": 4.6,
44
+ "height": 3.4,
45
+ "x": 12.8,
46
+ "y": 14,
47
+ "stroke": "currentColor",
48
+ "stroke-linejoin": "round",
49
+ "stroke-width": 1.6,
50
+ "rx": .6
51
+ }
52
+ },
53
+ {
54
+ "tag": "path",
55
+ "attrs": {
56
+ "stroke": "currentColor",
57
+ "stroke-linecap": "round",
58
+ "stroke-width": 1.6,
59
+ "d": "M10 6V10.2"
60
+ }
61
+ },
62
+ {
63
+ "tag": "path",
64
+ "attrs": {
65
+ "stroke": "currentColor",
66
+ "stroke-linecap": "round",
67
+ "stroke-linejoin": "round",
68
+ "stroke-width": 1.6,
69
+ "d": "M4.9 14V10.2H15.1V14"
70
+ }
71
+ }
72
+ ]
73
+ };
74
+ const MermaidDiagramIcon = defineComponent({
75
+ name: "MermaidDiagramIcon",
76
+ inheritAttrs: false,
77
+ props: { extend: {
78
+ type: Object,
79
+ default: void 0
80
+ } },
81
+ setup(props, { attrs }) {
82
+ return () => h(IconBase, {
83
+ ...attrs,
84
+ extend: props.extend,
85
+ id: "mermaid-diagram-icon",
86
+ icon: element
87
+ });
88
+ }
89
+ });
90
+ //#endregion
91
+ export { MermaidDiagramIcon, MermaidDiagramIcon as default };
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { IExtendProps } from './base.js';
3
- export declare const MoreIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ export declare const PaintIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  extend: {
5
5
  type: PropType<IExtendProps>;
6
6
  default: undefined;
@@ -15,4 +15,4 @@ export declare const MoreIcon: import("vue").DefineComponent<import("vue").Extra
15
15
  }>> & Readonly<{}>, {
16
16
  extend: IExtendProps;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
- export default MoreIcon;
18
+ export default PaintIcon;
@@ -0,0 +1,79 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/paint-icon.ts
4
+ const element = {
5
+ "tag": "svg",
6
+ "attrs": {
7
+ "xmlns": "http://www.w3.org/2000/svg",
8
+ "fill": "none",
9
+ "viewBox": "0 0 20 20",
10
+ "width": "1em",
11
+ "height": "1em"
12
+ },
13
+ "children": [
14
+ {
15
+ "tag": "path",
16
+ "attrs": {
17
+ "stroke": "currentColor",
18
+ "stroke-linecap": "round",
19
+ "stroke-linejoin": "round",
20
+ "stroke-width": 1.7,
21
+ "d": "M12.1 3.4C11.4 3.2 10.7 3.1 10 3.1C5.9 3.1 2.6 6.3 2.6 10.2C2.6 14.1 5.8 17.2 9.8 17.2H11.5C12.4 17.2 13.1 16.5 13.1 15.7V14.8C13.1 14.1 13.7 13.5 14.4 13.5H15.2C16.4 13.5 17.3 12.5 17.3 11.3C17.3 10.2 16.7 9.2 15.8 8.8"
22
+ }
23
+ },
24
+ {
25
+ "tag": "path",
26
+ "attrs": {
27
+ "stroke": "currentColor",
28
+ "stroke-linecap": "round",
29
+ "stroke-width": 1.7,
30
+ "d": "M17.5 2.7L9.5 13.6"
31
+ }
32
+ },
33
+ {
34
+ "tag": "circle",
35
+ "attrs": {
36
+ "cx": 6.3,
37
+ "cy": 7.5,
38
+ "r": 1,
39
+ "fill": "currentColor"
40
+ }
41
+ },
42
+ {
43
+ "tag": "circle",
44
+ "attrs": {
45
+ "cx": 9.3,
46
+ "cy": 6,
47
+ "r": 1,
48
+ "fill": "currentColor"
49
+ }
50
+ },
51
+ {
52
+ "tag": "circle",
53
+ "attrs": {
54
+ "cx": 6.1,
55
+ "cy": 11.2,
56
+ "r": 1,
57
+ "fill": "currentColor"
58
+ }
59
+ }
60
+ ]
61
+ };
62
+ const PaintIcon = defineComponent({
63
+ name: "PaintIcon",
64
+ inheritAttrs: false,
65
+ props: { extend: {
66
+ type: Object,
67
+ default: void 0
68
+ } },
69
+ setup(props, { attrs }) {
70
+ return () => h(IconBase, {
71
+ ...attrs,
72
+ extend: props.extend,
73
+ id: "paint-icon",
74
+ icon: element
75
+ });
76
+ }
77
+ });
78
+ //#endregion
79
+ export { PaintIcon, PaintIcon as default };
@@ -0,0 +1,18 @@
1
+ import type { PropType } from 'vue';
2
+ import type { IExtendProps } from './base.js';
3
+ export declare const PreciseSelectionIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ extend: {
5
+ type: PropType<IExtendProps>;
6
+ default: undefined;
7
+ };
8
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ extend: {
12
+ type: PropType<IExtendProps>;
13
+ default: undefined;
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ extend: IExtendProps;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default PreciseSelectionIcon;
@@ -0,0 +1,44 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/precise-selection-icon.ts
4
+ const element = {
5
+ "tag": "svg",
6
+ "attrs": {
7
+ "xmlns": "http://www.w3.org/2000/svg",
8
+ "fill": "none",
9
+ "viewBox": "0 0 16 16",
10
+ "width": "1em",
11
+ "height": "1em"
12
+ },
13
+ "children": [{
14
+ "tag": "path",
15
+ "attrs": {
16
+ "fill": "currentColor",
17
+ "d": "M2.2 3.4C2.2 2.73726 2.73726 2.2 3.4 2.2H12.6C13.2627 2.2 13.8 2.73726 13.8 3.4V9.6C13.8 9.93137 13.5314 10.2 13.2 10.2C12.8686 10.2 12.6 9.93137 12.6 9.6V3.4H3.4V11.2H8.9C9.23137 11.2 9.5 11.4686 9.5 11.8C9.5 12.1314 9.23137 12.4 8.9 12.4H3.4C2.73726 12.4 2.2 11.8627 2.2 11.2V3.4Z"
18
+ }
19
+ }, {
20
+ "tag": "path",
21
+ "attrs": {
22
+ "fill": "currentColor",
23
+ "d": "M10.0699 9.56616C10.0326 9.34249 10.282 9.17561 10.4918 9.28357L14.0903 11.1366C14.3375 11.2639 14.2635 11.6182 13.9843 11.6469L12.3317 12.0609L11.1808 13.409C11.0443 13.6291 10.6918 13.566 10.6498 13.3136L10.0699 9.56616Z"
24
+ }
25
+ }]
26
+ };
27
+ const PreciseSelectionIcon = defineComponent({
28
+ name: "PreciseSelectionIcon",
29
+ inheritAttrs: false,
30
+ props: { extend: {
31
+ type: Object,
32
+ default: void 0
33
+ } },
34
+ setup(props, { attrs }) {
35
+ return () => h(IconBase, {
36
+ ...attrs,
37
+ extend: props.extend,
38
+ id: "precise-selection-icon",
39
+ icon: element
40
+ });
41
+ }
42
+ });
43
+ //#endregion
44
+ export { PreciseSelectionIcon, PreciseSelectionIcon as default };
@@ -0,0 +1,18 @@
1
+ import type { PropType } from 'vue';
2
+ import type { IExtendProps } from './base.js';
3
+ export declare const ShowDimensionsIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ extend: {
5
+ type: PropType<IExtendProps>;
6
+ default: undefined;
7
+ };
8
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ extend: {
12
+ type: PropType<IExtendProps>;
13
+ default: undefined;
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ extend: IExtendProps;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default ShowDimensionsIcon;
@@ -0,0 +1,114 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/show-dimensions-icon.ts
4
+ const element = {
5
+ "tag": "svg",
6
+ "attrs": {
7
+ "xmlns": "http://www.w3.org/2000/svg",
8
+ "fill": "none",
9
+ "viewBox": "0 0 16 16",
10
+ "width": "1em",
11
+ "height": "1em"
12
+ },
13
+ "children": [
14
+ {
15
+ "tag": "path",
16
+ "attrs": {
17
+ "stroke": "currentColor",
18
+ "stroke-linecap": "round",
19
+ "stroke-width": 1.3,
20
+ "d": "M4.45 3.25H10.9"
21
+ }
22
+ },
23
+ {
24
+ "tag": "path",
25
+ "attrs": {
26
+ "stroke": "currentColor",
27
+ "stroke-linecap": "round",
28
+ "stroke-width": 1.3,
29
+ "d": "M3.25 4.45V8.95"
30
+ }
31
+ },
32
+ {
33
+ "tag": "path",
34
+ "attrs": {
35
+ "stroke": "currentColor",
36
+ "stroke-linecap": "round",
37
+ "stroke-width": 1.3,
38
+ "d": "M12.1 4.45V6.7"
39
+ }
40
+ },
41
+ {
42
+ "tag": "path",
43
+ "attrs": {
44
+ "stroke": "currentColor",
45
+ "stroke-linecap": "round",
46
+ "stroke-width": 1.3,
47
+ "d": "M4.45 10H7.75"
48
+ }
49
+ },
50
+ {
51
+ "tag": "rect",
52
+ "attrs": {
53
+ "width": 2.2,
54
+ "height": 2.2,
55
+ "x": 2.15,
56
+ "y": 2.15,
57
+ "stroke": "currentColor",
58
+ "stroke-width": 1.2,
59
+ "rx": .18
60
+ }
61
+ },
62
+ {
63
+ "tag": "rect",
64
+ "attrs": {
65
+ "width": 2.2,
66
+ "height": 2.2,
67
+ "x": 11,
68
+ "y": 2.15,
69
+ "stroke": "currentColor",
70
+ "stroke-width": 1.2,
71
+ "rx": .18
72
+ }
73
+ },
74
+ {
75
+ "tag": "rect",
76
+ "attrs": {
77
+ "width": 2.2,
78
+ "height": 2.2,
79
+ "x": 2.15,
80
+ "y": 8.9,
81
+ "stroke": "currentColor",
82
+ "stroke-width": 1.2,
83
+ "rx": .18
84
+ }
85
+ },
86
+ {
87
+ "tag": "path",
88
+ "attrs": {
89
+ "fill": "currentColor",
90
+ "fill-rule": "evenodd",
91
+ "d": "M12.55 8.2L12.92 9.1C13.13 9.16 13.33 9.24 13.51 9.36L14.42 8.99L14.97 9.94L14.19 10.53C14.21 10.65 14.22 10.78 14.22 10.9C14.22 11.02 14.21 11.15 14.19 11.27L14.97 11.86L14.42 12.81L13.51 12.44C13.33 12.56 13.13 12.64 12.92 12.7L12.55 13.6H11.45L11.08 12.7C10.87 12.64 10.67 12.56 10.49 12.44L9.58 12.81L9.03 11.86L9.81 11.27C9.79 11.15 9.78 11.02 9.78 10.9C9.78 10.78 9.79 10.65 9.81 10.53L9.03 9.94L9.58 8.99L10.49 9.36C10.67 9.24 10.87 9.16 11.08 9.1L11.45 8.2H12.55ZM12 11.7C12.4418 11.7 12.8 11.3418 12.8 10.9C12.8 10.4582 12.4418 10.1 12 10.1C11.5582 10.1 11.2 10.4582 11.2 10.9C11.2 11.3418 11.5582 11.7 12 11.7Z",
92
+ "clip-rule": "evenodd"
93
+ }
94
+ }
95
+ ]
96
+ };
97
+ const ShowDimensionsIcon = defineComponent({
98
+ name: "ShowDimensionsIcon",
99
+ inheritAttrs: false,
100
+ props: { extend: {
101
+ type: Object,
102
+ default: void 0
103
+ } },
104
+ setup(props, { attrs }) {
105
+ return () => h(IconBase, {
106
+ ...attrs,
107
+ extend: props.extend,
108
+ id: "show-dimensions-icon",
109
+ icon: element
110
+ });
111
+ }
112
+ });
113
+ //#endregion
114
+ export { ShowDimensionsIcon, ShowDimensionsIcon as default };
@@ -0,0 +1,18 @@
1
+ import type { PropType } from 'vue';
2
+ import type { IExtendProps } from './base.js';
3
+ export declare const ShowToolbarIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ extend: {
5
+ type: PropType<IExtendProps>;
6
+ default: undefined;
7
+ };
8
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ extend: {
12
+ type: PropType<IExtendProps>;
13
+ default: undefined;
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ extend: IExtendProps;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default ShowToolbarIcon;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, h } from "vue";
2
2
  import { IconBase } from "./base.js";
3
- //#region ts/more-icon.ts
3
+ //#region ts/show-toolbar-icon.ts
4
4
  const element = {
5
5
  "tag": "svg",
6
6
  "attrs": {
@@ -15,13 +15,19 @@ const element = {
15
15
  "attrs": {
16
16
  "fill": "currentColor",
17
17
  "fill-rule": "evenodd",
18
- "d": "M5.90913 3.57564C6.14345 3.34132 6.52335 3.34132 6.75766 3.57564L10.7577 7.57564C10.992 7.80995 10.992 8.18985 10.7577 8.42417L6.75766 12.4242C6.52335 12.6585 6.14345 12.6585 5.90913 12.4242C5.67482 12.1899 5.67482 11.81 5.90913 11.5756L9.48487 7.9999L5.90913 4.42417C5.67482 4.18985 5.67482 3.80995 5.90913 3.57564Z",
18
+ "d": "M2.5 3C1.94772 3 1.5 3.44772 1.5 4V12C1.5 12.5523 1.94772 13 2.5 13H13.5C14.0523 13 14.5 12.5523 14.5 12V4C14.5 3.44772 14.0523 3 13.5 3H2.5ZM2.8 4.3V11.7H13.2V4.3H2.8Z",
19
19
  "clip-rule": "evenodd"
20
20
  }
21
+ }, {
22
+ "tag": "path",
23
+ "attrs": {
24
+ "fill": "currentColor",
25
+ "d": "M9.6 5.8C9.6 5.46863 9.86863 5.2 10.2 5.2H11.7C12.0314 5.2 12.3 5.46863 12.3 5.8C12.3 6.13137 12.0314 6.4 11.7 6.4H10.2C9.86863 6.4 9.6 6.13137 9.6 5.8Z"
26
+ }
21
27
  }]
22
28
  };
23
- const MoreIcon = defineComponent({
24
- name: "MoreIcon",
29
+ const ShowToolbarIcon = defineComponent({
30
+ name: "ShowToolbarIcon",
25
31
  inheritAttrs: false,
26
32
  props: { extend: {
27
33
  type: Object,
@@ -31,10 +37,10 @@ const MoreIcon = defineComponent({
31
37
  return () => h(IconBase, {
32
38
  ...attrs,
33
39
  extend: props.extend,
34
- id: "more-icon",
40
+ id: "show-toolbar-icon",
35
41
  icon: element
36
42
  });
37
43
  }
38
44
  });
39
45
  //#endregion
40
- export { MoreIcon, MoreIcon as default };
46
+ export { ShowToolbarIcon, ShowToolbarIcon as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/icons-vue",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "Vue icons for Univer.",
5
5
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@
23
23
  "type": "module",
24
24
  "sideEffects": false,
25
25
  "imports": {
26
- "#build/*": "./scripts/build/*.ts"
26
+ "#build/*": "./scripts/build/*.mts"
27
27
  },
28
28
  "exports": {
29
29
  ".": {
@@ -40,16 +40,16 @@
40
40
  "vue": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@types/node": "^25.9.1",
43
+ "@types/node": "^26.0.0",
44
44
  "@types/svg-parser": "^2.0.6",
45
- "rolldown": "1.1.0",
45
+ "rolldown": "1.1.2",
46
46
  "svg-parser": "^2.0.4",
47
47
  "svgo": "^4.0.1",
48
48
  "typescript": "^6.0.3",
49
- "vue": "^3.5.35",
50
- "@univerjs/icons-svg": "1.12.0"
49
+ "vue": "^3.5.38",
50
+ "@univerjs/icons-svg": "1.13.0"
51
51
  },
52
52
  "scripts": {
53
- "build": "node --experimental-strip-types ./scripts/build/index.ts && tsc"
53
+ "build": "node --experimental-strip-types ./scripts/build/index.mts && tsc"
54
54
  }
55
55
  }