@jirawatpyk/aura-react 5.8.0 → 5.10.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.
Files changed (64) hide show
  1. package/README.md +36 -0
  2. package/dist/aura.bundle.js +1528 -1098
  3. package/dist/cjs/index.cjs +1528 -1098
  4. package/dist/esm/Accordion.js +2 -1
  5. package/dist/esm/Alert.js +2 -1
  6. package/dist/esm/AppShell.js +2 -1
  7. package/dist/esm/Breadcrumb.js +2 -1
  8. package/dist/esm/Button.js +2 -1
  9. package/dist/esm/Checkbox.js +2 -1
  10. package/dist/esm/Combobox.js +7 -6
  11. package/dist/esm/Command.js +3 -2
  12. package/dist/esm/DataTable.js +35 -13
  13. package/dist/esm/DatePicker.js +8 -7
  14. package/dist/esm/Dialog.js +38 -5
  15. package/dist/esm/DropdownMenu.js +1 -1
  16. package/dist/esm/Field.js +2 -1
  17. package/dist/esm/FileUpload.js +4 -3
  18. package/dist/esm/FilterBar.js +3 -2
  19. package/dist/esm/FormErrorSummary.js +2 -1
  20. package/dist/esm/Icon.js +50 -31
  21. package/dist/esm/Menu.js +37 -12
  22. package/dist/esm/NumberField.js +3 -2
  23. package/dist/esm/Pagination.js +3 -2
  24. package/dist/esm/PasswordField.js +2 -1
  25. package/dist/esm/Popover.js +2 -1
  26. package/dist/esm/RadioGroup.js +2 -1
  27. package/dist/esm/Select.js +4 -3
  28. package/dist/esm/SideNav.js +3 -2
  29. package/dist/esm/Stat.js +8 -1
  30. package/dist/esm/Stepper.js +2 -1
  31. package/dist/esm/Tabs.js +89 -13
  32. package/dist/esm/Tag.js +3 -2
  33. package/dist/esm/TimePicker.js +5 -4
  34. package/dist/esm/Toaster.js +3 -2
  35. package/dist/esm/classes.js +14 -1
  36. package/dist/esm/colorScheme.js +8 -1
  37. package/dist/esm/display.js +22 -12
  38. package/dist/esm/iconSvg.js +53 -0
  39. package/dist/esm/icons.js +531 -0
  40. package/dist/esm/index.js +2 -1
  41. package/dist/esm/internal.js +1 -14
  42. package/dist/esm/locale.js +7 -0
  43. package/dist/esm/strings.js +4 -245
  44. package/dist/esm/strings.sv.js +127 -0
  45. package/dist/esm/strings.th.js +127 -0
  46. package/dist/icons/index.cjs +613 -0
  47. package/dist/icons/index.d.cts +106 -0
  48. package/dist/icons/index.d.ts +106 -0
  49. package/dist/index.d.cts +52 -2
  50. package/dist/index.d.ts +52 -2
  51. package/dist/locales/sv.cjs +149 -0
  52. package/dist/locales/sv.d.cts +96 -0
  53. package/dist/locales/sv.d.ts +96 -0
  54. package/dist/locales/th.cjs +149 -0
  55. package/dist/locales/th.d.cts +96 -0
  56. package/dist/locales/th.d.ts +96 -0
  57. package/dist/server/index.cjs +445 -314
  58. package/dist/server/index.d.cts +24 -0
  59. package/dist/server/index.d.ts +24 -0
  60. package/dist/server/index.js +445 -314
  61. package/dist/styles.css +22 -1
  62. package/dist/styles.layer.css +22 -1
  63. package/package.json +35 -3
  64. package/scripts/aura-icons-codemod.mjs +345 -0
@@ -0,0 +1,613 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/icons.ts
31
+ var icons_exports = {};
32
+ __export(icons_exports, {
33
+ IconActivity: () => IconActivity,
34
+ IconArrowDown: () => IconArrowDown,
35
+ IconArrowLeft: () => IconArrowLeft,
36
+ IconArrowRight: () => IconArrowRight,
37
+ IconArrowUp: () => IconArrowUp,
38
+ IconArrowUpDown: () => IconArrowUpDown,
39
+ IconArrowUpRight: () => IconArrowUpRight,
40
+ IconBan: () => IconBan,
41
+ IconBell: () => IconBell,
42
+ IconCalendar: () => IconCalendar,
43
+ IconChartColumn: () => IconChartColumn,
44
+ IconCheck: () => IconCheck,
45
+ IconChevronDown: () => IconChevronDown,
46
+ IconChevronLeft: () => IconChevronLeft,
47
+ IconChevronRight: () => IconChevronRight,
48
+ IconChevronUp: () => IconChevronUp,
49
+ IconCircle: () => IconCircle,
50
+ IconCircleAlert: () => IconCircleAlert,
51
+ IconCircleCheck: () => IconCircleCheck,
52
+ IconCircleDotDashed: () => IconCircleDotDashed,
53
+ IconClock: () => IconClock,
54
+ IconCloudUpload: () => IconCloudUpload,
55
+ IconColumns3: () => IconColumns3,
56
+ IconCopy: () => IconCopy,
57
+ IconDownload: () => IconDownload,
58
+ IconEllipsis: () => IconEllipsis,
59
+ IconExternalLink: () => IconExternalLink,
60
+ IconEye: () => IconEye,
61
+ IconEyeOff: () => IconEyeOff,
62
+ IconFile: () => IconFile,
63
+ IconFileText: () => IconFileText,
64
+ IconFilter: () => IconFilter,
65
+ IconFolder: () => IconFolder,
66
+ IconGlobe: () => IconGlobe,
67
+ IconHouse: () => IconHouse,
68
+ IconImage: () => IconImage,
69
+ IconInbox: () => IconInbox,
70
+ IconInfo: () => IconInfo,
71
+ IconLayoutDashboard: () => IconLayoutDashboard,
72
+ IconLoaderCircle: () => IconLoaderCircle,
73
+ IconLock: () => IconLock,
74
+ IconLogOut: () => IconLogOut,
75
+ IconMail: () => IconMail,
76
+ IconMenu: () => IconMenu,
77
+ IconMinus: () => IconMinus,
78
+ IconMonitor: () => IconMonitor,
79
+ IconMoon: () => IconMoon,
80
+ IconPanelLeftClose: () => IconPanelLeftClose,
81
+ IconPanelLeftOpen: () => IconPanelLeftOpen,
82
+ IconPaperclip: () => IconPaperclip,
83
+ IconPencil: () => IconPencil,
84
+ IconPhone: () => IconPhone,
85
+ IconPin: () => IconPin,
86
+ IconPinOff: () => IconPinOff,
87
+ IconPlus: () => IconPlus,
88
+ IconRotateCcw: () => IconRotateCcw,
89
+ IconSearch: () => IconSearch,
90
+ IconServer: () => IconServer,
91
+ IconSettings: () => IconSettings,
92
+ IconShieldAlert: () => IconShieldAlert,
93
+ IconSun: () => IconSun,
94
+ IconTrash2: () => IconTrash2,
95
+ IconTrendingDown: () => IconTrendingDown,
96
+ IconTrendingUp: () => IconTrendingUp,
97
+ IconTriangleAlert: () => IconTriangleAlert,
98
+ IconUpload: () => IconUpload,
99
+ IconUser: () => IconUser,
100
+ IconUsers: () => IconUsers,
101
+ IconWrench: () => IconWrench,
102
+ IconX: () => IconX,
103
+ allIcons: () => allIcons,
104
+ defineIcon: () => defineIcon
105
+ });
106
+ module.exports = __toCommonJS(icons_exports);
107
+
108
+ // src/iconSvg.tsx
109
+ var React = __toESM(require("react"), 1);
110
+
111
+ // src/classes.ts
112
+ function cx() {
113
+ return Array.prototype.filter.call(arguments, Boolean).join(" ");
114
+ }
115
+
116
+ // src/iconSvg.tsx
117
+ var h = React.createElement;
118
+ var SIZES = { sm: 16, md: 20, lg: 24 };
119
+ function iconSize(size) {
120
+ return SIZES[size] || size || 16;
121
+ }
122
+ function iconSvg(shapes, props, ref) {
123
+ const size = iconSize(props.size);
124
+ const a11y = props.label ? { role: "img", "aria-label": props.label } : { "aria-hidden": true, focusable: "false" };
125
+ return /* @__PURE__ */ React.createElement(
126
+ "svg",
127
+ {
128
+ ref,
129
+ xmlns: "http://www.w3.org/2000/svg",
130
+ width: size,
131
+ height: size,
132
+ viewBox: "0 0 24 24",
133
+ fill: "none",
134
+ stroke: "currentColor",
135
+ strokeWidth: props.strokeWidth || 2,
136
+ strokeLinecap: "round",
137
+ strokeLinejoin: "round",
138
+ className: cx("aura-icon", props.className),
139
+ ...a11y
140
+ },
141
+ shapes.map(function(s, i) {
142
+ const attrs = { key: i };
143
+ for (const k in s[1]) attrs[k === "stroke-width" ? "strokeWidth" : k] = s[1][k];
144
+ return h(s[0], attrs);
145
+ })
146
+ );
147
+ }
148
+ function defineIcon(name, shapes) {
149
+ const C = React.forwardRef(function AuraIcon(props, ref) {
150
+ return iconSvg(shapes, props, ref);
151
+ });
152
+ C.displayName = "Icon" + name.split("-").map(function(p) {
153
+ return p.charAt(0).toUpperCase() + p.slice(1);
154
+ }).join("");
155
+ return Object.assign(C, { auraShapes: shapes, iconName: name });
156
+ }
157
+
158
+ // src/icons.ts
159
+ var IconCheck = /* @__PURE__ */ defineIcon("check", [["path", { d: "M20 6 9 17l-5-5" }]]);
160
+ var IconX = /* @__PURE__ */ defineIcon("x", [
161
+ ["path", { d: "M18 6 6 18" }],
162
+ ["path", { d: "m6 6 12 12" }]
163
+ ]);
164
+ var IconPlus = /* @__PURE__ */ defineIcon("plus", [
165
+ ["path", { d: "M5 12h14" }],
166
+ ["path", { d: "M12 5v14" }]
167
+ ]);
168
+ var IconMinus = /* @__PURE__ */ defineIcon("minus", [["path", { d: "M5 12h14" }]]);
169
+ var IconSearch = /* @__PURE__ */ defineIcon("search", [
170
+ ["path", { d: "m21 21-4.34-4.34" }],
171
+ ["circle", { cx: "11", cy: "11", r: "8" }]
172
+ ]);
173
+ var IconChevronDown = /* @__PURE__ */ defineIcon("chevron-down", [["path", { d: "m6 9 6 6 6-6" }]]);
174
+ var IconChevronUp = /* @__PURE__ */ defineIcon("chevron-up", [["path", { d: "m18 15-6-6-6 6" }]]);
175
+ var IconChevronLeft = /* @__PURE__ */ defineIcon("chevron-left", [["path", { d: "m15 18-6-6 6-6" }]]);
176
+ var IconChevronRight = /* @__PURE__ */ defineIcon("chevron-right", [["path", { d: "m9 18 6-6-6-6" }]]);
177
+ var IconArrowRight = /* @__PURE__ */ defineIcon("arrow-right", [
178
+ ["path", { d: "M5 12h14" }],
179
+ ["path", { d: "m12 5 7 7-7 7" }]
180
+ ]);
181
+ var IconArrowUpRight = /* @__PURE__ */ defineIcon("arrow-up-right", [
182
+ ["path", { d: "M7 7h10v10" }],
183
+ ["path", { d: "M7 17 17 7" }]
184
+ ]);
185
+ var IconArrowUpDown = /* @__PURE__ */ defineIcon("arrow-up-down", [
186
+ ["path", { d: "m21 16-4 4-4-4" }],
187
+ ["path", { d: "M17 20V4" }],
188
+ ["path", { d: "m3 8 4-4 4 4" }],
189
+ ["path", { d: "M7 4v16" }]
190
+ ]);
191
+ var IconLoaderCircle = /* @__PURE__ */ defineIcon("loader-circle", [
192
+ ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }]
193
+ ]);
194
+ var IconCircleAlert = /* @__PURE__ */ defineIcon("circle-alert", [
195
+ ["circle", { cx: "12", cy: "12", r: "10" }],
196
+ ["line", { x1: "12", x2: "12", y1: "8", y2: "12" }],
197
+ ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16" }]
198
+ ]);
199
+ var IconCircleCheck = /* @__PURE__ */ defineIcon("circle-check", [
200
+ ["circle", { cx: "12", cy: "12", r: "10" }],
201
+ ["path", { d: "m16 9-5.5 5.5L8 12" }]
202
+ ]);
203
+ var IconInfo = /* @__PURE__ */ defineIcon("info", [
204
+ ["circle", { cx: "12", cy: "12", r: "10" }],
205
+ ["path", { d: "M12 16v-4" }],
206
+ ["path", { d: "M12 8h.01" }]
207
+ ]);
208
+ var IconTriangleAlert = /* @__PURE__ */ defineIcon("triangle-alert", [
209
+ ["path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }],
210
+ ["path", { d: "M12 9v4" }],
211
+ ["path", { d: "M12 17h.01" }]
212
+ ]);
213
+ var IconSettings = /* @__PURE__ */ defineIcon("settings", [
214
+ [
215
+ "path",
216
+ {
217
+ d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"
218
+ }
219
+ ],
220
+ ["circle", { cx: "12", cy: "12", r: "3" }]
221
+ ]);
222
+ var IconUser = /* @__PURE__ */ defineIcon("user", [
223
+ ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" }],
224
+ ["circle", { cx: "12", cy: "7", r: "4" }]
225
+ ]);
226
+ var IconUsers = /* @__PURE__ */ defineIcon("users", [
227
+ ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }],
228
+ ["path", { d: "M16 3.128a4 4 0 0 1 0 7.744" }],
229
+ ["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87" }],
230
+ ["circle", { cx: "9", cy: "7", r: "4" }]
231
+ ]);
232
+ var IconFilter = /* @__PURE__ */ defineIcon("filter", [
233
+ [
234
+ "path",
235
+ {
236
+ d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"
237
+ }
238
+ ]
239
+ ]);
240
+ var IconEllipsis = /* @__PURE__ */ defineIcon("ellipsis", [
241
+ ["circle", { cx: "12", cy: "12", r: "1" }],
242
+ ["circle", { cx: "19", cy: "12", r: "1" }],
243
+ ["circle", { cx: "5", cy: "12", r: "1" }]
244
+ ]);
245
+ var IconExternalLink = /* @__PURE__ */ defineIcon("external-link", [
246
+ ["path", { d: "M15 3h6v6" }],
247
+ ["path", { d: "M10 14 21 3" }],
248
+ ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }]
249
+ ]);
250
+ var IconCopy = /* @__PURE__ */ defineIcon("copy", [
251
+ ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }],
252
+ ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" }]
253
+ ]);
254
+ var IconTrash2 = /* @__PURE__ */ defineIcon("trash-2", [
255
+ ["path", { d: "M10 11v6" }],
256
+ ["path", { d: "M14 11v6" }],
257
+ ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }],
258
+ ["path", { d: "M3 6h18" }],
259
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]
260
+ ]);
261
+ var IconPencil = /* @__PURE__ */ defineIcon("pencil", [
262
+ [
263
+ "path",
264
+ {
265
+ d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"
266
+ }
267
+ ],
268
+ ["path", { d: "m15 5 4 4" }]
269
+ ]);
270
+ var IconDownload = /* @__PURE__ */ defineIcon("download", [
271
+ ["path", { d: "M12 15V3" }],
272
+ ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }],
273
+ ["path", { d: "m7 10 5 5 5-5" }]
274
+ ]);
275
+ var IconUpload = /* @__PURE__ */ defineIcon("upload", [
276
+ ["path", { d: "M12 3v12" }],
277
+ ["path", { d: "m17 8-5-5-5 5" }],
278
+ ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }]
279
+ ]);
280
+ var IconCalendar = /* @__PURE__ */ defineIcon("calendar", [
281
+ ["path", { d: "M8 2v3" }],
282
+ ["path", { d: "M16 2v3" }],
283
+ ["rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }],
284
+ ["path", { d: "M3 9h18" }]
285
+ ]);
286
+ var IconBell = /* @__PURE__ */ defineIcon("bell", [
287
+ ["path", { d: "M10.268 21a2 2 0 0 0 3.464 0" }],
288
+ [
289
+ "path",
290
+ {
291
+ d: "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"
292
+ }
293
+ ]
294
+ ]);
295
+ var IconMenu = /* @__PURE__ */ defineIcon("menu", [
296
+ ["path", { d: "M4 5h16" }],
297
+ ["path", { d: "M4 12h16" }],
298
+ ["path", { d: "M4 19h16" }]
299
+ ]);
300
+ var IconEye = /* @__PURE__ */ defineIcon("eye", [
301
+ [
302
+ "path",
303
+ { d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }
304
+ ],
305
+ ["circle", { cx: "12", cy: "12", r: "3" }]
306
+ ]);
307
+ var IconLogOut = /* @__PURE__ */ defineIcon("log-out", [
308
+ ["path", { d: "m16 17 5-5-5-5" }],
309
+ ["path", { d: "M21 12H9" }],
310
+ ["path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }]
311
+ ]);
312
+ var IconCircle = /* @__PURE__ */ defineIcon("circle", [["circle", { cx: "12", cy: "12", r: "10" }]]);
313
+ var IconCircleDotDashed = /* @__PURE__ */ defineIcon("circle-dot-dashed", [
314
+ ["path", { d: "M10.1 2.18a9.93 9.93 0 0 1 3.8 0" }],
315
+ ["path", { d: "M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7" }],
316
+ ["path", { d: "M21.82 10.1a9.93 9.93 0 0 1 0 3.8" }],
317
+ ["path", { d: "M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69" }],
318
+ ["path", { d: "M13.9 21.82a9.94 9.94 0 0 1-3.8 0" }],
319
+ ["path", { d: "M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7" }],
320
+ ["path", { d: "M2.18 13.9a9.93 9.93 0 0 1 0-3.8" }],
321
+ ["path", { d: "M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69" }],
322
+ ["circle", { cx: "12", cy: "12", r: "1" }]
323
+ ]);
324
+ var IconBan = /* @__PURE__ */ defineIcon("ban", [
325
+ ["circle", { cx: "12", cy: "12", r: "10" }],
326
+ ["path", { d: "M4.929 4.929 19.07 19.071" }]
327
+ ]);
328
+ var IconArrowUp = /* @__PURE__ */ defineIcon("arrow-up", [
329
+ ["path", { d: "m5 12 7-7 7 7" }],
330
+ ["path", { d: "M12 19V5" }]
331
+ ]);
332
+ var IconArrowDown = /* @__PURE__ */ defineIcon("arrow-down", [
333
+ ["path", { d: "M12 5v14" }],
334
+ ["path", { d: "m19 12-7 7-7-7" }]
335
+ ]);
336
+ var IconInbox = /* @__PURE__ */ defineIcon("inbox", [
337
+ ["polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12" }],
338
+ [
339
+ "path",
340
+ { d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z" }
341
+ ]
342
+ ]);
343
+ var IconPin = /* @__PURE__ */ defineIcon("pin", [
344
+ ["path", { d: "M12 17v5" }],
345
+ [
346
+ "path",
347
+ {
348
+ d: "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"
349
+ }
350
+ ]
351
+ ]);
352
+ var IconPinOff = /* @__PURE__ */ defineIcon("pin-off", [
353
+ ["path", { d: "M12 17v5" }],
354
+ ["path", { d: "M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89" }],
355
+ ["path", { d: "m2 2 20 20" }],
356
+ ["path", { d: "M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11" }]
357
+ ]);
358
+ var IconEyeOff = /* @__PURE__ */ defineIcon("eye-off", [
359
+ ["path", { d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }],
360
+ ["path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242" }],
361
+ ["path", { d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }],
362
+ ["path", { d: "m2 2 20 20" }]
363
+ ]);
364
+ var IconColumns3 = /* @__PURE__ */ defineIcon("columns-3", [
365
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
366
+ ["path", { d: "M9 3v18" }],
367
+ ["path", { d: "M15 3v18" }]
368
+ ]);
369
+ var IconArrowLeft = /* @__PURE__ */ defineIcon("arrow-left", [
370
+ ["path", { d: "m12 19-7-7 7-7" }],
371
+ ["path", { d: "M19 12H5" }]
372
+ ]);
373
+ var IconRotateCcw = /* @__PURE__ */ defineIcon("rotate-ccw", [
374
+ ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }],
375
+ ["path", { d: "M3 3v5h5" }]
376
+ ]);
377
+ var IconHouse = /* @__PURE__ */ defineIcon("house", [
378
+ ["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" }],
379
+ [
380
+ "path",
381
+ { d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }
382
+ ]
383
+ ]);
384
+ var IconLayoutDashboard = /* @__PURE__ */ defineIcon("layout-dashboard", [
385
+ ["rect", { width: "7", height: "9", x: "3", y: "3", rx: "1" }],
386
+ ["rect", { width: "7", height: "5", x: "14", y: "3", rx: "1" }],
387
+ ["rect", { width: "7", height: "9", x: "14", y: "12", rx: "1" }],
388
+ ["rect", { width: "7", height: "5", x: "3", y: "16", rx: "1" }]
389
+ ]);
390
+ var IconFolder = /* @__PURE__ */ defineIcon("folder", [
391
+ [
392
+ "path",
393
+ {
394
+ d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"
395
+ }
396
+ ]
397
+ ]);
398
+ var IconChartColumn = /* @__PURE__ */ defineIcon("chart-column", [
399
+ ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16" }],
400
+ ["path", { d: "M18 17V9" }],
401
+ ["path", { d: "M13 17V5" }],
402
+ ["path", { d: "M8 17v-3" }]
403
+ ]);
404
+ var IconFileText = /* @__PURE__ */ defineIcon("file-text", [
405
+ [
406
+ "path",
407
+ {
408
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"
409
+ }
410
+ ],
411
+ ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }],
412
+ ["path", { d: "M10 9H8" }],
413
+ ["path", { d: "M16 13H8" }],
414
+ ["path", { d: "M16 17H8" }]
415
+ ]);
416
+ var IconMail = /* @__PURE__ */ defineIcon("mail", [
417
+ ["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" }],
418
+ ["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2" }]
419
+ ]);
420
+ var IconLock = /* @__PURE__ */ defineIcon("lock", [
421
+ ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2" }],
422
+ ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4" }]
423
+ ]);
424
+ var IconClock = /* @__PURE__ */ defineIcon("clock", [
425
+ ["circle", { cx: "12", cy: "12", r: "10" }],
426
+ ["path", { d: "M12 6v6l4 2" }]
427
+ ]);
428
+ var IconTrendingUp = /* @__PURE__ */ defineIcon("trending-up", [
429
+ ["path", { d: "M16 7h6v6" }],
430
+ ["path", { d: "m22 7-8.5 8.5-5-5L2 17" }]
431
+ ]);
432
+ var IconTrendingDown = /* @__PURE__ */ defineIcon("trending-down", [
433
+ ["path", { d: "M16 17h6v-6" }],
434
+ ["path", { d: "m22 17-8.5-8.5-5 5L2 7" }]
435
+ ]);
436
+ var IconImage = /* @__PURE__ */ defineIcon("image", [
437
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2" }],
438
+ ["circle", { cx: "9", cy: "9", r: "2" }],
439
+ ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }]
440
+ ]);
441
+ var IconPaperclip = /* @__PURE__ */ defineIcon("paperclip", [
442
+ [
443
+ "path",
444
+ {
445
+ d: "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"
446
+ }
447
+ ]
448
+ ]);
449
+ var IconCloudUpload = /* @__PURE__ */ defineIcon("cloud-upload", [
450
+ ["path", { d: "M12 13v8" }],
451
+ ["path", { d: "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242" }],
452
+ ["path", { d: "m8 17 4-4 4 4" }]
453
+ ]);
454
+ var IconFile = /* @__PURE__ */ defineIcon("file", [
455
+ [
456
+ "path",
457
+ {
458
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"
459
+ }
460
+ ],
461
+ ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }]
462
+ ]);
463
+ var IconSun = /* @__PURE__ */ defineIcon("sun", [
464
+ ["circle", { cx: "12", cy: "12", r: "4" }],
465
+ ["path", { d: "M12 2v2" }],
466
+ ["path", { d: "M12 20v2" }],
467
+ ["path", { d: "m4.93 4.93 1.41 1.41" }],
468
+ ["path", { d: "m17.66 17.66 1.41 1.41" }],
469
+ ["path", { d: "M2 12h2" }],
470
+ ["path", { d: "M20 12h2" }],
471
+ ["path", { d: "m6.34 17.66-1.41 1.41" }],
472
+ ["path", { d: "m19.07 4.93-1.41 1.41" }]
473
+ ]);
474
+ var IconMoon = /* @__PURE__ */ defineIcon("moon", [
475
+ [
476
+ "path",
477
+ {
478
+ d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"
479
+ }
480
+ ]
481
+ ]);
482
+ var IconMonitor = /* @__PURE__ */ defineIcon("monitor", [
483
+ ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2" }],
484
+ ["line", { x1: "8", x2: "16", y1: "21", y2: "21" }],
485
+ ["line", { x1: "12", x2: "12", y1: "17", y2: "21" }]
486
+ ]);
487
+ var IconPanelLeftClose = /* @__PURE__ */ defineIcon("panel-left-close", [
488
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
489
+ ["path", { d: "M9 3v18" }],
490
+ ["path", { d: "m16 15-3-3 3-3" }]
491
+ ]);
492
+ var IconPanelLeftOpen = /* @__PURE__ */ defineIcon("panel-left-open", [
493
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
494
+ ["path", { d: "M9 3v18" }],
495
+ ["path", { d: "m14 9 3 3-3 3" }]
496
+ ]);
497
+ var IconServer = /* @__PURE__ */ defineIcon("server", [
498
+ ["rect", { width: "20", height: "8", x: "2", y: "2", rx: "2", ry: "2" }],
499
+ ["rect", { width: "20", height: "8", x: "2", y: "14", rx: "2", ry: "2" }],
500
+ ["line", { x1: "6", x2: "6.01", y1: "6", y2: "6" }],
501
+ ["line", { x1: "6", x2: "6.01", y1: "18", y2: "18" }]
502
+ ]);
503
+ var IconGlobe = /* @__PURE__ */ defineIcon("globe", [
504
+ ["circle", { cx: "12", cy: "12", r: "10" }],
505
+ ["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }],
506
+ ["path", { d: "M2 12h20" }]
507
+ ]);
508
+ var IconActivity = /* @__PURE__ */ defineIcon("activity", [
509
+ [
510
+ "path",
511
+ {
512
+ d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"
513
+ }
514
+ ]
515
+ ]);
516
+ var IconShieldAlert = /* @__PURE__ */ defineIcon("shield-alert", [
517
+ [
518
+ "path",
519
+ {
520
+ d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"
521
+ }
522
+ ],
523
+ ["path", { d: "M12 8v4" }],
524
+ ["path", { d: "M12 16h.01" }]
525
+ ]);
526
+ var IconPhone = /* @__PURE__ */ defineIcon("phone", [
527
+ [
528
+ "path",
529
+ {
530
+ d: "M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384"
531
+ }
532
+ ]
533
+ ]);
534
+ var IconWrench = /* @__PURE__ */ defineIcon("wrench", [
535
+ [
536
+ "path",
537
+ {
538
+ d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"
539
+ }
540
+ ]
541
+ ]);
542
+ var allIcons = [
543
+ IconCheck,
544
+ IconX,
545
+ IconPlus,
546
+ IconMinus,
547
+ IconSearch,
548
+ IconChevronDown,
549
+ IconChevronUp,
550
+ IconChevronLeft,
551
+ IconChevronRight,
552
+ IconArrowRight,
553
+ IconArrowUpRight,
554
+ IconArrowUpDown,
555
+ IconLoaderCircle,
556
+ IconCircleAlert,
557
+ IconCircleCheck,
558
+ IconInfo,
559
+ IconTriangleAlert,
560
+ IconSettings,
561
+ IconUser,
562
+ IconUsers,
563
+ IconFilter,
564
+ IconEllipsis,
565
+ IconExternalLink,
566
+ IconCopy,
567
+ IconTrash2,
568
+ IconPencil,
569
+ IconDownload,
570
+ IconUpload,
571
+ IconCalendar,
572
+ IconBell,
573
+ IconMenu,
574
+ IconEye,
575
+ IconLogOut,
576
+ IconCircle,
577
+ IconCircleDotDashed,
578
+ IconBan,
579
+ IconArrowUp,
580
+ IconArrowDown,
581
+ IconInbox,
582
+ IconPin,
583
+ IconPinOff,
584
+ IconEyeOff,
585
+ IconColumns3,
586
+ IconArrowLeft,
587
+ IconRotateCcw,
588
+ IconHouse,
589
+ IconLayoutDashboard,
590
+ IconFolder,
591
+ IconChartColumn,
592
+ IconFileText,
593
+ IconMail,
594
+ IconLock,
595
+ IconClock,
596
+ IconTrendingUp,
597
+ IconTrendingDown,
598
+ IconImage,
599
+ IconPaperclip,
600
+ IconCloudUpload,
601
+ IconFile,
602
+ IconSun,
603
+ IconMoon,
604
+ IconMonitor,
605
+ IconPanelLeftClose,
606
+ IconPanelLeftOpen,
607
+ IconServer,
608
+ IconGlobe,
609
+ IconActivity,
610
+ IconShieldAlert,
611
+ IconPhone,
612
+ IconWrench
613
+ ];