@dou-ui/nuxt 0.0.0-stage → 0.1.0-alpha.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.
- package/LICENSE +21 -0
- package/README.md +17 -2
- package/dist/module.js +1463 -0
- package/dist/types/module.d.ts +69 -0
- package/package.json +54 -4
package/dist/module.js
ADDED
|
@@ -0,0 +1,1463 @@
|
|
|
1
|
+
// src/module.ts
|
|
2
|
+
import {
|
|
3
|
+
addComponent,
|
|
4
|
+
addImports,
|
|
5
|
+
addPluginTemplate,
|
|
6
|
+
addTemplate,
|
|
7
|
+
defineNuxtModule,
|
|
8
|
+
resolvePath,
|
|
9
|
+
useLogger
|
|
10
|
+
} from "@nuxt/kit";
|
|
11
|
+
|
|
12
|
+
// ../resolver/src/generated/names.ts
|
|
13
|
+
var componentDirs = {
|
|
14
|
+
DouAffix: "affix",
|
|
15
|
+
DouAlert: "alert",
|
|
16
|
+
DouAnchor: "anchor",
|
|
17
|
+
DouAutocomplete: "autocomplete",
|
|
18
|
+
DouAvatar: "avatar",
|
|
19
|
+
DouAvatarGroup: "avatar",
|
|
20
|
+
DouBackTop: "back-top",
|
|
21
|
+
DouBadge: "badge",
|
|
22
|
+
DouBanner: "banner",
|
|
23
|
+
DouBreadcrumb: "breadcrumb",
|
|
24
|
+
DouButton: "button",
|
|
25
|
+
DouCalendar: "date-picker",
|
|
26
|
+
DouCalendarHeatmap: "calendar-heatmap",
|
|
27
|
+
DouCalendarView: "calendar-view",
|
|
28
|
+
DouCard: "card",
|
|
29
|
+
DouCarousel: "carousel",
|
|
30
|
+
DouCarouselItem: "carousel",
|
|
31
|
+
DouCascader: "cascader",
|
|
32
|
+
DouChatArtifact: "chat-artifact",
|
|
33
|
+
DouChatAttachments: "chat-attachments",
|
|
34
|
+
DouChatBubble: "chat-bubble",
|
|
35
|
+
DouChatCitation: "chat-sources",
|
|
36
|
+
DouChatConfirm: "chat-confirm",
|
|
37
|
+
DouChatContextMeter: "chat-context-meter",
|
|
38
|
+
DouChatInput: "chat-input",
|
|
39
|
+
DouChatList: "chat-list",
|
|
40
|
+
DouChatMessage: "chat-message",
|
|
41
|
+
DouChatPlan: "chat-plan",
|
|
42
|
+
DouChatReasoning: "chat-reasoning",
|
|
43
|
+
DouChatSources: "chat-sources",
|
|
44
|
+
DouChatSteps: "chat-steps",
|
|
45
|
+
DouChatSuggestions: "chat-suggestions",
|
|
46
|
+
DouChatToolCall: "chat-tool-call",
|
|
47
|
+
DouCheckTag: "check-tag",
|
|
48
|
+
DouCheckTagGroup: "check-tag",
|
|
49
|
+
DouCheckbox: "checkbox",
|
|
50
|
+
DouCheckboxGroup: "checkbox",
|
|
51
|
+
DouCodeBlock: "code-block",
|
|
52
|
+
DouCollapse: "collapse",
|
|
53
|
+
DouCollapseItem: "collapse",
|
|
54
|
+
DouCollapseTransition: "collapse",
|
|
55
|
+
DouColorModeButton: "color-mode",
|
|
56
|
+
DouColorModeSelect: "color-mode",
|
|
57
|
+
DouColorModeSwitch: "color-mode",
|
|
58
|
+
DouColorPanel: "color-panel",
|
|
59
|
+
DouColorPicker: "color-picker",
|
|
60
|
+
DouCommand: "command",
|
|
61
|
+
DouCommandDialog: "command",
|
|
62
|
+
DouCommentThread: "comment-thread",
|
|
63
|
+
DouConfigProvider: "config-provider",
|
|
64
|
+
DouContextMenu: "context-menu",
|
|
65
|
+
DouCopyButton: "copy-button",
|
|
66
|
+
DouCountdown: "countdown",
|
|
67
|
+
DouDatePicker: "date-picker",
|
|
68
|
+
DouDescriptions: "descriptions",
|
|
69
|
+
DouDescriptionsItem: "descriptions",
|
|
70
|
+
DouDialog: "dialog",
|
|
71
|
+
DouDivider: "divider",
|
|
72
|
+
DouDrawer: "drawer",
|
|
73
|
+
DouDropdown: "dropdown",
|
|
74
|
+
DouDropdownButton: "dropdown",
|
|
75
|
+
DouDropdownItem: "dropdown",
|
|
76
|
+
DouDropdownRadioGroup: "dropdown",
|
|
77
|
+
DouDropdownSub: "dropdown",
|
|
78
|
+
DouEditable: "editable",
|
|
79
|
+
DouEllipsis: "ellipsis",
|
|
80
|
+
DouEmpty: "empty",
|
|
81
|
+
DouFieldGroup: "field-group",
|
|
82
|
+
DouFieldGroupText: "field-group",
|
|
83
|
+
DouFindReplace: "find-replace",
|
|
84
|
+
DouForm: "form",
|
|
85
|
+
DouFormItem: "form",
|
|
86
|
+
DouGrid: "grid",
|
|
87
|
+
DouGridItem: "grid",
|
|
88
|
+
DouHighlight: "highlight",
|
|
89
|
+
DouIcon: "icon",
|
|
90
|
+
DouImage: "image",
|
|
91
|
+
DouImageCropper: "image-cropper",
|
|
92
|
+
DouImagePreview: "image",
|
|
93
|
+
DouInfiniteScroll: "infinite-scroll",
|
|
94
|
+
DouInput: "input",
|
|
95
|
+
DouInputDate: "input-date",
|
|
96
|
+
DouInputNumber: "input-number",
|
|
97
|
+
DouInputOtp: "input-otp",
|
|
98
|
+
DouInputTag: "input-tag",
|
|
99
|
+
DouInputTime: "input-time",
|
|
100
|
+
DouKbd: "kbd",
|
|
101
|
+
DouLayout: "layout",
|
|
102
|
+
DouLayoutAside: "layout",
|
|
103
|
+
DouLayoutAsideTrigger: "layout",
|
|
104
|
+
DouLayoutFooter: "layout",
|
|
105
|
+
DouLayoutHeader: "layout",
|
|
106
|
+
DouLayoutMain: "layout",
|
|
107
|
+
DouLink: "link",
|
|
108
|
+
DouListbox: "listbox",
|
|
109
|
+
DouLoading: "loading",
|
|
110
|
+
DouMarquee: "marquee",
|
|
111
|
+
DouMasonry: "masonry",
|
|
112
|
+
DouMenu: "menu",
|
|
113
|
+
DouMenubar: "menubar",
|
|
114
|
+
DouMenubarMenu: "menubar",
|
|
115
|
+
DouNodeGraph: "node-graph",
|
|
116
|
+
DouNodeGraphLegend: "node-graph",
|
|
117
|
+
DouPageHeader: "page-header",
|
|
118
|
+
DouPagination: "pagination",
|
|
119
|
+
DouPopconfirm: "popconfirm",
|
|
120
|
+
DouPopover: "popover",
|
|
121
|
+
DouProgress: "progress",
|
|
122
|
+
DouProgressGroup: "progress-group",
|
|
123
|
+
DouQrcode: "qrcode",
|
|
124
|
+
DouRadio: "radio",
|
|
125
|
+
DouRadioGroup: "radio",
|
|
126
|
+
DouRate: "rate",
|
|
127
|
+
DouRelativeTime: "relative-time",
|
|
128
|
+
DouResult: "result",
|
|
129
|
+
DouScrollbar: "scrollbar",
|
|
130
|
+
DouSegmentedControl: "segmented-control",
|
|
131
|
+
DouSelect: "select",
|
|
132
|
+
DouShimmer: "shimmer",
|
|
133
|
+
DouSkeleton: "skeleton",
|
|
134
|
+
DouSlider: "slider",
|
|
135
|
+
DouSortable: "sortable",
|
|
136
|
+
DouSortableHandle: "sortable",
|
|
137
|
+
DouSpace: "space",
|
|
138
|
+
DouSparkline: "sparkline",
|
|
139
|
+
DouSpinner: "spinner",
|
|
140
|
+
DouSplitter: "splitter",
|
|
141
|
+
DouStatistic: "statistic",
|
|
142
|
+
DouSteps: "steps",
|
|
143
|
+
DouStreamText: "stream-text",
|
|
144
|
+
DouSwitch: "switch",
|
|
145
|
+
DouTabPanel: "tabs",
|
|
146
|
+
DouTable: "table",
|
|
147
|
+
DouTabs: "tabs",
|
|
148
|
+
DouTag: "tag",
|
|
149
|
+
DouText: "text",
|
|
150
|
+
DouTextarea: "textarea",
|
|
151
|
+
DouTimePicker: "time-picker",
|
|
152
|
+
DouTimeline: "timeline",
|
|
153
|
+
DouTimelineItem: "timeline",
|
|
154
|
+
DouToastViewport: "toast",
|
|
155
|
+
DouToggle: "toggle",
|
|
156
|
+
DouToggleGroup: "toggle",
|
|
157
|
+
DouToolbar: "toolbar",
|
|
158
|
+
DouToolbarSeparator: "toolbar",
|
|
159
|
+
DouTooltip: "tooltip",
|
|
160
|
+
DouTour: "tour",
|
|
161
|
+
DouTransfer: "transfer",
|
|
162
|
+
DouTree: "tree",
|
|
163
|
+
DouTreeSelect: "tree-select",
|
|
164
|
+
DouUpload: "upload",
|
|
165
|
+
DouUser: "user",
|
|
166
|
+
DouVirtualList: "virtual-list",
|
|
167
|
+
DouWatermark: "watermark"
|
|
168
|
+
};
|
|
169
|
+
var packageComponents = {
|
|
170
|
+
DouChart: {
|
|
171
|
+
package: "@dou-ui/chart",
|
|
172
|
+
from: "@dou-ui/chart",
|
|
173
|
+
style: "@dou-ui/chart/style"
|
|
174
|
+
},
|
|
175
|
+
DouChartArea: {
|
|
176
|
+
package: "@dou-ui/chart",
|
|
177
|
+
from: "@dou-ui/chart",
|
|
178
|
+
style: "@dou-ui/chart/style"
|
|
179
|
+
},
|
|
180
|
+
DouChartAxis: {
|
|
181
|
+
package: "@dou-ui/chart",
|
|
182
|
+
from: "@dou-ui/chart",
|
|
183
|
+
style: "@dou-ui/chart/style"
|
|
184
|
+
},
|
|
185
|
+
DouChartBar: {
|
|
186
|
+
package: "@dou-ui/chart",
|
|
187
|
+
from: "@dou-ui/chart",
|
|
188
|
+
style: "@dou-ui/chart/style"
|
|
189
|
+
},
|
|
190
|
+
DouChartBoxplot: {
|
|
191
|
+
package: "@dou-ui/chart",
|
|
192
|
+
from: "@dou-ui/chart",
|
|
193
|
+
style: "@dou-ui/chart/style"
|
|
194
|
+
},
|
|
195
|
+
DouChartBrush: {
|
|
196
|
+
package: "@dou-ui/chart",
|
|
197
|
+
from: "@dou-ui/chart",
|
|
198
|
+
style: "@dou-ui/chart/style"
|
|
199
|
+
},
|
|
200
|
+
DouChartFunnel: {
|
|
201
|
+
package: "@dou-ui/chart",
|
|
202
|
+
from: "@dou-ui/chart",
|
|
203
|
+
style: "@dou-ui/chart/style"
|
|
204
|
+
},
|
|
205
|
+
DouChartGauge: {
|
|
206
|
+
package: "@dou-ui/chart",
|
|
207
|
+
from: "@dou-ui/chart",
|
|
208
|
+
style: "@dou-ui/chart/style"
|
|
209
|
+
},
|
|
210
|
+
DouChartHeatmap: {
|
|
211
|
+
package: "@dou-ui/chart",
|
|
212
|
+
from: "@dou-ui/chart",
|
|
213
|
+
style: "@dou-ui/chart/style"
|
|
214
|
+
},
|
|
215
|
+
DouChartHistogram: {
|
|
216
|
+
package: "@dou-ui/chart",
|
|
217
|
+
from: "@dou-ui/chart",
|
|
218
|
+
style: "@dou-ui/chart/style"
|
|
219
|
+
},
|
|
220
|
+
DouChartLine: {
|
|
221
|
+
package: "@dou-ui/chart",
|
|
222
|
+
from: "@dou-ui/chart",
|
|
223
|
+
style: "@dou-ui/chart/style"
|
|
224
|
+
},
|
|
225
|
+
DouChartMarker: {
|
|
226
|
+
package: "@dou-ui/chart",
|
|
227
|
+
from: "@dou-ui/chart",
|
|
228
|
+
style: "@dou-ui/chart/style"
|
|
229
|
+
},
|
|
230
|
+
DouChartPie: {
|
|
231
|
+
package: "@dou-ui/chart",
|
|
232
|
+
from: "@dou-ui/chart",
|
|
233
|
+
style: "@dou-ui/chart/style"
|
|
234
|
+
},
|
|
235
|
+
DouChartRadar: {
|
|
236
|
+
package: "@dou-ui/chart",
|
|
237
|
+
from: "@dou-ui/chart",
|
|
238
|
+
style: "@dou-ui/chart/style"
|
|
239
|
+
},
|
|
240
|
+
DouChartRange: {
|
|
241
|
+
package: "@dou-ui/chart",
|
|
242
|
+
from: "@dou-ui/chart",
|
|
243
|
+
style: "@dou-ui/chart/style"
|
|
244
|
+
},
|
|
245
|
+
DouChartScatter: {
|
|
246
|
+
package: "@dou-ui/chart",
|
|
247
|
+
from: "@dou-ui/chart",
|
|
248
|
+
style: "@dou-ui/chart/style"
|
|
249
|
+
},
|
|
250
|
+
DouChartSunburst: {
|
|
251
|
+
package: "@dou-ui/chart",
|
|
252
|
+
from: "@dou-ui/chart",
|
|
253
|
+
style: "@dou-ui/chart/style"
|
|
254
|
+
},
|
|
255
|
+
DouChartTooltip: {
|
|
256
|
+
package: "@dou-ui/chart",
|
|
257
|
+
from: "@dou-ui/chart",
|
|
258
|
+
style: "@dou-ui/chart/style"
|
|
259
|
+
},
|
|
260
|
+
DouChartTreemap: {
|
|
261
|
+
package: "@dou-ui/chart",
|
|
262
|
+
from: "@dou-ui/chart",
|
|
263
|
+
style: "@dou-ui/chart/style"
|
|
264
|
+
},
|
|
265
|
+
DouChartWaterfall: {
|
|
266
|
+
package: "@dou-ui/chart",
|
|
267
|
+
from: "@dou-ui/chart",
|
|
268
|
+
style: "@dou-ui/chart/style"
|
|
269
|
+
},
|
|
270
|
+
DouChartZoom: {
|
|
271
|
+
package: "@dou-ui/chart",
|
|
272
|
+
from: "@dou-ui/chart",
|
|
273
|
+
style: "@dou-ui/chart/style"
|
|
274
|
+
},
|
|
275
|
+
DouCodeDiff: {
|
|
276
|
+
package: "@dou-ui/code",
|
|
277
|
+
from: "@dou-ui/code",
|
|
278
|
+
style: "@dou-ui/code/style"
|
|
279
|
+
},
|
|
280
|
+
DouCodeEditor: {
|
|
281
|
+
package: "@dou-ui/code",
|
|
282
|
+
from: "@dou-ui/code",
|
|
283
|
+
style: "@dou-ui/code/style"
|
|
284
|
+
},
|
|
285
|
+
DouCodeInput: {
|
|
286
|
+
package: "@dou-ui/code",
|
|
287
|
+
from: "@dou-ui/code",
|
|
288
|
+
style: "@dou-ui/code/style"
|
|
289
|
+
},
|
|
290
|
+
DouCodeKeys: {
|
|
291
|
+
package: "@dou-ui/code",
|
|
292
|
+
from: "@dou-ui/code",
|
|
293
|
+
style: "@dou-ui/code/style"
|
|
294
|
+
},
|
|
295
|
+
DouDashboard: {
|
|
296
|
+
package: "@dou-ui/dashboard",
|
|
297
|
+
from: "@dou-ui/dashboard",
|
|
298
|
+
style: "@dou-ui/dashboard/style"
|
|
299
|
+
},
|
|
300
|
+
DouDashboardFilterBar: {
|
|
301
|
+
package: "@dou-ui/dashboard",
|
|
302
|
+
from: "@dou-ui/dashboard",
|
|
303
|
+
style: "@dou-ui/dashboard/style"
|
|
304
|
+
},
|
|
305
|
+
DouDashboardPalette: {
|
|
306
|
+
package: "@dou-ui/dashboard",
|
|
307
|
+
from: "@dou-ui/dashboard",
|
|
308
|
+
style: "@dou-ui/dashboard/style"
|
|
309
|
+
},
|
|
310
|
+
DouEditor: {
|
|
311
|
+
package: "@dou-ui/editor",
|
|
312
|
+
from: "@dou-ui/editor",
|
|
313
|
+
style: "@dou-ui/editor/style"
|
|
314
|
+
},
|
|
315
|
+
DouFlowControls: {
|
|
316
|
+
package: "@dou-ui/flow",
|
|
317
|
+
from: "@dou-ui/flow",
|
|
318
|
+
style: "@dou-ui/flow/style"
|
|
319
|
+
},
|
|
320
|
+
DouFlowEditor: {
|
|
321
|
+
package: "@dou-ui/flow",
|
|
322
|
+
from: "@dou-ui/flow",
|
|
323
|
+
style: "@dou-ui/flow/style"
|
|
324
|
+
},
|
|
325
|
+
DouFlowMinimap: {
|
|
326
|
+
package: "@dou-ui/flow",
|
|
327
|
+
from: "@dou-ui/flow",
|
|
328
|
+
style: "@dou-ui/flow/style"
|
|
329
|
+
},
|
|
330
|
+
DouFlowPort: {
|
|
331
|
+
package: "@dou-ui/flow",
|
|
332
|
+
from: "@dou-ui/flow",
|
|
333
|
+
style: "@dou-ui/flow/style"
|
|
334
|
+
},
|
|
335
|
+
DouFormBuilder: {
|
|
336
|
+
package: "@dou-ui/form-builder",
|
|
337
|
+
from: "@dou-ui/form-builder",
|
|
338
|
+
style: "@dou-ui/form-builder/style"
|
|
339
|
+
},
|
|
340
|
+
DouFormBuilderCanvas: {
|
|
341
|
+
package: "@dou-ui/form-builder",
|
|
342
|
+
from: "@dou-ui/form-builder",
|
|
343
|
+
style: "@dou-ui/form-builder/style"
|
|
344
|
+
},
|
|
345
|
+
DouFormBuilderInspector: {
|
|
346
|
+
package: "@dou-ui/form-builder",
|
|
347
|
+
from: "@dou-ui/form-builder",
|
|
348
|
+
style: "@dou-ui/form-builder/style"
|
|
349
|
+
},
|
|
350
|
+
DouFormBuilderOutline: {
|
|
351
|
+
package: "@dou-ui/form-builder",
|
|
352
|
+
from: "@dou-ui/form-builder",
|
|
353
|
+
style: "@dou-ui/form-builder/style"
|
|
354
|
+
},
|
|
355
|
+
DouFormBuilderPalette: {
|
|
356
|
+
package: "@dou-ui/form-builder",
|
|
357
|
+
from: "@dou-ui/form-builder",
|
|
358
|
+
style: "@dou-ui/form-builder/style"
|
|
359
|
+
},
|
|
360
|
+
DouFormBuilderPreview: {
|
|
361
|
+
package: "@dou-ui/form-builder",
|
|
362
|
+
from: "@dou-ui/form-builder",
|
|
363
|
+
style: "@dou-ui/form-builder/style"
|
|
364
|
+
},
|
|
365
|
+
DouFormRenderer: {
|
|
366
|
+
package: "@dou-ui/form-builder",
|
|
367
|
+
from: "@dou-ui/form-builder/renderer",
|
|
368
|
+
style: "@dou-ui/form-builder/renderer/style"
|
|
369
|
+
},
|
|
370
|
+
DouGantt: {
|
|
371
|
+
package: "@dou-ui/gantt",
|
|
372
|
+
from: "@dou-ui/gantt",
|
|
373
|
+
style: "@dou-ui/gantt/style"
|
|
374
|
+
},
|
|
375
|
+
DouGridLayout: {
|
|
376
|
+
package: "@dou-ui/dashboard",
|
|
377
|
+
from: "@dou-ui/dashboard",
|
|
378
|
+
style: "@dou-ui/dashboard/style"
|
|
379
|
+
},
|
|
380
|
+
DouGridLayoutHandle: {
|
|
381
|
+
package: "@dou-ui/dashboard",
|
|
382
|
+
from: "@dou-ui/dashboard",
|
|
383
|
+
style: "@dou-ui/dashboard/style"
|
|
384
|
+
},
|
|
385
|
+
DouPivot: {
|
|
386
|
+
package: "@dou-ui/pivot",
|
|
387
|
+
from: "@dou-ui/pivot",
|
|
388
|
+
style: "@dou-ui/pivot/style"
|
|
389
|
+
},
|
|
390
|
+
DouPivotFields: {
|
|
391
|
+
package: "@dou-ui/pivot",
|
|
392
|
+
from: "@dou-ui/pivot",
|
|
393
|
+
style: "@dou-ui/pivot/style"
|
|
394
|
+
},
|
|
395
|
+
DouScheduler: {
|
|
396
|
+
package: "@dou-ui/gantt",
|
|
397
|
+
from: "@dou-ui/gantt/scheduler",
|
|
398
|
+
style: "@dou-ui/gantt/scheduler/style"
|
|
399
|
+
},
|
|
400
|
+
DouSheet: {
|
|
401
|
+
package: "@dou-ui/sheet",
|
|
402
|
+
from: "@dou-ui/sheet",
|
|
403
|
+
style: "@dou-ui/sheet/style"
|
|
404
|
+
},
|
|
405
|
+
DouSheetCodeFormulaBar: {
|
|
406
|
+
package: "@dou-ui/sheet",
|
|
407
|
+
from: "@dou-ui/sheet/code",
|
|
408
|
+
style: "@dou-ui/sheet/code/style"
|
|
409
|
+
},
|
|
410
|
+
DouSheetFormulaBar: {
|
|
411
|
+
package: "@dou-ui/sheet",
|
|
412
|
+
from: "@dou-ui/sheet",
|
|
413
|
+
style: "@dou-ui/sheet/style"
|
|
414
|
+
},
|
|
415
|
+
DouSheetTabs: {
|
|
416
|
+
package: "@dou-ui/sheet",
|
|
417
|
+
from: "@dou-ui/sheet",
|
|
418
|
+
style: "@dou-ui/sheet/style"
|
|
419
|
+
},
|
|
420
|
+
DouSheetToolbar: {
|
|
421
|
+
package: "@dou-ui/sheet",
|
|
422
|
+
from: "@dou-ui/sheet",
|
|
423
|
+
style: "@dou-ui/sheet/style"
|
|
424
|
+
}
|
|
425
|
+
};
|
|
426
|
+
var iconNames = [
|
|
427
|
+
"ActivityIcon",
|
|
428
|
+
"ActivitySquareIcon",
|
|
429
|
+
"AddressBookIcon",
|
|
430
|
+
"AdjustmentsIcon",
|
|
431
|
+
"AirplayIcon",
|
|
432
|
+
"AlarmClockCheckIcon",
|
|
433
|
+
"AlarmClockIcon",
|
|
434
|
+
"AlarmClockMinusIcon",
|
|
435
|
+
"AlarmClockOffIcon",
|
|
436
|
+
"AlarmClockPlusIcon",
|
|
437
|
+
"AlertCircleIcon",
|
|
438
|
+
"AlertDiamondIcon",
|
|
439
|
+
"AlertOctagonIcon",
|
|
440
|
+
"AlertSquareIcon",
|
|
441
|
+
"AlertTriangleIcon",
|
|
442
|
+
"AlignBottomIcon",
|
|
443
|
+
"AlignCenterHorizontalIcon",
|
|
444
|
+
"AlignCenterVerticalIcon",
|
|
445
|
+
"AlignLeftIcon",
|
|
446
|
+
"AlignRightIcon",
|
|
447
|
+
"AlignTopIcon",
|
|
448
|
+
"AnchorIcon",
|
|
449
|
+
"AntennaIcon",
|
|
450
|
+
"ApertureIcon",
|
|
451
|
+
"AppWindowIcon",
|
|
452
|
+
"AppWindowPlusIcon",
|
|
453
|
+
"ArchiveIcon",
|
|
454
|
+
"ArchivePlusIcon",
|
|
455
|
+
"ArchiveRestoreIcon",
|
|
456
|
+
"ArchiveXIcon",
|
|
457
|
+
"AreaChartIcon",
|
|
458
|
+
"ArrowBigDownIcon",
|
|
459
|
+
"ArrowBigLeftIcon",
|
|
460
|
+
"ArrowBigRightIcon",
|
|
461
|
+
"ArrowBigUpIcon",
|
|
462
|
+
"ArrowDownCircleIcon",
|
|
463
|
+
"ArrowDownFromLineIcon",
|
|
464
|
+
"ArrowDownIcon",
|
|
465
|
+
"ArrowDownLeftCircleIcon",
|
|
466
|
+
"ArrowDownLeftIcon",
|
|
467
|
+
"ArrowDownLeftSquareIcon",
|
|
468
|
+
"ArrowDownRightCircleIcon",
|
|
469
|
+
"ArrowDownRightIcon",
|
|
470
|
+
"ArrowDownRightSquareIcon",
|
|
471
|
+
"ArrowDownSquareIcon",
|
|
472
|
+
"ArrowDownToDotIcon",
|
|
473
|
+
"ArrowEndsIcon",
|
|
474
|
+
"ArrowLeftCircleIcon",
|
|
475
|
+
"ArrowLeftIcon",
|
|
476
|
+
"ArrowLeftRightIcon",
|
|
477
|
+
"ArrowLeftSquareIcon",
|
|
478
|
+
"ArrowLeftToLineIcon",
|
|
479
|
+
"ArrowRightCircleIcon",
|
|
480
|
+
"ArrowRightIcon",
|
|
481
|
+
"ArrowRightSquareIcon",
|
|
482
|
+
"ArrowRightToLineIcon",
|
|
483
|
+
"ArrowUpCircleIcon",
|
|
484
|
+
"ArrowUpDownIcon",
|
|
485
|
+
"ArrowUpFromDotIcon",
|
|
486
|
+
"ArrowUpIcon",
|
|
487
|
+
"ArrowUpLeftCircleIcon",
|
|
488
|
+
"ArrowUpLeftIcon",
|
|
489
|
+
"ArrowUpLeftSquareIcon",
|
|
490
|
+
"ArrowUpRightCircleIcon",
|
|
491
|
+
"ArrowUpRightIcon",
|
|
492
|
+
"ArrowUpRightSquareIcon",
|
|
493
|
+
"ArrowUpSquareIcon",
|
|
494
|
+
"ArrowUpToLineIcon",
|
|
495
|
+
"AtSignIcon",
|
|
496
|
+
"AudioLinesIcon",
|
|
497
|
+
"AwardIcon",
|
|
498
|
+
"BackpackIcon",
|
|
499
|
+
"BadgeAlertIcon",
|
|
500
|
+
"BadgeCheckIcon",
|
|
501
|
+
"BadgeInfoIcon",
|
|
502
|
+
"BadgeMinusIcon",
|
|
503
|
+
"BadgePercentIcon",
|
|
504
|
+
"BadgePlusIcon",
|
|
505
|
+
"BadgeQuestionIcon",
|
|
506
|
+
"BadgeXIcon",
|
|
507
|
+
"BanIcon",
|
|
508
|
+
"BanknoteIcon",
|
|
509
|
+
"BarChartDecreasingIcon",
|
|
510
|
+
"BarChartHorizontalIcon",
|
|
511
|
+
"BarChartIcon",
|
|
512
|
+
"BarChartIncreasingIcon",
|
|
513
|
+
"BarChartStackedIcon",
|
|
514
|
+
"BarcodeIcon",
|
|
515
|
+
"BaselineIcon",
|
|
516
|
+
"BatteryChargingIcon",
|
|
517
|
+
"BatteryFullIcon",
|
|
518
|
+
"BatteryIcon",
|
|
519
|
+
"BatteryLowIcon",
|
|
520
|
+
"BatteryMediumIcon",
|
|
521
|
+
"BatteryWarningIcon",
|
|
522
|
+
"BellCheckIcon",
|
|
523
|
+
"BellDotIcon",
|
|
524
|
+
"BellIcon",
|
|
525
|
+
"BellMinusIcon",
|
|
526
|
+
"BellOffIcon",
|
|
527
|
+
"BellPlusIcon",
|
|
528
|
+
"BellRingIcon",
|
|
529
|
+
"BellXIcon",
|
|
530
|
+
"BezierCurveIcon",
|
|
531
|
+
"BinaryIcon",
|
|
532
|
+
"BlendIcon",
|
|
533
|
+
"BluetoothIcon",
|
|
534
|
+
"BoldIcon",
|
|
535
|
+
"BookCheckIcon",
|
|
536
|
+
"BookIcon",
|
|
537
|
+
"BookMarkedIcon",
|
|
538
|
+
"BookMinusIcon",
|
|
539
|
+
"BookOpenIcon",
|
|
540
|
+
"BookPlusIcon",
|
|
541
|
+
"BookTextIcon",
|
|
542
|
+
"BookXIcon",
|
|
543
|
+
"BookmarkCheckIcon",
|
|
544
|
+
"BookmarkHeartIcon",
|
|
545
|
+
"BookmarkIcon",
|
|
546
|
+
"BookmarkMinusIcon",
|
|
547
|
+
"BookmarkPlusIcon",
|
|
548
|
+
"BookmarkStarIcon",
|
|
549
|
+
"BookmarkXIcon",
|
|
550
|
+
"BookmarksIcon",
|
|
551
|
+
"BotIcon",
|
|
552
|
+
"BoundingBoxIcon",
|
|
553
|
+
"BracesIcon",
|
|
554
|
+
"BracketsIcon",
|
|
555
|
+
"BrainIcon",
|
|
556
|
+
"BriefcaseCheckIcon",
|
|
557
|
+
"BriefcaseIcon",
|
|
558
|
+
"BriefcasePlusIcon",
|
|
559
|
+
"BroadcastIcon",
|
|
560
|
+
"BrushIcon",
|
|
561
|
+
"BugIcon",
|
|
562
|
+
"BuildingIcon",
|
|
563
|
+
"CalculatorIcon",
|
|
564
|
+
"CalendarAlertIcon",
|
|
565
|
+
"CalendarCheckIcon",
|
|
566
|
+
"CalendarClockIcon",
|
|
567
|
+
"CalendarCogIcon",
|
|
568
|
+
"CalendarDaysIcon",
|
|
569
|
+
"CalendarHeartIcon",
|
|
570
|
+
"CalendarIcon",
|
|
571
|
+
"CalendarLockIcon",
|
|
572
|
+
"CalendarMinusIcon",
|
|
573
|
+
"CalendarPlusIcon",
|
|
574
|
+
"CalendarRangeIcon",
|
|
575
|
+
"CalendarSearchIcon",
|
|
576
|
+
"CalendarSparkleIcon",
|
|
577
|
+
"CalendarStarIcon",
|
|
578
|
+
"CalendarXIcon",
|
|
579
|
+
"CameraIcon",
|
|
580
|
+
"CameraOffIcon",
|
|
581
|
+
"CameraPlusIcon",
|
|
582
|
+
"CandlestickChartIcon",
|
|
583
|
+
"CarIcon",
|
|
584
|
+
"CassetteIcon",
|
|
585
|
+
"CastIcon",
|
|
586
|
+
"CastleIcon",
|
|
587
|
+
"CellsMergeIcon",
|
|
588
|
+
"CellsSplitIcon",
|
|
589
|
+
"CheckCheckIcon",
|
|
590
|
+
"CheckCircleIcon",
|
|
591
|
+
"CheckIcon",
|
|
592
|
+
"CheckSquareIcon",
|
|
593
|
+
"ChevronDownCircleIcon",
|
|
594
|
+
"ChevronDownIcon",
|
|
595
|
+
"ChevronDownSquareIcon",
|
|
596
|
+
"ChevronFirstIcon",
|
|
597
|
+
"ChevronLastIcon",
|
|
598
|
+
"ChevronLeftCircleIcon",
|
|
599
|
+
"ChevronLeftIcon",
|
|
600
|
+
"ChevronLeftSquareIcon",
|
|
601
|
+
"ChevronRightCircleIcon",
|
|
602
|
+
"ChevronRightIcon",
|
|
603
|
+
"ChevronRightSquareIcon",
|
|
604
|
+
"ChevronUpCircleIcon",
|
|
605
|
+
"ChevronUpDownIcon",
|
|
606
|
+
"ChevronUpIcon",
|
|
607
|
+
"ChevronUpSquareIcon",
|
|
608
|
+
"ChevronsDownIcon",
|
|
609
|
+
"ChevronsLeftIcon",
|
|
610
|
+
"ChevronsRightIcon",
|
|
611
|
+
"ChevronsUpIcon",
|
|
612
|
+
"CircleDashedIcon",
|
|
613
|
+
"CircleDotIcon",
|
|
614
|
+
"CircleEllipsisIcon",
|
|
615
|
+
"CircleHalfIcon",
|
|
616
|
+
"CircleIcon",
|
|
617
|
+
"ClapperboardIcon",
|
|
618
|
+
"ClipboardCheckIcon",
|
|
619
|
+
"ClipboardClockIcon",
|
|
620
|
+
"ClipboardCopyIcon",
|
|
621
|
+
"ClipboardIcon",
|
|
622
|
+
"ClipboardListIcon",
|
|
623
|
+
"ClipboardMinusIcon",
|
|
624
|
+
"ClipboardPasteIcon",
|
|
625
|
+
"ClipboardPenIcon",
|
|
626
|
+
"ClipboardPlusIcon",
|
|
627
|
+
"ClipboardXIcon",
|
|
628
|
+
"ClockAlertIcon",
|
|
629
|
+
"ClockCheckIcon",
|
|
630
|
+
"ClockIcon",
|
|
631
|
+
"ClockMinusIcon",
|
|
632
|
+
"ClockPauseIcon",
|
|
633
|
+
"ClockPlusIcon",
|
|
634
|
+
"ClockXIcon",
|
|
635
|
+
"CloseIcon",
|
|
636
|
+
"CloudAlertIcon",
|
|
637
|
+
"CloudCheckIcon",
|
|
638
|
+
"CloudDownloadIcon",
|
|
639
|
+
"CloudDrizzleIcon",
|
|
640
|
+
"CloudFogIcon",
|
|
641
|
+
"CloudHailIcon",
|
|
642
|
+
"CloudIcon",
|
|
643
|
+
"CloudLightningIcon",
|
|
644
|
+
"CloudMoonIcon",
|
|
645
|
+
"CloudOffIcon",
|
|
646
|
+
"CloudRainIcon",
|
|
647
|
+
"CloudSnowIcon",
|
|
648
|
+
"CloudSunIcon",
|
|
649
|
+
"CloudUploadIcon",
|
|
650
|
+
"CloudyIcon",
|
|
651
|
+
"CodeIcon",
|
|
652
|
+
"CodeSparkleIcon",
|
|
653
|
+
"CoffeeIcon",
|
|
654
|
+
"CoinsIcon",
|
|
655
|
+
"ColumnGroupIcon",
|
|
656
|
+
"ColumnInsertLeftIcon",
|
|
657
|
+
"ColumnInsertRightIcon",
|
|
658
|
+
"ColumnRemoveIcon",
|
|
659
|
+
"ColumnUngroupIcon",
|
|
660
|
+
"CommandIcon",
|
|
661
|
+
"CompassIcon",
|
|
662
|
+
"ComponentIcon",
|
|
663
|
+
"ConnectorCurveIcon",
|
|
664
|
+
"ConnectorElbowIcon",
|
|
665
|
+
"ConnectorStraightIcon",
|
|
666
|
+
"ContactIcon",
|
|
667
|
+
"ContainerIcon",
|
|
668
|
+
"CopyCheckIcon",
|
|
669
|
+
"CopyIcon",
|
|
670
|
+
"CopyPlusIcon",
|
|
671
|
+
"CopyXIcon",
|
|
672
|
+
"CornerDownLeftIcon",
|
|
673
|
+
"CornerDownRightIcon",
|
|
674
|
+
"CornerLeftDownIcon",
|
|
675
|
+
"CornerLeftUpIcon",
|
|
676
|
+
"CornerRightDownIcon",
|
|
677
|
+
"CornerRightUpIcon",
|
|
678
|
+
"CornerUpLeftIcon",
|
|
679
|
+
"CornerUpRightIcon",
|
|
680
|
+
"CpuIcon",
|
|
681
|
+
"CreditCardIcon",
|
|
682
|
+
"CreditCardPlusIcon",
|
|
683
|
+
"CropIcon",
|
|
684
|
+
"CrownIcon",
|
|
685
|
+
"CubeIcon",
|
|
686
|
+
"CursorIcon",
|
|
687
|
+
"CylinderIcon",
|
|
688
|
+
"DashboardIcon",
|
|
689
|
+
"DatabaseCheckIcon",
|
|
690
|
+
"DatabaseIcon",
|
|
691
|
+
"DatabasePlusIcon",
|
|
692
|
+
"DatabaseSearchIcon",
|
|
693
|
+
"DecimalDecreaseIcon",
|
|
694
|
+
"DecimalIncreaseIcon",
|
|
695
|
+
"DeleteIcon",
|
|
696
|
+
"DiamondIcon",
|
|
697
|
+
"DiffIcon",
|
|
698
|
+
"DiffSplitIcon",
|
|
699
|
+
"DiffUnifiedIcon",
|
|
700
|
+
"DiscIcon",
|
|
701
|
+
"DistributeHorizontalIcon",
|
|
702
|
+
"DistributeVerticalIcon",
|
|
703
|
+
"DollarCircleIcon",
|
|
704
|
+
"DollarSignIcon",
|
|
705
|
+
"DollyIcon",
|
|
706
|
+
"DonutChartIcon",
|
|
707
|
+
"DoorClosedIcon",
|
|
708
|
+
"DoorOpenIcon",
|
|
709
|
+
"DownloadIcon",
|
|
710
|
+
"DropletIcon",
|
|
711
|
+
"EaseInIcon",
|
|
712
|
+
"EaseInOutIcon",
|
|
713
|
+
"EaseLinearIcon",
|
|
714
|
+
"EaseOutIcon",
|
|
715
|
+
"EditIcon",
|
|
716
|
+
"EditLineIcon",
|
|
717
|
+
"EraserIcon",
|
|
718
|
+
"EuroSignIcon",
|
|
719
|
+
"ExpandIcon",
|
|
720
|
+
"ExportIcon",
|
|
721
|
+
"ExternalLinkIcon",
|
|
722
|
+
"EyeClosedIcon",
|
|
723
|
+
"EyeIcon",
|
|
724
|
+
"EyeOffIcon",
|
|
725
|
+
"FactoryIcon",
|
|
726
|
+
"FastForwardIcon",
|
|
727
|
+
"FileArchiveIcon",
|
|
728
|
+
"FileAudioIcon",
|
|
729
|
+
"FileChartIcon",
|
|
730
|
+
"FileCheckIcon",
|
|
731
|
+
"FileClockIcon",
|
|
732
|
+
"FileCodeIcon",
|
|
733
|
+
"FileCogIcon",
|
|
734
|
+
"FileDiffIcon",
|
|
735
|
+
"FileDownIcon",
|
|
736
|
+
"FileEditIcon",
|
|
737
|
+
"FileGitIcon",
|
|
738
|
+
"FileHeartIcon",
|
|
739
|
+
"FileIcon",
|
|
740
|
+
"FileImageIcon",
|
|
741
|
+
"FileJsonIcon",
|
|
742
|
+
"FileLockIcon",
|
|
743
|
+
"FileMinusIcon",
|
|
744
|
+
"FilePlusIcon",
|
|
745
|
+
"FileQuestionIcon",
|
|
746
|
+
"FileSearchIcon",
|
|
747
|
+
"FileSparkleIcon",
|
|
748
|
+
"FileSpreadsheetIcon",
|
|
749
|
+
"FileStarIcon",
|
|
750
|
+
"FileSymlinkIcon",
|
|
751
|
+
"FileTerminalIcon",
|
|
752
|
+
"FileTextIcon",
|
|
753
|
+
"FileTypeIcon",
|
|
754
|
+
"FileUpIcon",
|
|
755
|
+
"FileUserIcon",
|
|
756
|
+
"FileVideoIcon",
|
|
757
|
+
"FileWarningIcon",
|
|
758
|
+
"FileXIcon",
|
|
759
|
+
"FilesIcon",
|
|
760
|
+
"FilmIcon",
|
|
761
|
+
"FilterCheckIcon",
|
|
762
|
+
"FilterIcon",
|
|
763
|
+
"FilterPlusIcon",
|
|
764
|
+
"FilterXIcon",
|
|
765
|
+
"FingerprintIcon",
|
|
766
|
+
"FlagIcon",
|
|
767
|
+
"FlameIcon",
|
|
768
|
+
"FlashlightIcon",
|
|
769
|
+
"FlipHorizontalIcon",
|
|
770
|
+
"FlipVerticalIcon",
|
|
771
|
+
"FocusIcon",
|
|
772
|
+
"FoldVerticalIcon",
|
|
773
|
+
"FolderCheckIcon",
|
|
774
|
+
"FolderClockIcon",
|
|
775
|
+
"FolderCodeIcon",
|
|
776
|
+
"FolderCogIcon",
|
|
777
|
+
"FolderDownIcon",
|
|
778
|
+
"FolderGitIcon",
|
|
779
|
+
"FolderHeartIcon",
|
|
780
|
+
"FolderIcon",
|
|
781
|
+
"FolderLockIcon",
|
|
782
|
+
"FolderMinusIcon",
|
|
783
|
+
"FolderOpenIcon",
|
|
784
|
+
"FolderPlusIcon",
|
|
785
|
+
"FolderSearchIcon",
|
|
786
|
+
"FolderSparkleIcon",
|
|
787
|
+
"FolderStarIcon",
|
|
788
|
+
"FolderUpIcon",
|
|
789
|
+
"FolderUserIcon",
|
|
790
|
+
"FolderXIcon",
|
|
791
|
+
"ForwardIcon",
|
|
792
|
+
"FrameIcon",
|
|
793
|
+
"FuelIcon",
|
|
794
|
+
"FunctionIcon",
|
|
795
|
+
"FunnelChartIcon",
|
|
796
|
+
"GalleryHorizontalIcon",
|
|
797
|
+
"GalleryVerticalIcon",
|
|
798
|
+
"GamepadIcon",
|
|
799
|
+
"GanttChartIcon",
|
|
800
|
+
"GaugeIcon",
|
|
801
|
+
"GemIcon",
|
|
802
|
+
"GiftIcon",
|
|
803
|
+
"GitBranchIcon",
|
|
804
|
+
"GitBranchPlusIcon",
|
|
805
|
+
"GitCommitIcon",
|
|
806
|
+
"GitCommitVerticalIcon",
|
|
807
|
+
"GitCompareIcon",
|
|
808
|
+
"GitForkIcon",
|
|
809
|
+
"GitMergeIcon",
|
|
810
|
+
"GitPullRequestCheckIcon",
|
|
811
|
+
"GitPullRequestClosedIcon",
|
|
812
|
+
"GitPullRequestCreateIcon",
|
|
813
|
+
"GitPullRequestDraftIcon",
|
|
814
|
+
"GitPullRequestIcon",
|
|
815
|
+
"GithubIcon",
|
|
816
|
+
"GitlabIcon",
|
|
817
|
+
"GlassesIcon",
|
|
818
|
+
"GlobeIcon",
|
|
819
|
+
"GraduationCapIcon",
|
|
820
|
+
"GridIcon",
|
|
821
|
+
"GripHorizontalIcon",
|
|
822
|
+
"GripVerticalIcon",
|
|
823
|
+
"GroupIcon",
|
|
824
|
+
"HammerIcon",
|
|
825
|
+
"HandGrabIcon",
|
|
826
|
+
"HandIcon",
|
|
827
|
+
"HardDriveIcon",
|
|
828
|
+
"HashIcon",
|
|
829
|
+
"HazeIcon",
|
|
830
|
+
"Heading1Icon",
|
|
831
|
+
"Heading2Icon",
|
|
832
|
+
"Heading3Icon",
|
|
833
|
+
"HeadingIcon",
|
|
834
|
+
"HeadphonesIcon",
|
|
835
|
+
"HeadsetIcon",
|
|
836
|
+
"HeartIcon",
|
|
837
|
+
"HelpCircleIcon",
|
|
838
|
+
"HelpSquareIcon",
|
|
839
|
+
"HexagonIcon",
|
|
840
|
+
"HierarchyHorizontalIcon",
|
|
841
|
+
"HierarchyIcon",
|
|
842
|
+
"HistoryIcon",
|
|
843
|
+
"HomeCheckIcon",
|
|
844
|
+
"HomeHeartIcon",
|
|
845
|
+
"HomeIcon",
|
|
846
|
+
"HomeLockIcon",
|
|
847
|
+
"HomePlusIcon",
|
|
848
|
+
"HomeWifiIcon",
|
|
849
|
+
"HospitalIcon",
|
|
850
|
+
"HourglassIcon",
|
|
851
|
+
"IdBadgeIcon",
|
|
852
|
+
"IdCardIcon",
|
|
853
|
+
"ImageCheckIcon",
|
|
854
|
+
"ImageDownIcon",
|
|
855
|
+
"ImageIcon",
|
|
856
|
+
"ImageMinusIcon",
|
|
857
|
+
"ImageOffIcon",
|
|
858
|
+
"ImagePlusIcon",
|
|
859
|
+
"ImageSparkleIcon",
|
|
860
|
+
"ImageUpIcon",
|
|
861
|
+
"ImagesIcon",
|
|
862
|
+
"ImportIcon",
|
|
863
|
+
"InboxIcon",
|
|
864
|
+
"IndentIcon",
|
|
865
|
+
"InfinityIcon",
|
|
866
|
+
"InfoIcon",
|
|
867
|
+
"InfoSquareIcon",
|
|
868
|
+
"ItalicIcon",
|
|
869
|
+
"JoystickIcon",
|
|
870
|
+
"KanbanIcon",
|
|
871
|
+
"KeyIcon",
|
|
872
|
+
"KeyboardIcon",
|
|
873
|
+
"KeyframeIcon",
|
|
874
|
+
"KeyframeMinusIcon",
|
|
875
|
+
"KeyframePlusIcon",
|
|
876
|
+
"KeyframesIcon",
|
|
877
|
+
"LandmarkIcon",
|
|
878
|
+
"LaptopCheckIcon",
|
|
879
|
+
"LaptopIcon",
|
|
880
|
+
"LayersIcon",
|
|
881
|
+
"LayersPlusIcon",
|
|
882
|
+
"LayoutColumnsIcon",
|
|
883
|
+
"LayoutGridIcon",
|
|
884
|
+
"LayoutGridPlusIcon",
|
|
885
|
+
"LayoutIcon",
|
|
886
|
+
"LayoutListIcon",
|
|
887
|
+
"LayoutMasonryIcon",
|
|
888
|
+
"LayoutRightIcon",
|
|
889
|
+
"LayoutRowsIcon",
|
|
890
|
+
"LayoutThreeColumnsIcon",
|
|
891
|
+
"LayoutThreeRowsIcon",
|
|
892
|
+
"LetterCaseIcon",
|
|
893
|
+
"LibraryIcon",
|
|
894
|
+
"LightbulbIcon",
|
|
895
|
+
"LineChartIcon",
|
|
896
|
+
"LineChartMultipleIcon",
|
|
897
|
+
"LineDashDotIcon",
|
|
898
|
+
"LineDashedIcon",
|
|
899
|
+
"LineDottedIcon",
|
|
900
|
+
"LineHeightIcon",
|
|
901
|
+
"LineSolidIcon",
|
|
902
|
+
"LineStyleIcon",
|
|
903
|
+
"Link2Icon",
|
|
904
|
+
"LinkIcon",
|
|
905
|
+
"LinkPlusIcon",
|
|
906
|
+
"ListChecksIcon",
|
|
907
|
+
"ListEndIcon",
|
|
908
|
+
"ListIcon",
|
|
909
|
+
"ListMinusIcon",
|
|
910
|
+
"ListMusicIcon",
|
|
911
|
+
"ListOrderedIcon",
|
|
912
|
+
"ListPlusIcon",
|
|
913
|
+
"ListSparkleIcon",
|
|
914
|
+
"ListTodoIcon",
|
|
915
|
+
"ListTreeIcon",
|
|
916
|
+
"ListVideoIcon",
|
|
917
|
+
"ListXIcon",
|
|
918
|
+
"LoaderIcon",
|
|
919
|
+
"LocateFixedIcon",
|
|
920
|
+
"LocateIcon",
|
|
921
|
+
"LockCheckIcon",
|
|
922
|
+
"LockIcon",
|
|
923
|
+
"LockKeyholeIcon",
|
|
924
|
+
"LogInIcon",
|
|
925
|
+
"LogOutIcon",
|
|
926
|
+
"MagicWandIcon",
|
|
927
|
+
"MagnetIcon",
|
|
928
|
+
"MailAlertIcon",
|
|
929
|
+
"MailCheckIcon",
|
|
930
|
+
"MailIcon",
|
|
931
|
+
"MailLockIcon",
|
|
932
|
+
"MailMinusIcon",
|
|
933
|
+
"MailOpenIcon",
|
|
934
|
+
"MailPlusIcon",
|
|
935
|
+
"MailSearchIcon",
|
|
936
|
+
"MailXIcon",
|
|
937
|
+
"MapIcon",
|
|
938
|
+
"MapPinCheckIcon",
|
|
939
|
+
"MapPinHeartIcon",
|
|
940
|
+
"MapPinIcon",
|
|
941
|
+
"MapPinMinusIcon",
|
|
942
|
+
"MapPinOffIcon",
|
|
943
|
+
"MapPinPlusIcon",
|
|
944
|
+
"MapPinStarIcon",
|
|
945
|
+
"MapPinXIcon",
|
|
946
|
+
"MapPlusIcon",
|
|
947
|
+
"MaximizeIcon",
|
|
948
|
+
"MedalIcon",
|
|
949
|
+
"MegaphoneIcon",
|
|
950
|
+
"MemoryStickIcon",
|
|
951
|
+
"MenuIcon",
|
|
952
|
+
"MergeIcon",
|
|
953
|
+
"MessageAlertIcon",
|
|
954
|
+
"MessageCheckIcon",
|
|
955
|
+
"MessageCircleIcon",
|
|
956
|
+
"MessageDotsIcon",
|
|
957
|
+
"MessageHeartIcon",
|
|
958
|
+
"MessageIcon",
|
|
959
|
+
"MessageMinusIcon",
|
|
960
|
+
"MessageOffIcon",
|
|
961
|
+
"MessagePlusIcon",
|
|
962
|
+
"MessageQuestionIcon",
|
|
963
|
+
"MessageReplyIcon",
|
|
964
|
+
"MessageSparkleIcon",
|
|
965
|
+
"MessageTextIcon",
|
|
966
|
+
"MessageXIcon",
|
|
967
|
+
"MessagesIcon",
|
|
968
|
+
"MicIcon",
|
|
969
|
+
"MicOffIcon",
|
|
970
|
+
"MicSparkleIcon",
|
|
971
|
+
"MilestoneIcon",
|
|
972
|
+
"MindMapIcon",
|
|
973
|
+
"MinimizeIcon",
|
|
974
|
+
"MinusCircleIcon",
|
|
975
|
+
"MinusIcon",
|
|
976
|
+
"MinusSquareIcon",
|
|
977
|
+
"MonitorCheckIcon",
|
|
978
|
+
"MonitorIcon",
|
|
979
|
+
"MonitorPlayIcon",
|
|
980
|
+
"MonitorSmartphoneIcon",
|
|
981
|
+
"MonitorUpIcon",
|
|
982
|
+
"MonitorXIcon",
|
|
983
|
+
"MoonIcon",
|
|
984
|
+
"MoonStarIcon",
|
|
985
|
+
"MoreHorizontalIcon",
|
|
986
|
+
"MoreVerticalIcon",
|
|
987
|
+
"MotionPathIcon",
|
|
988
|
+
"MountainIcon",
|
|
989
|
+
"MouseIcon",
|
|
990
|
+
"MousePointerClickIcon",
|
|
991
|
+
"MoveDiagonal2Icon",
|
|
992
|
+
"MoveDiagonalIcon",
|
|
993
|
+
"MoveHorizontalIcon",
|
|
994
|
+
"MoveIcon",
|
|
995
|
+
"MoveVerticalIcon",
|
|
996
|
+
"MusicIcon",
|
|
997
|
+
"MusicNoteIcon",
|
|
998
|
+
"NavigationIcon",
|
|
999
|
+
"NetworkIcon",
|
|
1000
|
+
"NotebookIcon",
|
|
1001
|
+
"NotebookPenIcon",
|
|
1002
|
+
"NotebookPlusIcon",
|
|
1003
|
+
"NotebookTextIcon",
|
|
1004
|
+
"NotepadIcon",
|
|
1005
|
+
"NutIcon",
|
|
1006
|
+
"OctagonIcon",
|
|
1007
|
+
"OctagonMinusIcon",
|
|
1008
|
+
"OctagonXIcon",
|
|
1009
|
+
"OrbitIcon",
|
|
1010
|
+
"OtpIcon",
|
|
1011
|
+
"OutdentIcon",
|
|
1012
|
+
"PackageCheckIcon",
|
|
1013
|
+
"PackageIcon",
|
|
1014
|
+
"PackageMinusIcon",
|
|
1015
|
+
"PackagePlusIcon",
|
|
1016
|
+
"PackageXIcon",
|
|
1017
|
+
"PaintBucketIcon",
|
|
1018
|
+
"PaintRollerIcon",
|
|
1019
|
+
"PaletteIcon",
|
|
1020
|
+
"PanelBottomIcon",
|
|
1021
|
+
"PanelLeftIcon",
|
|
1022
|
+
"PanelRightIcon",
|
|
1023
|
+
"PanelTopIcon",
|
|
1024
|
+
"PaperclipIcon",
|
|
1025
|
+
"PasswordIcon",
|
|
1026
|
+
"PauseCircleIcon",
|
|
1027
|
+
"PauseIcon",
|
|
1028
|
+
"PenSparkleIcon",
|
|
1029
|
+
"PenToolIcon",
|
|
1030
|
+
"PencilIcon",
|
|
1031
|
+
"PentagonIcon",
|
|
1032
|
+
"PercentCircleIcon",
|
|
1033
|
+
"PercentIcon",
|
|
1034
|
+
"PhoneCallIcon",
|
|
1035
|
+
"PhoneForwardedIcon",
|
|
1036
|
+
"PhoneIcon",
|
|
1037
|
+
"PhoneIncomingIcon",
|
|
1038
|
+
"PhoneMissedIcon",
|
|
1039
|
+
"PhoneOffIcon",
|
|
1040
|
+
"PhoneOutgoingIcon",
|
|
1041
|
+
"PictureInPictureIcon",
|
|
1042
|
+
"PieChartIcon",
|
|
1043
|
+
"PilcrowIcon",
|
|
1044
|
+
"PinIcon",
|
|
1045
|
+
"PipetteIcon",
|
|
1046
|
+
"PlaneIcon",
|
|
1047
|
+
"PlayCircleIcon",
|
|
1048
|
+
"PlayIcon",
|
|
1049
|
+
"PlugIcon",
|
|
1050
|
+
"PlusCircleIcon",
|
|
1051
|
+
"PlusIcon",
|
|
1052
|
+
"PlusSquareIcon",
|
|
1053
|
+
"PodcastIcon",
|
|
1054
|
+
"PoundSignIcon",
|
|
1055
|
+
"PowerIcon",
|
|
1056
|
+
"PresentationIcon",
|
|
1057
|
+
"PrinterIcon",
|
|
1058
|
+
"ProjectorIcon",
|
|
1059
|
+
"QrCodeIcon",
|
|
1060
|
+
"QuoteIcon",
|
|
1061
|
+
"RadarChartIcon",
|
|
1062
|
+
"RadioIcon",
|
|
1063
|
+
"RainbowIcon",
|
|
1064
|
+
"ReceiptIcon",
|
|
1065
|
+
"RectangleHorizontalIcon",
|
|
1066
|
+
"RectangleVerticalIcon",
|
|
1067
|
+
"RedoIcon",
|
|
1068
|
+
"RefreshIcon",
|
|
1069
|
+
"RegexIcon",
|
|
1070
|
+
"Repeat1Icon",
|
|
1071
|
+
"RepeatIcon",
|
|
1072
|
+
"RepeatOffIcon",
|
|
1073
|
+
"ReplaceAllIcon",
|
|
1074
|
+
"ReplaceIcon",
|
|
1075
|
+
"ReplyAllIcon",
|
|
1076
|
+
"ReplyIcon",
|
|
1077
|
+
"RepositoryIcon",
|
|
1078
|
+
"RewindIcon",
|
|
1079
|
+
"RocketIcon",
|
|
1080
|
+
"RotateCcwIcon",
|
|
1081
|
+
"RotateCwIcon",
|
|
1082
|
+
"RouteIcon",
|
|
1083
|
+
"RouterIcon",
|
|
1084
|
+
"RowGroupIcon",
|
|
1085
|
+
"RowInsertBottomIcon",
|
|
1086
|
+
"RowInsertTopIcon",
|
|
1087
|
+
"RowRemoveIcon",
|
|
1088
|
+
"RowUngroupIcon",
|
|
1089
|
+
"RssIcon",
|
|
1090
|
+
"RulerIcon",
|
|
1091
|
+
"SafeIcon",
|
|
1092
|
+
"SatelliteDishIcon",
|
|
1093
|
+
"SaveAllIcon",
|
|
1094
|
+
"SaveIcon",
|
|
1095
|
+
"ScaleIcon",
|
|
1096
|
+
"ScanEyeIcon",
|
|
1097
|
+
"ScanFaceIcon",
|
|
1098
|
+
"ScanIcon",
|
|
1099
|
+
"ScanLineIcon",
|
|
1100
|
+
"ScanSearchIcon",
|
|
1101
|
+
"ScannerIcon",
|
|
1102
|
+
"ScatterChartIcon",
|
|
1103
|
+
"SchoolIcon",
|
|
1104
|
+
"ScissorsIcon",
|
|
1105
|
+
"ScrewdriverIcon",
|
|
1106
|
+
"SdCardIcon",
|
|
1107
|
+
"SearchAlertIcon",
|
|
1108
|
+
"SearchCheckIcon",
|
|
1109
|
+
"SearchClockIcon",
|
|
1110
|
+
"SearchCodeIcon",
|
|
1111
|
+
"SearchIcon",
|
|
1112
|
+
"SearchSparkleIcon",
|
|
1113
|
+
"SearchXIcon",
|
|
1114
|
+
"SegmentedControlIcon",
|
|
1115
|
+
"SendHorizontalIcon",
|
|
1116
|
+
"SendIcon",
|
|
1117
|
+
"SeparatorHorizontalIcon",
|
|
1118
|
+
"SeparatorVerticalIcon",
|
|
1119
|
+
"ServerCogIcon",
|
|
1120
|
+
"ServerIcon",
|
|
1121
|
+
"SettingsIcon",
|
|
1122
|
+
"ShapesIcon",
|
|
1123
|
+
"ShareIcon",
|
|
1124
|
+
"ShieldAlertIcon",
|
|
1125
|
+
"ShieldCheckIcon",
|
|
1126
|
+
"ShieldCogIcon",
|
|
1127
|
+
"ShieldHalfIcon",
|
|
1128
|
+
"ShieldIcon",
|
|
1129
|
+
"ShieldLockIcon",
|
|
1130
|
+
"ShieldMinusIcon",
|
|
1131
|
+
"ShieldOffIcon",
|
|
1132
|
+
"ShieldPlusIcon",
|
|
1133
|
+
"ShieldQuestionIcon",
|
|
1134
|
+
"ShieldUserIcon",
|
|
1135
|
+
"ShieldXIcon",
|
|
1136
|
+
"ShoppingBagCheckIcon",
|
|
1137
|
+
"ShoppingBagIcon",
|
|
1138
|
+
"ShoppingBagPlusIcon",
|
|
1139
|
+
"ShoppingBasketIcon",
|
|
1140
|
+
"ShoppingCartIcon",
|
|
1141
|
+
"ShoppingCartPlusIcon",
|
|
1142
|
+
"ShoppingCartXIcon",
|
|
1143
|
+
"ShrinkIcon",
|
|
1144
|
+
"ShuffleIcon",
|
|
1145
|
+
"SidebarCollapseIcon",
|
|
1146
|
+
"SidebarExpandIcon",
|
|
1147
|
+
"SidebarIcon",
|
|
1148
|
+
"SidebarRightIcon",
|
|
1149
|
+
"SigmaIcon",
|
|
1150
|
+
"SignalIcon",
|
|
1151
|
+
"SignalLowIcon",
|
|
1152
|
+
"SignalMediumIcon",
|
|
1153
|
+
"SignpostIcon",
|
|
1154
|
+
"SimCardIcon",
|
|
1155
|
+
"SirenIcon",
|
|
1156
|
+
"SitemapIcon",
|
|
1157
|
+
"SkipBackIcon",
|
|
1158
|
+
"SkipForwardIcon",
|
|
1159
|
+
"SlidersIcon",
|
|
1160
|
+
"SlidersVerticalIcon",
|
|
1161
|
+
"SmartphoneCheckIcon",
|
|
1162
|
+
"SmartphoneIcon",
|
|
1163
|
+
"SnowflakeIcon",
|
|
1164
|
+
"SortAscendingIcon",
|
|
1165
|
+
"SortDescendingIcon",
|
|
1166
|
+
"SortIcon",
|
|
1167
|
+
"SparkleCircleIcon",
|
|
1168
|
+
"SparkleIcon",
|
|
1169
|
+
"SparkleSquareIcon",
|
|
1170
|
+
"SparklesIcon",
|
|
1171
|
+
"SpeakerIcon",
|
|
1172
|
+
"SpinnerIcon",
|
|
1173
|
+
"SplineChartIcon",
|
|
1174
|
+
"SplitIcon",
|
|
1175
|
+
"SquareCodeIcon",
|
|
1176
|
+
"SquareDashedIcon",
|
|
1177
|
+
"SquareDotIcon",
|
|
1178
|
+
"SquareIcon",
|
|
1179
|
+
"SquareParkingIcon",
|
|
1180
|
+
"SquarePauseIcon",
|
|
1181
|
+
"SquarePenIcon",
|
|
1182
|
+
"SquarePlayIcon",
|
|
1183
|
+
"SquareStopIcon",
|
|
1184
|
+
"StampIcon",
|
|
1185
|
+
"StarHalfIcon",
|
|
1186
|
+
"StarIcon",
|
|
1187
|
+
"StepsIcon",
|
|
1188
|
+
"StickyNoteIcon",
|
|
1189
|
+
"StickyNotesIcon",
|
|
1190
|
+
"StopCircleIcon",
|
|
1191
|
+
"StopIcon",
|
|
1192
|
+
"StoreIcon",
|
|
1193
|
+
"StretchHorizontalIcon",
|
|
1194
|
+
"StretchVerticalIcon",
|
|
1195
|
+
"StrikethroughIcon",
|
|
1196
|
+
"SubscriptIcon",
|
|
1197
|
+
"SubtaskIcon",
|
|
1198
|
+
"SubtitlesIcon",
|
|
1199
|
+
"SunDimIcon",
|
|
1200
|
+
"SunIcon",
|
|
1201
|
+
"SunriseIcon",
|
|
1202
|
+
"SunsetIcon",
|
|
1203
|
+
"SuperscriptIcon",
|
|
1204
|
+
"SymbolClassIcon",
|
|
1205
|
+
"SymbolConstantIcon",
|
|
1206
|
+
"SymbolKeywordIcon",
|
|
1207
|
+
"SymbolTypeAliasIcon",
|
|
1208
|
+
"TableCheckIcon",
|
|
1209
|
+
"TableFreezeIcon",
|
|
1210
|
+
"TableHighlightIcon",
|
|
1211
|
+
"TableIcon",
|
|
1212
|
+
"TablePivotIcon",
|
|
1213
|
+
"TabletIcon",
|
|
1214
|
+
"TabsIcon",
|
|
1215
|
+
"TagIcon",
|
|
1216
|
+
"TagsIcon",
|
|
1217
|
+
"TargetIcon",
|
|
1218
|
+
"TentIcon",
|
|
1219
|
+
"TerminalIcon",
|
|
1220
|
+
"TerminalSquareIcon",
|
|
1221
|
+
"TextAlignCenterIcon",
|
|
1222
|
+
"TextAlignJustifyIcon",
|
|
1223
|
+
"TextAlignLeftIcon",
|
|
1224
|
+
"TextAlignRightIcon",
|
|
1225
|
+
"TextCursorIcon",
|
|
1226
|
+
"TextSearchIcon",
|
|
1227
|
+
"TextSizeIcon",
|
|
1228
|
+
"TextSparkleIcon",
|
|
1229
|
+
"TextValignBottomIcon",
|
|
1230
|
+
"TextValignMiddleIcon",
|
|
1231
|
+
"TextValignTopIcon",
|
|
1232
|
+
"ThermometerIcon",
|
|
1233
|
+
"ThermometerSnowflakeIcon",
|
|
1234
|
+
"ThermometerSunIcon",
|
|
1235
|
+
"ThumbsDownIcon",
|
|
1236
|
+
"ThumbsUpIcon",
|
|
1237
|
+
"TicketIcon",
|
|
1238
|
+
"TimerIcon",
|
|
1239
|
+
"TimerOffIcon",
|
|
1240
|
+
"ToggleLeftIcon",
|
|
1241
|
+
"ToggleRightIcon",
|
|
1242
|
+
"ToolboxIcon",
|
|
1243
|
+
"TornadoIcon",
|
|
1244
|
+
"TrafficConeIcon",
|
|
1245
|
+
"TrainIcon",
|
|
1246
|
+
"TrashIcon",
|
|
1247
|
+
"TrashXIcon",
|
|
1248
|
+
"TreeStructureIcon",
|
|
1249
|
+
"TrendingDownIcon",
|
|
1250
|
+
"TrendingUpIcon",
|
|
1251
|
+
"TriangleIcon",
|
|
1252
|
+
"TrophyIcon",
|
|
1253
|
+
"TruckIcon",
|
|
1254
|
+
"TvIcon",
|
|
1255
|
+
"TypeIcon",
|
|
1256
|
+
"TypeXIcon",
|
|
1257
|
+
"UmbrellaIcon",
|
|
1258
|
+
"UnderlineIcon",
|
|
1259
|
+
"UndoIcon",
|
|
1260
|
+
"UnfoldVerticalIcon",
|
|
1261
|
+
"UngroupIcon",
|
|
1262
|
+
"UnlinkIcon",
|
|
1263
|
+
"UnlockIcon",
|
|
1264
|
+
"UploadIcon",
|
|
1265
|
+
"UsbIcon",
|
|
1266
|
+
"UserAlertIcon",
|
|
1267
|
+
"UserArrowLeftIcon",
|
|
1268
|
+
"UserArrowRightIcon",
|
|
1269
|
+
"UserCheckIcon",
|
|
1270
|
+
"UserCircleIcon",
|
|
1271
|
+
"UserClockIcon",
|
|
1272
|
+
"UserCogIcon",
|
|
1273
|
+
"UserGroupIcon",
|
|
1274
|
+
"UserHeartIcon",
|
|
1275
|
+
"UserIcon",
|
|
1276
|
+
"UserLockIcon",
|
|
1277
|
+
"UserMessageIcon",
|
|
1278
|
+
"UserMinusIcon",
|
|
1279
|
+
"UserPenIcon",
|
|
1280
|
+
"UserPlusIcon",
|
|
1281
|
+
"UserQuestionIcon",
|
|
1282
|
+
"UserSearchIcon",
|
|
1283
|
+
"UserShieldIcon",
|
|
1284
|
+
"UserSparkleIcon",
|
|
1285
|
+
"UserSquareIcon",
|
|
1286
|
+
"UserStarIcon",
|
|
1287
|
+
"UserXIcon",
|
|
1288
|
+
"UsersIcon",
|
|
1289
|
+
"VariableIcon",
|
|
1290
|
+
"VideoIcon",
|
|
1291
|
+
"VideoOffIcon",
|
|
1292
|
+
"VideoPlusIcon",
|
|
1293
|
+
"VoicemailIcon",
|
|
1294
|
+
"Volume1Icon",
|
|
1295
|
+
"VolumeIcon",
|
|
1296
|
+
"VolumeMinusIcon",
|
|
1297
|
+
"VolumePlusIcon",
|
|
1298
|
+
"VolumeXIcon",
|
|
1299
|
+
"WalletIcon",
|
|
1300
|
+
"WarehouseIcon",
|
|
1301
|
+
"WatchIcon",
|
|
1302
|
+
"WaterfallChartIcon",
|
|
1303
|
+
"WaveIcon",
|
|
1304
|
+
"WavesIcon",
|
|
1305
|
+
"WaypointsIcon",
|
|
1306
|
+
"WebcamIcon",
|
|
1307
|
+
"WholeWordIcon",
|
|
1308
|
+
"WifiIcon",
|
|
1309
|
+
"WifiLowIcon",
|
|
1310
|
+
"WifiMediumIcon",
|
|
1311
|
+
"WifiOffIcon",
|
|
1312
|
+
"WindIcon",
|
|
1313
|
+
"WorkflowIcon",
|
|
1314
|
+
"WrapTextIcon",
|
|
1315
|
+
"WrenchIcon",
|
|
1316
|
+
"XCircleIcon",
|
|
1317
|
+
"XSquareIcon",
|
|
1318
|
+
"YenCircleIcon",
|
|
1319
|
+
"YenSignIcon",
|
|
1320
|
+
"ZoomInIcon",
|
|
1321
|
+
"ZoomOutIcon"
|
|
1322
|
+
];
|
|
1323
|
+
|
|
1324
|
+
// ../resolver/src/index.ts
|
|
1325
|
+
var icons = new Set(iconNames);
|
|
1326
|
+
var functionDirs = {
|
|
1327
|
+
toast: "toast",
|
|
1328
|
+
dialog: "dialog",
|
|
1329
|
+
useDialog: "dialog",
|
|
1330
|
+
vLoading: "loading",
|
|
1331
|
+
vInfiniteScroll: "infinite-scroll",
|
|
1332
|
+
useSortable: "sortable",
|
|
1333
|
+
useColorMode: null,
|
|
1334
|
+
useCountdown: null
|
|
1335
|
+
};
|
|
1336
|
+
var directives = {
|
|
1337
|
+
Loading: { name: "vLoading", dir: "loading" },
|
|
1338
|
+
InfiniteScroll: { name: "vInfiniteScroll", dir: "infinite-scroll" }
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
// src/module.ts
|
|
1342
|
+
var installed = (name) => resolvePath(name, { fallbackToOriginal: false }).then(() => true, () => false);
|
|
1343
|
+
var module_default = defineNuxtModule({
|
|
1344
|
+
meta: {
|
|
1345
|
+
name: "@dou-ui/nuxt",
|
|
1346
|
+
configKey: "douUI",
|
|
1347
|
+
compatibility: { nuxt: ">=4.0.0" }
|
|
1348
|
+
},
|
|
1349
|
+
defaults: {
|
|
1350
|
+
css: "full",
|
|
1351
|
+
components: true,
|
|
1352
|
+
directives: true,
|
|
1353
|
+
imports: true,
|
|
1354
|
+
colorMode: true,
|
|
1355
|
+
exclude: []
|
|
1356
|
+
},
|
|
1357
|
+
async setup(options, nuxt) {
|
|
1358
|
+
const logger = useLogger("@dou-ui/nuxt");
|
|
1359
|
+
const excluded = new Set(options.exclude);
|
|
1360
|
+
const onDemand = options.css === "on-demand";
|
|
1361
|
+
const packages = new Map;
|
|
1362
|
+
if (options.components) {
|
|
1363
|
+
for (const [name, { package: pkg, from, style }] of Object.entries(packageComponents)) {
|
|
1364
|
+
packages.set(pkg, [...packages.get(pkg) ?? [], { name, from, style }]);
|
|
1365
|
+
}
|
|
1366
|
+
for (const pkg of packages.keys()) {
|
|
1367
|
+
if (!await installed(pkg))
|
|
1368
|
+
packages.delete(pkg);
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
nuxt.options.build.transpile.push("dou-ui", "@dou-ui/theme", "@dou-ui/icons", ...packages.keys());
|
|
1372
|
+
if (options.css === "full") {
|
|
1373
|
+
nuxt.options.css.unshift("dou-ui/style.css", ...[...packages.keys()].map((pkg) => `${pkg}/style.css`));
|
|
1374
|
+
}
|
|
1375
|
+
const entries = new Map;
|
|
1376
|
+
const through = (name, from, style, file) => {
|
|
1377
|
+
const entry = entries.get(file) ?? { style, from, names: new Set };
|
|
1378
|
+
entries.set(file, entry);
|
|
1379
|
+
entry.names.add(name);
|
|
1380
|
+
return `#build/dou-ui/${file}.mjs`;
|
|
1381
|
+
};
|
|
1382
|
+
const from = (name, dir) => !onDemand || dir === null ? "dou-ui" : through(name, "dou-ui", `dou-ui/components/${dir}/style`, dir);
|
|
1383
|
+
if (options.components) {
|
|
1384
|
+
for (const [name, dir] of Object.entries(componentDirs)) {
|
|
1385
|
+
if (!excluded.has(name))
|
|
1386
|
+
addComponent({ name, export: name, filePath: from(name, dir) });
|
|
1387
|
+
}
|
|
1388
|
+
for (const components of packages.values()) {
|
|
1389
|
+
for (const { name, from: source, style } of components) {
|
|
1390
|
+
if (excluded.has(name))
|
|
1391
|
+
continue;
|
|
1392
|
+
const file = `packages/${source.slice("@dou-ui/".length).replaceAll("/", "-")}`;
|
|
1393
|
+
const filePath = onDemand ? through(name, source, style, file) : source;
|
|
1394
|
+
addComponent({ name, export: name, filePath });
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
const icons = options.icons ?? await installed("@dou-ui/icons");
|
|
1399
|
+
if (icons) {
|
|
1400
|
+
if (options.icons && !await installed("@dou-ui/icons")) {
|
|
1401
|
+
logger.warn("`icons` is on, but `@dou-ui/icons` is not installed.");
|
|
1402
|
+
}
|
|
1403
|
+
for (const name of iconNames) {
|
|
1404
|
+
if (!excluded.has(name)) {
|
|
1405
|
+
addComponent({ name, export: name, filePath: "@dou-ui/icons", priority: -1 });
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
if (options.imports) {
|
|
1410
|
+
addImports(Object.entries(functionDirs).filter(([name]) => !excluded.has(name)).map(([name, dir]) => ({ name, from: from(name, dir) })));
|
|
1411
|
+
}
|
|
1412
|
+
const used = options.directives ? Object.entries(directives).filter(([, { name }]) => !excluded.has(name)).map(([written, { name, dir }]) => ({
|
|
1413
|
+
name,
|
|
1414
|
+
written: written.replace(/[A-Z]/g, (char, index) => `${index ? "-" : ""}${char.toLowerCase()}`),
|
|
1415
|
+
from: from(name, dir)
|
|
1416
|
+
})) : [];
|
|
1417
|
+
for (const [file, { style, from: source, names }] of entries) {
|
|
1418
|
+
addTemplate({
|
|
1419
|
+
filename: `dou-ui/${file}.mjs`,
|
|
1420
|
+
getContents: () => `import '${style}'
|
|
1421
|
+
export { ${[...names].join(", ")} } from '${source}'
|
|
1422
|
+
`
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
1425
|
+
const colorMode = options.colorMode === true ? {} : options.colorMode;
|
|
1426
|
+
addPluginTemplate({
|
|
1427
|
+
filename: "dou-ui/plugin.mjs",
|
|
1428
|
+
getContents: () => {
|
|
1429
|
+
const imports = used.map(({ name, from: source }) => `import { ${name} } from '${source}'`);
|
|
1430
|
+
return `import { defineNuxtPlugin, useAppConfig, useHead } from '#imports'
|
|
1431
|
+
import { colorModeScript, provideGlobalConfig, useColorMode } from 'dou-ui'
|
|
1432
|
+
${imports.join(`
|
|
1433
|
+
`)}
|
|
1434
|
+
|
|
1435
|
+
const colorMode = ${JSON.stringify(colorMode)}
|
|
1436
|
+
|
|
1437
|
+
export default defineNuxtPlugin({
|
|
1438
|
+
name: 'dou-ui',
|
|
1439
|
+
setup(nuxtApp) {
|
|
1440
|
+
const appConfig = useAppConfig()
|
|
1441
|
+
provideGlobalConfig(() => appConfig.douUI ?? {}, nuxtApp.vueApp)
|
|
1442
|
+
${used.map(({ name, written }) => ` nuxtApp.vueApp.directive('${written}', ${name})`).join(`
|
|
1443
|
+
`)}
|
|
1444
|
+
if (colorMode) {
|
|
1445
|
+
if (import.meta.server) {
|
|
1446
|
+
useHead({
|
|
1447
|
+
script: [{ key: 'dou-color-mode', innerHTML: colorModeScript(colorMode), tagPriority: 'critical' }],
|
|
1448
|
+
})
|
|
1449
|
+
} else {
|
|
1450
|
+
// The first call decides the options every later call shares.
|
|
1451
|
+
useColorMode(colorMode)
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
})
|
|
1456
|
+
`;
|
|
1457
|
+
}
|
|
1458
|
+
});
|
|
1459
|
+
}
|
|
1460
|
+
});
|
|
1461
|
+
export {
|
|
1462
|
+
module_default as default
|
|
1463
|
+
};
|