gov-layout 1.1.12 → 1.2.1

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/dist/index.mjs CHANGED
@@ -77,6 +77,318 @@ function SidebarHeader({ orgLogo, orgName, orgSubtitle, collapsed }) {
77
77
  ] })
78
78
  ] });
79
79
  }
80
+ var defaultProps = (size = 20) => ({
81
+ width: size,
82
+ height: size,
83
+ viewBox: "0 0 24 24",
84
+ fill: "none",
85
+ stroke: "currentColor",
86
+ strokeWidth: 2,
87
+ strokeLinecap: "round",
88
+ strokeLinejoin: "round"
89
+ });
90
+ function HomeIcon({ size = 20, className, style } = {}) {
91
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
92
+ /* @__PURE__ */ jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }),
93
+ /* @__PURE__ */ jsx("polyline", { points: "9 22 9 12 15 12 15 22" })
94
+ ] });
95
+ }
96
+ function SearchIcon({ size = 20, className, style } = {}) {
97
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
98
+ /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
99
+ /* @__PURE__ */ jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
100
+ ] });
101
+ }
102
+ function BellIcon({ size = 20, className, style } = {}) {
103
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
104
+ /* @__PURE__ */ jsx("path", { d: "M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9" }),
105
+ /* @__PURE__ */ jsx("path", { d: "M13.73 21a2 2 0 0 1-3.46 0" })
106
+ ] });
107
+ }
108
+ function FolderIcon({ size = 20, className, style } = {}) {
109
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" }) });
110
+ }
111
+ function ClipboardIcon({ size = 20, className, style } = {}) {
112
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
113
+ /* @__PURE__ */ jsx("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }),
114
+ /* @__PURE__ */ jsx("rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", ry: "1" })
115
+ ] });
116
+ }
117
+ function FileTextIcon({ size = 20, className, style } = {}) {
118
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
119
+ /* @__PURE__ */ jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
120
+ /* @__PURE__ */ jsx("polyline", { points: "14 2 14 8 20 8" }),
121
+ /* @__PURE__ */ jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13" }),
122
+ /* @__PURE__ */ jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17" }),
123
+ /* @__PURE__ */ jsx("polyline", { points: "10 9 9 9 8 9" })
124
+ ] });
125
+ }
126
+ function CalendarIcon({ size = 20, className, style } = {}) {
127
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
128
+ /* @__PURE__ */ jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
129
+ /* @__PURE__ */ jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
130
+ /* @__PURE__ */ jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
131
+ /* @__PURE__ */ jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
132
+ ] });
133
+ }
134
+ function UserIcon({ size = 20, className, style } = {}) {
135
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
136
+ /* @__PURE__ */ jsx("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
137
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "7", r: "4" })
138
+ ] });
139
+ }
140
+ function UsersIcon({ size = 20, className, style } = {}) {
141
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
142
+ /* @__PURE__ */ jsx("path", { d: "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }),
143
+ /* @__PURE__ */ jsx("circle", { cx: "9", cy: "7", r: "4" }),
144
+ /* @__PURE__ */ jsx("path", { d: "M23 21v-2a4 4 0 0 0-3-3.87" }),
145
+ /* @__PURE__ */ jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
146
+ ] });
147
+ }
148
+ function GearIcon({ size = 20, className, style } = {}) {
149
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
150
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" }),
151
+ /* @__PURE__ */ jsx("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })
152
+ ] });
153
+ }
154
+ function WrenchIcon({ size = 20, className, style } = {}) {
155
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z" }) });
156
+ }
157
+ function ShieldIcon({ size = 20, className, style } = {}) {
158
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }) });
159
+ }
160
+ function HelpCircleIcon({ size = 20, className, style } = {}) {
161
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
162
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
163
+ /* @__PURE__ */ jsx("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
164
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
165
+ ] });
166
+ }
167
+ function BarChartIcon({ size = 20, className, style } = {}) {
168
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
169
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "20", x2: "12", y2: "10" }),
170
+ /* @__PURE__ */ jsx("line", { x1: "18", y1: "20", x2: "18", y2: "4" }),
171
+ /* @__PURE__ */ jsx("line", { x1: "6", y1: "20", x2: "6", y2: "16" })
172
+ ] });
173
+ }
174
+ function HistoryIcon({ size = 20, className, style } = {}) {
175
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
176
+ /* @__PURE__ */ jsx("polyline", { points: "1 4 1 10 7 10" }),
177
+ /* @__PURE__ */ jsx("path", { d: "M3.51 15a9 9 0 1 0 2.13-9.36L1 10" })
178
+ ] });
179
+ }
180
+ function DatabaseIcon({ size = 20, className, style } = {}) {
181
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
182
+ /* @__PURE__ */ jsx("ellipse", { cx: "12", cy: "5", rx: "9", ry: "3" }),
183
+ /* @__PURE__ */ jsx("path", { d: "M21 12c0 1.66-4 3-9 3s-9-1.34-9-3" }),
184
+ /* @__PURE__ */ jsx("path", { d: "M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5" })
185
+ ] });
186
+ }
187
+ function BuildingIcon({ size = 20, className, style } = {}) {
188
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
189
+ /* @__PURE__ */ jsx("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2", ry: "2" }),
190
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "22", x2: "9", y2: "18" }),
191
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "22", x2: "15", y2: "18" }),
192
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "6", x2: "9.01", y2: "6" }),
193
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "6", x2: "15.01", y2: "6" }),
194
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "10", x2: "9.01", y2: "10" }),
195
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "10", x2: "15.01", y2: "10" }),
196
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "14", x2: "9.01", y2: "14" }),
197
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "14", x2: "15.01", y2: "14" })
198
+ ] });
199
+ }
200
+ function MapPinIcon({ size = 20, className, style } = {}) {
201
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
202
+ /* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }),
203
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "3" })
204
+ ] });
205
+ }
206
+ function PhoneIcon({ size = 20, className, style } = {}) {
207
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z" }) });
208
+ }
209
+ function MailIcon({ size = 20, className, style } = {}) {
210
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
211
+ /* @__PURE__ */ jsx("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
212
+ /* @__PURE__ */ jsx("polyline", { points: "22,6 12,13 2,6" })
213
+ ] });
214
+ }
215
+ function CheckCircleIcon({ size = 20, className, style } = {}) {
216
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
217
+ /* @__PURE__ */ jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
218
+ /* @__PURE__ */ jsx("polyline", { points: "22 4 12 14.01 9 11.01" })
219
+ ] });
220
+ }
221
+ function AlertTriangleIcon({ size = 20, className, style } = {}) {
222
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
223
+ /* @__PURE__ */ jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }),
224
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
225
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
226
+ ] });
227
+ }
228
+ function XCircleIcon({ size = 20, className, style } = {}) {
229
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
230
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
231
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
232
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
233
+ ] });
234
+ }
235
+ function PlusCircleIcon({ size = 20, className, style } = {}) {
236
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
237
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
238
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
239
+ /* @__PURE__ */ jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
240
+ ] });
241
+ }
242
+ function LogOutIcon({ size = 20, className, style } = {}) {
243
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
244
+ /* @__PURE__ */ jsx("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
245
+ /* @__PURE__ */ jsx("polyline", { points: "16 17 21 12 16 7" }),
246
+ /* @__PURE__ */ jsx("line", { x1: "21", y1: "12", x2: "9", y2: "12" })
247
+ ] });
248
+ }
249
+ function DownloadIcon({ size = 20, className, style } = {}) {
250
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
251
+ /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
252
+ /* @__PURE__ */ jsx("polyline", { points: "7 10 12 15 17 10" }),
253
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "15", x2: "12", y2: "3" })
254
+ ] });
255
+ }
256
+ function UploadIcon({ size = 20, className, style } = {}) {
257
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
258
+ /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
259
+ /* @__PURE__ */ jsx("polyline", { points: "17 8 12 3 7 8" }),
260
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "3", x2: "12", y2: "15" })
261
+ ] });
262
+ }
263
+ function PrinterIcon({ size = 20, className, style } = {}) {
264
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
265
+ /* @__PURE__ */ jsx("polyline", { points: "6 9 6 2 18 2 18 9" }),
266
+ /* @__PURE__ */ jsx("path", { d: "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" }),
267
+ /* @__PURE__ */ jsx("rect", { x: "6", y: "14", width: "12", height: "8" })
268
+ ] });
269
+ }
270
+ function StarIcon({ size = 20, className, style } = {}) {
271
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" }) });
272
+ }
273
+ function HeartIcon({ size = 20, className, style } = {}) {
274
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) });
275
+ }
276
+ function EyeIcon({ size = 20, className, style } = {}) {
277
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
278
+ /* @__PURE__ */ jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
279
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" })
280
+ ] });
281
+ }
282
+ function EditIcon({ size = 20, className, style } = {}) {
283
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
284
+ /* @__PURE__ */ jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
285
+ /* @__PURE__ */ jsx("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
286
+ ] });
287
+ }
288
+ function TrashIcon({ size = 20, className, style } = {}) {
289
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
290
+ /* @__PURE__ */ jsx("polyline", { points: "3 6 5 6 21 6" }),
291
+ /* @__PURE__ */ jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }),
292
+ /* @__PURE__ */ jsx("line", { x1: "10", y1: "11", x2: "10", y2: "17" }),
293
+ /* @__PURE__ */ jsx("line", { x1: "14", y1: "11", x2: "14", y2: "17" })
294
+ ] });
295
+ }
296
+ var ICON_MAP = {
297
+ home: HomeIcon,
298
+ dashboard: HomeIcon,
299
+ services: FolderIcon,
300
+ service: FolderIcon,
301
+ folder: FolderIcon,
302
+ category: FolderIcon,
303
+ users: UsersIcon,
304
+ members: UsersIcon,
305
+ user: UserIcon,
306
+ profile: UserIcon,
307
+ staff: UserIcon,
308
+ settings: GearIcon,
309
+ setting: GearIcon,
310
+ config: GearIcon,
311
+ help: HelpCircleIcon,
312
+ support: HelpCircleIcon,
313
+ faq: HelpCircleIcon,
314
+ reports: BarChartIcon,
315
+ report: BarChartIcon,
316
+ stats: BarChartIcon,
317
+ chart: BarChartIcon,
318
+ analytics: BarChartIcon,
319
+ roles: ShieldIcon,
320
+ permissions: ShieldIcon,
321
+ security: ShieldIcon,
322
+ logs: HistoryIcon,
323
+ history: HistoryIcon,
324
+ activity: HistoryIcon,
325
+ audit: HistoryIcon,
326
+ backup: DatabaseIcon,
327
+ database: DatabaseIcon,
328
+ data: DatabaseIcon,
329
+ documents: FileTextIcon,
330
+ document: FileTextIcon,
331
+ docs: FileTextIcon,
332
+ files: FileTextIcon,
333
+ file: FileTextIcon,
334
+ forms: ClipboardIcon,
335
+ form: ClipboardIcon,
336
+ request: ClipboardIcon,
337
+ requests: ClipboardIcon,
338
+ calendar: CalendarIcon,
339
+ schedule: CalendarIcon,
340
+ appointment: CalendarIcon,
341
+ notifications: BellIcon,
342
+ notification: BellIcon,
343
+ alerts: BellIcon,
344
+ search: SearchIcon,
345
+ organization: BuildingIcon,
346
+ org: BuildingIcon,
347
+ department: BuildingIcon,
348
+ agency: BuildingIcon,
349
+ location: MapPinIcon,
350
+ map: MapPinIcon,
351
+ address: MapPinIcon,
352
+ phone: PhoneIcon,
353
+ contact: PhoneIcon,
354
+ call: PhoneIcon,
355
+ email: MailIcon,
356
+ mail: MailIcon,
357
+ message: MailIcon,
358
+ messages: MailIcon,
359
+ tools: WrenchIcon,
360
+ maintenance: WrenchIcon,
361
+ favorites: StarIcon,
362
+ bookmark: StarIcon,
363
+ edit: EditIcon,
364
+ manage: EditIcon,
365
+ delete: TrashIcon,
366
+ trash: TrashIcon,
367
+ view: EyeIcon,
368
+ preview: EyeIcon,
369
+ detail: EyeIcon,
370
+ download: DownloadIcon,
371
+ export: DownloadIcon,
372
+ upload: UploadIcon,
373
+ import: UploadIcon,
374
+ print: PrinterIcon,
375
+ printer: PrinterIcon,
376
+ logout: LogOutIcon,
377
+ signout: LogOutIcon,
378
+ approve: CheckCircleIcon,
379
+ approved: CheckCircleIcon,
380
+ add: PlusCircleIcon,
381
+ create: PlusCircleIcon,
382
+ new: PlusCircleIcon
383
+ };
384
+ function DefaultIcon() {
385
+ return /* @__PURE__ */ jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "4" }) });
386
+ }
387
+ function getAutoIcon(id) {
388
+ const IconComp = ICON_MAP[id.toLowerCase()];
389
+ if (IconComp) return /* @__PURE__ */ jsx(IconComp, {});
390
+ return /* @__PURE__ */ jsx(DefaultIcon, {});
391
+ }
80
392
  function ChevronDownIcon({ isOpen }) {
81
393
  return /* @__PURE__ */ jsx(
82
394
  "svg",
@@ -107,6 +419,7 @@ function MenuItemComponent({
107
419
  }) {
108
420
  const hasChildren = item.children && item.children.length > 0;
109
421
  const isActive = item.path ? currentPath === item.path : false;
422
+ const resolvedIcon = item.icon || getAutoIcon(item.id);
110
423
  const isChildActive = hasChildren ? item.children.some((child) => child.path === currentPath) : false;
111
424
  const [userToggled, setUserToggled] = useState(false);
112
425
  const [isOpen, setIsOpen] = useState(isChildActive);
@@ -147,13 +460,13 @@ function MenuItemComponent({
147
460
  cursor: "pointer",
148
461
  transition: "background-color 0.15s ease"
149
462
  },
150
- children: item.icon && /* @__PURE__ */ jsx("span", { style: {
463
+ children: /* @__PURE__ */ jsx("span", { style: {
151
464
  width: "24px",
152
465
  height: "24px",
153
466
  display: "flex",
154
467
  alignItems: "center",
155
468
  justifyContent: "center"
156
- }, children: item.icon })
469
+ }, children: resolvedIcon })
157
470
  }
158
471
  ),
159
472
  item.dividerAfter && /* @__PURE__ */ jsx("hr", { style: {
@@ -192,7 +505,7 @@ function MenuItemComponent({
192
505
  lineHeight: "22px"
193
506
  },
194
507
  children: [
195
- item.icon && /* @__PURE__ */ jsx("span", { style: {
508
+ /* @__PURE__ */ jsx("span", { style: {
196
509
  width: "24px",
197
510
  height: "24px",
198
511
  display: "flex",
@@ -200,7 +513,7 @@ function MenuItemComponent({
200
513
  justifyContent: "center",
201
514
  flexShrink: 0,
202
515
  color: isActive ? activeColor : "var(--color-alias-text-colors-tertiary, #475272)"
203
- }, children: item.icon }),
516
+ }, children: resolvedIcon }),
204
517
  /* @__PURE__ */ jsx("span", { style: { flex: 1 }, children: item.title }),
205
518
  hasChildren && /* @__PURE__ */ jsx(ChevronDownIcon, { isOpen: expanded })
206
519
  ]
@@ -466,22 +779,22 @@ function ToggleIcon({ isOpen }) {
466
779
  }
467
780
  );
468
781
  }
469
- function HelpCircleIcon() {
782
+ function HelpCircleIcon2() {
470
783
  return /* @__PURE__ */ jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
471
784
  /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
472
785
  /* @__PURE__ */ jsx("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
473
786
  /* @__PURE__ */ jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
474
787
  ] });
475
788
  }
476
- function GearIcon() {
789
+ function GearIcon2() {
477
790
  return /* @__PURE__ */ jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
478
791
  /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" }),
479
792
  /* @__PURE__ */ jsx("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })
480
793
  ] });
481
794
  }
482
795
  var DEFAULT_BOTTOM_MENU = [
483
- { id: "settings", title: "\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E23\u0E30\u0E1A\u0E1A", icon: /* @__PURE__ */ jsx(GearIcon, {}), path: "/settings" },
484
- { id: "help", title: "\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D", icon: /* @__PURE__ */ jsx(HelpCircleIcon, {}), path: "/help" }
796
+ { id: "settings", title: "\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E23\u0E30\u0E1A\u0E1A", icon: /* @__PURE__ */ jsx(GearIcon2, {}), path: "/settings" },
797
+ { id: "help", title: "\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D", icon: /* @__PURE__ */ jsx(HelpCircleIcon2, {}), path: "/help" }
485
798
  ];
486
799
  function StaffSidebar({
487
800
  orgLogo,
@@ -542,7 +855,7 @@ function StaffSidebar({
542
855
  collapsed
543
856
  }
544
857
  ),
545
- /* @__PURE__ */ jsx(
858
+ /* @__PURE__ */ jsx("div", { style: { flex: 1, overflowY: "auto", minHeight: 0 }, children: /* @__PURE__ */ jsx(
546
859
  SidebarMenu,
547
860
  {
548
861
  menuItems,
@@ -550,26 +863,34 @@ function StaffSidebar({
550
863
  currentPath,
551
864
  collapsed
552
865
  }
553
- ),
554
- resolvedBottomMenu && resolvedBottomMenu.length > 0 && /* @__PURE__ */ jsx(
555
- SidebarMenu,
556
- {
557
- menuItems: resolvedBottomMenu,
558
- onItemClick: onNavigate,
559
- currentPath,
560
- collapsed
561
- }
562
- ),
563
- /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
564
- /* @__PURE__ */ jsx(
565
- SidebarUserProfile,
566
- {
567
- user,
568
- roleLabel,
569
- onLogout,
570
- collapsed
571
- }
572
- )
866
+ ) }),
867
+ /* @__PURE__ */ jsxs("div", { style: { flexShrink: 0 }, children: [
868
+ resolvedBottomMenu && resolvedBottomMenu.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
869
+ /* @__PURE__ */ jsx("hr", { style: {
870
+ border: "none",
871
+ borderTop: "1px solid var(--color-border-colors-neutral, #c8cedd)",
872
+ margin: "4px 12px"
873
+ } }),
874
+ /* @__PURE__ */ jsx(
875
+ SidebarMenu,
876
+ {
877
+ menuItems: resolvedBottomMenu,
878
+ onItemClick: onNavigate,
879
+ currentPath,
880
+ collapsed
881
+ }
882
+ )
883
+ ] }),
884
+ /* @__PURE__ */ jsx(
885
+ SidebarUserProfile,
886
+ {
887
+ user,
888
+ roleLabel,
889
+ onLogout,
890
+ collapsed
891
+ }
892
+ )
893
+ ] })
573
894
  ]
574
895
  }
575
896
  ),
@@ -608,7 +929,7 @@ function StaffSidebar({
608
929
  )
609
930
  ] });
610
931
  }
611
- function BellIcon() {
932
+ function BellIcon2() {
612
933
  return /* @__PURE__ */ jsx("svg", { width: "22", height: "24", viewBox: "0 0 22 24", fill: "none", children: /* @__PURE__ */ jsx(
613
934
  "path",
614
935
  {
@@ -769,7 +1090,7 @@ function UserHeader({
769
1090
  justifyContent: "center"
770
1091
  },
771
1092
  children: [
772
- /* @__PURE__ */ jsx(BellIcon, {}),
1093
+ /* @__PURE__ */ jsx(BellIcon2, {}),
773
1094
  unreadCount > 0 && /* @__PURE__ */ jsx(
774
1095
  "span",
775
1096
  {
@@ -1599,223 +1920,44 @@ function SettingsPanel({ className, showTheme = true }) {
1599
1920
  )) })
1600
1921
  ] });
1601
1922
  }
1602
- var defaultProps = (size = 20) => ({
1603
- width: size,
1604
- height: size,
1605
- viewBox: "0 0 24 24",
1606
- fill: "none",
1607
- stroke: "currentColor",
1608
- strokeWidth: 2,
1609
- strokeLinecap: "round",
1610
- strokeLinejoin: "round"
1611
- });
1612
- function HomeIcon({ size = 20, className, style } = {}) {
1613
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1614
- /* @__PURE__ */ jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }),
1615
- /* @__PURE__ */ jsx("polyline", { points: "9 22 9 12 15 12 15 22" })
1616
- ] });
1617
- }
1618
- function SearchIcon({ size = 20, className, style } = {}) {
1619
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1620
- /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
1621
- /* @__PURE__ */ jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
1622
- ] });
1623
- }
1624
- function BellIcon2({ size = 20, className, style } = {}) {
1625
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1626
- /* @__PURE__ */ jsx("path", { d: "M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9" }),
1627
- /* @__PURE__ */ jsx("path", { d: "M13.73 21a2 2 0 0 1-3.46 0" })
1628
- ] });
1629
- }
1630
- function FolderIcon({ size = 20, className, style } = {}) {
1631
- return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" }) });
1632
- }
1633
- function ClipboardIcon({ size = 20, className, style } = {}) {
1634
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1635
- /* @__PURE__ */ jsx("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }),
1636
- /* @__PURE__ */ jsx("rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", ry: "1" })
1637
- ] });
1638
- }
1639
- function FileTextIcon({ size = 20, className, style } = {}) {
1640
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1641
- /* @__PURE__ */ jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
1642
- /* @__PURE__ */ jsx("polyline", { points: "14 2 14 8 20 8" }),
1643
- /* @__PURE__ */ jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13" }),
1644
- /* @__PURE__ */ jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17" }),
1645
- /* @__PURE__ */ jsx("polyline", { points: "10 9 9 9 8 9" })
1646
- ] });
1647
- }
1648
- function CalendarIcon({ size = 20, className, style } = {}) {
1649
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1650
- /* @__PURE__ */ jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
1651
- /* @__PURE__ */ jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
1652
- /* @__PURE__ */ jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
1653
- /* @__PURE__ */ jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
1654
- ] });
1655
- }
1656
- function UserIcon({ size = 20, className, style } = {}) {
1657
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1658
- /* @__PURE__ */ jsx("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
1659
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "7", r: "4" })
1660
- ] });
1661
- }
1662
- function UsersIcon({ size = 20, className, style } = {}) {
1663
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1664
- /* @__PURE__ */ jsx("path", { d: "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }),
1665
- /* @__PURE__ */ jsx("circle", { cx: "9", cy: "7", r: "4" }),
1666
- /* @__PURE__ */ jsx("path", { d: "M23 21v-2a4 4 0 0 0-3-3.87" }),
1667
- /* @__PURE__ */ jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
1668
- ] });
1669
- }
1670
- function GearIcon2({ size = 20, className, style } = {}) {
1671
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1672
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" }),
1673
- /* @__PURE__ */ jsx("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })
1674
- ] });
1675
- }
1676
- function WrenchIcon({ size = 20, className, style } = {}) {
1677
- return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z" }) });
1678
- }
1679
- function ShieldIcon({ size = 20, className, style } = {}) {
1680
- return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }) });
1681
- }
1682
- function HelpCircleIcon2({ size = 20, className, style } = {}) {
1683
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1684
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
1685
- /* @__PURE__ */ jsx("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
1686
- /* @__PURE__ */ jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
1687
- ] });
1688
- }
1689
- function BarChartIcon({ size = 20, className, style } = {}) {
1690
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1691
- /* @__PURE__ */ jsx("line", { x1: "12", y1: "20", x2: "12", y2: "10" }),
1692
- /* @__PURE__ */ jsx("line", { x1: "18", y1: "20", x2: "18", y2: "4" }),
1693
- /* @__PURE__ */ jsx("line", { x1: "6", y1: "20", x2: "6", y2: "16" })
1694
- ] });
1695
- }
1696
- function HistoryIcon({ size = 20, className, style } = {}) {
1697
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1698
- /* @__PURE__ */ jsx("polyline", { points: "1 4 1 10 7 10" }),
1699
- /* @__PURE__ */ jsx("path", { d: "M3.51 15a9 9 0 1 0 2.13-9.36L1 10" })
1700
- ] });
1701
- }
1702
- function DatabaseIcon({ size = 20, className, style } = {}) {
1703
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1704
- /* @__PURE__ */ jsx("ellipse", { cx: "12", cy: "5", rx: "9", ry: "3" }),
1705
- /* @__PURE__ */ jsx("path", { d: "M21 12c0 1.66-4 3-9 3s-9-1.34-9-3" }),
1706
- /* @__PURE__ */ jsx("path", { d: "M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5" })
1707
- ] });
1708
- }
1709
- function BuildingIcon({ size = 20, className, style } = {}) {
1710
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1711
- /* @__PURE__ */ jsx("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2", ry: "2" }),
1712
- /* @__PURE__ */ jsx("line", { x1: "9", y1: "22", x2: "9", y2: "18" }),
1713
- /* @__PURE__ */ jsx("line", { x1: "15", y1: "22", x2: "15", y2: "18" }),
1714
- /* @__PURE__ */ jsx("line", { x1: "9", y1: "6", x2: "9.01", y2: "6" }),
1715
- /* @__PURE__ */ jsx("line", { x1: "15", y1: "6", x2: "15.01", y2: "6" }),
1716
- /* @__PURE__ */ jsx("line", { x1: "9", y1: "10", x2: "9.01", y2: "10" }),
1717
- /* @__PURE__ */ jsx("line", { x1: "15", y1: "10", x2: "15.01", y2: "10" }),
1718
- /* @__PURE__ */ jsx("line", { x1: "9", y1: "14", x2: "9.01", y2: "14" }),
1719
- /* @__PURE__ */ jsx("line", { x1: "15", y1: "14", x2: "15.01", y2: "14" })
1720
- ] });
1721
- }
1722
- function MapPinIcon({ size = 20, className, style } = {}) {
1723
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1724
- /* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }),
1725
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "3" })
1726
- ] });
1727
- }
1728
- function PhoneIcon({ size = 20, className, style } = {}) {
1729
- return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z" }) });
1730
- }
1731
- function MailIcon({ size = 20, className, style } = {}) {
1732
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1733
- /* @__PURE__ */ jsx("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
1734
- /* @__PURE__ */ jsx("polyline", { points: "22,6 12,13 2,6" })
1735
- ] });
1736
- }
1737
- function CheckCircleIcon({ size = 20, className, style } = {}) {
1738
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1739
- /* @__PURE__ */ jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
1740
- /* @__PURE__ */ jsx("polyline", { points: "22 4 12 14.01 9 11.01" })
1741
- ] });
1742
- }
1743
- function AlertTriangleIcon({ size = 20, className, style } = {}) {
1744
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1745
- /* @__PURE__ */ jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }),
1746
- /* @__PURE__ */ jsx("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
1747
- /* @__PURE__ */ jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
1748
- ] });
1749
- }
1750
- function XCircleIcon({ size = 20, className, style } = {}) {
1751
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1752
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
1753
- /* @__PURE__ */ jsx("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
1754
- /* @__PURE__ */ jsx("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
1755
- ] });
1756
- }
1757
- function PlusCircleIcon({ size = 20, className, style } = {}) {
1758
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1759
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
1760
- /* @__PURE__ */ jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
1761
- /* @__PURE__ */ jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
1762
- ] });
1763
- }
1764
- function LogOutIcon({ size = 20, className, style } = {}) {
1765
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1766
- /* @__PURE__ */ jsx("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
1767
- /* @__PURE__ */ jsx("polyline", { points: "16 17 21 12 16 7" }),
1768
- /* @__PURE__ */ jsx("line", { x1: "21", y1: "12", x2: "9", y2: "12" })
1769
- ] });
1770
- }
1771
- function DownloadIcon({ size = 20, className, style } = {}) {
1772
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1773
- /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
1774
- /* @__PURE__ */ jsx("polyline", { points: "7 10 12 15 17 10" }),
1775
- /* @__PURE__ */ jsx("line", { x1: "12", y1: "15", x2: "12", y2: "3" })
1776
- ] });
1777
- }
1778
- function UploadIcon({ size = 20, className, style } = {}) {
1779
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1780
- /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
1781
- /* @__PURE__ */ jsx("polyline", { points: "17 8 12 3 7 8" }),
1782
- /* @__PURE__ */ jsx("line", { x1: "12", y1: "3", x2: "12", y2: "15" })
1783
- ] });
1784
- }
1785
- function PrinterIcon({ size = 20, className, style } = {}) {
1786
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1787
- /* @__PURE__ */ jsx("polyline", { points: "6 9 6 2 18 2 18 9" }),
1788
- /* @__PURE__ */ jsx("path", { d: "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" }),
1789
- /* @__PURE__ */ jsx("rect", { x: "6", y: "14", width: "12", height: "8" })
1790
- ] });
1791
- }
1792
- function StarIcon({ size = 20, className, style } = {}) {
1793
- return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" }) });
1794
- }
1795
- function HeartIcon({ size = 20, className, style } = {}) {
1796
- return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) });
1797
- }
1798
- function EyeIcon({ size = 20, className, style } = {}) {
1799
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1800
- /* @__PURE__ */ jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
1801
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" })
1802
- ] });
1803
- }
1804
- function EditIcon({ size = 20, className, style } = {}) {
1805
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1806
- /* @__PURE__ */ jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
1807
- /* @__PURE__ */ jsx("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
1808
- ] });
1809
- }
1810
- function TrashIcon({ size = 20, className, style } = {}) {
1811
- return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1812
- /* @__PURE__ */ jsx("polyline", { points: "3 6 5 6 21 6" }),
1813
- /* @__PURE__ */ jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }),
1814
- /* @__PURE__ */ jsx("line", { x1: "10", y1: "11", x2: "10", y2: "17" }),
1815
- /* @__PURE__ */ jsx("line", { x1: "14", y1: "11", x2: "14", y2: "17" })
1816
- ] });
1817
- }
1818
1923
 
1819
- export { AlertTriangleIcon, BarChartIcon, BellIcon2 as BellIcon, BuildingIcon, CalendarIcon, CheckCircleIcon, ClipboardIcon, DatabaseIcon, DownloadIcon, EditIcon, EyeIcon, FONT_SIZE_OPTIONS, FileTextIcon, FolderIcon, FontSizeSettings, GearIcon2 as GearIcon, HeartIcon, HelpCircleIcon2 as HelpCircleIcon, HistoryIcon, HomeIcon, LogOutIcon, MailIcon, MapPinIcon, PhoneIcon, PlusCircleIcon, PrinterIcon, SearchIcon, SettingsPanel, SettingsProvider, ShieldIcon, SidebarHeader, SidebarMenu, SidebarUserProfile, StaffSidebar, StarIcon, ThemeSettings, TrashIcon, UploadIcon, UserHeader, UserIcon, UserSidebar, UsersIcon, WrenchIcon, XCircleIcon, useSettings };
1924
+ // src/icons/index.ts
1925
+ var Icons = {
1926
+ Home: HomeIcon,
1927
+ Search: SearchIcon,
1928
+ Bell: BellIcon,
1929
+ Folder: FolderIcon,
1930
+ Clipboard: ClipboardIcon,
1931
+ FileText: FileTextIcon,
1932
+ Calendar: CalendarIcon,
1933
+ User: UserIcon,
1934
+ Users: UsersIcon,
1935
+ Gear: GearIcon,
1936
+ Wrench: WrenchIcon,
1937
+ Shield: ShieldIcon,
1938
+ HelpCircle: HelpCircleIcon,
1939
+ BarChart: BarChartIcon,
1940
+ History: HistoryIcon,
1941
+ Database: DatabaseIcon,
1942
+ Building: BuildingIcon,
1943
+ MapPin: MapPinIcon,
1944
+ Phone: PhoneIcon,
1945
+ Mail: MailIcon,
1946
+ CheckCircle: CheckCircleIcon,
1947
+ AlertTriangle: AlertTriangleIcon,
1948
+ XCircle: XCircleIcon,
1949
+ PlusCircle: PlusCircleIcon,
1950
+ LogOut: LogOutIcon,
1951
+ Download: DownloadIcon,
1952
+ Upload: UploadIcon,
1953
+ Printer: PrinterIcon,
1954
+ Star: StarIcon,
1955
+ Heart: HeartIcon,
1956
+ Eye: EyeIcon,
1957
+ Edit: EditIcon,
1958
+ Trash: TrashIcon
1959
+ };
1960
+
1961
+ export { AlertTriangleIcon, BarChartIcon, BellIcon, BuildingIcon, CalendarIcon, CheckCircleIcon, ClipboardIcon, DatabaseIcon, DownloadIcon, EditIcon, EyeIcon, FONT_SIZE_OPTIONS, FileTextIcon, FolderIcon, FontSizeSettings, GearIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, Icons, LogOutIcon, MailIcon, MapPinIcon, PhoneIcon, PlusCircleIcon, PrinterIcon, SearchIcon, SettingsPanel, SettingsProvider, ShieldIcon, SidebarHeader, SidebarMenu, SidebarUserProfile, StaffSidebar, StarIcon, ThemeSettings, TrashIcon, UploadIcon, UserHeader, UserIcon, UserSidebar, UsersIcon, WrenchIcon, XCircleIcon, useSettings };
1820
1962
  //# sourceMappingURL=index.mjs.map
1821
1963
  //# sourceMappingURL=index.mjs.map