@manohub/icon 1.3.2 → 1.3.3
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/README.md +107 -243
- package/dist/glyph-modules.d.ts +12 -0
- package/dist/glyphs.d.ts +375 -0
- package/dist/icon-render.d.ts +1 -1
- package/dist/icon.d.ts +1 -1
- package/dist/index.d.ts +6 -8
- package/dist/index.js +608 -17
- package/dist/svg.d.ts +1 -0
- package/dist/svg.js +205 -259
- package/package.json +5 -23
- package/dist/glyphs/base/aggregate.d.ts +0 -2
- package/dist/glyphs/base/aggregate.js +0 -2
- package/dist/glyphs/base/ai.d.ts +0 -2
- package/dist/glyphs/base/ai.js +0 -3
- package/dist/glyphs/base/alert-circle.d.ts +0 -2
- package/dist/glyphs/base/alert-circle.js +0 -2
- package/dist/glyphs/base/alert.d.ts +0 -2
- package/dist/glyphs/base/alert.js +0 -2
- package/dist/glyphs/base/apps.d.ts +0 -2
- package/dist/glyphs/base/apps.js +0 -2
- package/dist/glyphs/base/archive.d.ts +0 -2
- package/dist/glyphs/base/archive.js +0 -2
- package/dist/glyphs/base/back.d.ts +0 -2
- package/dist/glyphs/base/back.js +0 -2
- package/dist/glyphs/base/braces.d.ts +0 -2
- package/dist/glyphs/base/braces.js +0 -2
- package/dist/glyphs/base/branch.d.ts +0 -2
- package/dist/glyphs/base/branch.js +0 -2
- package/dist/glyphs/base/calendar.d.ts +0 -2
- package/dist/glyphs/base/calendar.js +0 -2
- package/dist/glyphs/base/call.d.ts +0 -2
- package/dist/glyphs/base/call.js +0 -2
- package/dist/glyphs/base/check-circle.d.ts +0 -2
- package/dist/glyphs/base/check-circle.js +0 -2
- package/dist/glyphs/base/check.d.ts +0 -2
- package/dist/glyphs/base/check.js +0 -2
- package/dist/glyphs/base/chevron-down.d.ts +0 -2
- package/dist/glyphs/base/chevron-down.js +0 -2
- package/dist/glyphs/base/chevron-left.d.ts +0 -2
- package/dist/glyphs/base/chevron-left.js +0 -2
- package/dist/glyphs/base/chevron-right.d.ts +0 -2
- package/dist/glyphs/base/chevron-right.js +0 -2
- package/dist/glyphs/base/chevron-up.d.ts +0 -2
- package/dist/glyphs/base/chevron-up.js +0 -2
- package/dist/glyphs/base/chevrons-left.d.ts +0 -2
- package/dist/glyphs/base/chevrons-left.js +0 -4
- package/dist/glyphs/base/chevrons-right.d.ts +0 -2
- package/dist/glyphs/base/chevrons-right.js +0 -2
- package/dist/glyphs/base/clock.d.ts +0 -2
- package/dist/glyphs/base/clock.js +0 -2
- package/dist/glyphs/base/close-circle.d.ts +0 -2
- package/dist/glyphs/base/close-circle.js +0 -2
- package/dist/glyphs/base/close.d.ts +0 -2
- package/dist/glyphs/base/close.js +0 -2
- package/dist/glyphs/base/code.d.ts +0 -2
- package/dist/glyphs/base/code.js +0 -2
- package/dist/glyphs/base/copy.d.ts +0 -2
- package/dist/glyphs/base/copy.js +0 -2
- package/dist/glyphs/base/data.d.ts +0 -2
- package/dist/glyphs/base/data.js +0 -2
- package/dist/glyphs/base/delete.d.ts +0 -2
- package/dist/glyphs/base/delete.js +0 -2
- package/dist/glyphs/base/doc.d.ts +0 -2
- package/dist/glyphs/base/doc.js +0 -2
- package/dist/glyphs/base/download.d.ts +0 -2
- package/dist/glyphs/base/download.js +0 -2
- package/dist/glyphs/base/drag-handle.d.ts +0 -2
- package/dist/glyphs/base/drag-handle.js +0 -4
- package/dist/glyphs/base/edit.d.ts +0 -2
- package/dist/glyphs/base/edit.js +0 -2
- package/dist/glyphs/base/event.d.ts +0 -2
- package/dist/glyphs/base/event.js +0 -2
- package/dist/glyphs/base/external-link.d.ts +0 -2
- package/dist/glyphs/base/external-link.js +0 -2
- package/dist/glyphs/base/favorite-filled.d.ts +0 -2
- package/dist/glyphs/base/favorite-filled.js +0 -2
- package/dist/glyphs/base/favorite.d.ts +0 -2
- package/dist/glyphs/base/favorite.js +0 -2
- package/dist/glyphs/base/file-code.d.ts +0 -2
- package/dist/glyphs/base/file-code.js +0 -2
- package/dist/glyphs/base/file-json.d.ts +0 -2
- package/dist/glyphs/base/file-json.js +0 -2
- package/dist/glyphs/base/file-text.d.ts +0 -2
- package/dist/glyphs/base/file-text.js +0 -2
- package/dist/glyphs/base/file.d.ts +0 -2
- package/dist/glyphs/base/file.js +0 -2
- package/dist/glyphs/base/filter.d.ts +0 -2
- package/dist/glyphs/base/filter.js +0 -2
- package/dist/glyphs/base/folder-open.d.ts +0 -2
- package/dist/glyphs/base/folder-open.js +0 -2
- package/dist/glyphs/base/folder.d.ts +0 -2
- package/dist/glyphs/base/folder.js +0 -2
- package/dist/glyphs/base/gear.d.ts +0 -2
- package/dist/glyphs/base/gear.js +0 -2
- package/dist/glyphs/base/globe.d.ts +0 -2
- package/dist/glyphs/base/globe.js +0 -2
- package/dist/glyphs/base/group.d.ts +0 -2
- package/dist/glyphs/base/group.js +0 -2
- package/dist/glyphs/base/hand.d.ts +0 -2
- package/dist/glyphs/base/hand.js +0 -2
- package/dist/glyphs/base/help.d.ts +0 -2
- package/dist/glyphs/base/help.js +0 -2
- package/dist/glyphs/base/history.d.ts +0 -2
- package/dist/glyphs/base/history.js +0 -2
- package/dist/glyphs/base/home.d.ts +0 -2
- package/dist/glyphs/base/home.js +0 -2
- package/dist/glyphs/base/image.d.ts +0 -2
- package/dist/glyphs/base/image.js +0 -3
- package/dist/glyphs/base/index.d.ts +0 -228
- package/dist/glyphs/base/index.js +0 -232
- package/dist/glyphs/base/info-circle.d.ts +0 -2
- package/dist/glyphs/base/info-circle.js +0 -4
- package/dist/glyphs/base/info.d.ts +0 -2
- package/dist/glyphs/base/info.js +0 -8
- package/dist/glyphs/base/join.d.ts +0 -2
- package/dist/glyphs/base/join.js +0 -2
- package/dist/glyphs/base/key.d.ts +0 -2
- package/dist/glyphs/base/key.js +0 -2
- package/dist/glyphs/base/link.d.ts +0 -2
- package/dist/glyphs/base/link.js +0 -2
- package/dist/glyphs/base/list.d.ts +0 -2
- package/dist/glyphs/base/list.js +0 -2
- package/dist/glyphs/base/loading.d.ts +0 -2
- package/dist/glyphs/base/loading.js +0 -2
- package/dist/glyphs/base/lock.d.ts +0 -2
- package/dist/glyphs/base/lock.js +0 -2
- package/dist/glyphs/base/logout.d.ts +0 -2
- package/dist/glyphs/base/logout.js +0 -2
- package/dist/glyphs/base/maximize.d.ts +0 -2
- package/dist/glyphs/base/maximize.js +0 -2
- package/dist/glyphs/base/menu.d.ts +0 -2
- package/dist/glyphs/base/menu.js +0 -3
- package/dist/glyphs/base/minimize.d.ts +0 -2
- package/dist/glyphs/base/minimize.js +0 -2
- package/dist/glyphs/base/minus.d.ts +0 -2
- package/dist/glyphs/base/minus.js +0 -2
- package/dist/glyphs/base/more.d.ts +0 -2
- package/dist/glyphs/base/more.js +0 -2
- package/dist/glyphs/base/note.d.ts +0 -2
- package/dist/glyphs/base/note.js +0 -2
- package/dist/glyphs/base/notification.d.ts +0 -2
- package/dist/glyphs/base/notification.js +0 -2
- package/dist/glyphs/base/or.d.ts +0 -2
- package/dist/glyphs/base/or.js +0 -2
- package/dist/glyphs/base/package.d.ts +0 -2
- package/dist/glyphs/base/package.js +0 -2
- package/dist/glyphs/base/page-title.d.ts +0 -2
- package/dist/glyphs/base/page-title.js +0 -5
- package/dist/glyphs/base/pause-filled.d.ts +0 -2
- package/dist/glyphs/base/pause-filled.js +0 -2
- package/dist/glyphs/base/pause.d.ts +0 -2
- package/dist/glyphs/base/pause.js +0 -2
- package/dist/glyphs/base/play-filled.d.ts +0 -2
- package/dist/glyphs/base/play-filled.js +0 -2
- package/dist/glyphs/base/play.d.ts +0 -2
- package/dist/glyphs/base/play.js +0 -6
- package/dist/glyphs/base/plug.d.ts +0 -2
- package/dist/glyphs/base/plug.js +0 -2
- package/dist/glyphs/base/plus-circle.d.ts +0 -2
- package/dist/glyphs/base/plus-circle.js +0 -2
- package/dist/glyphs/base/plus.d.ts +0 -2
- package/dist/glyphs/base/plus.js +0 -2
- package/dist/glyphs/base/preview.d.ts +0 -2
- package/dist/glyphs/base/preview.js +0 -2
- package/dist/glyphs/base/receive.d.ts +0 -2
- package/dist/glyphs/base/receive.js +0 -2
- package/dist/glyphs/base/refresh.d.ts +0 -2
- package/dist/glyphs/base/refresh.js +0 -2
- package/dist/glyphs/base/rule.d.ts +0 -2
- package/dist/glyphs/base/rule.js +0 -2
- package/dist/glyphs/base/save.d.ts +0 -2
- package/dist/glyphs/base/save.js +0 -2
- package/dist/glyphs/base/search.d.ts +0 -2
- package/dist/glyphs/base/search.js +0 -2
- package/dist/glyphs/base/send.d.ts +0 -2
- package/dist/glyphs/base/send.js +0 -2
- package/dist/glyphs/base/settings.d.ts +0 -2
- package/dist/glyphs/base/settings.js +0 -2
- package/dist/glyphs/base/shield-alert.d.ts +0 -2
- package/dist/glyphs/base/shield-alert.js +0 -2
- package/dist/glyphs/base/shield-check.d.ts +0 -2
- package/dist/glyphs/base/shield-check.js +0 -2
- package/dist/glyphs/base/shield.d.ts +0 -2
- package/dist/glyphs/base/shield.js +0 -2
- package/dist/glyphs/base/split.d.ts +0 -2
- package/dist/glyphs/base/split.js +0 -2
- package/dist/glyphs/base/stop-filled.d.ts +0 -2
- package/dist/glyphs/base/stop-filled.js +0 -2
- package/dist/glyphs/base/stop.d.ts +0 -2
- package/dist/glyphs/base/stop.js +0 -2
- package/dist/glyphs/base/store.d.ts +0 -2
- package/dist/glyphs/base/store.js +0 -2
- package/dist/glyphs/base/sub.d.ts +0 -2
- package/dist/glyphs/base/sub.js +0 -2
- package/dist/glyphs/base/table.d.ts +0 -2
- package/dist/glyphs/base/table.js +0 -2
- package/dist/glyphs/base/tag.d.ts +0 -2
- package/dist/glyphs/base/tag.js +0 -2
- package/dist/glyphs/base/terminal.d.ts +0 -2
- package/dist/glyphs/base/terminal.js +0 -2
- package/dist/glyphs/base/tool.d.ts +0 -2
- package/dist/glyphs/base/tool.js +0 -2
- package/dist/glyphs/base/transform.d.ts +0 -2
- package/dist/glyphs/base/transform.js +0 -2
- package/dist/glyphs/base/union.d.ts +0 -2
- package/dist/glyphs/base/union.js +0 -2
- package/dist/glyphs/base/unlock.d.ts +0 -2
- package/dist/glyphs/base/unlock.js +0 -2
- package/dist/glyphs/base/upload.d.ts +0 -2
- package/dist/glyphs/base/upload.js +0 -2
- package/dist/glyphs/base/user.d.ts +0 -2
- package/dist/glyphs/base/user.js +0 -2
- package/dist/glyphs/base/users.d.ts +0 -2
- package/dist/glyphs/base/users.js +0 -2
- package/dist/glyphs/base/workbench.d.ts +0 -2
- package/dist/glyphs/base/workbench.js +0 -2
- package/dist/glyphs/business/agent.d.ts +0 -2
- package/dist/glyphs/business/agent.js +0 -3
- package/dist/glyphs/business/application.d.ts +0 -2
- package/dist/glyphs/business/application.js +0 -3
- package/dist/glyphs/business/client.d.ts +0 -2
- package/dist/glyphs/business/client.js +0 -3
- package/dist/glyphs/business/compose.d.ts +0 -2
- package/dist/glyphs/business/compose.js +0 -5
- package/dist/glyphs/business/exposure.d.ts +0 -2
- package/dist/glyphs/business/exposure.js +0 -3
- package/dist/glyphs/business/index.d.ts +0 -43
- package/dist/glyphs/business/index.js +0 -43
- package/dist/glyphs/business/log.d.ts +0 -2
- package/dist/glyphs/business/log.js +0 -3
- package/dist/glyphs/business/mcp.d.ts +0 -2
- package/dist/glyphs/business/mcp.js +0 -3
- package/dist/glyphs/business/openapi.d.ts +0 -2
- package/dist/glyphs/business/openapi.js +0 -3
- package/dist/glyphs/business/schema.d.ts +0 -2
- package/dist/glyphs/business/schema.js +0 -5
- package/dist/glyphs/business/server.d.ts +0 -2
- package/dist/glyphs/business/server.js +0 -3
- package/dist/glyphs/business/service.d.ts +0 -2
- package/dist/glyphs/business/service.js +0 -3
- package/dist/glyphs/index.d.ts +0 -150
- package/dist/glyphs/index.js +0 -65
- package/dist/icon-base.js +0 -44
- package/dist/icon-render.js +0 -60
- package/dist/icon.js +0 -52
- package/dist/uniquify-ids.js +0 -72
package/dist/glyphs.d.ts
ADDED
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
export declare const aggregateGlyph: string;
|
|
2
|
+
export declare const aiGlyph: string;
|
|
3
|
+
export declare const alertGlyph: string;
|
|
4
|
+
export declare const alertCircleGlyph: string;
|
|
5
|
+
export declare const appsGlyph: string;
|
|
6
|
+
export declare const archiveGlyph: string;
|
|
7
|
+
export declare const backGlyph: string;
|
|
8
|
+
export declare const bracesGlyph: string;
|
|
9
|
+
export declare const branchGlyph: string;
|
|
10
|
+
export declare const calendarGlyph: string;
|
|
11
|
+
export declare const callGlyph: string;
|
|
12
|
+
export declare const checkGlyph: string;
|
|
13
|
+
export declare const checkCircleGlyph: string;
|
|
14
|
+
export declare const chevronDownGlyph: string;
|
|
15
|
+
export declare const chevronLeftGlyph: string;
|
|
16
|
+
export declare const chevronRightGlyph: string;
|
|
17
|
+
export declare const chevronUpGlyph: string;
|
|
18
|
+
export declare const chevronsLeftGlyph: string;
|
|
19
|
+
export declare const chevronsRightGlyph: string;
|
|
20
|
+
export declare const clockGlyph: string;
|
|
21
|
+
export declare const closeGlyph: string;
|
|
22
|
+
export declare const closeCircleGlyph: string;
|
|
23
|
+
export declare const codeGlyph: string;
|
|
24
|
+
export declare const copyGlyph: string;
|
|
25
|
+
export declare const dataGlyph: string;
|
|
26
|
+
export declare const deleteGlyph: string;
|
|
27
|
+
export declare const docGlyph: string;
|
|
28
|
+
export declare const downloadGlyph: string;
|
|
29
|
+
export declare const dragHandleGlyph: string;
|
|
30
|
+
export declare const editGlyph: string;
|
|
31
|
+
export declare const eventGlyph: string;
|
|
32
|
+
export declare const externalLinkGlyph: string;
|
|
33
|
+
export declare const favoriteGlyph: string;
|
|
34
|
+
export declare const favoriteFilledGlyph: string;
|
|
35
|
+
export declare const fileGlyph: string;
|
|
36
|
+
export declare const fileCodeGlyph: string;
|
|
37
|
+
export declare const fileJsonGlyph: string;
|
|
38
|
+
export declare const fileTextGlyph: string;
|
|
39
|
+
export declare const filterGlyph: string;
|
|
40
|
+
export declare const folderGlyph: string;
|
|
41
|
+
export declare const folderOpenGlyph: string;
|
|
42
|
+
export declare const gearGlyph: string;
|
|
43
|
+
export declare const globeGlyph: string;
|
|
44
|
+
export declare const groupGlyph: string;
|
|
45
|
+
export declare const handGlyph: string;
|
|
46
|
+
export declare const helpGlyph: string;
|
|
47
|
+
export declare const historyGlyph: string;
|
|
48
|
+
export declare const homeGlyph: string;
|
|
49
|
+
export declare const imageGlyph: string;
|
|
50
|
+
export declare const infoGlyph: string;
|
|
51
|
+
export declare const infoCircleGlyph: string;
|
|
52
|
+
export declare const joinGlyph: string;
|
|
53
|
+
export declare const keyGlyph: string;
|
|
54
|
+
export declare const linkGlyph: string;
|
|
55
|
+
export declare const listGlyph: string;
|
|
56
|
+
export declare const loadingGlyph: string;
|
|
57
|
+
export declare const lockGlyph: string;
|
|
58
|
+
export declare const logoutGlyph: string;
|
|
59
|
+
export declare const maximizeGlyph: string;
|
|
60
|
+
export declare const menuGlyph: string;
|
|
61
|
+
export declare const minimizeGlyph: string;
|
|
62
|
+
export declare const minusGlyph: string;
|
|
63
|
+
export declare const moreGlyph: string;
|
|
64
|
+
export declare const noteGlyph: string;
|
|
65
|
+
export declare const notificationGlyph: string;
|
|
66
|
+
export declare const orGlyph: string;
|
|
67
|
+
export declare const packageGlyph: string;
|
|
68
|
+
export declare const pageTitleGlyph: string;
|
|
69
|
+
export declare const pauseGlyph: string;
|
|
70
|
+
export declare const pauseFilledGlyph: string;
|
|
71
|
+
export declare const playGlyph: string;
|
|
72
|
+
export declare const playFilledGlyph: string;
|
|
73
|
+
export declare const plugGlyph: string;
|
|
74
|
+
export declare const plusGlyph: string;
|
|
75
|
+
export declare const plusCircleGlyph: string;
|
|
76
|
+
export declare const previewGlyph: string;
|
|
77
|
+
export declare const receiveGlyph: string;
|
|
78
|
+
export declare const refreshGlyph: string;
|
|
79
|
+
export declare const ruleGlyph: string;
|
|
80
|
+
export declare const saveGlyph: string;
|
|
81
|
+
export declare const searchGlyph: string;
|
|
82
|
+
export declare const sendGlyph: string;
|
|
83
|
+
export declare const settingsGlyph: string;
|
|
84
|
+
export declare const shieldGlyph: string;
|
|
85
|
+
export declare const shieldAlertGlyph: string;
|
|
86
|
+
export declare const shieldCheckGlyph: string;
|
|
87
|
+
export declare const splitGlyph: string;
|
|
88
|
+
export declare const stopGlyph: string;
|
|
89
|
+
export declare const stopFilledGlyph: string;
|
|
90
|
+
export declare const storeGlyph: string;
|
|
91
|
+
export declare const subGlyph: string;
|
|
92
|
+
export declare const tableGlyph: string;
|
|
93
|
+
export declare const tagGlyph: string;
|
|
94
|
+
export declare const terminalGlyph: string;
|
|
95
|
+
export declare const toolGlyph: string;
|
|
96
|
+
export declare const transformGlyph: string;
|
|
97
|
+
export declare const unionGlyph: string;
|
|
98
|
+
export declare const unlockGlyph: string;
|
|
99
|
+
export declare const uploadGlyph: string;
|
|
100
|
+
export declare const userGlyph: string;
|
|
101
|
+
export declare const usersGlyph: string;
|
|
102
|
+
export declare const workbenchGlyph: string;
|
|
103
|
+
export declare const agentGlyph: string;
|
|
104
|
+
export declare const applicationGlyph: string;
|
|
105
|
+
export declare const clientGlyph: string;
|
|
106
|
+
export declare const composeGlyph: string;
|
|
107
|
+
export declare const exposureGlyph: string;
|
|
108
|
+
export declare const logGlyph: string;
|
|
109
|
+
export declare const mcpGlyph: string;
|
|
110
|
+
export declare const openapiGlyph: string;
|
|
111
|
+
export declare const schemaGlyph: string;
|
|
112
|
+
export declare const serverGlyph: string;
|
|
113
|
+
export declare const serviceGlyph: string;
|
|
114
|
+
export declare const BASE_GLYPHS: {
|
|
115
|
+
readonly loading: string;
|
|
116
|
+
readonly close: string;
|
|
117
|
+
readonly info: string;
|
|
118
|
+
readonly alert: string;
|
|
119
|
+
readonly 'chevron-left': string;
|
|
120
|
+
readonly 'chevron-right': string;
|
|
121
|
+
readonly 'chevron-down': string;
|
|
122
|
+
readonly 'chevron-up': string;
|
|
123
|
+
readonly 'chevrons-left': string;
|
|
124
|
+
readonly 'chevrons-right': string;
|
|
125
|
+
readonly check: string;
|
|
126
|
+
readonly search: string;
|
|
127
|
+
readonly user: string;
|
|
128
|
+
readonly download: string;
|
|
129
|
+
readonly back: string;
|
|
130
|
+
readonly link: string;
|
|
131
|
+
readonly folder: string;
|
|
132
|
+
readonly 'folder-open': string;
|
|
133
|
+
readonly file: string;
|
|
134
|
+
readonly 'file-code': string;
|
|
135
|
+
readonly 'file-json': string;
|
|
136
|
+
readonly 'file-text': string;
|
|
137
|
+
readonly terminal: string;
|
|
138
|
+
readonly shield: string;
|
|
139
|
+
readonly tool: string;
|
|
140
|
+
readonly plus: string;
|
|
141
|
+
readonly notification: string;
|
|
142
|
+
readonly settings: string;
|
|
143
|
+
readonly logout: string;
|
|
144
|
+
readonly home: string;
|
|
145
|
+
readonly workbench: string;
|
|
146
|
+
readonly apps: string;
|
|
147
|
+
readonly favorite: string;
|
|
148
|
+
readonly 'page-title': string;
|
|
149
|
+
readonly 'favorite-filled': string;
|
|
150
|
+
readonly 'drag-handle': string;
|
|
151
|
+
readonly edit: string;
|
|
152
|
+
readonly delete: string;
|
|
153
|
+
readonly copy: string;
|
|
154
|
+
readonly refresh: string;
|
|
155
|
+
readonly upload: string;
|
|
156
|
+
readonly save: string;
|
|
157
|
+
readonly filter: string;
|
|
158
|
+
readonly more: string;
|
|
159
|
+
readonly preview: string;
|
|
160
|
+
readonly 'external-link': string;
|
|
161
|
+
readonly minus: string;
|
|
162
|
+
readonly 'plus-circle': string;
|
|
163
|
+
readonly 'close-circle': string;
|
|
164
|
+
readonly 'info-circle': string;
|
|
165
|
+
readonly 'check-circle': string;
|
|
166
|
+
readonly 'alert-circle': string;
|
|
167
|
+
readonly play: string;
|
|
168
|
+
readonly 'play-filled': string;
|
|
169
|
+
readonly pause: string;
|
|
170
|
+
readonly 'pause-filled': string;
|
|
171
|
+
readonly menu: string;
|
|
172
|
+
readonly list: string;
|
|
173
|
+
readonly table: string;
|
|
174
|
+
readonly calendar: string;
|
|
175
|
+
readonly clock: string;
|
|
176
|
+
readonly help: string;
|
|
177
|
+
readonly lock: string;
|
|
178
|
+
readonly unlock: string;
|
|
179
|
+
readonly key: string;
|
|
180
|
+
readonly users: string;
|
|
181
|
+
readonly image: string;
|
|
182
|
+
readonly archive: string;
|
|
183
|
+
readonly stop: string;
|
|
184
|
+
readonly 'stop-filled': string;
|
|
185
|
+
readonly send: string;
|
|
186
|
+
readonly event: string;
|
|
187
|
+
readonly gear: string;
|
|
188
|
+
readonly code: string;
|
|
189
|
+
readonly hand: string;
|
|
190
|
+
readonly rule: string;
|
|
191
|
+
readonly receive: string;
|
|
192
|
+
readonly call: string;
|
|
193
|
+
readonly or: string;
|
|
194
|
+
readonly sub: string;
|
|
195
|
+
readonly note: string;
|
|
196
|
+
readonly data: string;
|
|
197
|
+
readonly store: string;
|
|
198
|
+
readonly group: string;
|
|
199
|
+
readonly doc: string;
|
|
200
|
+
readonly globe: string;
|
|
201
|
+
readonly braces: string;
|
|
202
|
+
readonly transform: string;
|
|
203
|
+
readonly split: string;
|
|
204
|
+
readonly input: string;
|
|
205
|
+
readonly join: string;
|
|
206
|
+
readonly union: string;
|
|
207
|
+
readonly aggregate: string;
|
|
208
|
+
readonly output: string;
|
|
209
|
+
readonly xor: string;
|
|
210
|
+
readonly and: string;
|
|
211
|
+
readonly package: string;
|
|
212
|
+
readonly plug: string;
|
|
213
|
+
readonly branch: string;
|
|
214
|
+
readonly tag: string;
|
|
215
|
+
readonly ai: string;
|
|
216
|
+
readonly 'shield-check': string;
|
|
217
|
+
readonly 'shield-alert': string;
|
|
218
|
+
readonly history: string;
|
|
219
|
+
readonly maximize: string;
|
|
220
|
+
readonly minimize: string;
|
|
221
|
+
};
|
|
222
|
+
export declare const BUSINESS_GLYPHS: {
|
|
223
|
+
readonly application: string;
|
|
224
|
+
readonly client: string;
|
|
225
|
+
readonly service: string;
|
|
226
|
+
readonly schema: string;
|
|
227
|
+
readonly compose: string;
|
|
228
|
+
readonly log: string;
|
|
229
|
+
readonly mcp: string;
|
|
230
|
+
readonly agent: string;
|
|
231
|
+
readonly server: string;
|
|
232
|
+
readonly exposure: string;
|
|
233
|
+
readonly openapi: string;
|
|
234
|
+
};
|
|
235
|
+
export declare const ICON_GLYPHS: {
|
|
236
|
+
readonly application: string;
|
|
237
|
+
readonly client: string;
|
|
238
|
+
readonly service: string;
|
|
239
|
+
readonly schema: string;
|
|
240
|
+
readonly compose: string;
|
|
241
|
+
readonly log: string;
|
|
242
|
+
readonly mcp: string;
|
|
243
|
+
readonly agent: string;
|
|
244
|
+
readonly server: string;
|
|
245
|
+
readonly exposure: string;
|
|
246
|
+
readonly openapi: string;
|
|
247
|
+
readonly loading: string;
|
|
248
|
+
readonly close: string;
|
|
249
|
+
readonly info: string;
|
|
250
|
+
readonly alert: string;
|
|
251
|
+
readonly 'chevron-left': string;
|
|
252
|
+
readonly 'chevron-right': string;
|
|
253
|
+
readonly 'chevron-down': string;
|
|
254
|
+
readonly 'chevron-up': string;
|
|
255
|
+
readonly 'chevrons-left': string;
|
|
256
|
+
readonly 'chevrons-right': string;
|
|
257
|
+
readonly check: string;
|
|
258
|
+
readonly search: string;
|
|
259
|
+
readonly user: string;
|
|
260
|
+
readonly download: string;
|
|
261
|
+
readonly back: string;
|
|
262
|
+
readonly link: string;
|
|
263
|
+
readonly folder: string;
|
|
264
|
+
readonly 'folder-open': string;
|
|
265
|
+
readonly file: string;
|
|
266
|
+
readonly 'file-code': string;
|
|
267
|
+
readonly 'file-json': string;
|
|
268
|
+
readonly 'file-text': string;
|
|
269
|
+
readonly terminal: string;
|
|
270
|
+
readonly shield: string;
|
|
271
|
+
readonly tool: string;
|
|
272
|
+
readonly plus: string;
|
|
273
|
+
readonly notification: string;
|
|
274
|
+
readonly settings: string;
|
|
275
|
+
readonly logout: string;
|
|
276
|
+
readonly home: string;
|
|
277
|
+
readonly workbench: string;
|
|
278
|
+
readonly apps: string;
|
|
279
|
+
readonly favorite: string;
|
|
280
|
+
readonly 'page-title': string;
|
|
281
|
+
readonly 'favorite-filled': string;
|
|
282
|
+
readonly 'drag-handle': string;
|
|
283
|
+
readonly edit: string;
|
|
284
|
+
readonly delete: string;
|
|
285
|
+
readonly copy: string;
|
|
286
|
+
readonly refresh: string;
|
|
287
|
+
readonly upload: string;
|
|
288
|
+
readonly save: string;
|
|
289
|
+
readonly filter: string;
|
|
290
|
+
readonly more: string;
|
|
291
|
+
readonly preview: string;
|
|
292
|
+
readonly 'external-link': string;
|
|
293
|
+
readonly minus: string;
|
|
294
|
+
readonly 'plus-circle': string;
|
|
295
|
+
readonly 'close-circle': string;
|
|
296
|
+
readonly 'info-circle': string;
|
|
297
|
+
readonly 'check-circle': string;
|
|
298
|
+
readonly 'alert-circle': string;
|
|
299
|
+
readonly play: string;
|
|
300
|
+
readonly 'play-filled': string;
|
|
301
|
+
readonly pause: string;
|
|
302
|
+
readonly 'pause-filled': string;
|
|
303
|
+
readonly menu: string;
|
|
304
|
+
readonly list: string;
|
|
305
|
+
readonly table: string;
|
|
306
|
+
readonly calendar: string;
|
|
307
|
+
readonly clock: string;
|
|
308
|
+
readonly help: string;
|
|
309
|
+
readonly lock: string;
|
|
310
|
+
readonly unlock: string;
|
|
311
|
+
readonly key: string;
|
|
312
|
+
readonly users: string;
|
|
313
|
+
readonly image: string;
|
|
314
|
+
readonly archive: string;
|
|
315
|
+
readonly stop: string;
|
|
316
|
+
readonly 'stop-filled': string;
|
|
317
|
+
readonly send: string;
|
|
318
|
+
readonly event: string;
|
|
319
|
+
readonly gear: string;
|
|
320
|
+
readonly code: string;
|
|
321
|
+
readonly hand: string;
|
|
322
|
+
readonly rule: string;
|
|
323
|
+
readonly receive: string;
|
|
324
|
+
readonly call: string;
|
|
325
|
+
readonly or: string;
|
|
326
|
+
readonly sub: string;
|
|
327
|
+
readonly note: string;
|
|
328
|
+
readonly data: string;
|
|
329
|
+
readonly store: string;
|
|
330
|
+
readonly group: string;
|
|
331
|
+
readonly doc: string;
|
|
332
|
+
readonly globe: string;
|
|
333
|
+
readonly braces: string;
|
|
334
|
+
readonly transform: string;
|
|
335
|
+
readonly split: string;
|
|
336
|
+
readonly input: string;
|
|
337
|
+
readonly join: string;
|
|
338
|
+
readonly union: string;
|
|
339
|
+
readonly aggregate: string;
|
|
340
|
+
readonly output: string;
|
|
341
|
+
readonly xor: string;
|
|
342
|
+
readonly and: string;
|
|
343
|
+
readonly package: string;
|
|
344
|
+
readonly plug: string;
|
|
345
|
+
readonly branch: string;
|
|
346
|
+
readonly tag: string;
|
|
347
|
+
readonly ai: string;
|
|
348
|
+
readonly 'shield-check': string;
|
|
349
|
+
readonly 'shield-alert': string;
|
|
350
|
+
readonly history: string;
|
|
351
|
+
readonly maximize: string;
|
|
352
|
+
readonly minimize: string;
|
|
353
|
+
};
|
|
354
|
+
export type IconName = keyof typeof ICON_GLYPHS;
|
|
355
|
+
export declare const IconNameList: IconName[];
|
|
356
|
+
/** 渲染完整 `<svg>` 串的选项 */
|
|
357
|
+
export interface IconRenderOptions {
|
|
358
|
+
/** 宽高(px),默认 16 */
|
|
359
|
+
size?: number | string;
|
|
360
|
+
/** 附加类名 */
|
|
361
|
+
class?: string;
|
|
362
|
+
/** 追加内联样式(分号分隔),与基底样式合并 */
|
|
363
|
+
style?: string;
|
|
364
|
+
/** 描边宽度,默认 2 */
|
|
365
|
+
strokeWidth?: number;
|
|
366
|
+
}
|
|
367
|
+
/** 片段 → 完整 `<svg>` 字符串(不引入 Vue):静态页 / 模板串 / 别的框架的 `innerHTML`。 */
|
|
368
|
+
export declare function renderGlyphSvg(fragment: string, options?: IconRenderOptions): string;
|
|
369
|
+
/** 图标名 → 完整 `<svg>` 字符串。名字查找走整张 `ICON_GLYPHS`。 */
|
|
370
|
+
export declare function renderIconSvg(name: IconName, options?: IconRenderOptions): string;
|
|
371
|
+
/**
|
|
372
|
+
* 取单个图标的片段串。未知名字返回空串(渲染成空图标而不抛错):消费方可能把业务侧字符串
|
|
373
|
+
* 透传给 `icon`,抛错会把整棵组件树带崩。拼写错误由 `IconName` 类型在编译期拦住。
|
|
374
|
+
*/
|
|
375
|
+
export declare function getIconGlyph(name: IconName): string;
|
package/dist/icon-render.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 组件渲染内核:把「片段串 / 默认插槽」包成那棵唯一的 `<svg>`,**不 import 图标表**。
|
|
3
3
|
*
|
|
4
4
|
* `Icon`(按名字查找)与 `GlyphIcon`(直接给片段)共用它,保证容器口径只有一套;两边的产物
|
|
5
|
-
* 又与 `glyphs
|
|
5
|
+
* 又与 `glyphs.ts` 的 `renderGlyphSvg()`(纯字符串版)逐字对齐。
|
|
6
6
|
*/
|
|
7
7
|
import { type VNode, type VNodeChild } from 'vue';
|
|
8
8
|
/**
|
package/dist/icon.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
-
import { type IconName } from './glyphs
|
|
2
|
+
import { type IconName } from './glyphs.ts';
|
|
3
3
|
/** Icon 组件的 props 定义 */
|
|
4
4
|
export declare const iconProps: {
|
|
5
5
|
/** 内置图标名。**不传**时以默认插槽给的图形内容为准(见组件注释) */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @manohub/icon
|
|
2
|
+
* @manohub/icon 对外导出面(**唯一入口**):图标表(`ICON_GLYPHS` / `IconName` / `IconNameList`)
|
|
3
3
|
* + 逐图标 `*Glyph` 常量 + `<Icon>`(按名字)/ `<GlyphIcon>`(按片段)组件 +
|
|
4
4
|
* 纯字符串渲染器 `renderIconSvg` / `renderGlyphSvg`。零运行时依赖(仅 peer `vue`),不含 CSS。
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* `@manohub/icon/base`(组件)+ `@manohub/icon/glyphs`(数据)。
|
|
6
|
+
* 字形源在包的 `icons/base/*.svg` 与 `icons/business/*.svg`,构建期由 `?glyph` 转成片段串。
|
|
7
|
+
* 按需引入靠 tree-shaking:`import { GlyphIcon, searchGlyph } from '@manohub/icon'`。
|
|
9
8
|
*
|
|
10
|
-
* 源码是 TS 但**不含 JSX**(数据是字符串、组件用 `h()`
|
|
11
|
-
*
|
|
12
|
-
* 不用 Vue 的场景走子路径 `@manohub/icon/glyphs`(同一份数据 + 渲染器,不引 `vue`)。
|
|
9
|
+
* 源码是 TS 但**不含 JSX**(数据是字符串、组件用 `h()` 渲染);JS 由 Vite 产出,
|
|
10
|
+
* `.d.ts` 由 `tsc --emitDeclarationOnly` 产出。
|
|
13
11
|
*/
|
|
14
|
-
export * from './glyphs
|
|
12
|
+
export * from './glyphs.ts';
|
|
15
13
|
export * from './icon-base.ts';
|
|
16
14
|
export * from './icon.ts';
|
|
17
15
|
export { uniquifyIds } from './uniquify-ids.ts';
|