@veltra/icons 1.1.14 → 1.1.18
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.
- package/AGENTS.md +29 -36
- package/CHANGELOG.md +16 -0
- package/dist/index.d.ts +177 -157
- package/dist/index.js +177 -157
- package/dist/index.js.map +1 -1
- package/dist/normal.d.ts +166 -146
- package/dist/normal.js +166 -146
- package/dist/vue/normal/auto-complete.js +33 -0
- package/dist/vue/normal/auto-complete.js.map +1 -0
- package/dist/vue/normal/auto-complete.vue.d.ts +8 -0
- package/dist/vue/normal/cascader.js +48 -0
- package/dist/vue/normal/cascader.js.map +1 -0
- package/dist/vue/normal/cascader.vue.d.ts +8 -0
- package/dist/vue/normal/checkbox.js +35 -0
- package/dist/vue/normal/checkbox.js.map +1 -0
- package/dist/vue/normal/checkbox.vue.d.ts +8 -0
- package/dist/vue/normal/date-picker.js +19 -0
- package/dist/vue/normal/date-picker.js.map +1 -0
- package/dist/vue/normal/date-picker.vue.d.ts +8 -0
- package/dist/vue/normal/date-range-picker.js +44 -0
- package/dist/vue/normal/date-range-picker.js.map +1 -0
- package/dist/vue/normal/date-range-picker.vue.d.ts +8 -0
- package/dist/vue/normal/edit-pen.js.map +1 -1
- package/dist/vue/normal/file-picker.js +32 -0
- package/dist/vue/normal/file-picker.js.map +1 -0
- package/dist/vue/normal/file-picker.vue.d.ts +8 -0
- package/dist/vue/normal/form.js +33 -0
- package/dist/vue/normal/form.js.map +1 -0
- package/dist/vue/normal/form.vue.d.ts +8 -0
- package/dist/vue/normal/input.js +33 -0
- package/dist/vue/normal/input.js.map +1 -0
- package/dist/vue/normal/input.vue.d.ts +8 -0
- package/dist/vue/normal/multi-select.js +56 -0
- package/dist/vue/normal/multi-select.js.map +1 -0
- package/dist/vue/normal/multi-select.vue.d.ts +8 -0
- package/dist/vue/normal/multi-tree-select.js +52 -0
- package/dist/vue/normal/multi-tree-select.js.map +1 -0
- package/dist/vue/normal/multi-tree-select.vue.d.ts +8 -0
- package/dist/vue/normal/number-input.js +35 -0
- package/dist/vue/normal/number-input.js.map +1 -0
- package/dist/vue/normal/number-input.vue.d.ts +8 -0
- package/dist/vue/normal/number-range-input.js +48 -0
- package/dist/vue/normal/number-range-input.js.map +1 -0
- package/dist/vue/normal/number-range-input.vue.d.ts +8 -0
- package/dist/vue/normal/password-input.js +48 -0
- package/dist/vue/normal/password-input.js.map +1 -0
- package/dist/vue/normal/password-input.vue.d.ts +8 -0
- package/dist/vue/normal/radio.js +31 -0
- package/dist/vue/normal/radio.js.map +1 -0
- package/dist/vue/normal/radio.vue.d.ts +8 -0
- package/dist/vue/normal/select.js +35 -0
- package/dist/vue/normal/select.js.map +1 -0
- package/dist/vue/normal/select.vue.d.ts +8 -0
- package/dist/vue/normal/slider.js +29 -0
- package/dist/vue/normal/slider.js.map +1 -0
- package/dist/vue/normal/slider.vue.d.ts +8 -0
- package/dist/vue/normal/switch.js +33 -0
- package/dist/vue/normal/switch.js.map +1 -0
- package/dist/vue/normal/switch.vue.d.ts +8 -0
- package/dist/vue/normal/table.js +33 -0
- package/dist/vue/normal/table.js.map +1 -0
- package/dist/vue/normal/table.vue.d.ts +8 -0
- package/dist/vue/normal/textarea.js +33 -0
- package/dist/vue/normal/textarea.js.map +1 -0
- package/dist/vue/normal/textarea.vue.d.ts +8 -0
- package/dist/vue/normal/tree-select.js +46 -0
- package/dist/vue/normal/tree-select.js.map +1 -0
- package/dist/vue/normal/tree-select.vue.d.ts +8 -0
- package/dist/vue/normal/user-circle.js.map +1 -1
- package/dist/vue/normal/video-play.js.map +1 -1
- package/package.json +3 -4
- package/scripts/format-svg.ts +8 -3
- package/scripts/gen-icon-barrels.ts +6 -3
- package/scripts/gen-vue-icons.ts +16 -5
- package/scripts/rename-svg-icons.ts +6 -3
- package/src/normal.ts +20 -0
- package/src/svg/normal/auto-complete.svg +1 -0
- package/src/svg/normal/cascader.svg +1 -0
- package/src/svg/normal/checkbox.svg +1 -0
- package/src/svg/normal/date-picker.svg +1 -0
- package/src/svg/normal/date-range-picker.svg +1 -0
- package/src/svg/normal/file-picker.svg +1 -0
- package/src/svg/normal/form.svg +1 -0
- package/src/svg/normal/input.svg +1 -0
- package/src/svg/normal/multi-select.svg +1 -0
- package/src/svg/normal/multi-tree-select.svg +1 -0
- package/src/svg/normal/number-input.svg +1 -0
- package/src/svg/normal/number-range-input.svg +1 -0
- package/src/svg/normal/password-input.svg +1 -0
- package/src/svg/normal/radio.svg +1 -0
- package/src/svg/normal/select.svg +1 -0
- package/src/svg/normal/slider.svg +1 -0
- package/src/svg/normal/switch.svg +1 -0
- package/src/svg/normal/table.svg +1 -0
- package/src/svg/normal/textarea.svg +1 -0
- package/src/svg/normal/tree-select.svg +1 -0
- package/src/vue/normal/auto-complete.vue +19 -0
- package/src/vue/normal/cascader.vue +36 -0
- package/src/vue/normal/checkbox.vue +26 -0
- package/src/vue/normal/date-picker.vue +23 -0
- package/src/vue/normal/date-range-picker.vue +20 -0
- package/src/vue/normal/file-picker.vue +23 -0
- package/src/vue/normal/form.vue +24 -0
- package/src/vue/normal/input.vue +19 -0
- package/src/vue/normal/multi-select.vue +28 -0
- package/src/vue/normal/multi-tree-select.vue +24 -0
- package/src/vue/normal/number-input.vue +26 -0
- package/src/vue/normal/number-range-input.vue +36 -0
- package/src/vue/normal/password-input.vue +21 -0
- package/src/vue/normal/radio.vue +10 -0
- package/src/vue/normal/select.vue +26 -0
- package/src/vue/normal/slider.vue +10 -0
- package/src/vue/normal/switch.vue +19 -0
- package/src/vue/normal/table.vue +24 -0
- package/src/vue/normal/textarea.vue +19 -0
- package/src/vue/normal/tree-select.vue +24 -0
- package/vite.config.ts +17 -0
- package/.turbo/turbo-build.log +0 -527
- package/.turbo/turbo-check-types.log +0 -1
- package/scripts/build-vue-icons.ts +0 -25
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:68b112d42af5f61d gen:4 source:src/svg/normal/checkbox.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Checkbox' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="12"
|
|
9
|
+
height="12"
|
|
10
|
+
x="2"
|
|
11
|
+
y="2"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="2"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
fill="none"
|
|
19
|
+
stroke="currentColor"
|
|
20
|
+
stroke-linecap="round"
|
|
21
|
+
stroke-linejoin="round"
|
|
22
|
+
stroke-width="1.2"
|
|
23
|
+
d="m5 8 2 2 4-4"
|
|
24
|
+
/>
|
|
25
|
+
</svg>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:3bd9f277858a7ac2 gen:4 source:src/svg/normal/date-picker.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'DatePicker' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="12"
|
|
9
|
+
height="11"
|
|
10
|
+
x="2"
|
|
11
|
+
y="3"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M2 7h12M5 1v3m6-3v3" />
|
|
18
|
+
<circle cx="5" cy="9.5" r=".6" fill="currentColor" />
|
|
19
|
+
<circle cx="8" cy="9.5" r=".6" fill="currentColor" />
|
|
20
|
+
<circle cx="11" cy="9.5" r=".6" fill="currentColor" />
|
|
21
|
+
<circle cx="5" cy="12" r=".6" fill="currentColor" />
|
|
22
|
+
</svg>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:1fc711637f6db902 gen:4 source:src/svg/normal/date-range-picker.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'DateRangePicker' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="11"
|
|
10
|
+
x="1"
|
|
11
|
+
y="3"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M1 7h14M4 1v3m8-3v3" />
|
|
18
|
+
<rect width="8" height="2" x="4" y="9.5" fill="currentColor" rx="1" />
|
|
19
|
+
</svg>
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:4a04ae7666ad8aba gen:4 source:src/svg/normal/file-picker.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'FilePicker' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<path
|
|
8
|
+
fill="none"
|
|
9
|
+
stroke="currentColor"
|
|
10
|
+
stroke-linejoin="round"
|
|
11
|
+
stroke-width="1.2"
|
|
12
|
+
d="M1.5 3.5v9A1.5 1.5 0 0 0 3 14h10a1.5 1.5 0 0 0 1.5-1.5V5A1.5 1.5 0 0 0 13 3.5H8L6.5 2H3a1.5 1.5 0 0 0-1.5 1.5z"
|
|
13
|
+
/>
|
|
14
|
+
<path
|
|
15
|
+
fill="none"
|
|
16
|
+
stroke="currentColor"
|
|
17
|
+
stroke-linecap="round"
|
|
18
|
+
stroke-linejoin="round"
|
|
19
|
+
stroke-width="1.2"
|
|
20
|
+
d="M8 6.5V11M6 8.5l2-2 2 2"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:20012f8d7f6c23c8 gen:4 source:src/svg/normal/form.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Form' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="10"
|
|
10
|
+
x="1"
|
|
11
|
+
y="3"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
stroke="currentColor"
|
|
19
|
+
stroke-linecap="round"
|
|
20
|
+
stroke-width="1.2"
|
|
21
|
+
d="M3.5 6h2m2 0h5m-9 4h2m2 0h5"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:e44db37b1da5de90 gen:4 source:src/svg/normal/input.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Input' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="8"
|
|
10
|
+
x="1"
|
|
11
|
+
y="4"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M4 6v4" />
|
|
18
|
+
</svg>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:6f191e3005232311 gen:4 source:src/svg/normal/multi-select.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'MultiSelect' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="8"
|
|
10
|
+
x="1"
|
|
11
|
+
y="4"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<rect width="3" height="4" x="3" y="6" fill="none" stroke="currentColor" rx="1" />
|
|
18
|
+
<rect width="3" height="4" x="7" y="6" fill="none" stroke="currentColor" rx="1" />
|
|
19
|
+
<path
|
|
20
|
+
fill="none"
|
|
21
|
+
stroke="currentColor"
|
|
22
|
+
stroke-linecap="round"
|
|
23
|
+
stroke-linejoin="round"
|
|
24
|
+
stroke-width="1.2"
|
|
25
|
+
d="m11.5 7.5 1 1 1-1"
|
|
26
|
+
/>
|
|
27
|
+
</svg>
|
|
28
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:64979963b9c5fe7a gen:4 source:src/svg/normal/multi-tree-select.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'MultiTreeSelect' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<path
|
|
8
|
+
stroke="currentColor"
|
|
9
|
+
stroke-linecap="round"
|
|
10
|
+
stroke-width="1.2"
|
|
11
|
+
d="M3 2v12m0-8h3m-3 5h3"
|
|
12
|
+
/>
|
|
13
|
+
<rect width="3" height="3" x="7" y="4.5" fill="none" stroke="currentColor" rx=".5" />
|
|
14
|
+
<rect width="3" height="3" x="7" y="9.5" fill="none" stroke="currentColor" rx=".5" />
|
|
15
|
+
<path
|
|
16
|
+
fill="none"
|
|
17
|
+
stroke="currentColor"
|
|
18
|
+
stroke-linecap="round"
|
|
19
|
+
stroke-linejoin="round"
|
|
20
|
+
stroke-width="1.2"
|
|
21
|
+
d="m12.5 7.5 1 1 1-1"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:90df099f6bf6ba91 gen:4 source:src/svg/normal/number-input.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'NumberInput' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="8"
|
|
10
|
+
x="1"
|
|
11
|
+
y="4"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
fill="none"
|
|
19
|
+
stroke="currentColor"
|
|
20
|
+
stroke-linecap="round"
|
|
21
|
+
stroke-linejoin="round"
|
|
22
|
+
stroke-width="1.2"
|
|
23
|
+
d="m4.2 7.2.8-.7V10m3-3c0-.6.5-1.1 1.1-1.1s1.1.5 1.1 1.1c0 .5-.3.9-.6 1.2L8 10h3"
|
|
24
|
+
/>
|
|
25
|
+
</svg>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:f854bb4a31875425 gen:4 source:src/svg/normal/number-range-input.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'NumberRangeInput' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="6"
|
|
9
|
+
height="8"
|
|
10
|
+
x="1"
|
|
11
|
+
y="4"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<rect
|
|
18
|
+
width="6"
|
|
19
|
+
height="8"
|
|
20
|
+
x="9"
|
|
21
|
+
y="4"
|
|
22
|
+
fill="none"
|
|
23
|
+
stroke="currentColor"
|
|
24
|
+
stroke-width="1.2"
|
|
25
|
+
rx="1.5"
|
|
26
|
+
/>
|
|
27
|
+
<path
|
|
28
|
+
fill="none"
|
|
29
|
+
stroke="currentColor"
|
|
30
|
+
stroke-linecap="round"
|
|
31
|
+
stroke-linejoin="round"
|
|
32
|
+
stroke-width="1.2"
|
|
33
|
+
d="M7.5 8h1m-5.3-.8.8-.7V10m9-2.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0V10"
|
|
34
|
+
/>
|
|
35
|
+
</svg>
|
|
36
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:26fbc60c392e90d3 gen:4 source:src/svg/normal/password-input.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'PasswordInput' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="8"
|
|
10
|
+
x="1"
|
|
11
|
+
y="4"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<circle cx="5" cy="8" r="1" fill="currentColor" />
|
|
18
|
+
<circle cx="8" cy="8" r="1" fill="currentColor" />
|
|
19
|
+
<circle cx="11" cy="8" r="1" fill="currentColor" />
|
|
20
|
+
</svg>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:319c6022d6eb6d16 gen:4 source:src/svg/normal/radio.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Radio' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<circle cx="8" cy="8" r="6" fill="none" stroke="currentColor" stroke-width="1.2" />
|
|
8
|
+
<circle cx="8" cy="8" r="2.5" fill="currentColor" />
|
|
9
|
+
</svg>
|
|
10
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:4d8d6103d6221efb gen:4 source:src/svg/normal/select.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Select' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="8"
|
|
10
|
+
x="1"
|
|
11
|
+
y="4"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
fill="none"
|
|
19
|
+
stroke="currentColor"
|
|
20
|
+
stroke-linecap="round"
|
|
21
|
+
stroke-linejoin="round"
|
|
22
|
+
stroke-width="1.2"
|
|
23
|
+
d="M10.5 7.5 12 9l1.5-1.5"
|
|
24
|
+
/>
|
|
25
|
+
</svg>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:7e3fc8da8ac04f05 gen:4 source:src/svg/normal/slider.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Slider' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M1.5 8h13" />
|
|
8
|
+
<circle cx="6" cy="8" r="2.2" fill="currentColor" />
|
|
9
|
+
</svg>
|
|
10
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:f1c7a278d1335bcc gen:4 source:src/svg/normal/switch.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Switch' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="8"
|
|
10
|
+
x="1"
|
|
11
|
+
y="4"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="4"
|
|
16
|
+
/>
|
|
17
|
+
<circle cx="11" cy="8" r="2.2" fill="currentColor" />
|
|
18
|
+
</svg>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:060a9fb4049065ce gen:4 source:src/svg/normal/table.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Table' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="14"
|
|
10
|
+
x="1"
|
|
11
|
+
y="1"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="2"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
stroke="currentColor"
|
|
19
|
+
stroke-linecap="round"
|
|
20
|
+
stroke-width="1.2"
|
|
21
|
+
d="M1 5h14M1 10h14M5 1v14"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:114c772c658f8671 gen:4 source:src/svg/normal/textarea.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'Textarea' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<rect
|
|
8
|
+
width="14"
|
|
9
|
+
height="12"
|
|
10
|
+
x="1"
|
|
11
|
+
y="2"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.2"
|
|
15
|
+
rx="1.5"
|
|
16
|
+
/>
|
|
17
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M4 5.5h8m-8 3h5" />
|
|
18
|
+
</svg>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- @veltra/icons generated sha256:c2686fb6a1b34f86 gen:4 source:src/svg/normal/tree-select.svg -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
defineOptions({ name: 'TreeSelect' })
|
|
4
|
+
</script>
|
|
5
|
+
<template>
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
7
|
+
<path
|
|
8
|
+
stroke="currentColor"
|
|
9
|
+
stroke-linecap="round"
|
|
10
|
+
stroke-width="1.2"
|
|
11
|
+
d="M3 2v12m0-8h4m-4 5h4"
|
|
12
|
+
/>
|
|
13
|
+
<circle cx="9" cy="6" r="1" fill="currentColor" />
|
|
14
|
+
<circle cx="9" cy="11" r="1" fill="currentColor" />
|
|
15
|
+
<path
|
|
16
|
+
fill="none"
|
|
17
|
+
stroke="currentColor"
|
|
18
|
+
stroke-linecap="round"
|
|
19
|
+
stroke-linejoin="round"
|
|
20
|
+
stroke-width="1.2"
|
|
21
|
+
d="m12 7.5 1 1 1-1"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
</template>
|
package/vite.config.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import unpluginVue from 'unplugin-vue/rolldown'
|
|
2
|
+
import { defineConfig } from 'vite-plus'
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
pack: {
|
|
6
|
+
entry: ['src/index.ts', 'src/normal.ts', 'src/colorful.ts'],
|
|
7
|
+
platform: 'browser',
|
|
8
|
+
format: ['esm'],
|
|
9
|
+
unbundle: true,
|
|
10
|
+
sourcemap: true,
|
|
11
|
+
clean: true,
|
|
12
|
+
treeshake: true,
|
|
13
|
+
deps: { neverBundle: ['vue'] },
|
|
14
|
+
dts: { vue: true },
|
|
15
|
+
plugins: [unpluginVue({ isProduction: true })]
|
|
16
|
+
}
|
|
17
|
+
})
|