morya-ui 0.2.8 → 0.2.9
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/CHANGELOG.md +27 -0
- package/README.md +1 -0
- package/README.zh-CN.md +1 -0
- package/dist/{Button--RkQybU-.js → Button-DO5oukfg.js} +1 -1
- package/dist/Icon-B6IBrJ5S.js +606 -0
- package/dist/{Pagination-BKvR-RUW.js → Pagination-CUwCtWhz.js} +1 -1
- package/dist/accordion/style.css +26 -23
- package/dist/auto-complete/index.js +1 -1
- package/dist/auto-complete/style.css +64 -40
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/style.css +26 -23
- package/dist/badge/style.css +26 -23
- package/dist/block-ui/style.css +26 -23
- package/dist/breadcrumb/style.css +26 -23
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +26 -23
- package/dist/card/style.css +26 -23
- package/dist/carousel/index.js +1 -1
- package/dist/carousel/style.css +26 -23
- package/dist/cascade-select/index.js +1 -1
- package/dist/cascade-select/style.css +27 -24
- package/dist/checkbox/style.css +26 -23
- package/dist/chip/index.js +1 -1
- package/dist/chip/style.css +26 -23
- package/dist/command-menu/index.js +2 -2
- package/dist/command-menu/style.css +26 -23
- package/dist/components/AutoComplete/styles.css +38 -17
- package/dist/components/DatePicker/styles.css +65 -21
- package/dist/components/Icon/icon-categories.d.ts +21 -0
- package/dist/components/Icon/icon-categories.d.ts.map +1 -0
- package/dist/components/Icon/icons-tabler.d.ts +77 -0
- package/dist/components/Icon/icons-tabler.d.ts.map +1 -0
- package/dist/components/Icon/icons-types.d.ts +36 -0
- package/dist/components/Icon/icons-types.d.ts.map +1 -0
- package/dist/components/Icon/icons.d.ts +75 -32
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/IconField/IconField.vue.d.ts +3 -1
- package/dist/components/IconField/IconField.vue.d.ts.map +1 -1
- package/dist/components/IconField/styles.css +306 -31
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/styles.css +172 -33
- package/dist/components/InputNumber/styles.css +103 -40
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/styles.css +79 -79
- package/dist/components/Layout/LayoutContent.vue.d.ts +4 -8
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts +4 -6
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +2 -0
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -1
- package/dist/components/Layout/styles.css +7 -42
- package/dist/components/Layout/types.d.ts +4 -7
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +4 -1
- package/dist/components/Textarea/styles.css +15 -1
- package/dist/config-provider/style.css +198 -56
- package/dist/confirm-dialog/index.js +2 -2
- package/dist/confirm-dialog/style.css +26 -23
- package/dist/confirm-popup/index.js +2 -2
- package/dist/confirm-popup/style.css +26 -23
- package/dist/context-menu/index.js +2 -2
- package/dist/context-menu/style.css +26 -23
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +26 -23
- package/dist/date-picker/index.js +1 -1
- package/dist/date-picker/style.css +91 -44
- package/dist/dialog/index.js +2 -2
- package/dist/dialog/style.css +26 -23
- package/dist/divider/style.css +26 -23
- package/dist/dock/index.js +2 -2
- package/dist/dock/style.css +26 -23
- package/dist/drawer/index.js +1 -1
- package/dist/drawer/style.css +26 -23
- package/dist/dropdown/index.js +2 -2
- package/dist/dropdown/style.css +26 -23
- package/dist/empty/index.js +1 -1
- package/dist/empty/style.css +26 -23
- package/dist/fieldset/index.js +1 -1
- package/dist/fieldset/style.css +26 -23
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/style.css +26 -23
- package/dist/flex/style.css +26 -23
- package/dist/float-label/style.css +26 -23
- package/dist/fluid/style.css +26 -23
- package/dist/form/style.css +26 -23
- package/dist/gallery/index.js +1 -1
- package/dist/gallery/style.css +26 -23
- package/dist/grid/style.css +26 -23
- package/dist/icon/index.js +212 -2
- package/dist/icon/style.css +26 -23
- package/dist/icon-field/index.js +41 -7
- package/dist/icon-field/style.css +672 -54
- package/dist/icon-field/style.js +1 -0
- package/dist/{icon-xUOyawgJ.js → icon-iOBeyIRp.js} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3126 -2821
- package/dist/inplace/style.css +26 -23
- package/dist/input/index.js +78 -80
- package/dist/input/style.css +198 -56
- package/dist/input-color/style.css +26 -23
- package/dist/input-group/style.css +26 -23
- package/dist/input-number/index.js +1 -1
- package/dist/input-number/style.css +129 -63
- package/dist/input-otp/style.css +26 -23
- package/dist/input-password/index.js +83 -82
- package/dist/input-password/style.css +105 -102
- package/dist/input-tags/index.js +1 -1
- package/dist/input-tags/style.css +26 -23
- package/dist/knob/style.css +26 -23
- package/dist/label/style.css +26 -23
- package/dist/layout/index.js +60 -83
- package/dist/layout/style.css +33 -65
- package/dist/listbox/style.css +26 -23
- package/dist/loading/style.css +26 -23
- package/dist/mega-menu/index.js +2 -2
- package/dist/mega-menu/style.css +26 -23
- package/dist/menu/index.js +2 -2
- package/dist/menu/style.css +30 -24
- package/dist/menubar/index.js +2 -2
- package/dist/menubar/style.css +26 -23
- package/dist/message/index.js +1 -1
- package/dist/message/style.css +26 -23
- package/dist/meter-group/style.css +26 -23
- package/dist/order-list/index.js +1 -1
- package/dist/order-list/style.css +26 -23
- package/dist/page/index.js +1 -1
- package/dist/page/style.css +26 -23
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +26 -23
- package/dist/panel/index.js +1 -1
- package/dist/panel/style.css +26 -23
- package/dist/pick-list/index.js +1 -1
- package/dist/pick-list/style.css +26 -23
- package/dist/popover/style.css +26 -23
- package/dist/progress-bar/style.css +26 -23
- package/dist/progress-spinner/style.css +26 -23
- package/dist/radio/style.css +26 -23
- package/dist/rating/index.js +1 -1
- package/dist/rating/style.css +26 -23
- package/dist/result/index.js +1 -1
- package/dist/result/style.css +26 -23
- package/dist/scroll-top/index.js +1 -1
- package/dist/scroll-top/style.css +26 -23
- package/dist/scrollbar/style.css +26 -23
- package/dist/select/index.js +1 -1
- package/dist/select/style.css +27 -24
- package/dist/select-button/style.css +26 -23
- package/dist/shared/styles/control-suffix.css +1 -1
- package/dist/sidebar/index.js +2 -2
- package/dist/sidebar/style.css +26 -23
- package/dist/skeleton/style.css +26 -23
- package/dist/slider/style.css +26 -23
- package/dist/space/style.css +26 -23
- package/dist/speed-dial/index.js +2 -2
- package/dist/speed-dial/style.css +26 -23
- package/dist/split-button/index.js +1 -1
- package/dist/split-button/style.css +26 -23
- package/dist/splitter/style.css +26 -23
- package/dist/status/index.js +1 -1
- package/dist/status/style.css +26 -23
- package/dist/stepper/index.js +1 -1
- package/dist/stepper/style.css +26 -23
- package/dist/styles/base.css +26 -23
- package/dist/styles.css +1 -1
- package/dist/switch/style.css +26 -23
- package/dist/table/index.js +2 -2
- package/dist/table/style.css +26 -23
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/style.css +26 -23
- package/dist/tag/index.js +1 -1
- package/dist/tag/style.css +26 -23
- package/dist/terminal/style.css +26 -23
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/style.css +41 -24
- package/dist/tiered-menu/index.js +1 -1
- package/dist/tiered-menu/style.css +26 -23
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +26 -23
- package/dist/toast/index.js +1 -1
- package/dist/toast/style.css +26 -23
- package/dist/toggle-button/index.js +2 -2
- package/dist/toggle-button/style.css +26 -23
- package/dist/toolbar/style.css +26 -23
- package/dist/tooltip/style.css +26 -23
- package/dist/tree/index.js +1 -1
- package/dist/tree/style.css +26 -23
- package/dist/tree-select/index.js +1 -1
- package/dist/tree-select/style.css +27 -24
- package/dist/tree-table/index.js +1 -1
- package/dist/tree-table/style.css +26 -23
- package/dist/virtual-scroller/style.css +26 -23
- package/package.json +1 -1
- package/dist/Icon-DfpIfo2L.js +0 -521
package/dist/Icon-DfpIfo2L.js
DELETED
|
@@ -1,521 +0,0 @@
|
|
|
1
|
-
import { i as e } from "./types-DGuu4Eg4.js";
|
|
2
|
-
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s, renderList as c, renderSlot as l, useSlots as u } from "vue";
|
|
3
|
-
//#region src/components/Icon/icons.ts
|
|
4
|
-
var d = {
|
|
5
|
-
check: { primitives: [{
|
|
6
|
-
tag: "path",
|
|
7
|
-
d: "m3 8 3 3 7-7"
|
|
8
|
-
}] },
|
|
9
|
-
"check-circle": { primitives: [{
|
|
10
|
-
tag: "circle",
|
|
11
|
-
cx: 8,
|
|
12
|
-
cy: 8,
|
|
13
|
-
r: 5.5
|
|
14
|
-
}, {
|
|
15
|
-
tag: "path",
|
|
16
|
-
d: "m5.5 8.25 1.75 1.75 3.5-3.75"
|
|
17
|
-
}] },
|
|
18
|
-
close: { primitives: [{
|
|
19
|
-
tag: "path",
|
|
20
|
-
d: "m4 4 8 8M12 4l-8 8"
|
|
21
|
-
}] },
|
|
22
|
-
"x-circle": { primitives: [{
|
|
23
|
-
tag: "circle",
|
|
24
|
-
cx: 8,
|
|
25
|
-
cy: 8,
|
|
26
|
-
r: 5.5
|
|
27
|
-
}, {
|
|
28
|
-
tag: "path",
|
|
29
|
-
d: "m6 6 4 4M10 6l-4 4"
|
|
30
|
-
}] },
|
|
31
|
-
info: { primitives: [{
|
|
32
|
-
tag: "circle",
|
|
33
|
-
cx: 8,
|
|
34
|
-
cy: 8,
|
|
35
|
-
r: 5.5
|
|
36
|
-
}, {
|
|
37
|
-
tag: "path",
|
|
38
|
-
d: "M8 7v4M8 5.25h.01"
|
|
39
|
-
}] },
|
|
40
|
-
warning: { primitives: [{
|
|
41
|
-
tag: "path",
|
|
42
|
-
d: "M8 2.75 14.25 13.5H1.75L8 2.75Z"
|
|
43
|
-
}, {
|
|
44
|
-
tag: "path",
|
|
45
|
-
d: "M8 6.5v3.25M8 11.5h.01"
|
|
46
|
-
}] },
|
|
47
|
-
"alert-circle": { primitives: [{
|
|
48
|
-
tag: "circle",
|
|
49
|
-
cx: 8,
|
|
50
|
-
cy: 8,
|
|
51
|
-
r: 5.5
|
|
52
|
-
}, {
|
|
53
|
-
tag: "path",
|
|
54
|
-
d: "M8 5.25v4M8 11.25h.01"
|
|
55
|
-
}] },
|
|
56
|
-
"chevron-up": { primitives: [{
|
|
57
|
-
tag: "path",
|
|
58
|
-
d: "m4 10 4-4 4 4"
|
|
59
|
-
}] },
|
|
60
|
-
"chevron-down": { primitives: [{
|
|
61
|
-
tag: "path",
|
|
62
|
-
d: "m4 6 4 4 4-4"
|
|
63
|
-
}] },
|
|
64
|
-
"chevron-left": { primitives: [{
|
|
65
|
-
tag: "path",
|
|
66
|
-
d: "m10 4-4 4 4 4"
|
|
67
|
-
}] },
|
|
68
|
-
"chevron-right": { primitives: [{
|
|
69
|
-
tag: "path",
|
|
70
|
-
d: "m6 4 4 4-4 4"
|
|
71
|
-
}] },
|
|
72
|
-
"arrow-up": { primitives: [{
|
|
73
|
-
tag: "path",
|
|
74
|
-
d: "M8 12.5V3.5M4.5 7 8 3.5 11.5 7"
|
|
75
|
-
}] },
|
|
76
|
-
"arrow-down": { primitives: [{
|
|
77
|
-
tag: "path",
|
|
78
|
-
d: "M8 3.5v9M4.5 9 8 12.5 11.5 9"
|
|
79
|
-
}] },
|
|
80
|
-
"arrow-left": { primitives: [{
|
|
81
|
-
tag: "path",
|
|
82
|
-
d: "M12.5 8H3.5M7 4.5 3.5 8 7 11.5"
|
|
83
|
-
}] },
|
|
84
|
-
"arrow-right": { primitives: [{
|
|
85
|
-
tag: "path",
|
|
86
|
-
d: "M3.5 8h9M9 4.5 12.5 8 9 11.5"
|
|
87
|
-
}] },
|
|
88
|
-
plus: { primitives: [{
|
|
89
|
-
tag: "path",
|
|
90
|
-
d: "M8 3v10M3 8h10"
|
|
91
|
-
}] },
|
|
92
|
-
minus: { primitives: [{
|
|
93
|
-
tag: "path",
|
|
94
|
-
d: "M3 8h10"
|
|
95
|
-
}] },
|
|
96
|
-
search: { primitives: [{
|
|
97
|
-
tag: "circle",
|
|
98
|
-
cx: 7,
|
|
99
|
-
cy: 7,
|
|
100
|
-
r: 3.75
|
|
101
|
-
}, {
|
|
102
|
-
tag: "path",
|
|
103
|
-
d: "m10 10 3 3"
|
|
104
|
-
}] },
|
|
105
|
-
menu: { primitives: [{
|
|
106
|
-
tag: "path",
|
|
107
|
-
d: "M3 5h10M3 8h10M3 11h10"
|
|
108
|
-
}] },
|
|
109
|
-
more: { primitives: [
|
|
110
|
-
{
|
|
111
|
-
tag: "circle",
|
|
112
|
-
cx: 4,
|
|
113
|
-
cy: 8,
|
|
114
|
-
r: 1,
|
|
115
|
-
fill: "currentColor"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
tag: "circle",
|
|
119
|
-
cx: 8,
|
|
120
|
-
cy: 8,
|
|
121
|
-
r: 1,
|
|
122
|
-
fill: "currentColor"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
tag: "circle",
|
|
126
|
-
cx: 12,
|
|
127
|
-
cy: 8,
|
|
128
|
-
r: 1,
|
|
129
|
-
fill: "currentColor"
|
|
130
|
-
}
|
|
131
|
-
] },
|
|
132
|
-
"more-vertical": { primitives: [
|
|
133
|
-
{
|
|
134
|
-
tag: "circle",
|
|
135
|
-
cx: 8,
|
|
136
|
-
cy: 4,
|
|
137
|
-
r: 1,
|
|
138
|
-
fill: "currentColor"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
tag: "circle",
|
|
142
|
-
cx: 8,
|
|
143
|
-
cy: 8,
|
|
144
|
-
r: 1,
|
|
145
|
-
fill: "currentColor"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
tag: "circle",
|
|
149
|
-
cx: 8,
|
|
150
|
-
cy: 12,
|
|
151
|
-
r: 1,
|
|
152
|
-
fill: "currentColor"
|
|
153
|
-
}
|
|
154
|
-
] },
|
|
155
|
-
edit: { primitives: [{
|
|
156
|
-
tag: "path",
|
|
157
|
-
d: "m3 11.75-.5 2.75 2.75-.5L13 6.25 9.75 3 3 9.75v2Z"
|
|
158
|
-
}, {
|
|
159
|
-
tag: "path",
|
|
160
|
-
d: "m8.75 4 3.25 3.25"
|
|
161
|
-
}] },
|
|
162
|
-
trash: { primitives: [{
|
|
163
|
-
tag: "path",
|
|
164
|
-
d: "M3.5 5h9M6 5V3.5h4V5M5 5l.5 8h5l.5-8M6.75 7v4M9.25 7v4"
|
|
165
|
-
}] },
|
|
166
|
-
copy: { primitives: [{
|
|
167
|
-
tag: "rect",
|
|
168
|
-
x: 5.5,
|
|
169
|
-
y: 5.5,
|
|
170
|
-
width: 7,
|
|
171
|
-
height: 7,
|
|
172
|
-
rx: 1
|
|
173
|
-
}, {
|
|
174
|
-
tag: "path",
|
|
175
|
-
d: "M10.5 5.5V4.5a1 1 0 0 0-1-1h-5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1"
|
|
176
|
-
}] },
|
|
177
|
-
"external-link": { primitives: [{
|
|
178
|
-
tag: "path",
|
|
179
|
-
d: "M9 3.5h3.5V7M12.5 3.5 8 8"
|
|
180
|
-
}, {
|
|
181
|
-
tag: "path",
|
|
182
|
-
d: "M7 4.5H4.5a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V9"
|
|
183
|
-
}] },
|
|
184
|
-
download: { primitives: [{
|
|
185
|
-
tag: "path",
|
|
186
|
-
d: "M8 3v7.5M5 8l3 3 3-3"
|
|
187
|
-
}, {
|
|
188
|
-
tag: "path",
|
|
189
|
-
d: "M3.5 12.5h9"
|
|
190
|
-
}] },
|
|
191
|
-
upload: { primitives: [{
|
|
192
|
-
tag: "path",
|
|
193
|
-
d: "M8 13V5.5M5 8l3-3 3 3"
|
|
194
|
-
}, {
|
|
195
|
-
tag: "path",
|
|
196
|
-
d: "M3.5 12.5h9"
|
|
197
|
-
}] },
|
|
198
|
-
filter: { primitives: [{
|
|
199
|
-
tag: "path",
|
|
200
|
-
d: "M2.5 3.5h11l-4 5v4l-3 1.5v-5.5l-4-5Z"
|
|
201
|
-
}] },
|
|
202
|
-
settings: { primitives: [{
|
|
203
|
-
tag: "circle",
|
|
204
|
-
cx: 8,
|
|
205
|
-
cy: 8,
|
|
206
|
-
r: 2
|
|
207
|
-
}, {
|
|
208
|
-
tag: "path",
|
|
209
|
-
d: "M8 2.5v1.2M8 12.3v1.2M2.5 8h1.2M12.3 8h1.2M4.1 4.1l.85.85M11.05 11.05l.85.85M4.1 11.9l.85-.85M11.05 4.95l.85-.85"
|
|
210
|
-
}] },
|
|
211
|
-
home: { primitives: [{
|
|
212
|
-
tag: "path",
|
|
213
|
-
d: "M2.5 7.5 8 3l5.5 4.5V13a.75.75 0 0 1-.75.75H3.25A.75.75 0 0 1 2.5 13V7.5Z"
|
|
214
|
-
}] },
|
|
215
|
-
user: { primitives: [{
|
|
216
|
-
tag: "circle",
|
|
217
|
-
cx: 8,
|
|
218
|
-
cy: 5.5,
|
|
219
|
-
r: 2.25
|
|
220
|
-
}, {
|
|
221
|
-
tag: "path",
|
|
222
|
-
d: "M3.5 13.25c0-2.35 2-4.25 4.5-4.25s4.5 1.9 4.5 4.25"
|
|
223
|
-
}] },
|
|
224
|
-
calendar: { primitives: [{
|
|
225
|
-
tag: "rect",
|
|
226
|
-
x: 2.5,
|
|
227
|
-
y: 3.5,
|
|
228
|
-
width: 11,
|
|
229
|
-
height: 10,
|
|
230
|
-
rx: 1
|
|
231
|
-
}, {
|
|
232
|
-
tag: "path",
|
|
233
|
-
d: "M5 2.5v2M11 2.5v2M2.5 6.5h11"
|
|
234
|
-
}] },
|
|
235
|
-
clock: { primitives: [{
|
|
236
|
-
tag: "circle",
|
|
237
|
-
cx: 8,
|
|
238
|
-
cy: 8,
|
|
239
|
-
r: 5.5
|
|
240
|
-
}, {
|
|
241
|
-
tag: "path",
|
|
242
|
-
d: "M8 5.25V8l2 1.5"
|
|
243
|
-
}] },
|
|
244
|
-
eye: { primitives: [{
|
|
245
|
-
tag: "path",
|
|
246
|
-
d: "M1.75 8S3.75 3.75 8 3.75 14.25 8 14.25 8 12.25 12.25 8 12.25 1.75 8 1.75 8Z"
|
|
247
|
-
}, {
|
|
248
|
-
tag: "circle",
|
|
249
|
-
cx: 8,
|
|
250
|
-
cy: 8,
|
|
251
|
-
r: 1.75
|
|
252
|
-
}] },
|
|
253
|
-
"eye-off": { primitives: [
|
|
254
|
-
{
|
|
255
|
-
tag: "path",
|
|
256
|
-
d: "m2.5 2.5 11 11M6.2 6.35A2.25 2.25 0 0 0 9.65 9.8"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
tag: "path",
|
|
260
|
-
d: "M4.1 4.45C2.7 5.5 1.75 8 1.75 8S3.75 12.25 8 12.25c1.15 0 2.15-.3 3-.75"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
tag: "path",
|
|
264
|
-
d: "M11.35 9.4C12.95 8.35 14.25 8 14.25 8S12.25 3.75 8 3.75c-.55 0-1.05.05-1.5.15"
|
|
265
|
-
}
|
|
266
|
-
] },
|
|
267
|
-
lock: { primitives: [{
|
|
268
|
-
tag: "rect",
|
|
269
|
-
x: 3.5,
|
|
270
|
-
y: 7,
|
|
271
|
-
width: 9,
|
|
272
|
-
height: 6.5,
|
|
273
|
-
rx: 1
|
|
274
|
-
}, {
|
|
275
|
-
tag: "path",
|
|
276
|
-
d: "M5.5 7V5.25a2.5 2.5 0 0 1 5 0V7"
|
|
277
|
-
}] },
|
|
278
|
-
unlock: { primitives: [{
|
|
279
|
-
tag: "rect",
|
|
280
|
-
x: 3.5,
|
|
281
|
-
y: 7,
|
|
282
|
-
width: 9,
|
|
283
|
-
height: 6.5,
|
|
284
|
-
rx: 1
|
|
285
|
-
}, {
|
|
286
|
-
tag: "path",
|
|
287
|
-
d: "M5.5 7V5.25a2.5 2.5 0 0 1 4.85-.75"
|
|
288
|
-
}] },
|
|
289
|
-
link: { primitives: [
|
|
290
|
-
{
|
|
291
|
-
tag: "path",
|
|
292
|
-
d: "M6.5 9.5 5.25 10.75a2.25 2.25 0 0 1-3.18-3.18L3.75 6"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
tag: "path",
|
|
296
|
-
d: "M9.5 6.5 10.75 5.25a2.25 2.25 0 1 1 3.18 3.18L12.25 10"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
tag: "path",
|
|
300
|
-
d: "m6.5 9.5 3-3"
|
|
301
|
-
}
|
|
302
|
-
] },
|
|
303
|
-
refresh: { primitives: [{
|
|
304
|
-
tag: "path",
|
|
305
|
-
d: "M13 8a5 5 0 1 1-1.4-3.4"
|
|
306
|
-
}, {
|
|
307
|
-
tag: "path",
|
|
308
|
-
d: "M13 3.5V6.5H10"
|
|
309
|
-
}] },
|
|
310
|
-
loader: {
|
|
311
|
-
spin: !0,
|
|
312
|
-
primitives: [{
|
|
313
|
-
tag: "path",
|
|
314
|
-
d: "M8 2.75a5.25 5.25 0 1 1-4.55 2.63"
|
|
315
|
-
}]
|
|
316
|
-
},
|
|
317
|
-
star: { primitives: [{
|
|
318
|
-
tag: "path",
|
|
319
|
-
d: "m8 2.5 1.55 3.15 3.45.5-2.5 2.45.6 3.45L8 10.4l-3.1 1.65.6-3.45-2.5-2.45 3.45-.5L8 2.5Z"
|
|
320
|
-
}] },
|
|
321
|
-
heart: { primitives: [{
|
|
322
|
-
tag: "path",
|
|
323
|
-
d: "M8 13.25S2.75 9.75 2.75 6.4A2.65 2.65 0 0 1 8 5.1a2.65 2.65 0 0 1 5.25 1.3c0 3.35-5.25 6.85-5.25 6.85Z"
|
|
324
|
-
}] },
|
|
325
|
-
grip: { primitives: [
|
|
326
|
-
{
|
|
327
|
-
tag: "circle",
|
|
328
|
-
cx: 5.5,
|
|
329
|
-
cy: 4.5,
|
|
330
|
-
r: 1,
|
|
331
|
-
fill: "currentColor"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
tag: "circle",
|
|
335
|
-
cx: 10.5,
|
|
336
|
-
cy: 4.5,
|
|
337
|
-
r: 1,
|
|
338
|
-
fill: "currentColor"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
tag: "circle",
|
|
342
|
-
cx: 5.5,
|
|
343
|
-
cy: 8,
|
|
344
|
-
r: 1,
|
|
345
|
-
fill: "currentColor"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
tag: "circle",
|
|
349
|
-
cx: 10.5,
|
|
350
|
-
cy: 8,
|
|
351
|
-
r: 1,
|
|
352
|
-
fill: "currentColor"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
tag: "circle",
|
|
356
|
-
cx: 5.5,
|
|
357
|
-
cy: 11.5,
|
|
358
|
-
r: 1,
|
|
359
|
-
fill: "currentColor"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
tag: "circle",
|
|
363
|
-
cx: 10.5,
|
|
364
|
-
cy: 11.5,
|
|
365
|
-
r: 1,
|
|
366
|
-
fill: "currentColor"
|
|
367
|
-
}
|
|
368
|
-
] },
|
|
369
|
-
sort: { primitives: [{
|
|
370
|
-
tag: "path",
|
|
371
|
-
d: "M8 3.5v4M5.5 7 8 3.5 10.5 7"
|
|
372
|
-
}, {
|
|
373
|
-
tag: "path",
|
|
374
|
-
d: "M8 12.5v-4M5.5 9 8 12.5 10.5 9"
|
|
375
|
-
}] },
|
|
376
|
-
maximize: { primitives: [{
|
|
377
|
-
tag: "rect",
|
|
378
|
-
x: 3.5,
|
|
379
|
-
y: 3.5,
|
|
380
|
-
width: 9,
|
|
381
|
-
height: 9,
|
|
382
|
-
rx: .75
|
|
383
|
-
}] },
|
|
384
|
-
restore: { primitives: [{
|
|
385
|
-
tag: "rect",
|
|
386
|
-
x: 3.5,
|
|
387
|
-
y: 5.5,
|
|
388
|
-
width: 7,
|
|
389
|
-
height: 7,
|
|
390
|
-
rx: .75
|
|
391
|
-
}, {
|
|
392
|
-
tag: "path",
|
|
393
|
-
d: "M5.5 3.5h5.5V9"
|
|
394
|
-
}] },
|
|
395
|
-
mail: { primitives: [{
|
|
396
|
-
tag: "rect",
|
|
397
|
-
x: 2.5,
|
|
398
|
-
y: 4.5,
|
|
399
|
-
width: 11,
|
|
400
|
-
height: 7.5,
|
|
401
|
-
rx: 1
|
|
402
|
-
}, {
|
|
403
|
-
tag: "path",
|
|
404
|
-
d: "M2.5 5.75 8 9.25l5.5-3.5"
|
|
405
|
-
}] },
|
|
406
|
-
shield: { primitives: [{
|
|
407
|
-
tag: "path",
|
|
408
|
-
d: "M8 2.25 13.25 4.5V8c0 2.85-2.1 4.85-5.25 5.75C4.85 12.85 2.75 10.85 2.75 8V4.5L8 2.25Z"
|
|
409
|
-
}] },
|
|
410
|
-
book: { primitives: [{
|
|
411
|
-
tag: "path",
|
|
412
|
-
d: "M4 3.5h7a1 1 0 0 1 1 1v9.5H5a1 1 0 0 0-1 1V3.5Z"
|
|
413
|
-
}, {
|
|
414
|
-
tag: "path",
|
|
415
|
-
d: "M5 3.5h7v9.5"
|
|
416
|
-
}] },
|
|
417
|
-
"chart-bar": { primitives: [{
|
|
418
|
-
tag: "path",
|
|
419
|
-
d: "M4 12V7M8 12V4M12 12V9"
|
|
420
|
-
}, {
|
|
421
|
-
tag: "path",
|
|
422
|
-
d: "M3 12.5h10"
|
|
423
|
-
}] },
|
|
424
|
-
database: { primitives: [
|
|
425
|
-
{
|
|
426
|
-
tag: "path",
|
|
427
|
-
d: "M3.5 5.25c0-1.35 2.015-2.25 4.5-2.25s4.5.9 4.5 2.25-2.015 2.25-4.5 2.25-4.5-.9-4.5-2.25Z"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
tag: "path",
|
|
431
|
-
d: "M3.5 8.25v2.75c0 1.35 2.015 2.25 4.5 2.25s4.5-.9 4.5-2.25V8.25"
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
tag: "path",
|
|
435
|
-
d: "M3.5 8.25c0 1.35 2.015 2.25 4.5 2.25s4.5-.9 4.5-2.25"
|
|
436
|
-
}
|
|
437
|
-
] }
|
|
438
|
-
}, f = Object.keys(d);
|
|
439
|
-
function p(e) {
|
|
440
|
-
return e in d;
|
|
441
|
-
}
|
|
442
|
-
function m(e) {
|
|
443
|
-
return d[e];
|
|
444
|
-
}
|
|
445
|
-
//#endregion
|
|
446
|
-
//#region src/components/Icon/Icon.vue?vue&type=script&setup=true&lang.ts
|
|
447
|
-
var h = ["aria-label", "aria-hidden"], g = {
|
|
448
|
-
key: 1,
|
|
449
|
-
viewBox: "0 0 16 16",
|
|
450
|
-
fill: "none",
|
|
451
|
-
stroke: "currentColor",
|
|
452
|
-
"stroke-width": "1.8",
|
|
453
|
-
"stroke-linecap": "round",
|
|
454
|
-
"stroke-linejoin": "round"
|
|
455
|
-
}, _ = ["d"], v = [
|
|
456
|
-
"cx",
|
|
457
|
-
"cy",
|
|
458
|
-
"r",
|
|
459
|
-
"fill"
|
|
460
|
-
], y = [
|
|
461
|
-
"x1",
|
|
462
|
-
"y1",
|
|
463
|
-
"x2",
|
|
464
|
-
"y2"
|
|
465
|
-
], b = ["points"], x = [
|
|
466
|
-
"x",
|
|
467
|
-
"y",
|
|
468
|
-
"width",
|
|
469
|
-
"height",
|
|
470
|
-
"rx"
|
|
471
|
-
], S = /* @__PURE__ */ a({
|
|
472
|
-
__name: "Icon",
|
|
473
|
-
props: {
|
|
474
|
-
name: {},
|
|
475
|
-
label: {},
|
|
476
|
-
size: { default: "md" }
|
|
477
|
-
},
|
|
478
|
-
setup(a) {
|
|
479
|
-
let d = a, f = u(), S = n(() => e(d.size)), C = n(() => {
|
|
480
|
-
if (!(!d.name || !p(d.name))) return m(d.name);
|
|
481
|
-
}), w = n(() => !!f.default), T = n(() => w.value || !!C.value), E = n(() => [
|
|
482
|
-
"m-icon",
|
|
483
|
-
`m-icon--${S.value}`,
|
|
484
|
-
{ "m-icon--spin": C.value?.spin }
|
|
485
|
-
]);
|
|
486
|
-
return (e, n) => T.value ? (s(), i("span", {
|
|
487
|
-
key: 0,
|
|
488
|
-
class: o(E.value),
|
|
489
|
-
"aria-label": a.label,
|
|
490
|
-
"aria-hidden": a.label ? void 0 : "true",
|
|
491
|
-
role: "img"
|
|
492
|
-
}, [w.value ? l(e.$slots, "default", {}, void 0, void 0, 0) : C.value ? (s(), i("svg", g, [(s(!0), i(t, null, c(C.value.primitives, (e, n) => (s(), i(t, { key: n }, [e.tag === "path" ? (s(), i("path", {
|
|
493
|
-
key: 0,
|
|
494
|
-
d: e.d
|
|
495
|
-
}, null, 8, _)) : e.tag === "circle" ? (s(), i("circle", {
|
|
496
|
-
key: 1,
|
|
497
|
-
cx: e.cx,
|
|
498
|
-
cy: e.cy,
|
|
499
|
-
r: e.r,
|
|
500
|
-
fill: e.fill ?? "none"
|
|
501
|
-
}, null, 8, v)) : e.tag === "line" ? (s(), i("line", {
|
|
502
|
-
key: 2,
|
|
503
|
-
x1: e.x1,
|
|
504
|
-
y1: e.y1,
|
|
505
|
-
x2: e.x2,
|
|
506
|
-
y2: e.y2
|
|
507
|
-
}, null, 8, y)) : e.tag === "polyline" ? (s(), i("polyline", {
|
|
508
|
-
key: 3,
|
|
509
|
-
points: e.points
|
|
510
|
-
}, null, 8, b)) : e.tag === "rect" ? (s(), i("rect", {
|
|
511
|
-
key: 4,
|
|
512
|
-
x: e.x,
|
|
513
|
-
y: e.y,
|
|
514
|
-
width: e.width,
|
|
515
|
-
height: e.height,
|
|
516
|
-
rx: e.rx
|
|
517
|
-
}, null, 8, x)) : r("", !0)], 64))), 128))])) : r("", !0)], 10, h)) : r("", !0);
|
|
518
|
-
}
|
|
519
|
-
});
|
|
520
|
-
//#endregion
|
|
521
|
-
export { p as a, d as i, m as n, f as r, S as t };
|