@wso2/oxygen-ui 0.9.1 → 0.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.
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defProps = Object.defineProperties;
3
3
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
@@ -29,6 +30,294 @@ var __objRest = (source, exclude) => {
29
30
  }
30
31
  return target;
31
32
  };
33
+ var __esm = (fn, res) => function __init() {
34
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
35
+ };
36
+ var __export = (target, all) => {
37
+ for (var name in all)
38
+ __defProp(target, name, { get: all[name], enumerable: true });
39
+ };
40
+
41
+ // src/utils/formatRelativeTime.ts
42
+ function formatRelativeTime(date) {
43
+ const now = /* @__PURE__ */ new Date();
44
+ const diffMs = now.getTime() - date.getTime();
45
+ const diffSec = Math.floor(diffMs / 1e3);
46
+ const diffMin = Math.floor(diffSec / 60);
47
+ const diffHour = Math.floor(diffMin / 60);
48
+ const diffDay = Math.floor(diffHour / 24);
49
+ if (diffSec < 60) {
50
+ return "Just now";
51
+ } else if (diffMin < 60) {
52
+ return `${diffMin} minute${diffMin > 1 ? "s" : ""} ago`;
53
+ } else if (diffHour < 24) {
54
+ return `${diffHour} hour${diffHour > 1 ? "s" : ""} ago`;
55
+ } else if (diffDay < 7) {
56
+ return `${diffDay} day${diffDay > 1 ? "s" : ""} ago`;
57
+ } else {
58
+ return date.toLocaleDateString();
59
+ }
60
+ }
61
+ var init_formatRelativeTime = __esm({
62
+ "src/utils/formatRelativeTime.ts"() {
63
+ "use strict";
64
+ }
65
+ });
66
+
67
+ // src/utils/pxToRem.ts
68
+ var pxToRem;
69
+ var init_pxToRem = __esm({
70
+ "src/utils/pxToRem.ts"() {
71
+ "use strict";
72
+ pxToRem = (size) => `${size / 16}rem`;
73
+ }
74
+ });
75
+
76
+ // src/utils/index.ts
77
+ var init_utils = __esm({
78
+ "src/utils/index.ts"() {
79
+ "use strict";
80
+ init_createOxygenTheme();
81
+ init_formatRelativeTime();
82
+ init_pxToRem();
83
+ }
84
+ });
85
+
86
+ // src/styles/OxygenThemeBase.ts
87
+ import { extendTheme } from "@mui/material/styles";
88
+ import { ChevronDown, X } from "@wso2/oxygen-ui-icons-react";
89
+ import React from "react";
90
+ var OxygenUIPrimitives, OxygenThemeBase, customProperties, OxygenThemeBase_default;
91
+ var init_OxygenThemeBase = __esm({
92
+ "src/styles/OxygenThemeBase.ts"() {
93
+ "use strict";
94
+ init_utils();
95
+ OxygenUIPrimitives = {
96
+ fontSize: 14,
97
+ primaryColor: "#ff7300",
98
+ secondaryColor: "#757575"
99
+ };
100
+ OxygenThemeBase = extendTheme({
101
+ cssVarPrefix: "oxygen",
102
+ colorSchemeSelector: "data-color-scheme",
103
+ typography: {
104
+ fontFamily: "'Inter Variable', sans-serif",
105
+ fontWeightRegular: 400,
106
+ fontSize: OxygenUIPrimitives.fontSize,
107
+ h1: {
108
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 14),
109
+ fontWeight: 400
110
+ },
111
+ h2: {
112
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 10),
113
+ fontWeight: 400
114
+ },
115
+ h3: {
116
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 8),
117
+ fontWeight: 400
118
+ },
119
+ h4: {
120
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 6),
121
+ fontWeight: 400
122
+ },
123
+ h5: {
124
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 2),
125
+ fontWeight: 400
126
+ },
127
+ h6: {
128
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize),
129
+ fontWeight: 500
130
+ },
131
+ subtitle1: {
132
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 4)
133
+ },
134
+ subtitle2: {
135
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize),
136
+ fontWeight: 400
137
+ },
138
+ body1: {
139
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize)
140
+ },
141
+ body2: {
142
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize - 1),
143
+ // Will use by the labels in the components
144
+ fontWeight: 400
145
+ },
146
+ button: {
147
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize),
148
+ fontWeight: 500
149
+ },
150
+ caption: {
151
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize - 3),
152
+ fontWeight: 400
153
+ }
154
+ },
155
+ shadows: Array(25).fill("none"),
156
+ colorSchemes: {
157
+ light: {
158
+ palette: {
159
+ primary: {
160
+ main: OxygenUIPrimitives.primaryColor,
161
+ contrastText: "#ffffff"
162
+ },
163
+ secondary: {
164
+ main: OxygenUIPrimitives.secondaryColor,
165
+ contrastText: "#ffffff"
166
+ },
167
+ background: {
168
+ default: "#fafafa",
169
+ paper: "#ffffff"
170
+ }
171
+ }
172
+ },
173
+ dark: {
174
+ palette: {
175
+ primary: {
176
+ main: OxygenUIPrimitives.primaryColor,
177
+ contrastText: "#ffffff"
178
+ },
179
+ secondary: {
180
+ main: OxygenUIPrimitives.secondaryColor,
181
+ contrastText: "#ffffff"
182
+ },
183
+ background: {
184
+ default: "#121212",
185
+ paper: "#121212"
186
+ }
187
+ }
188
+ }
189
+ },
190
+ components: {
191
+ MuiAutocomplete: {
192
+ defaultProps: {
193
+ popupIcon: React.createElement(ChevronDown),
194
+ clearIcon: React.createElement(X)
195
+ }
196
+ },
197
+ MuiInputLabel: {
198
+ styleOverrides: {
199
+ root: {
200
+ ".MuiFormControl-root:has(.MuiSelect-select) &:not(.MuiInputLabel-shrink)": {
201
+ top: "-7px"
202
+ }
203
+ }
204
+ }
205
+ },
206
+ MuiSelect: {
207
+ defaultProps: {
208
+ size: "small",
209
+ IconComponent: ChevronDown
210
+ },
211
+ styleOverrides: {
212
+ icon: {
213
+ top: "50%",
214
+ transform: "translateY(-50%)",
215
+ marginTop: 0
216
+ },
217
+ select: {
218
+ paddingTop: "10px",
219
+ paddingBottom: "10px"
220
+ }
221
+ }
222
+ },
223
+ MuiTabs: {
224
+ styleOverrides: {
225
+ root: {
226
+ "&.MuiTabs-vertical": {
227
+ alignItems: "flex-start"
228
+ }
229
+ },
230
+ flexContainer: {
231
+ "&.MuiTabs-flexContainerVertical": {
232
+ alignItems: "flex-start"
233
+ }
234
+ }
235
+ }
236
+ },
237
+ MuiTab: {
238
+ styleOverrides: {
239
+ root: ({ theme }) => ({
240
+ textTransform: "none",
241
+ fontWeight: 400,
242
+ fontSize: theme.typography.body1.fontSize,
243
+ "&.MuiTab-root": {
244
+ minHeight: 48,
245
+ padding: "8px 16px"
246
+ },
247
+ ".MuiTabs-vertical &": {
248
+ width: "100%",
249
+ minHeight: 40,
250
+ padding: "8px 16px",
251
+ alignItems: "center",
252
+ justifyContent: "flex-start",
253
+ textAlign: "left"
254
+ }
255
+ })
256
+ }
257
+ }
258
+ }
259
+ });
260
+ customProperties = {
261
+ blur: {
262
+ light: "blur(3px)",
263
+ medium: "blur(10px)",
264
+ heavy: "blur(20px)"
265
+ },
266
+ border: {
267
+ width: "1px",
268
+ style: "solid"
269
+ },
270
+ gradient: {
271
+ primary: "linear-gradient(90deg, #F47B20 0%, #EF4223 100%)"
272
+ },
273
+ syntax: {
274
+ light: {
275
+ background: "#f5f5f5",
276
+ text: "#24292e",
277
+ comment: "#6a737d",
278
+ keyword: "#d73a49",
279
+ string: "#032f62",
280
+ function: "#6f42c1",
281
+ number: "#005cc5",
282
+ operator: "#d73a49"
283
+ },
284
+ dark: {
285
+ background: "#1e1e1e",
286
+ text: "#d4d4d4",
287
+ comment: "#6a9955",
288
+ keyword: "#569cd6",
289
+ string: "#ce9178",
290
+ function: "#dcdcaa",
291
+ number: "#b5cea8",
292
+ operator: "#d4d4d4"
293
+ }
294
+ }
295
+ };
296
+ Object.assign(OxygenThemeBase, customProperties);
297
+ if (OxygenThemeBase.vars) {
298
+ Object.assign(OxygenThemeBase.vars, customProperties);
299
+ }
300
+ OxygenThemeBase_default = OxygenThemeBase;
301
+ }
302
+ });
303
+
304
+ // src/utils/createOxygenTheme.ts
305
+ var createOxygenTheme_exports = {};
306
+ __export(createOxygenTheme_exports, {
307
+ createOxygenTheme: () => createOxygenTheme
308
+ });
309
+ import { deepmerge } from "@mui/utils";
310
+ import { extendTheme as extendTheme2 } from "@mui/material/styles";
311
+ function createOxygenTheme(config, baseTheme = OxygenThemeBase_default) {
312
+ const merged = deepmerge(baseTheme, config != null ? config : {});
313
+ return extendTheme2(merged);
314
+ }
315
+ var init_createOxygenTheme = __esm({
316
+ "src/utils/createOxygenTheme.ts"() {
317
+ "use strict";
318
+ init_OxygenThemeBase();
319
+ }
320
+ });
32
321
 
33
322
  // inline-css-fonts:/home/runner/work/oxygen-ui/oxygen-ui/packages/oxygen-ui/src/fonts.css
34
323
  (function() {
@@ -130,7 +419,7 @@ var __objRest = (source, exclude) => {
130
419
  // package.json
131
420
  var package_default = {
132
421
  name: "@wso2/oxygen-ui",
133
- version: "0.9.1",
422
+ version: "0.10.0",
134
423
  description: "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
135
424
  type: "module",
136
425
  main: "./dist/index.js",
@@ -196,10 +485,11 @@ var package_default = {
196
485
  },
197
486
  homepage: "https://github.com/wso2/oxygen-ui#readme",
198
487
  dependencies: {
199
- "@fontsource-variable/inter": "5.2.8",
200
488
  "@emotion/react": "catalog:",
201
489
  "@emotion/styled": "catalog:",
490
+ "@fontsource-variable/inter": "5.2.8",
202
491
  "@mui/material": "catalog:",
492
+ "@mui/utils": "catalog:",
203
493
  "@mui/x-data-grid": "catalog:",
204
494
  "@mui/x-date-pickers": "catalog:",
205
495
  "@mui/x-tree-view": "catalog:",
@@ -245,247 +535,8 @@ var package_default = {
245
535
  };
246
536
 
247
537
  // src/styles/Themes/AcrylicBaseTheme.ts
248
- import { extendTheme as extendTheme2 } from "@mui/material/styles";
249
-
250
- // src/styles/Themes/OxygenThemeBase.ts
251
- import { extendTheme } from "@mui/material/styles";
252
- import { ChevronDown, X } from "@wso2/oxygen-ui-icons-react";
253
- import React from "react";
254
-
255
- // src/utils/formatRelativeTime.ts
256
- function formatRelativeTime(date) {
257
- const now = /* @__PURE__ */ new Date();
258
- const diffMs = now.getTime() - date.getTime();
259
- const diffSec = Math.floor(diffMs / 1e3);
260
- const diffMin = Math.floor(diffSec / 60);
261
- const diffHour = Math.floor(diffMin / 60);
262
- const diffDay = Math.floor(diffHour / 24);
263
- if (diffSec < 60) {
264
- return "Just now";
265
- } else if (diffMin < 60) {
266
- return `${diffMin} minute${diffMin > 1 ? "s" : ""} ago`;
267
- } else if (diffHour < 24) {
268
- return `${diffHour} hour${diffHour > 1 ? "s" : ""} ago`;
269
- } else if (diffDay < 7) {
270
- return `${diffDay} day${diffDay > 1 ? "s" : ""} ago`;
271
- } else {
272
- return date.toLocaleDateString();
273
- }
274
- }
275
-
276
- // src/utils/pxToRem.ts
277
- var pxToRem = (size) => `${size / 16}rem`;
278
-
279
- // src/styles/Themes/OxygenThemeBase.ts
280
- var OxygenUIPrimitives = {
281
- fontSize: 14,
282
- primaryColor: "#ff7300",
283
- secondaryColor: "#757575"
284
- };
285
- var OxygenThemeBase = extendTheme({
286
- cssVarPrefix: "oxygen",
287
- colorSchemeSelector: "data-color-scheme",
288
- typography: {
289
- fontFamily: "'Inter Variable', sans-serif",
290
- fontWeightRegular: 400,
291
- fontSize: OxygenUIPrimitives.fontSize,
292
- h1: {
293
- fontSize: pxToRem(OxygenUIPrimitives.fontSize + 14),
294
- fontWeight: 400
295
- },
296
- h2: {
297
- fontSize: pxToRem(OxygenUIPrimitives.fontSize + 10),
298
- fontWeight: 400
299
- },
300
- h3: {
301
- fontSize: pxToRem(OxygenUIPrimitives.fontSize + 8),
302
- fontWeight: 400
303
- },
304
- h4: {
305
- fontSize: pxToRem(OxygenUIPrimitives.fontSize + 6),
306
- fontWeight: 400
307
- },
308
- h5: {
309
- fontSize: pxToRem(OxygenUIPrimitives.fontSize + 2),
310
- fontWeight: 400
311
- },
312
- h6: {
313
- fontSize: pxToRem(OxygenUIPrimitives.fontSize),
314
- fontWeight: 500
315
- },
316
- subtitle1: {
317
- fontSize: pxToRem(OxygenUIPrimitives.fontSize + 4)
318
- },
319
- subtitle2: {
320
- fontSize: pxToRem(OxygenUIPrimitives.fontSize),
321
- fontWeight: 400
322
- },
323
- body1: {
324
- fontSize: pxToRem(OxygenUIPrimitives.fontSize)
325
- },
326
- body2: {
327
- fontSize: pxToRem(OxygenUIPrimitives.fontSize - 1),
328
- // Will use by the labels in the components
329
- fontWeight: 400
330
- },
331
- button: {
332
- fontSize: pxToRem(OxygenUIPrimitives.fontSize),
333
- fontWeight: 500
334
- },
335
- caption: {
336
- fontSize: pxToRem(OxygenUIPrimitives.fontSize - 3),
337
- fontWeight: 400
338
- }
339
- },
340
- shadows: Array(25).fill("none"),
341
- colorSchemes: {
342
- light: {
343
- palette: {
344
- primary: {
345
- main: OxygenUIPrimitives.primaryColor,
346
- contrastText: "#ffffff"
347
- },
348
- secondary: {
349
- main: OxygenUIPrimitives.secondaryColor,
350
- contrastText: "#ffffff"
351
- },
352
- background: {
353
- default: "#fafafa",
354
- paper: "#ffffff"
355
- }
356
- }
357
- },
358
- dark: {
359
- palette: {
360
- primary: {
361
- main: OxygenUIPrimitives.primaryColor,
362
- contrastText: "#ffffff"
363
- },
364
- secondary: {
365
- main: OxygenUIPrimitives.secondaryColor,
366
- contrastText: "#ffffff"
367
- },
368
- background: {
369
- default: "#121212",
370
- paper: "#121212"
371
- }
372
- }
373
- }
374
- },
375
- components: {
376
- MuiAutocomplete: {
377
- defaultProps: {
378
- popupIcon: React.createElement(ChevronDown),
379
- clearIcon: React.createElement(X)
380
- }
381
- },
382
- MuiInputLabel: {
383
- styleOverrides: {
384
- root: {
385
- ".MuiFormControl-root:has(.MuiSelect-select) &:not(.MuiInputLabel-shrink)": {
386
- top: "-7px"
387
- }
388
- }
389
- }
390
- },
391
- MuiSelect: {
392
- defaultProps: {
393
- size: "small",
394
- IconComponent: ChevronDown
395
- },
396
- styleOverrides: {
397
- icon: {
398
- top: "50%",
399
- transform: "translateY(-50%)",
400
- marginTop: 0
401
- },
402
- select: {
403
- paddingTop: "10px",
404
- paddingBottom: "10px"
405
- }
406
- }
407
- },
408
- MuiTabs: {
409
- styleOverrides: {
410
- root: {
411
- "&.MuiTabs-vertical": {
412
- alignItems: "flex-start"
413
- }
414
- },
415
- flexContainer: {
416
- "&.MuiTabs-flexContainerVertical": {
417
- alignItems: "flex-start"
418
- }
419
- }
420
- }
421
- },
422
- MuiTab: {
423
- styleOverrides: {
424
- root: ({ theme }) => ({
425
- textTransform: "none",
426
- fontWeight: 400,
427
- fontSize: theme.typography.body1.fontSize,
428
- "&.MuiTab-root": {
429
- minHeight: 48,
430
- padding: "8px 16px"
431
- },
432
- ".MuiTabs-vertical &": {
433
- width: "100%",
434
- minHeight: 40,
435
- padding: "8px 16px",
436
- alignItems: "center",
437
- justifyContent: "flex-start",
438
- textAlign: "left"
439
- }
440
- })
441
- }
442
- }
443
- }
444
- });
445
- var customProperties = {
446
- blur: {
447
- light: "blur(3px)",
448
- medium: "blur(10px)",
449
- heavy: "blur(20px)"
450
- },
451
- border: {
452
- width: "1px",
453
- style: "solid"
454
- },
455
- gradient: {
456
- primary: "linear-gradient(90deg, #F47B20 0%, #EF4223 100%)"
457
- },
458
- syntax: {
459
- light: {
460
- background: "#f5f5f5",
461
- text: "#24292e",
462
- comment: "#6a737d",
463
- keyword: "#d73a49",
464
- string: "#032f62",
465
- function: "#6f42c1",
466
- number: "#005cc5",
467
- operator: "#d73a49"
468
- },
469
- dark: {
470
- background: "#1e1e1e",
471
- text: "#d4d4d4",
472
- comment: "#6a9955",
473
- keyword: "#569cd6",
474
- string: "#ce9178",
475
- function: "#dcdcaa",
476
- number: "#b5cea8",
477
- operator: "#d4d4d4"
478
- }
479
- }
480
- };
481
- Object.assign(OxygenThemeBase, customProperties);
482
- if (OxygenThemeBase.vars) {
483
- Object.assign(OxygenThemeBase.vars, customProperties);
484
- }
485
- var OxygenThemeBase_default = OxygenThemeBase;
486
-
487
- // src/styles/Themes/AcrylicBaseTheme.ts
488
- var AcrylicBaseTheme = extendTheme2(OxygenThemeBase_default, {
538
+ init_createOxygenTheme();
539
+ var AcrylicBaseTheme = {
489
540
  colorSchemes: {
490
541
  light: {
491
542
  palette: {
@@ -772,12 +823,12 @@ var AcrylicBaseTheme = extendTheme2(OxygenThemeBase_default, {
772
823
  }
773
824
  }
774
825
  }
775
- });
776
- var AcrylicBaseTheme_default = AcrylicBaseTheme;
826
+ };
827
+ var AcrylicBaseTheme_default = createOxygenTheme(AcrylicBaseTheme);
777
828
 
778
829
  // src/styles/Themes/AcrylicOrangeTheme.ts
779
- import { extendTheme as extendTheme3 } from "@mui/material/styles";
780
- var AcrylicOrangeTheme = extendTheme3(AcrylicBaseTheme_default, {
830
+ init_createOxygenTheme();
831
+ var AcrylicOrangeTheme = {
781
832
  components: {
782
833
  MuiCssBaseline: {
783
834
  styleOverrides: {
@@ -802,12 +853,12 @@ var AcrylicOrangeTheme = extendTheme3(AcrylicBaseTheme_default, {
802
853
  }
803
854
  }
804
855
  }
805
- });
806
- var AcrylicOrangeTheme_default = AcrylicOrangeTheme;
856
+ };
857
+ var AcrylicOrangeTheme_default = createOxygenTheme(AcrylicOrangeTheme, AcrylicBaseTheme_default);
807
858
 
808
859
  // src/styles/Themes/AcrylicPurpleTheme.ts
809
- import { extendTheme as extendTheme4 } from "@mui/material/styles";
810
- var AcrylicPurpleThemeBase = extendTheme4(AcrylicBaseTheme_default, {
860
+ init_createOxygenTheme();
861
+ var AcrylicPurpleThemeConfig = {
811
862
  colorSchemes: {
812
863
  light: {
813
864
  palette: {
@@ -891,22 +942,23 @@ var AcrylicPurpleThemeBase = extendTheme4(AcrylicBaseTheme_default, {
891
942
  }
892
943
  }
893
944
  }
894
- });
945
+ };
895
946
  var acrylicPurpleGradient = {
896
947
  gradient: {
897
948
  primary: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%)"
898
949
  }
899
950
  };
900
- Object.assign(AcrylicPurpleThemeBase, acrylicPurpleGradient);
901
- if (AcrylicPurpleThemeBase.vars) {
902
- Object.assign(AcrylicPurpleThemeBase.vars, acrylicPurpleGradient);
951
+ var AcrylicPurpleTheme = createOxygenTheme(AcrylicPurpleThemeConfig, AcrylicBaseTheme_default);
952
+ Object.assign(AcrylicPurpleTheme, acrylicPurpleGradient);
953
+ if (AcrylicPurpleTheme.vars) {
954
+ Object.assign(AcrylicPurpleTheme.vars, acrylicPurpleGradient);
903
955
  }
904
- var AcrylicPurpleTheme = AcrylicPurpleThemeBase;
905
956
  var AcrylicPurpleTheme_default = AcrylicPurpleTheme;
906
957
 
907
958
  // src/styles/Themes/ChoreoTheme.ts
908
- import { extendTheme as extendTheme5 } from "@mui/material/styles";
909
- var ChoreoThemeBase = extendTheme5(OxygenThemeBase_default, {
959
+ init_OxygenThemeBase();
960
+ init_createOxygenTheme();
961
+ var ChoreoThemeConfig = {
910
962
  shape: {
911
963
  borderRadius: 8
912
964
  },
@@ -1067,7 +1119,9 @@ var ChoreoThemeBase = extendTheme5(OxygenThemeBase_default, {
1067
1119
  }
1068
1120
  },
1069
1121
  MuiTextField: {
1070
- defaultProps: { size: "small" }
1122
+ defaultProps: {
1123
+ size: "small"
1124
+ }
1071
1125
  },
1072
1126
  MuiOutlinedInput: {
1073
1127
  styleOverrides: {
@@ -1108,7 +1162,7 @@ var ChoreoThemeBase = extendTheme5(OxygenThemeBase_default, {
1108
1162
  }
1109
1163
  }
1110
1164
  }
1111
- });
1165
+ };
1112
1166
  var choreoGradient = {
1113
1167
  gradient: {
1114
1168
  primary: "linear-gradient(77.74deg, #4a5bc8 11.16%, #745bcc 99.55%)"
@@ -1138,23 +1192,24 @@ var choreoSyntax = {
1138
1192
  }
1139
1193
  }
1140
1194
  };
1141
- Object.assign(ChoreoThemeBase, choreoGradient, choreoSyntax);
1142
- if (ChoreoThemeBase.vars) {
1143
- Object.assign(ChoreoThemeBase.vars, choreoGradient, choreoSyntax);
1195
+ var ChoreoTheme = createOxygenTheme(ChoreoThemeConfig, OxygenThemeBase_default);
1196
+ Object.assign(ChoreoTheme, choreoGradient, choreoSyntax);
1197
+ if (ChoreoTheme.vars) {
1198
+ Object.assign(ChoreoTheme.vars, choreoGradient, choreoSyntax);
1144
1199
  }
1145
- var ChoreoTheme = ChoreoThemeBase;
1146
1200
  var ChoreoTheme_default = ChoreoTheme;
1147
1201
 
1148
1202
  // src/styles/Themes/ClassicTheme.ts
1149
- import { extendTheme as extendTheme6 } from "@mui/material/styles";
1150
- var ClassicTheme = extendTheme6(OxygenThemeBase_default, {
1203
+ init_OxygenThemeBase();
1204
+ init_createOxygenTheme();
1205
+ var ClassicTheme_default = createOxygenTheme({
1151
1206
  shadows: Array(25).fill("none")
1152
- });
1153
- var ClassicTheme_default = ClassicTheme;
1207
+ }, OxygenThemeBase_default);
1154
1208
 
1155
1209
  // src/styles/Themes/HighContrastTheme.ts
1156
- import { extendTheme as extendTheme7 } from "@mui/material/styles";
1157
- var HighContrastThemeBase = extendTheme7(OxygenThemeBase_default, {
1210
+ init_OxygenThemeBase();
1211
+ init_createOxygenTheme();
1212
+ var HighContrastThemeConfig = {
1158
1213
  colorSchemes: {
1159
1214
  light: {
1160
1215
  palette: {
@@ -1320,8 +1375,8 @@ var HighContrastThemeBase = extendTheme7(OxygenThemeBase_default, {
1320
1375
  }
1321
1376
  }
1322
1377
  }
1323
- });
1324
- var HighContrastTheme = HighContrastThemeBase;
1378
+ };
1379
+ var HighContrastTheme = createOxygenTheme(HighContrastThemeConfig, OxygenThemeBase_default);
1325
1380
  Object.assign(HighContrastTheme, {
1326
1381
  gradient: {
1327
1382
  primary: "none"
@@ -1337,8 +1392,9 @@ if (HighContrastTheme.vars) {
1337
1392
  var HighContrastTheme_default = HighContrastTheme;
1338
1393
 
1339
1394
  // src/styles/Themes/PaleBaseTheme.ts
1340
- import { extendTheme as extendTheme8 } from "@mui/material/styles";
1341
- var PaleBaseTheme = extendTheme8(OxygenThemeBase_default, {
1395
+ init_OxygenThemeBase();
1396
+ init_createOxygenTheme();
1397
+ var PaleBaseThemeConfig = {
1342
1398
  shape: {
1343
1399
  borderRadius: 8
1344
1400
  },
@@ -1573,12 +1629,13 @@ var PaleBaseTheme = extendTheme8(OxygenThemeBase_default, {
1573
1629
  }
1574
1630
  }
1575
1631
  }
1576
- });
1632
+ };
1577
1633
  var lowColorBaseGradient = {
1578
1634
  gradient: {
1579
1635
  primary: "linear-gradient(90deg, var(--oxygen-palette-primary-main) 0%, var(--oxygen-palette-primary-dark) 100%)"
1580
1636
  }
1581
1637
  };
1638
+ var PaleBaseTheme = createOxygenTheme(PaleBaseThemeConfig, OxygenThemeBase_default);
1582
1639
  Object.assign(PaleBaseTheme, lowColorBaseGradient);
1583
1640
  if (PaleBaseTheme.vars) {
1584
1641
  Object.assign(PaleBaseTheme.vars, lowColorBaseGradient);
@@ -1586,8 +1643,8 @@ if (PaleBaseTheme.vars) {
1586
1643
  var PaleBaseTheme_default = PaleBaseTheme;
1587
1644
 
1588
1645
  // src/styles/Themes/PaleGray.ts
1589
- import { extendTheme as extendTheme9 } from "@mui/material/styles";
1590
- var PaleGrayTheme = extendTheme9(PaleBaseTheme_default, {
1646
+ init_createOxygenTheme();
1647
+ var PaleGrayThemeConfig = {
1591
1648
  colorSchemes: {
1592
1649
  light: {
1593
1650
  palette: {
@@ -1706,12 +1763,12 @@ var PaleGrayTheme = extendTheme9(PaleBaseTheme_default, {
1706
1763
  }
1707
1764
  }
1708
1765
  }
1709
- });
1710
- var PaleGray_default = PaleGrayTheme;
1766
+ };
1767
+ var PaleGray_default = createOxygenTheme(PaleGrayThemeConfig, PaleBaseTheme_default);
1711
1768
 
1712
1769
  // src/styles/Themes/PaleIndigo.ts
1713
- import { extendTheme as extendTheme10 } from "@mui/material/styles";
1714
- var PaleIndigoTheme = extendTheme10(PaleBaseTheme_default, {
1770
+ init_createOxygenTheme();
1771
+ var PaleIndigoThemeConfig = {
1715
1772
  colorSchemes: {
1716
1773
  light: {
1717
1774
  palette: {
@@ -1830,8 +1887,230 @@ var PaleIndigoTheme = extendTheme10(PaleBaseTheme_default, {
1830
1887
  }
1831
1888
  }
1832
1889
  }
1833
- });
1834
- var PaleIndigo_default = PaleIndigoTheme;
1890
+ };
1891
+ var PaleIndigo_default = createOxygenTheme(PaleIndigoThemeConfig, PaleBaseTheme_default);
1892
+
1893
+ // src/styles/Themes/WSO2Theme.ts
1894
+ init_OxygenThemeBase();
1895
+ init_createOxygenTheme();
1896
+ var WSO2ThemeConfig = {
1897
+ colorSchemes: {
1898
+ light: {
1899
+ palette: {
1900
+ primary: {
1901
+ main: "#FF7300"
1902
+ // WSO2 Orange
1903
+ },
1904
+ secondary: {
1905
+ main: "#5CD1FF"
1906
+ // WSO2 Secondary Blue
1907
+ },
1908
+ success: {
1909
+ main: "#2e7d32",
1910
+ // Darker green for better contrast with white text
1911
+ contrastText: "#ffffff"
1912
+ },
1913
+ warning: {
1914
+ main: "#e65100",
1915
+ // Darker orange for better contrast with white text
1916
+ contrastText: "#ffffff"
1917
+ },
1918
+ error: {
1919
+ main: "#c62828",
1920
+ // Darker red for better contrast with white text
1921
+ contrastText: "#ffffff"
1922
+ },
1923
+ info: {
1924
+ main: "#0277bd",
1925
+ // Darker blue for better contrast with white text
1926
+ contrastText: "#ffffff"
1927
+ },
1928
+ background: {
1929
+ default: "#ffffff",
1930
+ paper: "#ffffffc5",
1931
+ acrylic: "#ffffff40"
1932
+ },
1933
+ text: {
1934
+ primary: "#181818",
1935
+ secondary: "#181818"
1936
+ }
1937
+ }
1938
+ },
1939
+ dark: {
1940
+ palette: {
1941
+ primary: {
1942
+ main: "#FF7300"
1943
+ // WSO2 Orange
1944
+ },
1945
+ secondary: {
1946
+ main: "#5CD1FF"
1947
+ // WSO2 Secondary Blue
1948
+ },
1949
+ success: {
1950
+ main: "#388e3c",
1951
+ // Darker green for better contrast with white text
1952
+ contrastText: "#ffffff"
1953
+ },
1954
+ warning: {
1955
+ main: "#f57c00",
1956
+ // Darker orange for better contrast with white text
1957
+ contrastText: "#ffffff"
1958
+ },
1959
+ error: {
1960
+ main: "#d32f2f",
1961
+ // Darker red for better contrast with white text
1962
+ contrastText: "#ffffff"
1963
+ },
1964
+ info: {
1965
+ main: "#0277bd",
1966
+ // Darker blue for better contrast with white text
1967
+ contrastText: "#ffffff"
1968
+ },
1969
+ background: {
1970
+ default: "#0f172a",
1971
+ paper: "#00000026",
1972
+ acrylic: "#0000000d"
1973
+ },
1974
+ text: {
1975
+ primary: "#FFFFFF",
1976
+ secondary: "#FFFFFF"
1977
+ }
1978
+ }
1979
+ }
1980
+ },
1981
+ shape: {
1982
+ borderRadius: 20
1983
+ // WSO2 button border radius
1984
+ },
1985
+ blur: {
1986
+ none: "none",
1987
+ light: "blur(10px)",
1988
+ medium: "blur(16px)",
1989
+ heavy: "blur(24px)"
1990
+ },
1991
+ syntax: {
1992
+ light: {
1993
+ background: "#f5f5f5"
1994
+ },
1995
+ dark: {
1996
+ background: "#0c0c0c"
1997
+ }
1998
+ },
1999
+ components: {
2000
+ MuiCssBaseline: {
2001
+ styleOverrides: {
2002
+ "html[data-color-scheme='dark'] body": {
2003
+ backgroundAttachment: "fixed",
2004
+ backgroundImage: "radial-gradient(circle at 50% 25%, #233248 0%, rgba(153, 170, 205, 0) 40%),radial-gradient(circle at 500% 90%, #3b4e69 0%, rgba(153, 170, 205, 0) 20%),radial-gradient(circle at 100% 125%, #3b4e69 0%, rgba(153, 170, 205, 0) 20%),linear-gradient(120deg, #060812 100%)",
2005
+ backgroundBlendMode: "screen"
2006
+ },
2007
+ "html[data-color-scheme='light'] body": {
2008
+ backgroundAttachment: "fixed",
2009
+ backgroundImage: "radial-gradient(circle at 65% 30%, rgb(30 64 175 / 8%) 5%, rgba(0, 0, 0, 0) 60% 40%), radial-gradient(circle at 15% 50%, rgb(255 255 255 / 8%) 1%, rgba(0, 0, 0, 0) 40% 70%), linear-gradient(120deg, #ffffff 100%)"
2010
+ }
2011
+ }
2012
+ },
2013
+ MuiPaper: {
2014
+ styleOverrides: {
2015
+ root: ({ theme }) => ({
2016
+ backgroundColor: theme.vars.palette.background.paper,
2017
+ WebkitBackdropFilter: theme.blur.medium,
2018
+ backdropFilter: theme.blur.medium,
2019
+ backgroundImage: "none"
2020
+ })
2021
+ }
2022
+ },
2023
+ MuiButton: {
2024
+ styleOverrides: {
2025
+ root: {
2026
+ color: "#000000",
2027
+ transition: "color 0.3s ease-in-out",
2028
+ "&:hover": {
2029
+ color: "#FFFFFF"
2030
+ }
2031
+ },
2032
+ outlined: ({ theme }) => ({
2033
+ color: theme.palette.primary.main,
2034
+ "&:hover": {
2035
+ color: theme.palette.primary.main
2036
+ },
2037
+ "&.MuiButton-colorSuccess": {
2038
+ color: theme.palette.success.main,
2039
+ borderColor: theme.palette.success.main,
2040
+ "&:hover": {
2041
+ color: theme.palette.success.main,
2042
+ borderColor: theme.palette.success.main
2043
+ }
2044
+ },
2045
+ "&.MuiButton-colorWarning": {
2046
+ color: theme.palette.warning.main,
2047
+ borderColor: theme.palette.warning.main,
2048
+ "&:hover": {
2049
+ color: theme.palette.warning.main,
2050
+ borderColor: theme.palette.warning.main
2051
+ }
2052
+ },
2053
+ "&.MuiButton-colorError": {
2054
+ color: theme.palette.error.main,
2055
+ borderColor: theme.palette.error.main,
2056
+ "&:hover": {
2057
+ color: theme.palette.error.main,
2058
+ borderColor: theme.palette.error.main
2059
+ }
2060
+ },
2061
+ "&.MuiButton-colorInfo": {
2062
+ color: theme.palette.info.main,
2063
+ borderColor: theme.palette.info.main,
2064
+ "&:hover": {
2065
+ color: theme.palette.info.main,
2066
+ borderColor: theme.palette.info.main
2067
+ }
2068
+ }
2069
+ }),
2070
+ text: ({ theme }) => ({
2071
+ color: theme.vars.palette.text.primary,
2072
+ "&:hover": {
2073
+ color: theme.vars.palette.text.primary
2074
+ }
2075
+ })
2076
+ }
2077
+ },
2078
+ MuiLink: {
2079
+ styleOverrides: {
2080
+ root: ({ theme }) => ({
2081
+ color: theme.palette.primary.main
2082
+ })
2083
+ }
2084
+ },
2085
+ MuiTextField: {
2086
+ defaultProps: {
2087
+ size: "small"
2088
+ }
2089
+ },
2090
+ MuiSelect: {
2091
+ defaultProps: {
2092
+ size: "small"
2093
+ }
2094
+ },
2095
+ MuiAutocomplete: {
2096
+ defaultProps: {
2097
+ size: "small"
2098
+ }
2099
+ },
2100
+ MuiPopover: {
2101
+ styleOverrides: {
2102
+ paper: ({ theme }) => ({
2103
+ backgroundColor: theme.vars.palette.background.paper,
2104
+ WebkitBackdropFilter: theme.blur.medium,
2105
+ backdropFilter: theme.blur.medium,
2106
+ backgroundImage: "none"
2107
+ })
2108
+ }
2109
+ }
2110
+ }
2111
+ };
2112
+ var WSO2Theme = createOxygenTheme(WSO2ThemeConfig, OxygenThemeBase_default);
2113
+ var WSO2Theme_default = WSO2Theme;
1835
2114
 
1836
2115
  // src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx
1837
2116
  import { ThemeProvider, StyledEngineProvider } from "@mui/material/styles";
@@ -1844,16 +2123,6 @@ var defaultThemes = [
1844
2123
  key: "default",
1845
2124
  label: "Default",
1846
2125
  theme: AcrylicBaseTheme_default
1847
- },
1848
- {
1849
- key: "acrylicOrange",
1850
- label: "Acrylic Orange",
1851
- theme: AcrylicOrangeTheme_default
1852
- },
1853
- {
1854
- key: "acrylicPurple",
1855
- label: "Acrylic Purple",
1856
- theme: AcrylicPurpleTheme_default
1857
2126
  }
1858
2127
  ];
1859
2128
  var ThemeSwitcherContext = createContext(null);
@@ -1862,17 +2131,122 @@ var useThemeSwitcher = () => {
1862
2131
  if (!context) {
1863
2132
  throw new Error("useThemeSwitcher must be used within OxygenUIThemeProvider with themes prop");
1864
2133
  }
1865
- return context;
1866
- };
2134
+ return context;
2135
+ };
2136
+ function isSameOrigin(url) {
2137
+ try {
2138
+ const urlObj = new URL(url, window.location.href);
2139
+ const currentOrigin = window.location.origin;
2140
+ return urlObj.origin === currentOrigin;
2141
+ } catch (e) {
2142
+ return false;
2143
+ }
2144
+ }
2145
+ async function loadThemeFile(themeUrl) {
2146
+ try {
2147
+ if (!isSameOrigin(themeUrl)) {
2148
+ console.error(`Security Error: Theme URL "${themeUrl}" is not from the same origin. Only relative paths and same-origin URLs are allowed.`);
2149
+ return null;
2150
+ }
2151
+ const response = await fetch(themeUrl, {
2152
+ // Use same-origin credentials only
2153
+ credentials: "same-origin",
2154
+ // Set appropriate headers
2155
+ headers: {
2156
+ "Accept": "application/javascript, text/javascript"
2157
+ }
2158
+ });
2159
+ if (!response.ok) {
2160
+ console.warn(`Failed to fetch theme from ${themeUrl}: ${response.status} ${response.statusText}`);
2161
+ return null;
2162
+ }
2163
+ const contentType = response.headers.get("content-type");
2164
+ if (contentType && !contentType.includes("javascript") && !contentType.includes("ecmascript")) {
2165
+ console.warn(`Invalid content type for theme file: ${contentType}`);
2166
+ return null;
2167
+ }
2168
+ const themeCode = await response.text();
2169
+ if (themeCode.includes("eval(") || themeCode.includes("Function(")) {
2170
+ console.error("Security Error: Theme code contains potentially dangerous eval() or Function() calls");
2171
+ return null;
2172
+ }
2173
+ if (themeCode.length > 5e5) {
2174
+ console.error("Security Error: Theme file too large");
2175
+ return null;
2176
+ }
2177
+ const moduleFunction = new Function(
2178
+ "exports",
2179
+ "module",
2180
+ "createOxygenTheme",
2181
+ `'use strict';
2182
+ ${themeCode}
2183
+ return module.exports.default || exports.default;`
2184
+ );
2185
+ const { createOxygenTheme: createOxygenTheme2 } = await Promise.resolve().then(() => (init_createOxygenTheme(), createOxygenTheme_exports));
2186
+ const themeConfig = moduleFunction({}, { exports: {} }, createOxygenTheme2);
2187
+ if (!themeConfig || typeof themeConfig !== "object") {
2188
+ console.error("Invalid theme: theme file must export an object");
2189
+ return null;
2190
+ }
2191
+ if ("_cssVarsTemplate" in themeConfig) {
2192
+ return themeConfig;
2193
+ }
2194
+ const createdTheme = createOxygenTheme2(themeConfig);
2195
+ return createdTheme;
2196
+ } catch (error) {
2197
+ console.error(`Failed to load theme from ${themeUrl}:`, error);
2198
+ return null;
2199
+ }
2200
+ }
1867
2201
  function OxygenUIThemeProvider({
1868
2202
  children,
1869
2203
  theme,
1870
2204
  themes,
1871
- initialTheme
2205
+ initialTheme,
2206
+ onThemesLoaded
1872
2207
  }) {
1873
2208
  var _a, _b;
2209
+ const [resolvedThemes, setResolvedThemes] = useState([]);
2210
+ const [themesLoaded, setThemesLoaded] = useState(false);
2211
+ useEffect(() => {
2212
+ const allThemes = themes || defaultThemes;
2213
+ const themesToLoad = allThemes.filter((t) => typeof t.theme === "string");
2214
+ if (themesToLoad.length === 0) {
2215
+ const resolvedThemeList = allThemes.map((t) => ({
2216
+ key: t.key,
2217
+ label: t.label,
2218
+ theme: t.theme
2219
+ }));
2220
+ setResolvedThemes(resolvedThemeList);
2221
+ setThemesLoaded(true);
2222
+ if (onThemesLoaded) {
2223
+ onThemesLoaded(resolvedThemeList);
2224
+ }
2225
+ return;
2226
+ }
2227
+ Promise.all(
2228
+ allThemes.map(async (themeOption) => {
2229
+ if (typeof themeOption.theme === "string") {
2230
+ const loadedTheme = await loadThemeFile(themeOption.theme);
2231
+ if (loadedTheme) {
2232
+ return __spreadProps(__spreadValues({}, themeOption), { theme: loadedTheme });
2233
+ } else {
2234
+ return null;
2235
+ }
2236
+ }
2237
+ return __spreadProps(__spreadValues({}, themeOption), { theme: themeOption.theme });
2238
+ })
2239
+ ).then((loaded) => {
2240
+ const validThemes = loaded.filter((t) => t !== null);
2241
+ setResolvedThemes(validThemes);
2242
+ setThemesLoaded(true);
2243
+ if (onThemesLoaded) {
2244
+ onThemesLoaded(validThemes);
2245
+ }
2246
+ });
2247
+ }, [themes, onThemesLoaded]);
1874
2248
  const useThemeSwitching = !!themes;
1875
- const themeOptions = themes || defaultThemes;
2249
+ const themeOptions = resolvedThemes.length > 0 ? resolvedThemes : themes || defaultThemes;
1876
2250
  const [currentThemeKey, setCurrentThemeKey] = useState(() => {
1877
2251
  var _a2;
1878
2252
  if (typeof window !== "undefined" && useThemeSwitching) {
@@ -1898,7 +2272,8 @@ function OxygenUIThemeProvider({
1898
2272
  }, [currentThemeKey, useThemeSwitching]);
1899
2273
  let resolvedTheme;
1900
2274
  if (useThemeSwitching) {
1901
- resolvedTheme = ((_a = themeOptions.find((t) => t.key === currentThemeKey)) == null ? void 0 : _a.theme) || ((_b = themeOptions[0]) == null ? void 0 : _b.theme);
2275
+ const selectedTheme = ((_a = themeOptions.find((t) => t.key === currentThemeKey)) == null ? void 0 : _a.theme) || ((_b = themeOptions[0]) == null ? void 0 : _b.theme);
2276
+ resolvedTheme = typeof selectedTheme === "string" ? AcrylicBaseTheme_default : selectedTheme;
1902
2277
  } else {
1903
2278
  resolvedTheme = theme || AcrylicBaseTheme_default;
1904
2279
  }
@@ -1915,6 +2290,9 @@ function OxygenUIThemeProvider({
1915
2290
  setTheme,
1916
2291
  isActive
1917
2292
  };
2293
+ if (useThemeSwitching && !themesLoaded) {
2294
+ return null;
2295
+ }
1918
2296
  const content = /* @__PURE__ */ jsx(StyledEngineProvider, { injectFirst: true, children: /* @__PURE__ */ jsxs(ThemeProvider, { theme: resolvedTheme, children: [
1919
2297
  /* @__PURE__ */ jsx(CssBaseline, { enableColorScheme: true }),
1920
2298
  children
@@ -2070,12 +2448,88 @@ function ColorSchemeImage(_a) {
2070
2448
  return /* @__PURE__ */ jsx3(Box2, __spreadValues({ component: "img", src: imageSrc, alt: imageAlt, width, height }, rest));
2071
2449
  }
2072
2450
 
2451
+ // src/components/ColorSchemeSVG/ColorSchemeSVG.tsx
2452
+ import Box3 from "@mui/material/Box";
2453
+ import { jsx as jsx4 } from "react/jsx-runtime";
2454
+ function ColorSchemeSVG(_a) {
2455
+ var _b = _a, {
2456
+ children,
2457
+ svg: SvgComponent,
2458
+ width,
2459
+ height,
2460
+ sx
2461
+ } = _b, rest = __objRest(_b, [
2462
+ "children",
2463
+ "svg",
2464
+ "width",
2465
+ "height",
2466
+ "sx"
2467
+ ]);
2468
+ const colorSchemeStyles = {
2469
+ color: "text.primary",
2470
+ // Primary theme colors
2471
+ '& [fill="primary"]': (theme) => ({ fill: theme.palette.primary.main }),
2472
+ '& [fill="secondary"]': (theme) => ({ fill: theme.palette.secondary.main }),
2473
+ '& [fill="accent"]': (theme) => ({ fill: theme.palette.success.main }),
2474
+ '& [fill="muted"]': (theme) => ({ fill: theme.palette.grey[500] }),
2475
+ // Stroke colors
2476
+ '& [stroke="primary"]': (theme) => ({ stroke: theme.palette.primary.main }),
2477
+ '& [stroke="secondary"]': (theme) => ({ stroke: theme.palette.secondary.main }),
2478
+ '& [stroke="accent"]': (theme) => ({ stroke: theme.palette.success.main }),
2479
+ '& [stroke="muted"]': (theme) => ({ stroke: theme.palette.grey[500] }),
2480
+ // Text colors
2481
+ '& [fill="text-primary"]': (theme) => ({ fill: theme.palette.text.primary }),
2482
+ '& [fill="text-secondary"]': (theme) => ({ fill: theme.palette.text.secondary }),
2483
+ '& [fill="text-disabled"]': (theme) => ({ fill: theme.palette.text.disabled }),
2484
+ // Background colors
2485
+ '& [fill="background"]': (theme) => ({ fill: theme.palette.background.default }),
2486
+ '& [fill="surface"]': (theme) => ({ fill: theme.palette.background.paper }),
2487
+ // Status colors
2488
+ '& [fill="error"]': (theme) => ({ fill: theme.palette.error.main }),
2489
+ '& [fill="warning"]': (theme) => ({ fill: theme.palette.warning.main }),
2490
+ '& [fill="info"]': (theme) => ({ fill: theme.palette.info.main }),
2491
+ '& [fill="success"]': (theme) => ({ fill: theme.palette.success.main }),
2492
+ '& [stroke="error"]': (theme) => ({ stroke: theme.palette.error.main }),
2493
+ '& [stroke="warning"]': (theme) => ({ stroke: theme.palette.warning.main }),
2494
+ '& [stroke="info"]': (theme) => ({ stroke: theme.palette.info.main }),
2495
+ '& [stroke="success"]': (theme) => ({ stroke: theme.palette.success.main }),
2496
+ // Additional utility colors
2497
+ '& [stroke="border"]': (theme) => ({ stroke: theme.palette.divider }),
2498
+ '& [fill="highlight"]': (theme) => ({ fill: theme.palette.action.selected }),
2499
+ '& [fill="hover"]': (theme) => ({ fill: theme.palette.action.hover })
2500
+ };
2501
+ if (SvgComponent) {
2502
+ return /* @__PURE__ */ jsx4(
2503
+ Box3,
2504
+ __spreadProps(__spreadValues({
2505
+ sx: __spreadValues({
2506
+ display: "inline-flex",
2507
+ "& > svg": colorSchemeStyles
2508
+ }, sx)
2509
+ }, rest), {
2510
+ children: /* @__PURE__ */ jsx4(SvgComponent, { width, height })
2511
+ })
2512
+ );
2513
+ }
2514
+ return /* @__PURE__ */ jsx4(
2515
+ Box3,
2516
+ __spreadProps(__spreadValues({
2517
+ component: "svg",
2518
+ width,
2519
+ height,
2520
+ sx: __spreadValues(__spreadValues({}, colorSchemeStyles), sx)
2521
+ }, rest), {
2522
+ children
2523
+ })
2524
+ );
2525
+ }
2526
+
2073
2527
  // src/components/ColorSchemeToggle/ColorSchemeToggle.tsx
2074
2528
  import { useColorScheme as useColorScheme2 } from "@mui/material/styles";
2075
2529
  import IconButton from "@mui/material/IconButton";
2076
2530
  import { Moon, Monitor, Sun } from "@wso2/oxygen-ui-icons-react";
2077
2531
  import { Tooltip } from "@mui/material";
2078
- import { jsx as jsx4 } from "react/jsx-runtime";
2532
+ import { jsx as jsx5 } from "react/jsx-runtime";
2079
2533
  var ColorSchemeToggle = (_a) => {
2080
2534
  var _b = _a, {
2081
2535
  darkModeIcon,
@@ -2099,14 +2553,14 @@ var ColorSchemeToggle = (_a) => {
2099
2553
  const ColorSchemeIcon = () => {
2100
2554
  switch (currentMode) {
2101
2555
  case "light":
2102
- return lightModeIcon != null ? lightModeIcon : /* @__PURE__ */ jsx4(Sun, {});
2556
+ return lightModeIcon != null ? lightModeIcon : /* @__PURE__ */ jsx5(Sun, {});
2103
2557
  case "dark":
2104
- return darkModeIcon != null ? darkModeIcon : /* @__PURE__ */ jsx4(Moon, {});
2558
+ return darkModeIcon != null ? darkModeIcon : /* @__PURE__ */ jsx5(Moon, {});
2105
2559
  default:
2106
- return systemModeIcon != null ? systemModeIcon : /* @__PURE__ */ jsx4(Monitor, {});
2560
+ return systemModeIcon != null ? systemModeIcon : /* @__PURE__ */ jsx5(Monitor, {});
2107
2561
  }
2108
2562
  };
2109
- return /* @__PURE__ */ jsx4(Tooltip, { title: `${currentMode.charAt(0).toUpperCase()}${currentMode.slice(1)} Mode`, children: /* @__PURE__ */ jsx4(IconButton, __spreadProps(__spreadValues({}, buttonProps), { onClick: () => setMode(nextMode(currentMode)), children: /* @__PURE__ */ jsx4(ColorSchemeIcon, {}) })) });
2563
+ return /* @__PURE__ */ jsx5(Tooltip, { title: `${currentMode.charAt(0).toUpperCase()}${currentMode.slice(1)} Mode`, children: /* @__PURE__ */ jsx5(IconButton, __spreadProps(__spreadValues({}, buttonProps), { onClick: () => setMode(nextMode(currentMode)), children: /* @__PURE__ */ jsx5(ColorSchemeIcon, {}) })) });
2110
2564
  };
2111
2565
  var ColorSchemeToggle_default = ColorSchemeToggle;
2112
2566
 
@@ -2121,7 +2575,7 @@ import { styled as styled6 } from "@mui/material/styles";
2121
2575
  // src/components/ComplexSelect/ComplexSelectListHeader.tsx
2122
2576
  import MuiListSubheader from "@mui/material/ListSubheader";
2123
2577
  import { styled } from "@mui/material/styles";
2124
- import { jsx as jsx5 } from "react/jsx-runtime";
2578
+ import { jsx as jsx6 } from "react/jsx-runtime";
2125
2579
  var StyledListSubheader = styled(MuiListSubheader, {
2126
2580
  name: "MuiComplexSelectListHeader",
2127
2581
  slot: "Root"
@@ -2130,7 +2584,7 @@ var StyledListSubheader = styled(MuiListSubheader, {
2130
2584
  }));
2131
2585
  function ComplexSelectListHeader(_a) {
2132
2586
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2133
- return /* @__PURE__ */ jsx5(StyledListSubheader, __spreadProps(__spreadValues({}, props), { children }));
2587
+ return /* @__PURE__ */ jsx6(StyledListSubheader, __spreadProps(__spreadValues({}, props), { children }));
2134
2588
  }
2135
2589
  ComplexSelectListHeader.displayName = "ComplexSelect.ListHeader";
2136
2590
  var ComplexSelectListHeader_default = ComplexSelectListHeader;
@@ -2143,7 +2597,7 @@ import { styled as styled4 } from "@mui/material/styles";
2143
2597
  import { styled as styled2 } from "@mui/material/styles";
2144
2598
  import MuiListItemAvatar from "@mui/material/ListItemAvatar";
2145
2599
  import MuiAvatar from "@mui/material/Avatar";
2146
- import { jsx as jsx6 } from "react/jsx-runtime";
2600
+ import { jsx as jsx7 } from "react/jsx-runtime";
2147
2601
  var StyledAvatar = styled2(MuiAvatar, {
2148
2602
  name: "MuiComplexSelectMenuItemAvatar",
2149
2603
  slot: "Avatar"
@@ -2164,17 +2618,17 @@ var StyledListItemAvatar = styled2(MuiListItemAvatar, {
2164
2618
  });
2165
2619
  function ComplexSelectMenuItemAvatar(_a) {
2166
2620
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2167
- return /* @__PURE__ */ jsx6(StyledListItemAvatar, { children: /* @__PURE__ */ jsx6(StyledAvatar, __spreadProps(__spreadValues({}, props), { children })) });
2621
+ return /* @__PURE__ */ jsx7(StyledListItemAvatar, { children: /* @__PURE__ */ jsx7(StyledAvatar, __spreadProps(__spreadValues({}, props), { children })) });
2168
2622
  }
2169
2623
  ComplexSelectMenuItemAvatar.displayName = "ComplexSelect.MenuItemAvatar";
2170
2624
  var ComplexSelectMenuItemAvatar_default = ComplexSelectMenuItemAvatar;
2171
2625
 
2172
2626
  // src/components/ComplexSelect/ComplexSelectMenuItemText.tsx
2173
2627
  import MuiListItemText from "@mui/material/ListItemText";
2174
- import { jsx as jsx7 } from "react/jsx-runtime";
2628
+ import { jsx as jsx8 } from "react/jsx-runtime";
2175
2629
  function ComplexSelectMenuItemText(_a) {
2176
2630
  var _b = _a, { primary, secondary } = _b, props = __objRest(_b, ["primary", "secondary"]);
2177
- return /* @__PURE__ */ jsx7(
2631
+ return /* @__PURE__ */ jsx8(
2178
2632
  MuiListItemText,
2179
2633
  __spreadValues({
2180
2634
  primary,
@@ -2189,7 +2643,7 @@ var ComplexSelectMenuItemText_default = ComplexSelectMenuItemText;
2189
2643
  // src/components/ComplexSelect/ComplexSelectMenuItemIcon.tsx
2190
2644
  import MuiListItemIcon from "@mui/material/ListItemIcon";
2191
2645
  import { styled as styled3 } from "@mui/material/styles";
2192
- import { jsx as jsx8 } from "react/jsx-runtime";
2646
+ import { jsx as jsx9 } from "react/jsx-runtime";
2193
2647
  var StyledListItemIcon = styled3(MuiListItemIcon, {
2194
2648
  name: "MuiComplexSelectMenuItemIcon",
2195
2649
  slot: "Root"
@@ -2198,13 +2652,13 @@ var StyledListItemIcon = styled3(MuiListItemIcon, {
2198
2652
  }));
2199
2653
  function ComplexSelectMenuItemIcon(_a) {
2200
2654
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2201
- return /* @__PURE__ */ jsx8(StyledListItemIcon, __spreadProps(__spreadValues({}, props), { children }));
2655
+ return /* @__PURE__ */ jsx9(StyledListItemIcon, __spreadProps(__spreadValues({}, props), { children }));
2202
2656
  }
2203
2657
  ComplexSelectMenuItemIcon.displayName = "ComplexSelect.MenuItemIcon";
2204
2658
  var ComplexSelectMenuItemIcon_default = ComplexSelectMenuItemIcon;
2205
2659
 
2206
2660
  // src/components/ComplexSelect/ComplexSelectMenuItem.tsx
2207
- import { jsx as jsx9 } from "react/jsx-runtime";
2661
+ import { jsx as jsx10 } from "react/jsx-runtime";
2208
2662
  var StyledMenuItem = styled4(MuiMenuItem, {
2209
2663
  name: "MuiComplexSelectMenuItem",
2210
2664
  slot: "Root"
@@ -2222,7 +2676,7 @@ var StyledMenuItem = styled4(MuiMenuItem, {
2222
2676
  var ComplexSelectMenuItem = Object.assign(
2223
2677
  (_a) => {
2224
2678
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2225
- return /* @__PURE__ */ jsx9(StyledMenuItem, __spreadProps(__spreadValues({}, props), { children }));
2679
+ return /* @__PURE__ */ jsx10(StyledMenuItem, __spreadProps(__spreadValues({}, props), { children }));
2226
2680
  },
2227
2681
  {
2228
2682
  Avatar: ComplexSelectMenuItemAvatar_default,
@@ -2236,7 +2690,7 @@ var ComplexSelectMenuItem_default = ComplexSelectMenuItem;
2236
2690
  // src/components/ComplexSelect/ComplexSelectDivider.tsx
2237
2691
  import MuiDivider from "@mui/material/Divider";
2238
2692
  import { styled as styled5 } from "@mui/material/styles";
2239
- import { jsx as jsx10 } from "react/jsx-runtime";
2693
+ import { jsx as jsx11 } from "react/jsx-runtime";
2240
2694
  var StyledDivider = styled5(MuiDivider, {
2241
2695
  name: "MuiComplexSelectDivider",
2242
2696
  slot: "Root"
@@ -2246,13 +2700,13 @@ var StyledDivider = styled5(MuiDivider, {
2246
2700
  }));
2247
2701
  function ComplexSelectDivider(_a) {
2248
2702
  var props = __objRest(_a, []);
2249
- return /* @__PURE__ */ jsx10(StyledDivider, __spreadValues({}, props));
2703
+ return /* @__PURE__ */ jsx11(StyledDivider, __spreadValues({}, props));
2250
2704
  }
2251
2705
  ComplexSelectDivider.displayName = "ComplexSelect.Divider";
2252
2706
  var ComplexSelectDivider_default = ComplexSelectDivider;
2253
2707
 
2254
2708
  // src/components/ComplexSelect/ComplexSelect.tsx
2255
- import { Fragment, jsx as jsx11, jsxs as jsxs2 } from "react/jsx-runtime";
2709
+ import { Fragment, jsx as jsx12, jsxs as jsxs2 } from "react/jsx-runtime";
2256
2710
  var StyledSelect = styled6(MuiSelect, {
2257
2711
  name: "MuiComplexSelect",
2258
2712
  slot: "Root",
@@ -2322,7 +2776,7 @@ function ComplexSelect(_a) {
2322
2776
  return __spreadProps(__spreadValues({}, node), {
2323
2777
  props: __spreadProps(__spreadValues({}, nodeProps2), {
2324
2778
  primary: /* @__PURE__ */ jsxs2(Fragment, { children: [
2325
- /* @__PURE__ */ jsx11(InsideLabelText, { children: label }),
2779
+ /* @__PURE__ */ jsx12(InsideLabelText, { children: label }),
2326
2780
  nodeProps2.primary
2327
2781
  ] }),
2328
2782
  // Remove secondary text when label is inside
@@ -2371,7 +2825,7 @@ function ComplexSelect(_a) {
2371
2825
  horizontal: "left"
2372
2826
  }
2373
2827
  }, props.MenuProps);
2374
- const selectContent = /* @__PURE__ */ jsx11(
2828
+ const selectContent = /* @__PURE__ */ jsx12(
2375
2829
  StyledSelect,
2376
2830
  __spreadProps(__spreadValues({}, props), {
2377
2831
  label,
@@ -2386,7 +2840,7 @@ function ComplexSelect(_a) {
2386
2840
  if (label) {
2387
2841
  const generatedLabelId = labelId || `complex-select-label-${Math.random().toString(36).substr(2, 9)}`;
2388
2842
  return /* @__PURE__ */ jsxs2(StyledFormControl, { fullWidth: props.fullWidth, children: [
2389
- labelAnchor !== "inside" && /* @__PURE__ */ jsx11(
2843
+ labelAnchor !== "inside" && /* @__PURE__ */ jsx12(
2390
2844
  StyledInputLabel,
2391
2845
  {
2392
2846
  id: generatedLabelId,
@@ -2394,7 +2848,7 @@ function ComplexSelect(_a) {
2394
2848
  children: label
2395
2849
  }
2396
2850
  ),
2397
- /* @__PURE__ */ jsx11(
2851
+ /* @__PURE__ */ jsx12(
2398
2852
  StyledSelect,
2399
2853
  __spreadProps(__spreadValues({}, props), {
2400
2854
  label: labelAnchor === "border" ? label : void 0,
@@ -2419,9 +2873,9 @@ var ComplexSelect_default = ComplexSelectCompound;
2419
2873
 
2420
2874
  // src/components/PageContent/PageContent.tsx
2421
2875
  import { styled as styled7 } from "@mui/material/styles";
2422
- import { Box as Box3 } from "@mui/material";
2423
- import { jsx as jsx12 } from "react/jsx-runtime";
2424
- var PageContentRoot = styled7(Box3, {
2876
+ import { Box as Box4 } from "@mui/material";
2877
+ import { jsx as jsx13 } from "react/jsx-runtime";
2878
+ var PageContentRoot = styled7(Box4, {
2425
2879
  name: "MuiPageContent",
2426
2880
  slot: "Root"
2427
2881
  })(() => ({
@@ -2431,7 +2885,7 @@ var PageContentRoot = styled7(Box3, {
2431
2885
  display: "flex",
2432
2886
  flexDirection: "column"
2433
2887
  }));
2434
- var PageContentInner = styled7(Box3, {
2888
+ var PageContentInner = styled7(Box4, {
2435
2889
  name: "MuiPageContent",
2436
2890
  slot: "Inner",
2437
2891
  shouldForwardProp: (prop) => prop !== "maxWidth" && prop !== "centered" && prop !== "fullWidth" && prop !== "noPadding"
@@ -2452,7 +2906,7 @@ var PageContent = (_a) => {
2452
2906
  "fullWidth",
2453
2907
  "noPadding"
2454
2908
  ]);
2455
- return /* @__PURE__ */ jsx12(PageContentRoot, { children: /* @__PURE__ */ jsx12(
2909
+ return /* @__PURE__ */ jsx13(PageContentRoot, { children: /* @__PURE__ */ jsx13(
2456
2910
  PageContentInner,
2457
2911
  __spreadProps(__spreadValues({
2458
2912
  maxWidth,
@@ -2474,7 +2928,7 @@ import { styled as styled14 } from "@mui/material/styles";
2474
2928
  // src/components/PageTitle/PageTitleHeader.tsx
2475
2929
  import { styled as styled8 } from "@mui/material/styles";
2476
2930
  import Typography from "@mui/material/Typography";
2477
- import { jsx as jsx13 } from "react/jsx-runtime";
2931
+ import { jsx as jsx14 } from "react/jsx-runtime";
2478
2932
  var PageTitleHeaderStyled = styled8(Typography, {
2479
2933
  name: "MuiPageTitle",
2480
2934
  slot: "Header"
@@ -2486,7 +2940,7 @@ var PageTitleHeaderStyled = styled8(Typography, {
2486
2940
  });
2487
2941
  var PageTitleHeader = (_a) => {
2488
2942
  var _b = _a, { children, variant = "h1" } = _b, props = __objRest(_b, ["children", "variant"]);
2489
- return /* @__PURE__ */ jsx13(PageTitleHeaderStyled, __spreadProps(__spreadValues({ variant }, props), { children }));
2943
+ return /* @__PURE__ */ jsx14(PageTitleHeaderStyled, __spreadProps(__spreadValues({ variant }, props), { children }));
2490
2944
  };
2491
2945
  PageTitleHeader.displayName = "PageTitle.Header";
2492
2946
  var PageTitleHeader_default = PageTitleHeader;
@@ -2494,7 +2948,7 @@ var PageTitleHeader_default = PageTitleHeader;
2494
2948
  // src/components/PageTitle/PageTitleSubHeader.tsx
2495
2949
  import { styled as styled9 } from "@mui/material/styles";
2496
2950
  import Typography2 from "@mui/material/Typography";
2497
- import { jsx as jsx14 } from "react/jsx-runtime";
2951
+ import { jsx as jsx15 } from "react/jsx-runtime";
2498
2952
  var PageTitleSubHeaderStyled = styled9(Typography2, {
2499
2953
  name: "MuiPageTitle",
2500
2954
  slot: "SubHeader"
@@ -2509,7 +2963,7 @@ var PageTitleSubHeaderStyled = styled9(Typography2, {
2509
2963
  });
2510
2964
  var PageTitleSubHeader = (_a) => {
2511
2965
  var _b = _a, { children, variant = "body2" } = _b, props = __objRest(_b, ["children", "variant"]);
2512
- return /* @__PURE__ */ jsx14(PageTitleSubHeaderStyled, __spreadProps(__spreadValues({ variant }, props), { children }));
2966
+ return /* @__PURE__ */ jsx15(PageTitleSubHeaderStyled, __spreadProps(__spreadValues({ variant }, props), { children }));
2513
2967
  };
2514
2968
  PageTitleSubHeader.displayName = "PageTitle.SubHeader";
2515
2969
  var PageTitleSubHeader_default = PageTitleSubHeader;
@@ -2517,7 +2971,7 @@ var PageTitleSubHeader_default = PageTitleSubHeader;
2517
2971
  // src/components/PageTitle/PageTitleAvatar.tsx
2518
2972
  import { styled as styled10 } from "@mui/material/styles";
2519
2973
  import Avatar from "@mui/material/Avatar";
2520
- import { jsx as jsx15 } from "react/jsx-runtime";
2974
+ import { jsx as jsx16 } from "react/jsx-runtime";
2521
2975
  var PageTitleAvatarStyled = styled10(Avatar, {
2522
2976
  name: "MuiPageTitle",
2523
2977
  slot: "Avatar"
@@ -2528,7 +2982,7 @@ var PageTitleAvatarStyled = styled10(Avatar, {
2528
2982
  }));
2529
2983
  var PageTitleAvatar = (_a) => {
2530
2984
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2531
- return /* @__PURE__ */ jsx15(PageTitleAvatarStyled, __spreadProps(__spreadValues({}, props), { children }));
2985
+ return /* @__PURE__ */ jsx16(PageTitleAvatarStyled, __spreadProps(__spreadValues({}, props), { children }));
2532
2986
  };
2533
2987
  PageTitleAvatar.displayName = "PageTitle.Avatar";
2534
2988
  var PageTitleAvatar_default = PageTitleAvatar;
@@ -2536,8 +2990,8 @@ var PageTitleAvatar_default = PageTitleAvatar;
2536
2990
  // src/components/PageTitle/PageTitleLink.tsx
2537
2991
  import { styled as styled11 } from "@mui/material/styles";
2538
2992
  import Link from "@mui/material/Link";
2539
- import Box4 from "@mui/material/Box";
2540
- import { jsx as jsx16, jsxs as jsxs3 } from "react/jsx-runtime";
2993
+ import Box5 from "@mui/material/Box";
2994
+ import { jsx as jsx17, jsxs as jsxs3 } from "react/jsx-runtime";
2541
2995
  var PageTitleLinkStyled = styled11(Link, {
2542
2996
  name: "MuiPageTitle",
2543
2997
  slot: "Link"
@@ -2556,7 +3010,7 @@ var PageTitleLinkStyled = styled11(Link, {
2556
3010
  var PageTitleLink = (_a) => {
2557
3011
  var _b = _a, { children, icon } = _b, props = __objRest(_b, ["children", "icon"]);
2558
3012
  return /* @__PURE__ */ jsxs3(PageTitleLinkStyled, __spreadProps(__spreadValues({}, props), { children: [
2559
- icon && /* @__PURE__ */ jsx16(Box4, { component: "span", sx: { display: "inline-flex", alignItems: "center", fontSize: "1rem" }, children: icon }),
3013
+ icon && /* @__PURE__ */ jsx17(Box5, { component: "span", sx: { display: "inline-flex", alignItems: "center", fontSize: "1rem" }, children: icon }),
2560
3014
  children
2561
3015
  ] }));
2562
3016
  };
@@ -2565,7 +3019,7 @@ var PageTitleLink_default = PageTitleLink;
2565
3019
 
2566
3020
  // src/components/PageTitle/PageTitleActions.tsx
2567
3021
  import { styled as styled12 } from "@mui/material/styles";
2568
- import { jsx as jsx17 } from "react/jsx-runtime";
3022
+ import { jsx as jsx18 } from "react/jsx-runtime";
2569
3023
  var PageTitleActionsRoot = styled12("div", {
2570
3024
  name: "MuiPageTitle",
2571
3025
  slot: "Actions"
@@ -2577,7 +3031,7 @@ var PageTitleActionsRoot = styled12("div", {
2577
3031
  }));
2578
3032
  var PageTitleActions = (_a) => {
2579
3033
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2580
- return /* @__PURE__ */ jsx17(PageTitleActionsRoot, __spreadProps(__spreadValues({}, props), { children }));
3034
+ return /* @__PURE__ */ jsx18(PageTitleActionsRoot, __spreadProps(__spreadValues({}, props), { children }));
2581
3035
  };
2582
3036
  PageTitleActions.displayName = "PageTitle.Actions";
2583
3037
  var PageTitleActions_default = PageTitleActions;
@@ -2588,7 +3042,7 @@ import { styled as styled13 } from "@mui/material/styles";
2588
3042
  import Button from "@mui/material/Button";
2589
3043
  import Typography3 from "@mui/material/Typography";
2590
3044
  import { ArrowLeft } from "@wso2/oxygen-ui-icons-react";
2591
- import { jsx as jsx18, jsxs as jsxs4 } from "react/jsx-runtime";
3045
+ import { jsx as jsx19, jsxs as jsxs4 } from "react/jsx-runtime";
2592
3046
  var PageTitleBackButtonRoot = styled13("div", {
2593
3047
  name: "MuiPageTitle",
2594
3048
  slot: "BackButton"
@@ -2613,13 +3067,13 @@ var PageTitleBackButton = (_a) => {
2613
3067
  }
2614
3068
  }, props), {
2615
3069
  children: [
2616
- /* @__PURE__ */ jsx18(ArrowLeft, { size: 20 }),
2617
- /* @__PURE__ */ jsx18(Typography3, { variant: "body2", children })
3070
+ /* @__PURE__ */ jsx19(ArrowLeft, { size: 20 }),
3071
+ /* @__PURE__ */ jsx19(Typography3, { variant: "body2", children })
2618
3072
  ]
2619
3073
  })
2620
3074
  );
2621
3075
  if (React3.isValidElement(Component)) {
2622
- return /* @__PURE__ */ jsx18(PageTitleBackButtonRoot, { children: React3.cloneElement(
3076
+ return /* @__PURE__ */ jsx19(PageTitleBackButtonRoot, { children: React3.cloneElement(
2623
3077
  Component,
2624
3078
  { style: { textDecoration: "none" } },
2625
3079
  button
@@ -2627,15 +3081,15 @@ var PageTitleBackButton = (_a) => {
2627
3081
  }
2628
3082
  if (Component) {
2629
3083
  const WrapperComponent = Component;
2630
- return /* @__PURE__ */ jsx18(PageTitleBackButtonRoot, { children: /* @__PURE__ */ jsx18(WrapperComponent, { style: { textDecoration: "none" }, children: button }) });
3084
+ return /* @__PURE__ */ jsx19(PageTitleBackButtonRoot, { children: /* @__PURE__ */ jsx19(WrapperComponent, { style: { textDecoration: "none" }, children: button }) });
2631
3085
  }
2632
- return /* @__PURE__ */ jsx18(PageTitleBackButtonRoot, { children: button });
3086
+ return /* @__PURE__ */ jsx19(PageTitleBackButtonRoot, { children: button });
2633
3087
  };
2634
3088
  PageTitleBackButton.displayName = "PageTitle.BackButton";
2635
3089
  var PageTitleBackButton_default = PageTitleBackButton;
2636
3090
 
2637
3091
  // src/components/PageTitle/PageTitle.tsx
2638
- import { jsx as jsx19, jsxs as jsxs5 } from "react/jsx-runtime";
3092
+ import { jsx as jsx20, jsxs as jsxs5 } from "react/jsx-runtime";
2639
3093
  var PageTitleRoot = styled14("div", {
2640
3094
  name: "MuiPageTitle",
2641
3095
  slot: "Root"
@@ -2727,13 +3181,13 @@ var PageTitle = (_a) => {
2727
3181
  }
2728
3182
  );
2729
3183
  return /* @__PURE__ */ jsxs5(PageTitleRoot, __spreadProps(__spreadValues({ sx }, props), { children: [
2730
- backButtonElement && /* @__PURE__ */ jsx19(PageTitleRow1, { children: backButtonElement }),
3184
+ backButtonElement && /* @__PURE__ */ jsx20(PageTitleRow1, { children: backButtonElement }),
2731
3185
  /* @__PURE__ */ jsxs5(PageTitleRow2, { children: [
2732
3186
  /* @__PURE__ */ jsxs5(PageTitleColumnLeft, { children: [
2733
- /* @__PURE__ */ jsx19(PageTitleColumn1, { children: avatar }),
2734
- /* @__PURE__ */ jsx19(PageTitleColumn2, { children: otherChildren })
3187
+ /* @__PURE__ */ jsx20(PageTitleColumn1, { children: avatar }),
3188
+ /* @__PURE__ */ jsx20(PageTitleColumn2, { children: otherChildren })
2735
3189
  ] }),
2736
- /* @__PURE__ */ jsx19(PageTitleColumnRight, { children: actions })
3190
+ /* @__PURE__ */ jsx20(PageTitleColumnRight, { children: actions })
2737
3191
  ] })
2738
3192
  ] }));
2739
3193
  };
@@ -2748,8 +3202,8 @@ PageTitle.displayName = "PageTitle";
2748
3202
  var PageTitle_default = PageTitle;
2749
3203
 
2750
3204
  // src/components/StatCard/StatCard.tsx
2751
- import { Card, CardContent, Box as Box5, Typography as Typography4 } from "@mui/material";
2752
- import { jsx as jsx20, jsxs as jsxs6 } from "react/jsx-runtime";
3205
+ import { Card, CardContent, Box as Box6, Typography as Typography4 } from "@mui/material";
3206
+ import { jsx as jsx21, jsxs as jsxs6 } from "react/jsx-runtime";
2753
3207
  var StatCard = (_a) => {
2754
3208
  var _b = _a, {
2755
3209
  value,
@@ -2762,11 +3216,11 @@ var StatCard = (_a) => {
2762
3216
  "icon",
2763
3217
  "iconColor"
2764
3218
  ]);
2765
- return /* @__PURE__ */ jsx20(Card, __spreadProps(__spreadValues({ variant: "outlined" }, props), { children: /* @__PURE__ */ jsx20(CardContent, { children: /* @__PURE__ */ jsxs6(Box5, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
2766
- icon && /* @__PURE__ */ jsx20(Box5, { sx: { color: (theme) => theme.palette[iconColor].main, display: "flex", alignItems: "center" }, children: icon }),
2767
- /* @__PURE__ */ jsxs6(Box5, { children: [
2768
- /* @__PURE__ */ jsx20(Typography4, { variant: "h5", children: value }),
2769
- /* @__PURE__ */ jsx20(Typography4, { variant: "body2", color: "text.secondary", children: label })
3219
+ return /* @__PURE__ */ jsx21(Card, __spreadProps(__spreadValues({ variant: "outlined" }, props), { children: /* @__PURE__ */ jsx21(CardContent, { children: /* @__PURE__ */ jsxs6(Box6, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
3220
+ icon && /* @__PURE__ */ jsx21(Box6, { sx: { color: (theme) => theme.palette[iconColor].main, display: "flex", alignItems: "center" }, children: icon }),
3221
+ /* @__PURE__ */ jsxs6(Box6, { children: [
3222
+ /* @__PURE__ */ jsx21(Typography4, { variant: "h5", children: value }),
3223
+ /* @__PURE__ */ jsx21(Typography4, { variant: "body2", color: "text.secondary", children: label })
2770
3224
  ] })
2771
3225
  ] }) }) }));
2772
3226
  };
@@ -2775,7 +3229,7 @@ var StatCard_default = StatCard;
2775
3229
 
2776
3230
  // src/components/ThemeSwitcher/ThemeSelect.tsx
2777
3231
  import { Select, MenuItem, FormControl, InputLabel } from "@mui/material";
2778
- import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
3232
+ import { jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
2779
3233
  function ThemeSelect({
2780
3234
  size = "small",
2781
3235
  showLabel = false,
@@ -2788,22 +3242,22 @@ function ThemeSelect({
2788
3242
  setTheme(event.target.value);
2789
3243
  };
2790
3244
  return /* @__PURE__ */ jsxs7(FormControl, { size, variant, sx: __spreadValues({ minWidth: 120 }, sx), children: [
2791
- showLabel && /* @__PURE__ */ jsx21(InputLabel, { id: "theme-select-label", children: label }),
2792
- /* @__PURE__ */ jsx21(
3245
+ showLabel && /* @__PURE__ */ jsx22(InputLabel, { id: "theme-select-label", children: label }),
3246
+ /* @__PURE__ */ jsx22(
2793
3247
  Select,
2794
3248
  {
2795
3249
  labelId: showLabel ? "theme-select-label" : void 0,
2796
3250
  value: currentTheme,
2797
3251
  onChange: handleChange,
2798
3252
  label: showLabel ? label : void 0,
2799
- children: themes.map((themeOption) => /* @__PURE__ */ jsx21(MenuItem, { value: themeOption.key, children: themeOption.label }, themeOption.key))
3253
+ children: themes.map((themeOption) => /* @__PURE__ */ jsx22(MenuItem, { value: themeOption.key, children: themeOption.label }, themeOption.key))
2800
3254
  }
2801
3255
  )
2802
3256
  ] });
2803
3257
  }
2804
3258
 
2805
3259
  // src/components/ThemeSwitcher/ThemeSwitcher.tsx
2806
- import { Fragment as Fragment2, jsx as jsx22 } from "react/jsx-runtime";
3260
+ import { Fragment as Fragment2, jsx as jsx23 } from "react/jsx-runtime";
2807
3261
  function ThemeSwitcher({
2808
3262
  children,
2809
3263
  size,
@@ -2814,9 +3268,9 @@ function ThemeSwitcher({
2814
3268
  }) {
2815
3269
  const themeSwitcherContext = useThemeSwitcher();
2816
3270
  if (children) {
2817
- return /* @__PURE__ */ jsx22(Fragment2, { children: children(themeSwitcherContext) });
3271
+ return /* @__PURE__ */ jsx23(Fragment2, { children: children(themeSwitcherContext) });
2818
3272
  }
2819
- return /* @__PURE__ */ jsx22(
3273
+ return /* @__PURE__ */ jsx23(
2820
3274
  ThemeSelect,
2821
3275
  {
2822
3276
  size,
@@ -2830,9 +3284,9 @@ function ThemeSwitcher({
2830
3284
 
2831
3285
  // src/components/SearchBar/SearchBarWithAdvancedFilter.tsx
2832
3286
  import * as React5 from "react";
2833
- import TextField from "@mui/material/TextField";
2834
- import InputAdornment from "@mui/material/InputAdornment";
2835
- import Box6 from "@mui/material/Box";
3287
+ import TextField2 from "@mui/material/TextField";
3288
+ import InputAdornment2 from "@mui/material/InputAdornment";
3289
+ import Box7 from "@mui/material/Box";
2836
3290
  import IconButton2 from "@mui/material/IconButton";
2837
3291
  import Popover from "@mui/material/Popover";
2838
3292
  import Typography5 from "@mui/material/Typography";
@@ -2843,9 +3297,51 @@ import FormControl2 from "@mui/material/FormControl";
2843
3297
  import InputLabel2 from "@mui/material/InputLabel";
2844
3298
  import Select2 from "@mui/material/Select";
2845
3299
  import MenuItem2 from "@mui/material/MenuItem";
2846
- import { Search } from "@wso2/oxygen-ui-icons-react";
2847
3300
  import { ListFilter } from "@wso2/oxygen-ui-icons-react";
2848
- import { Fragment as Fragment3, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
3301
+
3302
+ // src/components/SearchBar/SearchBarBase.tsx
3303
+ import TextField from "@mui/material/TextField";
3304
+ import InputAdornment from "@mui/material/InputAdornment";
3305
+ import { Search } from "@wso2/oxygen-ui-icons-react";
3306
+ import { jsx as jsx24 } from "react/jsx-runtime";
3307
+ function SearchBarBase(_a) {
3308
+ var _b = _a, {
3309
+ placeholder = "Search",
3310
+ endAdornment,
3311
+ slotProps,
3312
+ sx
3313
+ } = _b, props = __objRest(_b, [
3314
+ "placeholder",
3315
+ "endAdornment",
3316
+ "slotProps",
3317
+ "sx"
3318
+ ]);
3319
+ return /* @__PURE__ */ jsx24(
3320
+ TextField,
3321
+ __spreadProps(__spreadValues({}, props), {
3322
+ placeholder,
3323
+ variant: "outlined",
3324
+ size: "small",
3325
+ slotProps: __spreadProps(__spreadValues({}, slotProps), {
3326
+ input: __spreadProps(__spreadValues({}, slotProps == null ? void 0 : slotProps.input), {
3327
+ startAdornment: /* @__PURE__ */ jsx24(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx24(Search, { fontSize: "small" }) }),
3328
+ endAdornment
3329
+ })
3330
+ }),
3331
+ sx: __spreadValues({
3332
+ "& .MuiOutlinedInput-root": {
3333
+ height: 40
3334
+ },
3335
+ "& .MuiInputBase-input": {
3336
+ padding: "8.5px 14px"
3337
+ }
3338
+ }, sx)
3339
+ })
3340
+ );
3341
+ }
3342
+
3343
+ // src/components/SearchBar/SearchBarWithAdvancedFilter.tsx
3344
+ import { Fragment as Fragment3, jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
2849
3345
  function SearchBarWithAdvancedFilter(_a) {
2850
3346
  var _b = _a, {
2851
3347
  value,
@@ -2899,37 +3395,27 @@ function SearchBarWithAdvancedFilter(_a) {
2899
3395
  };
2900
3396
  const popoverId = open ? "advanced-search-popover" : void 0;
2901
3397
  return /* @__PURE__ */ jsxs8(Fragment3, { children: [
2902
- /* @__PURE__ */ jsx23(
2903
- TextField,
3398
+ /* @__PURE__ */ jsx25(
3399
+ SearchBarBase,
2904
3400
  __spreadProps(__spreadValues({}, props), {
2905
3401
  value,
2906
3402
  onChange: handleInputChange,
2907
3403
  placeholder,
2908
- variant: "outlined",
2909
- sx: __spreadValues({
2910
- maxHeight,
2911
- "& .MuiInputBase-root": {
2912
- maxHeight,
2913
- pr: 0
2914
- }
2915
- }, sx),
2916
- InputProps: {
2917
- startAdornment: /* @__PURE__ */ jsx23(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx23(Search, { fontSize: "small" }) }),
2918
- endAdornment: /* @__PURE__ */ jsx23(InputAdornment, { position: "end", sx: { m: 0 }, children: /* @__PURE__ */ jsxs8(Box6, { sx: { display: "flex", alignItems: "center", height: "100%" }, children: [
2919
- /* @__PURE__ */ jsx23(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
2920
- /* @__PURE__ */ jsx23(
2921
- IconButton2,
2922
- {
2923
- "aria-describedby": popoverId,
2924
- "aria-label": "Open advanced search",
2925
- onClick: handleOpen,
2926
- size: "small",
2927
- sx: { mx: 0.5 },
2928
- children: /* @__PURE__ */ jsx23(ListFilter, { fontSize: "tiny" })
2929
- }
2930
- )
2931
- ] }) })
2932
- }
3404
+ sx,
3405
+ endAdornment: /* @__PURE__ */ jsx25(InputAdornment2, { position: "end", sx: { m: 0 }, children: /* @__PURE__ */ jsxs8(Box7, { sx: { display: "flex", alignItems: "center", height: "100%" }, children: [
3406
+ /* @__PURE__ */ jsx25(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
3407
+ /* @__PURE__ */ jsx25(
3408
+ IconButton2,
3409
+ {
3410
+ "aria-describedby": popoverId,
3411
+ "aria-label": "Open advanced search",
3412
+ onClick: handleOpen,
3413
+ size: "small",
3414
+ sx: { mx: 0.5 },
3415
+ children: /* @__PURE__ */ jsx25(ListFilter, { fontSize: "tiny" })
3416
+ }
3417
+ )
3418
+ ] }) })
2933
3419
  })
2934
3420
  ),
2935
3421
  /* @__PURE__ */ jsxs8(
@@ -2949,46 +3435,46 @@ function SearchBarWithAdvancedFilter(_a) {
2949
3435
  }
2950
3436
  },
2951
3437
  children: [
2952
- /* @__PURE__ */ jsx23(Typography5, { variant: "subtitle2", sx: { fontWeight: 600 }, children: "Advanced search" }),
2953
- /* @__PURE__ */ jsx23(Divider, { sx: { my: 1 } }),
3438
+ /* @__PURE__ */ jsx25(Typography5, { variant: "subtitle2", sx: { fontWeight: 600 }, children: "Advanced search" }),
3439
+ /* @__PURE__ */ jsx25(Divider, { sx: { my: 1 } }),
2954
3440
  /* @__PURE__ */ jsxs8(Stack, { spacing: 2, marginTop: 2, children: [
2955
3441
  /* @__PURE__ */ jsxs8(FormControl2, { fullWidth: true, size: "small", children: [
2956
3442
  /* @__PURE__ */ jsxs8(InputLabel2, { id: "adv-filter-attribute-label", children: [
2957
3443
  "Filter attribute",
2958
3444
  " ",
2959
- /* @__PURE__ */ jsx23(Box6, { component: "span", sx: { color: "error.main" }, children: "*" })
3445
+ /* @__PURE__ */ jsx25(Box7, { component: "span", sx: { color: "error.main" }, children: "*" })
2960
3446
  ] }),
2961
- /* @__PURE__ */ jsx23(
3447
+ /* @__PURE__ */ jsx25(
2962
3448
  Select2,
2963
3449
  {
2964
3450
  labelId: "adv-filter-attribute-label",
2965
3451
  value: advancedFilter.attribute,
2966
3452
  label: "Filter attribute *",
2967
3453
  onChange: handleAttrChange,
2968
- children: attributeOptions.map((opt) => /* @__PURE__ */ jsx23(MenuItem2, { value: opt.value, children: opt.label }, opt.value))
3454
+ children: attributeOptions.map((opt) => /* @__PURE__ */ jsx25(MenuItem2, { value: opt.value, children: opt.label }, opt.value))
2969
3455
  }
2970
3456
  )
2971
3457
  ] }),
2972
- /* @__PURE__ */ jsxs8(Box6, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 2 }, children: [
3458
+ /* @__PURE__ */ jsxs8(Box7, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 2 }, children: [
2973
3459
  /* @__PURE__ */ jsxs8(FormControl2, { fullWidth: true, size: "small", children: [
2974
3460
  /* @__PURE__ */ jsxs8(InputLabel2, { id: "adv-filter-condition-label", children: [
2975
3461
  "Filter condition",
2976
3462
  " ",
2977
- /* @__PURE__ */ jsx23(Box6, { component: "span", sx: { color: "error.main" }, children: "*" })
3463
+ /* @__PURE__ */ jsx25(Box7, { component: "span", sx: { color: "error.main" }, children: "*" })
2978
3464
  ] }),
2979
- /* @__PURE__ */ jsx23(
3465
+ /* @__PURE__ */ jsx25(
2980
3466
  Select2,
2981
3467
  {
2982
3468
  labelId: "adv-filter-condition-label",
2983
3469
  value: advancedFilter.condition,
2984
3470
  label: "Filter condition *",
2985
3471
  onChange: handleCondChange,
2986
- children: conditionOptions.map((opt) => /* @__PURE__ */ jsx23(MenuItem2, { value: opt.value, children: opt.label }, opt.value))
3472
+ children: conditionOptions.map((opt) => /* @__PURE__ */ jsx25(MenuItem2, { value: opt.value, children: opt.label }, opt.value))
2987
3473
  }
2988
3474
  )
2989
3475
  ] }),
2990
- /* @__PURE__ */ jsx23(
2991
- TextField,
3476
+ /* @__PURE__ */ jsx25(
3477
+ TextField2,
2992
3478
  {
2993
3479
  size: "small",
2994
3480
  required: true,
@@ -2999,7 +3485,7 @@ function SearchBarWithAdvancedFilter(_a) {
2999
3485
  }
3000
3486
  )
3001
3487
  ] }),
3002
- /* @__PURE__ */ jsx23(Box6, { sx: { display: "flex", justifyContent: "flex-start" }, children: /* @__PURE__ */ jsx23(
3488
+ /* @__PURE__ */ jsx25(Box7, { sx: { display: "flex", justifyContent: "flex-start" }, children: /* @__PURE__ */ jsx25(
3003
3489
  Button2,
3004
3490
  {
3005
3491
  variant: "contained",
@@ -3018,26 +3504,17 @@ function SearchBarWithAdvancedFilter(_a) {
3018
3504
  var SearchBarWithAdvancedFilter_default = SearchBarWithAdvancedFilter;
3019
3505
 
3020
3506
  // src/components/SearchBar/SearchBar.tsx
3021
- import TextField2 from "@mui/material/TextField";
3022
- import InputAdornment2 from "@mui/material/InputAdornment";
3023
- import { Search as Search2 } from "@wso2/oxygen-ui-icons-react";
3024
- import { jsx as jsx24 } from "react/jsx-runtime";
3507
+ import { jsx as jsx26 } from "react/jsx-runtime";
3025
3508
  function SearchBar(_a) {
3026
3509
  var _b = _a, {
3027
3510
  placeholder = "Search"
3028
3511
  } = _b, props = __objRest(_b, [
3029
3512
  "placeholder"
3030
3513
  ]);
3031
- return /* @__PURE__ */ jsx24(
3032
- TextField2,
3514
+ return /* @__PURE__ */ jsx26(
3515
+ SearchBarBase,
3033
3516
  __spreadProps(__spreadValues({}, props), {
3034
- placeholder,
3035
- variant: "outlined",
3036
- slotProps: {
3037
- input: {
3038
- startAdornment: /* @__PURE__ */ jsx24(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx24(Search2, { fontSize: "small" }) })
3039
- }
3040
- }
3517
+ placeholder
3041
3518
  })
3042
3519
  );
3043
3520
  }
@@ -3047,7 +3524,7 @@ var SearchBar_default = SearchBar;
3047
3524
  import * as React9 from "react";
3048
3525
  import AppBar from "@mui/material/AppBar";
3049
3526
  import Toolbar from "@mui/material/Toolbar";
3050
- import Box11 from "@mui/material/Box";
3527
+ import Box12 from "@mui/material/Box";
3051
3528
  import { styled as styled21 } from "@mui/material/styles";
3052
3529
 
3053
3530
  // src/components/Header/context.ts
@@ -3070,18 +3547,18 @@ import { Menu } from "@wso2/oxygen-ui-icons-react";
3070
3547
 
3071
3548
  // src/components/AppShell/context.tsx
3072
3549
  import * as React7 from "react";
3073
- import { jsx as jsx25 } from "react/jsx-runtime";
3550
+ import { jsx as jsx27 } from "react/jsx-runtime";
3074
3551
  var AppShellContext = React7.createContext(void 0);
3075
3552
  var AppShellProvider = ({
3076
3553
  children,
3077
3554
  value
3078
3555
  }) => {
3079
- return /* @__PURE__ */ jsx25(AppShellContext.Provider, { value, children });
3556
+ return /* @__PURE__ */ jsx27(AppShellContext.Provider, { value, children });
3080
3557
  };
3081
3558
  AppShellProvider.displayName = "AppShellProvider";
3082
3559
 
3083
3560
  // src/components/Header/HeaderToggle.tsx
3084
- import { jsx as jsx26 } from "react/jsx-runtime";
3561
+ import { jsx as jsx28 } from "react/jsx-runtime";
3085
3562
  var HeaderToggleRoot = styled15(IconButton3, {
3086
3563
  name: "MuiHeader",
3087
3564
  slot: "Toggle"
@@ -3102,18 +3579,18 @@ var HeaderToggle = ({
3102
3579
  const collapsed = (_a = collapsedProp != null ? collapsedProp : appShellContext == null ? void 0 : appShellContext.state.sidebarCollapsed) != null ? _a : false;
3103
3580
  const onToggle = (_b = onToggleProp != null ? onToggleProp : appShellContext == null ? void 0 : appShellContext.actions.toggleSidebar) != null ? _b : (() => {
3104
3581
  });
3105
- return /* @__PURE__ */ jsx26(Tooltip2, { title: collapsed ? expandLabel : collapseLabel, children: /* @__PURE__ */ jsx26(HeaderToggleRoot, { onClick: onToggle, size: "small", sx, children: collapsed ? expandIcon || /* @__PURE__ */ jsx26(Menu, { size: 20 }) : collapseIcon || /* @__PURE__ */ jsx26(Menu, { size: 20 }) }) });
3582
+ return /* @__PURE__ */ jsx28(Tooltip2, { title: collapsed ? expandLabel : collapseLabel, children: /* @__PURE__ */ jsx28(HeaderToggleRoot, { onClick: onToggle, size: "small", sx, children: collapsed ? expandIcon || /* @__PURE__ */ jsx28(Menu, { size: 20 }) : collapseIcon || /* @__PURE__ */ jsx28(Menu, { size: 20 }) }) });
3106
3583
  };
3107
3584
 
3108
3585
  // src/components/Header/HeaderBrand.tsx
3109
- import Box8 from "@mui/material/Box";
3586
+ import Box9 from "@mui/material/Box";
3110
3587
  import { styled as styled18 } from "@mui/material/styles";
3111
3588
 
3112
3589
  // src/components/Header/HeaderBrandLogo.tsx
3113
- import Box7 from "@mui/material/Box";
3590
+ import Box8 from "@mui/material/Box";
3114
3591
  import { styled as styled16 } from "@mui/material/styles";
3115
- import { jsx as jsx27 } from "react/jsx-runtime";
3116
- var HeaderBrandLogoRoot = styled16(Box7, {
3592
+ import { jsx as jsx29 } from "react/jsx-runtime";
3593
+ var HeaderBrandLogoRoot = styled16(Box8, {
3117
3594
  name: "MuiHeader",
3118
3595
  slot: "BrandLogo"
3119
3596
  })({
@@ -3124,14 +3601,14 @@ var HeaderBrandLogo = ({
3124
3601
  children,
3125
3602
  sx
3126
3603
  }) => {
3127
- return /* @__PURE__ */ jsx27(HeaderBrandLogoRoot, { sx, children });
3604
+ return /* @__PURE__ */ jsx29(HeaderBrandLogoRoot, { sx, children });
3128
3605
  };
3129
3606
  HeaderBrandLogo.displayName = "HeaderBrandLogo";
3130
3607
 
3131
3608
  // src/components/Header/HeaderBrandTitle.tsx
3132
3609
  import Typography6 from "@mui/material/Typography";
3133
3610
  import { styled as styled17 } from "@mui/material/styles";
3134
- import { jsx as jsx28 } from "react/jsx-runtime";
3611
+ import { jsx as jsx30 } from "react/jsx-runtime";
3135
3612
  var HeaderBrandTitleRoot = styled17(Typography6, {
3136
3613
  name: "MuiHeader",
3137
3614
  slot: "BrandTitle"
@@ -3149,13 +3626,13 @@ var HeaderBrandTitle = ({
3149
3626
  children,
3150
3627
  sx
3151
3628
  }) => {
3152
- return /* @__PURE__ */ jsx28(HeaderBrandTitleRoot, { variant: "h6", component: "div", sx, children });
3629
+ return /* @__PURE__ */ jsx30(HeaderBrandTitleRoot, { variant: "h6", component: "div", sx, children });
3153
3630
  };
3154
3631
  HeaderBrandTitle.displayName = "HeaderBrandTitle";
3155
3632
 
3156
3633
  // src/components/Header/HeaderBrand.tsx
3157
- import { jsx as jsx29 } from "react/jsx-runtime";
3158
- var HeaderBrandRoot = styled18(Box8, {
3634
+ import { jsx as jsx31 } from "react/jsx-runtime";
3635
+ var HeaderBrandRoot = styled18(Box9, {
3159
3636
  name: "MuiHeader",
3160
3637
  slot: "Brand",
3161
3638
  shouldForwardProp: (prop) => prop !== "clickable"
@@ -3170,16 +3647,16 @@ var HeaderBrand = ({
3170
3647
  children,
3171
3648
  sx
3172
3649
  }) => {
3173
- return /* @__PURE__ */ jsx29(HeaderBrandRoot, { onClick, clickable: !!onClick, sx, children });
3650
+ return /* @__PURE__ */ jsx31(HeaderBrandRoot, { onClick, clickable: !!onClick, sx, children });
3174
3651
  };
3175
3652
  HeaderBrand.displayName = "HeaderBrand";
3176
3653
 
3177
3654
  // src/components/Header/HeaderSwitchers.tsx
3178
- import Box9 from "@mui/material/Box";
3655
+ import Box10 from "@mui/material/Box";
3179
3656
  import Divider2 from "@mui/material/Divider";
3180
3657
  import { styled as styled19 } from "@mui/material/styles";
3181
- import { jsx as jsx30, jsxs as jsxs9 } from "react/jsx-runtime";
3182
- var HeaderSwitchersRoot = styled19(Box9, {
3658
+ import { jsx as jsx32, jsxs as jsxs9 } from "react/jsx-runtime";
3659
+ var HeaderSwitchersRoot = styled19(Box10, {
3183
3660
  name: "MuiHeader",
3184
3661
  slot: "Switchers"
3185
3662
  })(({ theme }) => ({
@@ -3208,16 +3685,16 @@ var HeaderSwitchers = ({
3208
3685
  return null;
3209
3686
  }
3210
3687
  return /* @__PURE__ */ jsxs9(HeaderSwitchersRoot, { sx, children: [
3211
- showDivider && /* @__PURE__ */ jsx30(HeaderSwitchersDivider, { orientation: "vertical", flexItem: true }),
3688
+ showDivider && /* @__PURE__ */ jsx32(HeaderSwitchersDivider, { orientation: "vertical", flexItem: true }),
3212
3689
  children
3213
3690
  ] });
3214
3691
  };
3215
3692
 
3216
3693
  // src/components/Header/HeaderActions.tsx
3217
- import Box10 from "@mui/material/Box";
3694
+ import Box11 from "@mui/material/Box";
3218
3695
  import { styled as styled20 } from "@mui/material/styles";
3219
- import { jsx as jsx31 } from "react/jsx-runtime";
3220
- var HeaderActionsRoot = styled20(Box10, {
3696
+ import { jsx as jsx33 } from "react/jsx-runtime";
3697
+ var HeaderActionsRoot = styled20(Box11, {
3221
3698
  name: "MuiHeader",
3222
3699
  slot: "Actions"
3223
3700
  })(({ theme }) => ({
@@ -3229,11 +3706,11 @@ var HeaderActions = ({
3229
3706
  children,
3230
3707
  sx
3231
3708
  }) => {
3232
- return /* @__PURE__ */ jsx31(HeaderActionsRoot, { sx, children });
3709
+ return /* @__PURE__ */ jsx33(HeaderActionsRoot, { sx, children });
3233
3710
  };
3234
3711
 
3235
3712
  // src/components/Header/Header.tsx
3236
- import { jsx as jsx32 } from "react/jsx-runtime";
3713
+ import { jsx as jsx34 } from "react/jsx-runtime";
3237
3714
  var HeaderRootStyled = styled21(AppBar, {
3238
3715
  name: "MuiHeader",
3239
3716
  slot: "Root"
@@ -3254,7 +3731,7 @@ var HeaderToolbar = styled21(Toolbar, {
3254
3731
  paddingRight: theme.spacing(2)
3255
3732
  }
3256
3733
  }));
3257
- var HeaderSpacerStyled = styled21(Box11, {
3734
+ var HeaderSpacerStyled = styled21(Box12, {
3258
3735
  name: "MuiHeader",
3259
3736
  slot: "Spacer"
3260
3737
  })({
@@ -3266,9 +3743,9 @@ var Header = ({
3266
3743
  sx
3267
3744
  }) => {
3268
3745
  const contextValue = React9.useMemo(() => ({ minimal }), [minimal]);
3269
- return /* @__PURE__ */ jsx32(HeaderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx32(HeaderRootStyled, { position: "static", color: "default", elevation: 0, sx, children: /* @__PURE__ */ jsx32(HeaderToolbar, { children }) }) });
3746
+ return /* @__PURE__ */ jsx34(HeaderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx34(HeaderRootStyled, { position: "static", color: "default", elevation: 0, sx, children: /* @__PURE__ */ jsx34(HeaderToolbar, { children }) }) });
3270
3747
  };
3271
- var HeaderSpacer = ({ sx }) => /* @__PURE__ */ jsx32(HeaderSpacerStyled, { sx });
3748
+ var HeaderSpacer = ({ sx }) => /* @__PURE__ */ jsx34(HeaderSpacerStyled, { sx });
3272
3749
  Header.Toggle = HeaderToggle;
3273
3750
  Header.Brand = HeaderBrand;
3274
3751
  Header.BrandLogo = HeaderBrandLogo;
@@ -3280,7 +3757,7 @@ Header.displayName = "Header";
3280
3757
 
3281
3758
  // src/components/Sidebar/Sidebar.tsx
3282
3759
  import * as React17 from "react";
3283
- import Box17 from "@mui/material/Box";
3760
+ import Box18 from "@mui/material/Box";
3284
3761
  import { styled as styled34 } from "@mui/material/styles";
3285
3762
 
3286
3763
  // src/components/Sidebar/context.ts
@@ -3296,11 +3773,11 @@ var useSidebar = () => {
3296
3773
 
3297
3774
  // src/components/Sidebar/SidebarNav.tsx
3298
3775
  import * as React11 from "react";
3299
- import Box12 from "@mui/material/Box";
3776
+ import Box13 from "@mui/material/Box";
3300
3777
  import Divider3 from "@mui/material/Divider";
3301
3778
  import { styled as styled22 } from "@mui/material/styles";
3302
- import { jsx as jsx33, jsxs as jsxs10 } from "react/jsx-runtime";
3303
- var SidebarNavRoot = styled22(Box12, {
3779
+ import { jsx as jsx35, jsxs as jsxs10 } from "react/jsx-runtime";
3780
+ var SidebarNavRoot = styled22(Box13, {
3304
3781
  name: "MuiSidebar",
3305
3782
  slot: "Nav"
3306
3783
  })(({ theme }) => ({
@@ -3336,22 +3813,22 @@ var SidebarNav = ({
3336
3813
  }) => {
3337
3814
  const { collapsed } = useSidebar();
3338
3815
  const childArray = React11.Children.toArray(children);
3339
- return /* @__PURE__ */ jsx33(SidebarNavRoot, { component: "nav", sx, children: childArray.map((child, index) => /* @__PURE__ */ jsxs10(React11.Fragment, { children: [
3340
- index > 0 && showDividers && !collapsed && /* @__PURE__ */ jsx33(SidebarNavDivider, {}),
3816
+ return /* @__PURE__ */ jsx35(SidebarNavRoot, { component: "nav", sx, children: childArray.map((child, index) => /* @__PURE__ */ jsxs10(React11.Fragment, { children: [
3817
+ index > 0 && showDividers && !collapsed && /* @__PURE__ */ jsx35(SidebarNavDivider, {}),
3341
3818
  child
3342
3819
  ] }, index)) });
3343
3820
  };
3344
3821
 
3345
3822
  // src/components/Sidebar/SidebarCategory.tsx
3346
3823
  import * as React12 from "react";
3347
- import Box13 from "@mui/material/Box";
3824
+ import Box14 from "@mui/material/Box";
3348
3825
  import List from "@mui/material/List";
3349
3826
  import { styled as styled24 } from "@mui/material/styles";
3350
3827
 
3351
3828
  // src/components/Sidebar/SidebarCategoryLabel.tsx
3352
3829
  import Typography7 from "@mui/material/Typography";
3353
3830
  import { styled as styled23 } from "@mui/material/styles";
3354
- import { jsx as jsx34 } from "react/jsx-runtime";
3831
+ import { jsx as jsx36 } from "react/jsx-runtime";
3355
3832
  var SidebarCategoryLabelRoot = styled23(Typography7, {
3356
3833
  name: "MuiSidebar",
3357
3834
  slot: "CategoryLabel",
@@ -3377,13 +3854,13 @@ var SidebarCategoryLabelRoot = styled23(Typography7, {
3377
3854
  }));
3378
3855
  var SidebarCategoryLabel = ({ children, sx }) => {
3379
3856
  const { collapsed } = useSidebar();
3380
- return /* @__PURE__ */ jsx34(SidebarCategoryLabelRoot, { variant: "caption", collapsed, sx, children });
3857
+ return /* @__PURE__ */ jsx36(SidebarCategoryLabelRoot, { variant: "caption", collapsed, sx, children });
3381
3858
  };
3382
3859
  SidebarCategoryLabel.displayName = "SidebarCategoryLabel";
3383
3860
 
3384
3861
  // src/components/Sidebar/SidebarCategory.tsx
3385
- import { jsx as jsx35, jsxs as jsxs11 } from "react/jsx-runtime";
3386
- var SidebarCategoryRoot = styled24(Box13, {
3862
+ import { jsx as jsx37, jsxs as jsxs11 } from "react/jsx-runtime";
3863
+ var SidebarCategoryRoot = styled24(Box14, {
3387
3864
  name: "MuiSidebar",
3388
3865
  slot: "Category"
3389
3866
  })(({ theme }) => ({
@@ -3414,14 +3891,14 @@ var SidebarCategory = ({
3414
3891
  const { labelChild, otherChildren } = separateChildren(children);
3415
3892
  return /* @__PURE__ */ jsxs11(SidebarCategoryRoot, { sx, children: [
3416
3893
  labelChild,
3417
- /* @__PURE__ */ jsx35(List, { disablePadding: true, children: otherChildren })
3894
+ /* @__PURE__ */ jsx37(List, { disablePadding: true, children: otherChildren })
3418
3895
  ] });
3419
3896
  };
3420
3897
  SidebarCategory.displayName = "SidebarCategory";
3421
3898
 
3422
3899
  // src/components/Sidebar/SidebarItem.tsx
3423
3900
  import * as React15 from "react";
3424
- import Box14 from "@mui/material/Box";
3901
+ import Box15 from "@mui/material/Box";
3425
3902
  import List2 from "@mui/material/List";
3426
3903
  import ListItem from "@mui/material/ListItem";
3427
3904
  import ListItemButton from "@mui/material/ListItemButton";
@@ -3435,7 +3912,7 @@ import { ChevronDown as ChevronDown2, ChevronUp } from "@wso2/oxygen-ui-icons-re
3435
3912
 
3436
3913
  // src/components/Sidebar/SidebarItemContext.tsx
3437
3914
  import * as React13 from "react";
3438
- import { jsx as jsx36 } from "react/jsx-runtime";
3915
+ import { jsx as jsx38 } from "react/jsx-runtime";
3439
3916
  var SidebarItemContext = React13.createContext(null);
3440
3917
  var useSidebarItemContext = () => {
3441
3918
  const context = React13.useContext(SidebarItemContext);
@@ -3447,14 +3924,14 @@ var useSidebarItemContext = () => {
3447
3924
  return context;
3448
3925
  };
3449
3926
  var SidebarItemProvider = ({ value, children }) => {
3450
- return /* @__PURE__ */ jsx36(SidebarItemContext.Provider, { value, children });
3927
+ return /* @__PURE__ */ jsx38(SidebarItemContext.Provider, { value, children });
3451
3928
  };
3452
3929
 
3453
3930
  // src/components/Sidebar/SidebarItemIcon.tsx
3454
3931
  import * as React14 from "react";
3455
3932
  import ListItemIcon from "@mui/material/ListItemIcon";
3456
3933
  import { styled as styled25 } from "@mui/material/styles";
3457
- import { jsx as jsx37 } from "react/jsx-runtime";
3934
+ import { jsx as jsx39 } from "react/jsx-runtime";
3458
3935
  var SidebarItemIconRoot = styled25(ListItemIcon, {
3459
3936
  name: "MuiSidebar",
3460
3937
  slot: "ItemIcon",
@@ -3475,7 +3952,7 @@ var SidebarItemIcon = ({
3475
3952
  const iconWithSize = React14.isValidElement(children) ? React14.cloneElement(children, __spreadProps(__spreadValues({}, children.props), {
3476
3953
  size: (_a = children.props.size) != null ? _a : 20
3477
3954
  })) : children;
3478
- return /* @__PURE__ */ jsx37(
3955
+ return /* @__PURE__ */ jsx39(
3479
3956
  SidebarItemIconRoot,
3480
3957
  {
3481
3958
  ownerState: { collapsed, isActive },
@@ -3489,7 +3966,7 @@ SidebarItemIcon.displayName = "SidebarItemIcon";
3489
3966
  // src/components/Sidebar/SidebarItemLabel.tsx
3490
3967
  import ListItemText from "@mui/material/ListItemText";
3491
3968
  import { styled as styled26 } from "@mui/material/styles";
3492
- import { jsx as jsx38 } from "react/jsx-runtime";
3969
+ import { jsx as jsx40 } from "react/jsx-runtime";
3493
3970
  var SidebarItemLabelRoot = styled26(ListItemText, {
3494
3971
  name: "MuiSidebar",
3495
3972
  slot: "ItemLabel",
@@ -3515,14 +3992,14 @@ var SidebarItemLabel = ({
3515
3992
  }) => {
3516
3993
  const { collapsed } = useSidebar();
3517
3994
  const { isActive } = useSidebarItemContext();
3518
- return /* @__PURE__ */ jsx38(SidebarItemLabelRoot, { primary: children, ownerState: { isActive, collapsed }, sx });
3995
+ return /* @__PURE__ */ jsx40(SidebarItemLabelRoot, { primary: children, ownerState: { isActive, collapsed }, sx });
3519
3996
  };
3520
3997
  SidebarItemLabel.displayName = "SidebarItemLabel";
3521
3998
 
3522
3999
  // src/components/Sidebar/SidebarItemBadge.tsx
3523
4000
  import Chip from "@mui/material/Chip";
3524
4001
  import { styled as styled27 } from "@mui/material/styles";
3525
- import { jsx as jsx39 } from "react/jsx-runtime";
4002
+ import { jsx as jsx41 } from "react/jsx-runtime";
3526
4003
  var SidebarItemBadgeRoot = styled27(Chip, {
3527
4004
  name: "MuiSidebar",
3528
4005
  slot: "ItemBadge"
@@ -3540,12 +4017,12 @@ var SidebarItemBadge = ({
3540
4017
  if (collapsed) {
3541
4018
  return null;
3542
4019
  }
3543
- return /* @__PURE__ */ jsx39(SidebarItemBadgeRoot, { label: children, size: "small", color, sx });
4020
+ return /* @__PURE__ */ jsx41(SidebarItemBadgeRoot, { label: children, size: "small", color, sx });
3544
4021
  };
3545
4022
  SidebarItemBadge.displayName = "SidebarItemBadge";
3546
4023
 
3547
4024
  // src/components/Sidebar/SidebarItem.tsx
3548
- import { Fragment as Fragment5, jsx as jsx40, jsxs as jsxs12 } from "react/jsx-runtime";
4025
+ import { Fragment as Fragment5, jsx as jsx42, jsxs as jsxs12 } from "react/jsx-runtime";
3549
4026
  var SidebarItemRoot = styled28(ListItem, {
3550
4027
  name: "MuiSidebar",
3551
4028
  slot: "Item"
@@ -3577,7 +4054,7 @@ var SidebarItemButton = styled28(ListItemButton, {
3577
4054
  }
3578
4055
  }
3579
4056
  }));
3580
- var SidebarItemChevron = styled28(Box14, {
4057
+ var SidebarItemChevron = styled28(Box15, {
3581
4058
  name: "MuiSidebar",
3582
4059
  slot: "ItemChevron"
3583
4060
  })({
@@ -3717,7 +4194,7 @@ var SidebarItem = ({
3717
4194
  const tooltipLabel = getTooltipLabel(children);
3718
4195
  const ownerState = { collapsed, depth };
3719
4196
  const shouldShowSelected = isActive && !hasNestedItems || collapsed && hasActiveChild;
3720
- const buttonContent = /* @__PURE__ */ jsx40(
4197
+ const buttonContent = /* @__PURE__ */ jsx42(
3721
4198
  SidebarItemButton,
3722
4199
  {
3723
4200
  selected: shouldShowSelected,
@@ -3726,19 +4203,19 @@ var SidebarItem = ({
3726
4203
  sx,
3727
4204
  children: /* @__PURE__ */ jsxs12(SidebarItemProvider, { value: contextValue, children: [
3728
4205
  composableChildren,
3729
- !collapsed && hasNestedItems && /* @__PURE__ */ jsx40(SidebarItemChevron, { children: isExpanded ? /* @__PURE__ */ jsx40(ChevronUp, { size: 16 }) : /* @__PURE__ */ jsx40(ChevronDown2, { size: 16 }) }),
3730
- !collapsed && !hasNestedItems && /* @__PURE__ */ jsx40(Box14, { sx: { ml: "auto", width: 16, pl: 1 } })
4206
+ !collapsed && hasNestedItems && /* @__PURE__ */ jsx42(SidebarItemChevron, { children: isExpanded ? /* @__PURE__ */ jsx42(ChevronUp, { size: 16 }) : /* @__PURE__ */ jsx42(ChevronDown2, { size: 16 }) }),
4207
+ !collapsed && !hasNestedItems && /* @__PURE__ */ jsx42(Box15, { sx: { ml: "auto", width: 16, pl: 1 } })
3731
4208
  ] })
3732
4209
  }
3733
4210
  );
3734
- const wrappedContent = link ? /* @__PURE__ */ jsx40(Fragment5, { children: React15.cloneElement(link, {}, buttonContent) }) : buttonContent;
4211
+ const wrappedContent = link ? /* @__PURE__ */ jsx42(Fragment5, { children: React15.cloneElement(link, {}, buttonContent) }) : buttonContent;
3735
4212
  const collapsedWithNested = collapsed && hasNestedItems;
3736
4213
  const handlePopoverItemClick = (itemId) => {
3737
4214
  onSelect == null ? void 0 : onSelect(itemId);
3738
4215
  setPopoverAnchor(null);
3739
4216
  };
3740
4217
  return /* @__PURE__ */ jsxs12(Fragment5, { children: [
3741
- /* @__PURE__ */ jsx40(
4218
+ /* @__PURE__ */ jsx42(
3742
4219
  SidebarItemRoot,
3743
4220
  {
3744
4221
  disablePadding: true,
@@ -3746,11 +4223,11 @@ var SidebarItem = ({
3746
4223
  onMouseLeave: handleMouseLeave,
3747
4224
  children: collapsed ? (
3748
4225
  // When collapsed: show tooltip only for items without nested children
3749
- collapsedWithNested ? wrappedContent : /* @__PURE__ */ jsx40(Tooltip3, { title: tooltipLabel, placement: "right", arrow: true, children: wrappedContent })
4226
+ collapsedWithNested ? wrappedContent : /* @__PURE__ */ jsx42(Tooltip3, { title: tooltipLabel, placement: "right", arrow: true, children: wrappedContent })
3750
4227
  ) : wrappedContent
3751
4228
  }
3752
4229
  ),
3753
- collapsedWithNested && /* @__PURE__ */ jsx40(
4230
+ collapsedWithNested && /* @__PURE__ */ jsx42(
3754
4231
  SidebarItemPopover,
3755
4232
  {
3756
4233
  open: popoverOpen,
@@ -3765,7 +4242,7 @@ var SidebarItem = ({
3765
4242
  onMouseLeave: handleMouseLeave
3766
4243
  }
3767
4244
  },
3768
- children: /* @__PURE__ */ jsx40(SidebarItemPopoverList, { disablePadding: true, children: nestedItems.map((child, index) => {
4245
+ children: /* @__PURE__ */ jsx42(SidebarItemPopoverList, { disablePadding: true, children: nestedItems.map((child, index) => {
3769
4246
  if (React15.isValidElement(child)) {
3770
4247
  const childProps = child.props;
3771
4248
  const { icon, label } = extractItemContent(childProps.children);
@@ -3776,8 +4253,8 @@ var SidebarItem = ({
3776
4253
  selected: isItemActive,
3777
4254
  onClick: () => handlePopoverItemClick(childProps.id),
3778
4255
  children: [
3779
- icon && /* @__PURE__ */ jsx40(ListItemIcon2, { sx: { minWidth: "auto" }, children: icon }),
3780
- /* @__PURE__ */ jsx40(ListItemText2, { primary: label })
4256
+ icon && /* @__PURE__ */ jsx42(ListItemIcon2, { sx: { minWidth: "auto" }, children: icon }),
4257
+ /* @__PURE__ */ jsx42(ListItemText2, { primary: label })
3781
4258
  ]
3782
4259
  },
3783
4260
  childProps.id || index
@@ -3787,7 +4264,7 @@ var SidebarItem = ({
3787
4264
  }) })
3788
4265
  }
3789
4266
  ),
3790
- hasNestedItems && !collapsed && /* @__PURE__ */ jsx40(Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: /* @__PURE__ */ jsx40(List2, { disablePadding: true, children: nestedItems.map((child, index) => {
4267
+ hasNestedItems && !collapsed && /* @__PURE__ */ jsx42(Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: /* @__PURE__ */ jsx42(List2, { disablePadding: true, children: nestedItems.map((child, index) => {
3791
4268
  if (React15.isValidElement(child)) {
3792
4269
  return React15.cloneElement(child, {
3793
4270
  key: child.key || index,
@@ -3801,11 +4278,11 @@ var SidebarItem = ({
3801
4278
  SidebarItem.displayName = "SidebarItem";
3802
4279
 
3803
4280
  // src/components/Sidebar/SidebarFooter.tsx
3804
- import Box15 from "@mui/material/Box";
4281
+ import Box16 from "@mui/material/Box";
3805
4282
  import Divider4 from "@mui/material/Divider";
3806
4283
  import { styled as styled29 } from "@mui/material/styles";
3807
- import { Fragment as Fragment6, jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
3808
- var SidebarFooterRoot = styled29(Box15, {
4284
+ import { Fragment as Fragment6, jsx as jsx43, jsxs as jsxs13 } from "react/jsx-runtime";
4285
+ var SidebarFooterRoot = styled29(Box16, {
3809
4286
  name: "MuiSidebar",
3810
4287
  slot: "Footer"
3811
4288
  })(({ theme }) => ({
@@ -3818,14 +4295,14 @@ var SidebarFooter = ({
3818
4295
  sx
3819
4296
  }) => {
3820
4297
  return /* @__PURE__ */ jsxs13(Fragment6, { children: [
3821
- showDivider && /* @__PURE__ */ jsx41(Divider4, {}),
3822
- /* @__PURE__ */ jsx41(SidebarFooterRoot, { sx, children })
4298
+ showDivider && /* @__PURE__ */ jsx43(Divider4, {}),
4299
+ /* @__PURE__ */ jsx43(SidebarFooterRoot, { sx, children })
3823
4300
  ] });
3824
4301
  };
3825
4302
 
3826
4303
  // src/components/Sidebar/SidebarUser.tsx
3827
4304
  import * as React16 from "react";
3828
- import Box16 from "@mui/material/Box";
4305
+ import Box17 from "@mui/material/Box";
3829
4306
  import ListItemButton2 from "@mui/material/ListItemButton";
3830
4307
  import Tooltip4 from "@mui/material/Tooltip";
3831
4308
  import Divider5 from "@mui/material/Divider";
@@ -3834,7 +4311,7 @@ import { styled as styled33 } from "@mui/material/styles";
3834
4311
  // src/components/Sidebar/SidebarUserAvatar.tsx
3835
4312
  import Avatar2 from "@mui/material/Avatar";
3836
4313
  import { styled as styled30 } from "@mui/material/styles";
3837
- import { jsx as jsx42 } from "react/jsx-runtime";
4314
+ import { jsx as jsx44 } from "react/jsx-runtime";
3838
4315
  var SidebarUserAvatarRoot = styled30(Avatar2, {
3839
4316
  name: "MuiSidebar",
3840
4317
  slot: "UserAvatar"
@@ -3851,14 +4328,14 @@ var SidebarUserAvatar = ({
3851
4328
  alt,
3852
4329
  sx
3853
4330
  }) => {
3854
- return /* @__PURE__ */ jsx42(SidebarUserAvatarRoot, { src, alt, sx, children });
4331
+ return /* @__PURE__ */ jsx44(SidebarUserAvatarRoot, { src, alt, sx, children });
3855
4332
  };
3856
4333
  SidebarUserAvatar.displayName = "SidebarUserAvatar";
3857
4334
 
3858
4335
  // src/components/Sidebar/SidebarUserName.tsx
3859
4336
  import Typography8 from "@mui/material/Typography";
3860
4337
  import { styled as styled31 } from "@mui/material/styles";
3861
- import { jsx as jsx43 } from "react/jsx-runtime";
4338
+ import { jsx as jsx45 } from "react/jsx-runtime";
3862
4339
  var SidebarUserNameRoot = styled31(Typography8, {
3863
4340
  name: "MuiSidebar",
3864
4341
  slot: "UserName"
@@ -3876,14 +4353,14 @@ var SidebarUserName = ({
3876
4353
  if (collapsed) {
3877
4354
  return null;
3878
4355
  }
3879
- return /* @__PURE__ */ jsx43(SidebarUserNameRoot, { variant: "body2", sx, children });
4356
+ return /* @__PURE__ */ jsx45(SidebarUserNameRoot, { variant: "body2", sx, children });
3880
4357
  };
3881
4358
  SidebarUserName.displayName = "SidebarUserName";
3882
4359
 
3883
4360
  // src/components/Sidebar/SidebarUserEmail.tsx
3884
4361
  import Typography9 from "@mui/material/Typography";
3885
4362
  import { styled as styled32 } from "@mui/material/styles";
3886
- import { jsx as jsx44 } from "react/jsx-runtime";
4363
+ import { jsx as jsx46 } from "react/jsx-runtime";
3887
4364
  var SidebarUserEmailRoot = styled32(Typography9, {
3888
4365
  name: "MuiSidebar",
3889
4366
  slot: "UserEmail"
@@ -3902,13 +4379,13 @@ var SidebarUserEmail = ({
3902
4379
  if (collapsed) {
3903
4380
  return null;
3904
4381
  }
3905
- return /* @__PURE__ */ jsx44(SidebarUserEmailRoot, { variant: "caption", sx, children });
4382
+ return /* @__PURE__ */ jsx46(SidebarUserEmailRoot, { variant: "caption", sx, children });
3906
4383
  };
3907
4384
  SidebarUserEmail.displayName = "SidebarUserEmail";
3908
4385
 
3909
4386
  // src/components/Sidebar/SidebarUser.tsx
3910
- import { Fragment as Fragment7, jsx as jsx45, jsxs as jsxs14 } from "react/jsx-runtime";
3911
- var SidebarUserRoot = styled33(Box16, {
4387
+ import { Fragment as Fragment7, jsx as jsx47, jsxs as jsxs14 } from "react/jsx-runtime";
4388
+ var SidebarUserRoot = styled33(Box17, {
3912
4389
  name: "MuiSidebar",
3913
4390
  slot: "User"
3914
4391
  })(({ theme }) => ({
@@ -3931,7 +4408,7 @@ var SidebarUserButton = styled33(ListItemButton2, {
3931
4408
  duration: ownerState.collapsed ? theme.transitions.duration.leavingScreen : theme.transitions.duration.enteringScreen
3932
4409
  })
3933
4410
  }));
3934
- var SidebarUserTextContainer = styled33(Box16, {
4411
+ var SidebarUserTextContainer = styled33(Box17, {
3935
4412
  name: "MuiSidebar",
3936
4413
  slot: "UserTextContainer",
3937
4414
  shouldForwardProp: (prop) => prop !== "collapsed"
@@ -3988,20 +4465,20 @@ var SidebarUser = ({
3988
4465
  const ownerState = { collapsed };
3989
4466
  const content = /* @__PURE__ */ jsxs14(SidebarUserButton, { onClick, ownerState, children: [
3990
4467
  avatarChild,
3991
- /* @__PURE__ */ jsx45(SidebarUserTextContainer, { collapsed, children: textChildren })
4468
+ /* @__PURE__ */ jsx47(SidebarUserTextContainer, { collapsed, children: textChildren })
3992
4469
  ] });
3993
4470
  return /* @__PURE__ */ jsxs14(Fragment7, { children: [
3994
- showDivider && /* @__PURE__ */ jsx45(Divider5, {}),
3995
- /* @__PURE__ */ jsx45(SidebarUserRoot, { sx, children: collapsed ? /* @__PURE__ */ jsx45(Tooltip4, { title: tooltipText, placement: "right", arrow: true, children: content }) : content })
4471
+ showDivider && /* @__PURE__ */ jsx47(Divider5, {}),
4472
+ /* @__PURE__ */ jsx47(SidebarUserRoot, { sx, children: collapsed ? /* @__PURE__ */ jsx47(Tooltip4, { title: tooltipText, placement: "right", arrow: true, children: content }) : content })
3996
4473
  ] });
3997
4474
  };
3998
4475
  SidebarUser.displayName = "SidebarUser";
3999
4476
 
4000
4477
  // src/components/Sidebar/Sidebar.tsx
4001
- import { jsx as jsx46 } from "react/jsx-runtime";
4478
+ import { jsx as jsx48 } from "react/jsx-runtime";
4002
4479
  var SIDEBAR_WIDTH = 250;
4003
4480
  var COLLAPSED_SIDEBAR_WIDTH = 64;
4004
- var SidebarRootStyled = styled34(Box17, {
4481
+ var SidebarRootStyled = styled34(Box18, {
4005
4482
  name: "MuiSidebar",
4006
4483
  slot: "Root",
4007
4484
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -4061,7 +4538,7 @@ var Sidebar = ({
4061
4538
  [collapsed, activeItem, expandedMenus, onSelect, onToggleExpand]
4062
4539
  );
4063
4540
  const ownerState = { collapsed, width, collapsedWidth };
4064
- return /* @__PURE__ */ jsx46(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx46(SidebarRootStyled, { component: "aside", ownerState, sx, children }) });
4541
+ return /* @__PURE__ */ jsx48(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx48(SidebarRootStyled, { component: "aside", ownerState, sx, children }) });
4065
4542
  };
4066
4543
  Sidebar.Nav = SidebarNav;
4067
4544
  Sidebar.Category = SidebarCategory;
@@ -4097,10 +4574,10 @@ var useNotificationPanel = () => {
4097
4574
 
4098
4575
  // src/components/NotificationPanel/NotificationHeader.tsx
4099
4576
  import * as React19 from "react";
4100
- import Box18 from "@mui/material/Box";
4577
+ import Box19 from "@mui/material/Box";
4101
4578
  import { styled as styled35 } from "@mui/material/styles";
4102
- import { jsx as jsx47, jsxs as jsxs15 } from "react/jsx-runtime";
4103
- var NotificationHeaderRoot = styled35(Box18, {
4579
+ import { jsx as jsx49, jsxs as jsxs15 } from "react/jsx-runtime";
4580
+ var NotificationHeaderRoot = styled35(Box19, {
4104
4581
  name: "MuiNotificationPanel",
4105
4582
  slot: "Header"
4106
4583
  })(({ theme }) => ({
@@ -4110,7 +4587,7 @@ var NotificationHeaderRoot = styled35(Box18, {
4110
4587
  padding: theme.spacing(2),
4111
4588
  borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
4112
4589
  }));
4113
- var NotificationHeaderContent = styled35(Box18, {
4590
+ var NotificationHeaderContent = styled35(Box19, {
4114
4591
  name: "MuiNotificationPanel",
4115
4592
  slot: "HeaderContent"
4116
4593
  })(({ theme }) => ({
@@ -4142,17 +4619,17 @@ var NotificationHeader = ({
4142
4619
  }) => {
4143
4620
  const { leftChildren, closeChild } = separateChildren4(children);
4144
4621
  return /* @__PURE__ */ jsxs15(NotificationHeaderRoot, { sx, children: [
4145
- /* @__PURE__ */ jsx47(NotificationHeaderContent, { children: leftChildren }),
4622
+ /* @__PURE__ */ jsx49(NotificationHeaderContent, { children: leftChildren }),
4146
4623
  closeChild
4147
4624
  ] });
4148
4625
  };
4149
4626
  NotificationHeader.displayName = "NotificationHeader";
4150
4627
 
4151
4628
  // src/components/NotificationPanel/NotificationHeaderIcon.tsx
4152
- import Box19 from "@mui/material/Box";
4629
+ import Box20 from "@mui/material/Box";
4153
4630
  import { styled as styled36 } from "@mui/material/styles";
4154
- import { jsx as jsx48 } from "react/jsx-runtime";
4155
- var NotificationHeaderIconRoot = styled36(Box19, {
4631
+ import { jsx as jsx50 } from "react/jsx-runtime";
4632
+ var NotificationHeaderIconRoot = styled36(Box20, {
4156
4633
  name: "MuiNotificationPanel",
4157
4634
  slot: "HeaderIcon"
4158
4635
  })({
@@ -4163,14 +4640,14 @@ var NotificationHeaderIcon = ({
4163
4640
  children,
4164
4641
  sx
4165
4642
  }) => {
4166
- return /* @__PURE__ */ jsx48(NotificationHeaderIconRoot, { sx, children });
4643
+ return /* @__PURE__ */ jsx50(NotificationHeaderIconRoot, { sx, children });
4167
4644
  };
4168
4645
  NotificationHeaderIcon.displayName = "NotificationHeaderIcon";
4169
4646
 
4170
4647
  // src/components/NotificationPanel/NotificationHeaderTitle.tsx
4171
4648
  import Typography10 from "@mui/material/Typography";
4172
4649
  import { styled as styled37 } from "@mui/material/styles";
4173
- import { jsx as jsx49 } from "react/jsx-runtime";
4650
+ import { jsx as jsx51 } from "react/jsx-runtime";
4174
4651
  var NotificationHeaderTitleRoot = styled37(Typography10, {
4175
4652
  name: "MuiNotificationPanel",
4176
4653
  slot: "HeaderTitle"
@@ -4181,14 +4658,14 @@ var NotificationHeaderTitle = ({
4181
4658
  children,
4182
4659
  sx
4183
4660
  }) => {
4184
- return /* @__PURE__ */ jsx49(NotificationHeaderTitleRoot, { variant: "h6", sx, children });
4661
+ return /* @__PURE__ */ jsx51(NotificationHeaderTitleRoot, { variant: "h6", sx, children });
4185
4662
  };
4186
4663
  NotificationHeaderTitle.displayName = "NotificationHeaderTitle";
4187
4664
 
4188
4665
  // src/components/NotificationPanel/NotificationHeaderBadge.tsx
4189
4666
  import Chip2 from "@mui/material/Chip";
4190
4667
  import { styled as styled38 } from "@mui/material/styles";
4191
- import { jsx as jsx50 } from "react/jsx-runtime";
4668
+ import { jsx as jsx52 } from "react/jsx-runtime";
4192
4669
  var NotificationHeaderBadgeRoot = styled38(Chip2, {
4193
4670
  name: "MuiNotificationPanel",
4194
4671
  slot: "HeaderBadge"
@@ -4204,7 +4681,7 @@ var NotificationHeaderBadge = ({
4204
4681
  if (!children || children === 0 || children === "0") {
4205
4682
  return null;
4206
4683
  }
4207
- return /* @__PURE__ */ jsx50(NotificationHeaderBadgeRoot, { label: children, size: "small", color, sx });
4684
+ return /* @__PURE__ */ jsx52(NotificationHeaderBadgeRoot, { label: children, size: "small", color, sx });
4208
4685
  };
4209
4686
  NotificationHeaderBadge.displayName = "NotificationHeaderBadge";
4210
4687
 
@@ -4212,7 +4689,7 @@ NotificationHeaderBadge.displayName = "NotificationHeaderBadge";
4212
4689
  import IconButton4 from "@mui/material/IconButton";
4213
4690
  import { styled as styled39 } from "@mui/material/styles";
4214
4691
  import { X as X2 } from "@wso2/oxygen-ui-icons-react";
4215
- import { jsx as jsx51 } from "react/jsx-runtime";
4692
+ import { jsx as jsx53 } from "react/jsx-runtime";
4216
4693
  var NotificationHeaderCloseRoot = styled39(IconButton4, {
4217
4694
  name: "MuiNotificationPanel",
4218
4695
  slot: "HeaderClose"
@@ -4230,18 +4707,18 @@ var NotificationHeaderClose = ({
4230
4707
  onClose == null ? void 0 : onClose();
4231
4708
  }
4232
4709
  };
4233
- return /* @__PURE__ */ jsx51(NotificationHeaderCloseRoot, { onClick: handleClick, size: "small", sx, children: children || /* @__PURE__ */ jsx51(X2, { size: 20 }) });
4710
+ return /* @__PURE__ */ jsx53(NotificationHeaderCloseRoot, { onClick: handleClick, size: "small", sx, children: children || /* @__PURE__ */ jsx53(X2, { size: 20 }) });
4234
4711
  };
4235
4712
  NotificationHeaderClose.displayName = "NotificationHeaderClose";
4236
4713
 
4237
4714
  // src/components/NotificationPanel/NotificationTabs.tsx
4238
- import Box20 from "@mui/material/Box";
4715
+ import Box21 from "@mui/material/Box";
4239
4716
  import Tabs from "@mui/material/Tabs";
4240
4717
  import Tab from "@mui/material/Tab";
4241
4718
  import Chip3 from "@mui/material/Chip";
4242
4719
  import { styled as styled40 } from "@mui/material/styles";
4243
- import { jsx as jsx52, jsxs as jsxs16 } from "react/jsx-runtime";
4244
- var NotificationTabsRoot = styled40(Box20, {
4720
+ import { jsx as jsx54, jsxs as jsxs16 } from "react/jsx-runtime";
4721
+ var NotificationTabsRoot = styled40(Box21, {
4245
4722
  name: "MuiNotificationPanel",
4246
4723
  slot: "Tabs"
4247
4724
  })(({ theme }) => ({
@@ -4258,7 +4735,7 @@ var NotificationTabsInner = styled40(Tabs, {
4258
4735
  fontWeight: 500
4259
4736
  }
4260
4737
  });
4261
- var NotificationTabLabel = styled40(Box20, {
4738
+ var NotificationTabLabel = styled40(Box21, {
4262
4739
  name: "MuiNotificationPanel",
4263
4740
  slot: "TabLabel"
4264
4741
  })(({ theme }) => ({
@@ -4279,18 +4756,18 @@ var NotificationTabs = ({
4279
4756
  onChange,
4280
4757
  sx
4281
4758
  }) => {
4282
- return /* @__PURE__ */ jsx52(NotificationTabsRoot, { sx, children: /* @__PURE__ */ jsx52(
4759
+ return /* @__PURE__ */ jsx54(NotificationTabsRoot, { sx, children: /* @__PURE__ */ jsx54(
4283
4760
  NotificationTabsInner,
4284
4761
  {
4285
4762
  value,
4286
4763
  onChange: (_, newValue) => onChange(newValue),
4287
4764
  variant: "fullWidth",
4288
- children: tabs.map((tab, index) => /* @__PURE__ */ jsx52(
4765
+ children: tabs.map((tab, index) => /* @__PURE__ */ jsx54(
4289
4766
  Tab,
4290
4767
  {
4291
4768
  label: /* @__PURE__ */ jsxs16(NotificationTabLabel, { children: [
4292
4769
  tab.label,
4293
- tab.count !== void 0 && tab.count > 0 && /* @__PURE__ */ jsx52(
4770
+ tab.count !== void 0 && tab.count > 0 && /* @__PURE__ */ jsx54(
4294
4771
  NotificationTabCount,
4295
4772
  {
4296
4773
  label: tab.count,
@@ -4308,12 +4785,12 @@ var NotificationTabs = ({
4308
4785
  };
4309
4786
 
4310
4787
  // src/components/NotificationPanel/NotificationActions.tsx
4311
- import Box21 from "@mui/material/Box";
4788
+ import Box22 from "@mui/material/Box";
4312
4789
  import Button3 from "@mui/material/Button";
4313
4790
  import { styled as styled41 } from "@mui/material/styles";
4314
4791
  import { CheckCheck, Trash2 } from "@wso2/oxygen-ui-icons-react";
4315
- import { jsx as jsx53, jsxs as jsxs17 } from "react/jsx-runtime";
4316
- var NotificationActionsRoot = styled41(Box21, {
4792
+ import { jsx as jsx55, jsxs as jsxs17 } from "react/jsx-runtime";
4793
+ var NotificationActionsRoot = styled41(Box22, {
4317
4794
  name: "MuiNotificationPanel",
4318
4795
  slot: "Actions"
4319
4796
  })(({ theme }) => ({
@@ -4339,20 +4816,20 @@ var NotificationActions = ({
4339
4816
  sx
4340
4817
  }) => {
4341
4818
  return /* @__PURE__ */ jsxs17(NotificationActionsRoot, { sx, children: [
4342
- hasUnread && onMarkAllRead && /* @__PURE__ */ jsx53(
4819
+ hasUnread && onMarkAllRead && /* @__PURE__ */ jsx55(
4343
4820
  NotificationActionButton,
4344
4821
  {
4345
4822
  size: "small",
4346
- startIcon: /* @__PURE__ */ jsx53(CheckCheck, { size: 14 }),
4823
+ startIcon: /* @__PURE__ */ jsx55(CheckCheck, { size: 14 }),
4347
4824
  onClick: onMarkAllRead,
4348
4825
  children: "Mark all read"
4349
4826
  }
4350
4827
  ),
4351
- onClearAll && /* @__PURE__ */ jsx53(
4828
+ onClearAll && /* @__PURE__ */ jsx55(
4352
4829
  NotificationActionButton,
4353
4830
  {
4354
4831
  size: "small",
4355
- startIcon: /* @__PURE__ */ jsx53(Trash2, { size: 14 }),
4832
+ startIcon: /* @__PURE__ */ jsx55(Trash2, { size: 14 }),
4356
4833
  onClick: onClearAll,
4357
4834
  color: "error",
4358
4835
  children: "Clear all"
@@ -4363,12 +4840,12 @@ var NotificationActions = ({
4363
4840
 
4364
4841
  // src/components/NotificationPanel/NotificationList.tsx
4365
4842
  import * as React20 from "react";
4366
- import Box22 from "@mui/material/Box";
4843
+ import Box23 from "@mui/material/Box";
4367
4844
  import List3 from "@mui/material/List";
4368
4845
  import Divider6 from "@mui/material/Divider";
4369
4846
  import { styled as styled42 } from "@mui/material/styles";
4370
- import { jsx as jsx54, jsxs as jsxs18 } from "react/jsx-runtime";
4371
- var NotificationListRoot = styled42(Box22, {
4847
+ import { jsx as jsx56, jsxs as jsxs18 } from "react/jsx-runtime";
4848
+ var NotificationListRoot = styled42(Box23, {
4372
4849
  name: "MuiNotificationPanel",
4373
4850
  slot: "List"
4374
4851
  })({
@@ -4381,15 +4858,15 @@ var NotificationList = ({
4381
4858
  sx
4382
4859
  }) => {
4383
4860
  const childArray = React20.Children.toArray(children);
4384
- return /* @__PURE__ */ jsx54(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx54(List3, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs18(React20.Fragment, { children: [
4861
+ return /* @__PURE__ */ jsx56(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx56(List3, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs18(React20.Fragment, { children: [
4385
4862
  child,
4386
- showDividers && index < childArray.length - 1 && /* @__PURE__ */ jsx54(Divider6, {})
4863
+ showDividers && index < childArray.length - 1 && /* @__PURE__ */ jsx56(Divider6, {})
4387
4864
  ] }, index)) }) });
4388
4865
  };
4389
4866
 
4390
4867
  // src/components/NotificationPanel/NotificationItem.tsx
4391
4868
  import * as React22 from "react";
4392
- import Box23 from "@mui/material/Box";
4869
+ import Box24 from "@mui/material/Box";
4393
4870
  import ListItem2 from "@mui/material/ListItem";
4394
4871
  import ListItemButton3 from "@mui/material/ListItemButton";
4395
4872
  import ListItemText3 from "@mui/material/ListItemText";
@@ -4435,7 +4912,7 @@ var getNotificationTypeProps = (type) => {
4435
4912
 
4436
4913
  // src/components/NotificationPanel/NotificationItemContext.tsx
4437
4914
  import * as React21 from "react";
4438
- import { jsx as jsx55 } from "react/jsx-runtime";
4915
+ import { jsx as jsx57 } from "react/jsx-runtime";
4439
4916
  var NotificationItemContext = React21.createContext(null);
4440
4917
  var useNotificationItemContext = () => {
4441
4918
  const context = React21.useContext(NotificationItemContext);
@@ -4447,11 +4924,11 @@ var useNotificationItemContext = () => {
4447
4924
  return context;
4448
4925
  };
4449
4926
  var NotificationItemProvider = ({ value, children }) => {
4450
- return /* @__PURE__ */ jsx55(NotificationItemContext.Provider, { value, children });
4927
+ return /* @__PURE__ */ jsx57(NotificationItemContext.Provider, { value, children });
4451
4928
  };
4452
4929
 
4453
4930
  // src/components/NotificationPanel/NotificationItem.tsx
4454
- import { jsx as jsx56, jsxs as jsxs19 } from "react/jsx-runtime";
4931
+ import { jsx as jsx58, jsxs as jsxs19 } from "react/jsx-runtime";
4455
4932
  var NotificationItemRoot = styled43(ListItem2, {
4456
4933
  name: "MuiNotificationPanel",
4457
4934
  slot: "Item",
@@ -4477,7 +4954,7 @@ var NotificationItemDismiss = styled43(IconButton5, {
4477
4954
  opacity: 1
4478
4955
  }
4479
4956
  });
4480
- var NotificationItemFooter = styled43(Box23, {
4957
+ var NotificationItemFooter = styled43(Box24, {
4481
4958
  name: "MuiNotificationPanel",
4482
4959
  slot: "ItemFooter"
4483
4960
  })(({ theme }) => ({
@@ -4544,12 +5021,12 @@ var NotificationItem = ({
4544
5021
  onAction == null ? void 0 : onAction();
4545
5022
  };
4546
5023
  const ownerState = { read };
4547
- return /* @__PURE__ */ jsx56(NotificationItemProvider, { value: contextValue, children: /* @__PURE__ */ jsx56(
5024
+ return /* @__PURE__ */ jsx58(NotificationItemProvider, { value: contextValue, children: /* @__PURE__ */ jsx58(
4548
5025
  NotificationItemRoot,
4549
5026
  {
4550
5027
  disablePadding: true,
4551
5028
  ownerState,
4552
- secondaryAction: onDismiss && /* @__PURE__ */ jsx56(
5029
+ secondaryAction: onDismiss && /* @__PURE__ */ jsx58(
4553
5030
  NotificationItemDismiss,
4554
5031
  {
4555
5032
  size: "small",
@@ -4557,17 +5034,17 @@ var NotificationItem = ({
4557
5034
  e.stopPropagation();
4558
5035
  onDismiss(id);
4559
5036
  },
4560
- children: /* @__PURE__ */ jsx56(X3, { size: 16 })
5037
+ children: /* @__PURE__ */ jsx58(X3, { size: 16 })
4561
5038
  }
4562
5039
  ),
4563
5040
  sx,
4564
5041
  children: /* @__PURE__ */ jsxs19(NotificationItemButton, { onClick: handleClick, children: [
4565
5042
  avatarChild,
4566
- /* @__PURE__ */ jsx56(
5043
+ /* @__PURE__ */ jsx58(
4567
5044
  ListItemText3,
4568
5045
  {
4569
5046
  primary: titleChild,
4570
- secondary: /* @__PURE__ */ jsxs19(Box23, { component: "span", children: [
5047
+ secondary: /* @__PURE__ */ jsxs19(Box24, { component: "span", children: [
4571
5048
  messageChild,
4572
5049
  /* @__PURE__ */ jsxs19(NotificationItemFooter, { children: [
4573
5050
  timestampChild,
@@ -4586,7 +5063,7 @@ NotificationItem.displayName = "NotificationItem";
4586
5063
  import ListItemAvatar from "@mui/material/ListItemAvatar";
4587
5064
  import Avatar3 from "@mui/material/Avatar";
4588
5065
  import { styled as styled44 } from "@mui/material/styles";
4589
- import { jsx as jsx57 } from "react/jsx-runtime";
5066
+ import { jsx as jsx59 } from "react/jsx-runtime";
4590
5067
  var NotificationItemAvatarStyled = styled44(Avatar3, {
4591
5068
  name: "MuiNotificationPanel",
4592
5069
  slot: "ItemAvatar",
@@ -4610,16 +5087,16 @@ var NotificationItemAvatar = ({
4610
5087
  color: typeProps.color,
4611
5088
  hasChildren: !!children
4612
5089
  };
4613
- return /* @__PURE__ */ jsx57(ListItemAvatar, { children: /* @__PURE__ */ jsx57(NotificationItemAvatarStyled, { ownerState, sx, children: children || /* @__PURE__ */ jsx57(Icon, { size: 20 }) }) });
5090
+ return /* @__PURE__ */ jsx59(ListItemAvatar, { children: /* @__PURE__ */ jsx59(NotificationItemAvatarStyled, { ownerState, sx, children: children || /* @__PURE__ */ jsx59(Icon, { size: 20 }) }) });
4614
5091
  };
4615
5092
  NotificationItemAvatar.displayName = "NotificationItemAvatar";
4616
5093
 
4617
5094
  // src/components/NotificationPanel/NotificationItemTitle.tsx
4618
- import Box24 from "@mui/material/Box";
5095
+ import Box25 from "@mui/material/Box";
4619
5096
  import Typography11 from "@mui/material/Typography";
4620
5097
  import { styled as styled45 } from "@mui/material/styles";
4621
- import { jsx as jsx58, jsxs as jsxs20 } from "react/jsx-runtime";
4622
- var NotificationItemTitleRoot = styled45(Box24, {
5098
+ import { jsx as jsx60, jsxs as jsxs20 } from "react/jsx-runtime";
5099
+ var NotificationItemTitleRoot = styled45(Box25, {
4623
5100
  name: "MuiNotificationPanel",
4624
5101
  slot: "ItemTitle"
4625
5102
  })(({ theme }) => ({
@@ -4635,7 +5112,7 @@ var NotificationItemTitleText = styled45(Typography11, {
4635
5112
  fontWeight: ownerState.read ? 400 : 600,
4636
5113
  flex: 1
4637
5114
  }));
4638
- var NotificationItemUnreadDot = styled45(Box24, {
5115
+ var NotificationItemUnreadDot = styled45(Box25, {
4639
5116
  name: "MuiNotificationPanel",
4640
5117
  slot: "ItemUnreadDot"
4641
5118
  })(({ theme }) => ({
@@ -4652,8 +5129,8 @@ var NotificationItemTitle = ({
4652
5129
  }) => {
4653
5130
  const { read } = useNotificationItemContext();
4654
5131
  return /* @__PURE__ */ jsxs20(NotificationItemTitleRoot, { sx, children: [
4655
- /* @__PURE__ */ jsx58(NotificationItemTitleText, { variant: "body2", ownerState: { read }, children }),
4656
- showUnreadIndicator && !read && /* @__PURE__ */ jsx58(NotificationItemUnreadDot, {})
5132
+ /* @__PURE__ */ jsx60(NotificationItemTitleText, { variant: "body2", ownerState: { read }, children }),
5133
+ showUnreadIndicator && !read && /* @__PURE__ */ jsx60(NotificationItemUnreadDot, {})
4657
5134
  ] });
4658
5135
  };
4659
5136
  NotificationItemTitle.displayName = "NotificationItemTitle";
@@ -4661,7 +5138,7 @@ NotificationItemTitle.displayName = "NotificationItemTitle";
4661
5138
  // src/components/NotificationPanel/NotificationItemMessage.tsx
4662
5139
  import Typography12 from "@mui/material/Typography";
4663
5140
  import { styled as styled46 } from "@mui/material/styles";
4664
- import { jsx as jsx59 } from "react/jsx-runtime";
5141
+ import { jsx as jsx61 } from "react/jsx-runtime";
4665
5142
  var NotificationItemMessageRoot = styled46(Typography12, {
4666
5143
  name: "MuiNotificationPanel",
4667
5144
  slot: "ItemMessage"
@@ -4674,14 +5151,14 @@ var NotificationItemMessage = ({
4674
5151
  children,
4675
5152
  sx
4676
5153
  }) => {
4677
- return /* @__PURE__ */ jsx59(NotificationItemMessageRoot, { component: "span", variant: "caption", sx, children });
5154
+ return /* @__PURE__ */ jsx61(NotificationItemMessageRoot, { component: "span", variant: "caption", sx, children });
4678
5155
  };
4679
5156
  NotificationItemMessage.displayName = "NotificationItemMessage";
4680
5157
 
4681
5158
  // src/components/NotificationPanel/NotificationItemTimestamp.tsx
4682
5159
  import Typography13 from "@mui/material/Typography";
4683
5160
  import { styled as styled47 } from "@mui/material/styles";
4684
- import { jsx as jsx60 } from "react/jsx-runtime";
5161
+ import { jsx as jsx62 } from "react/jsx-runtime";
4685
5162
  var NotificationItemTimestampRoot = styled47(Typography13, {
4686
5163
  name: "MuiNotificationPanel",
4687
5164
  slot: "ItemTimestamp"
@@ -4693,14 +5170,14 @@ var NotificationItemTimestamp = ({
4693
5170
  children,
4694
5171
  sx
4695
5172
  }) => {
4696
- return /* @__PURE__ */ jsx60(NotificationItemTimestampRoot, { component: "span", variant: "caption", sx, children });
5173
+ return /* @__PURE__ */ jsx62(NotificationItemTimestampRoot, { component: "span", variant: "caption", sx, children });
4697
5174
  };
4698
5175
  NotificationItemTimestamp.displayName = "NotificationItemTimestamp";
4699
5176
 
4700
5177
  // src/components/NotificationPanel/NotificationItemAction.tsx
4701
5178
  import Chip4 from "@mui/material/Chip";
4702
5179
  import { styled as styled48 } from "@mui/material/styles";
4703
- import { jsx as jsx61 } from "react/jsx-runtime";
5180
+ import { jsx as jsx63 } from "react/jsx-runtime";
4704
5181
  var NotificationItemActionRoot = styled48(Chip4, {
4705
5182
  name: "MuiNotificationPanel",
4706
5183
  slot: "ItemAction"
@@ -4723,7 +5200,7 @@ var NotificationItemAction = ({
4723
5200
  onAction == null ? void 0 : onAction();
4724
5201
  }
4725
5202
  };
4726
- return /* @__PURE__ */ jsx61(
5203
+ return /* @__PURE__ */ jsx63(
4727
5204
  NotificationItemActionRoot,
4728
5205
  {
4729
5206
  label: children,
@@ -4737,12 +5214,12 @@ var NotificationItemAction = ({
4737
5214
  NotificationItemAction.displayName = "NotificationItemAction";
4738
5215
 
4739
5216
  // src/components/NotificationPanel/NotificationEmptyState.tsx
4740
- import Box25 from "@mui/material/Box";
5217
+ import Box26 from "@mui/material/Box";
4741
5218
  import Typography14 from "@mui/material/Typography";
4742
5219
  import { styled as styled49 } from "@mui/material/styles";
4743
5220
  import { BellOff } from "@wso2/oxygen-ui-icons-react";
4744
- import { jsx as jsx62, jsxs as jsxs21 } from "react/jsx-runtime";
4745
- var NotificationEmptyStateRoot = styled49(Box25, {
5221
+ import { jsx as jsx64, jsxs as jsxs21 } from "react/jsx-runtime";
5222
+ var NotificationEmptyStateRoot = styled49(Box26, {
4746
5223
  name: "MuiNotificationPanel",
4747
5224
  slot: "EmptyState"
4748
5225
  })(({ theme }) => ({
@@ -4768,13 +5245,13 @@ var NotificationEmptyState = ({
4768
5245
  sx
4769
5246
  }) => {
4770
5247
  return /* @__PURE__ */ jsxs21(NotificationEmptyStateRoot, { sx, children: [
4771
- icon || /* @__PURE__ */ jsx62(BellOff, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
4772
- /* @__PURE__ */ jsx62(NotificationEmptyStateMessage, { variant: "body2", children: message })
5248
+ icon || /* @__PURE__ */ jsx64(BellOff, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
5249
+ /* @__PURE__ */ jsx64(NotificationEmptyStateMessage, { variant: "body2", children: message })
4773
5250
  ] });
4774
5251
  };
4775
5252
 
4776
5253
  // src/components/NotificationPanel/NotificationPanel.tsx
4777
- import { jsx as jsx63 } from "react/jsx-runtime";
5254
+ import { jsx as jsx65 } from "react/jsx-runtime";
4778
5255
  var NotificationPanelRoot = styled50(Drawer, {
4779
5256
  name: "MuiNotificationPanel",
4780
5257
  slot: "Root",
@@ -4812,7 +5289,7 @@ var NotificationPanel = ({
4812
5289
  );
4813
5290
  const contextValue = React23.useMemo(() => ({ onClose }), [onClose]);
4814
5291
  const ownerState = { width };
4815
- return /* @__PURE__ */ jsx63(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx63(
5292
+ return /* @__PURE__ */ jsx65(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx65(
4816
5293
  NotificationPanelRoot,
4817
5294
  {
4818
5295
  anchor,
@@ -4844,13 +5321,13 @@ NotificationPanel.displayName = "NotificationPanel";
4844
5321
 
4845
5322
  // src/components/Footer/Footer.tsx
4846
5323
  import * as React24 from "react";
4847
- import Box26 from "@mui/material/Box";
5324
+ import Box27 from "@mui/material/Box";
4848
5325
  import { styled as styled54 } from "@mui/material/styles";
4849
5326
 
4850
5327
  // src/components/Footer/FooterCopyright.tsx
4851
5328
  import Typography15 from "@mui/material/Typography";
4852
5329
  import { styled as styled51 } from "@mui/material/styles";
4853
- import { jsx as jsx64 } from "react/jsx-runtime";
5330
+ import { jsx as jsx66 } from "react/jsx-runtime";
4854
5331
  var StyledCopyrightText = styled51(Typography15, {
4855
5332
  name: "MuiFooter",
4856
5333
  slot: "CopyrightText"
@@ -4858,14 +5335,14 @@ var StyledCopyrightText = styled51(Typography15, {
4858
5335
  color: (theme.vars || theme).palette.text.secondary
4859
5336
  }));
4860
5337
  var FooterCopyright = ({ children }) => {
4861
- return /* @__PURE__ */ jsx64(StyledCopyrightText, { variant: "caption", children });
5338
+ return /* @__PURE__ */ jsx66(StyledCopyrightText, { variant: "caption", children });
4862
5339
  };
4863
5340
  FooterCopyright.displayName = "Footer.Copyright";
4864
5341
 
4865
5342
  // src/components/Footer/FooterVersion.tsx
4866
5343
  import Typography16 from "@mui/material/Typography";
4867
5344
  import { styled as styled52 } from "@mui/material/styles";
4868
- import { jsx as jsx65 } from "react/jsx-runtime";
5345
+ import { jsx as jsx67 } from "react/jsx-runtime";
4869
5346
  var StyledVersion = styled52(Typography16, {
4870
5347
  name: "MuiFooter",
4871
5348
  slot: "Version"
@@ -4875,14 +5352,14 @@ var StyledVersion = styled52(Typography16, {
4875
5352
  fontSize: 11
4876
5353
  }));
4877
5354
  var FooterVersion = ({ children }) => {
4878
- return /* @__PURE__ */ jsx65(StyledVersion, { variant: "caption", children });
5355
+ return /* @__PURE__ */ jsx67(StyledVersion, { variant: "caption", children });
4879
5356
  };
4880
5357
  FooterVersion.displayName = "Footer.Version";
4881
5358
 
4882
5359
  // src/components/Footer/FooterLink.tsx
4883
5360
  import Link2 from "@mui/material/Link";
4884
5361
  import { styled as styled53 } from "@mui/material/styles";
4885
- import { jsx as jsx66 } from "react/jsx-runtime";
5362
+ import { jsx as jsx68 } from "react/jsx-runtime";
4886
5363
  var StyledLink = styled53(Link2, {
4887
5364
  name: "MuiFooter",
4888
5365
  slot: "Link"
@@ -4895,15 +5372,15 @@ var StyledLink = styled53(Link2, {
4895
5372
  }));
4896
5373
  var FooterLink = (_a) => {
4897
5374
  var _b = _a, { children, href } = _b, props = __objRest(_b, ["children", "href"]);
4898
- return /* @__PURE__ */ jsx66(StyledLink, __spreadProps(__spreadValues({ href, underline: "hover" }, props), { children }));
5375
+ return /* @__PURE__ */ jsx68(StyledLink, __spreadProps(__spreadValues({ href, underline: "hover" }, props), { children }));
4899
5376
  };
4900
5377
  FooterLink.displayName = "Footer.Link";
4901
5378
 
4902
5379
  // src/components/Footer/FooterDivider.tsx
4903
5380
  import Divider7 from "@mui/material/Divider";
4904
- import { jsx as jsx67 } from "react/jsx-runtime";
5381
+ import { jsx as jsx69 } from "react/jsx-runtime";
4905
5382
  var FooterDivider = () => {
4906
- return /* @__PURE__ */ jsx67(
5383
+ return /* @__PURE__ */ jsx69(
4907
5384
  Divider7,
4908
5385
  {
4909
5386
  orientation: "vertical",
@@ -4915,8 +5392,8 @@ var FooterDivider = () => {
4915
5392
  FooterDivider.displayName = "Footer.Divider";
4916
5393
 
4917
5394
  // src/components/Footer/Footer.tsx
4918
- import { jsx as jsx68, jsxs as jsxs22 } from "react/jsx-runtime";
4919
- var FooterRoot = styled54(Box26, {
5395
+ import { jsx as jsx70, jsxs as jsxs22 } from "react/jsx-runtime";
5396
+ var FooterRoot = styled54(Box27, {
4920
5397
  name: "MuiFooter",
4921
5398
  slot: "Root"
4922
5399
  })(({ theme }) => ({
@@ -4929,7 +5406,7 @@ var FooterRoot = styled54(Box26, {
4929
5406
  borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
4930
5407
  backgroundColor: (theme.vars || theme).palette.background.paper
4931
5408
  }));
4932
- var FooterContent = styled54(Box26, {
5409
+ var FooterContent = styled54(Box27, {
4933
5410
  name: "MuiFooter",
4934
5411
  slot: "Content"
4935
5412
  })(({ theme }) => ({
@@ -4943,7 +5420,7 @@ var FooterContent = styled54(Box26, {
4943
5420
  alignItems: "center"
4944
5421
  }
4945
5422
  }));
4946
- var FooterLeft = styled54(Box26, {
5423
+ var FooterLeft = styled54(Box27, {
4947
5424
  name: "MuiFooter",
4948
5425
  slot: "Left"
4949
5426
  })(({ theme }) => ({
@@ -4952,7 +5429,7 @@ var FooterLeft = styled54(Box26, {
4952
5429
  gap: theme.spacing(2),
4953
5430
  flexWrap: "wrap"
4954
5431
  }));
4955
- var FooterRight = styled54(Box26, {
5432
+ var FooterRight = styled54(Box27, {
4956
5433
  name: "MuiFooter",
4957
5434
  slot: "Right"
4958
5435
  })(({ theme }) => ({
@@ -4974,9 +5451,9 @@ var Footer = ({ children, sx }) => {
4974
5451
  }
4975
5452
  }
4976
5453
  });
4977
- return /* @__PURE__ */ jsx68(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs22(FooterContent, { children: [
4978
- leftChildren.length > 0 && /* @__PURE__ */ jsx68(FooterLeft, { children: leftChildren }),
4979
- rightChildren.length > 0 && /* @__PURE__ */ jsx68(FooterRight, { children: rightChildren })
5454
+ return /* @__PURE__ */ jsx70(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs22(FooterContent, { children: [
5455
+ leftChildren.length > 0 && /* @__PURE__ */ jsx70(FooterLeft, { children: leftChildren }),
5456
+ rightChildren.length > 0 && /* @__PURE__ */ jsx70(FooterRight, { children: rightChildren })
4980
5457
  ] }) });
4981
5458
  };
4982
5459
  Footer.Copyright = FooterCopyright;
@@ -5006,7 +5483,7 @@ import Tooltip5 from "@mui/material/Tooltip";
5006
5483
  import IconButton6 from "@mui/material/IconButton";
5007
5484
  import Avatar4 from "@mui/material/Avatar";
5008
5485
  import { styled as styled55 } from "@mui/material/styles";
5009
- import { jsx as jsx69, jsxs as jsxs23 } from "react/jsx-runtime";
5486
+ import { jsx as jsx71, jsxs as jsxs23 } from "react/jsx-runtime";
5010
5487
  var StyledTrigger = styled55(IconButton6, {
5011
5488
  name: "MuiUserMenu",
5012
5489
  slot: "Trigger"
@@ -5042,7 +5519,7 @@ var StyledNameText = styled55("span", {
5042
5519
  }));
5043
5520
  var UserMenuTrigger = ({ name, avatar, showName = false }) => {
5044
5521
  const { open, handleOpen } = useUserMenu();
5045
- return /* @__PURE__ */ jsx69(Tooltip5, { title: "Account", children: /* @__PURE__ */ jsxs23(
5522
+ return /* @__PURE__ */ jsx71(Tooltip5, { title: "Account", children: /* @__PURE__ */ jsxs23(
5046
5523
  StyledTrigger,
5047
5524
  {
5048
5525
  onClick: handleOpen,
@@ -5053,8 +5530,8 @@ var UserMenuTrigger = ({ name, avatar, showName = false }) => {
5053
5530
  "aria-haspopup": "true",
5054
5531
  "aria-expanded": open ? "true" : void 0,
5055
5532
  children: [
5056
- /* @__PURE__ */ jsx69(StyledAvatar2, { src: avatar || void 0, alt: name, children: !avatar && name.charAt(0) }),
5057
- showName && /* @__PURE__ */ jsx69(StyledNameText, { children: name })
5533
+ /* @__PURE__ */ jsx71(StyledAvatar2, { src: avatar || void 0, alt: name, children: !avatar && name.charAt(0) }),
5534
+ showName && /* @__PURE__ */ jsx71(StyledNameText, { children: name })
5058
5535
  ]
5059
5536
  }
5060
5537
  ) });
@@ -5063,20 +5540,20 @@ UserMenuTrigger.displayName = "UserMenu.Trigger";
5063
5540
 
5064
5541
  // src/components/UserMenu/UserMenuHeader.tsx
5065
5542
  import Divider8 from "@mui/material/Divider";
5066
- import Box27 from "@mui/material/Box";
5543
+ import Box28 from "@mui/material/Box";
5067
5544
  import Avatar5 from "@mui/material/Avatar";
5068
5545
  import Typography17 from "@mui/material/Typography";
5069
5546
  import Chip5 from "@mui/material/Chip";
5070
5547
  import { styled as styled56 } from "@mui/material/styles";
5071
- import { Fragment as Fragment9, jsx as jsx70, jsxs as jsxs24 } from "react/jsx-runtime";
5072
- var StyledHeaderBox = styled56(Box27, {
5548
+ import { Fragment as Fragment9, jsx as jsx72, jsxs as jsxs24 } from "react/jsx-runtime";
5549
+ var StyledHeaderBox = styled56(Box28, {
5073
5550
  name: "MuiUserMenu",
5074
5551
  slot: "HeaderBox"
5075
5552
  })(({ theme }) => ({
5076
5553
  padding: theme.spacing(2),
5077
5554
  paddingBottom: theme.spacing(1.5)
5078
5555
  }));
5079
- var StyledHeaderContent = styled56(Box27, {
5556
+ var StyledHeaderContent = styled56(Box28, {
5080
5557
  name: "MuiUserMenu",
5081
5558
  slot: "HeaderContent"
5082
5559
  })(({ theme }) => ({
@@ -5095,7 +5572,7 @@ var StyledHeaderAvatar = styled56(Avatar5, {
5095
5572
  fontSize: 16,
5096
5573
  fontWeight: 600
5097
5574
  }));
5098
- var StyledUserInfo = styled56(Box27, {
5575
+ var StyledUserInfo = styled56(Box28, {
5099
5576
  name: "MuiUserMenu",
5100
5577
  slot: "UserInfo"
5101
5578
  })(({ theme }) => ({
@@ -5105,7 +5582,7 @@ var StyledUserInfo = styled56(Box27, {
5105
5582
  flex: 1,
5106
5583
  minWidth: 0
5107
5584
  }));
5108
- var StyledNameRow = styled56(Box27, {
5585
+ var StyledNameRow = styled56(Box28, {
5109
5586
  name: "MuiUserMenu",
5110
5587
  slot: "NameRow"
5111
5588
  })(({ theme }) => ({
@@ -5142,12 +5619,12 @@ var StyledEmail = styled56(Typography17, {
5142
5619
  }));
5143
5620
  var UserMenuHeader = ({ name, email, avatar, role }) => {
5144
5621
  return /* @__PURE__ */ jsxs24(Fragment9, { children: [
5145
- /* @__PURE__ */ jsx70(StyledHeaderBox, { children: /* @__PURE__ */ jsxs24(StyledHeaderContent, { children: [
5146
- /* @__PURE__ */ jsx70(StyledHeaderAvatar, { src: avatar || void 0, alt: name, children: !avatar && name.charAt(0) }),
5622
+ /* @__PURE__ */ jsx72(StyledHeaderBox, { children: /* @__PURE__ */ jsxs24(StyledHeaderContent, { children: [
5623
+ /* @__PURE__ */ jsx72(StyledHeaderAvatar, { src: avatar || void 0, alt: name, children: !avatar && name.charAt(0) }),
5147
5624
  /* @__PURE__ */ jsxs24(StyledUserInfo, { children: [
5148
5625
  /* @__PURE__ */ jsxs24(StyledNameRow, { children: [
5149
- /* @__PURE__ */ jsx70(StyledName, { variant: "subtitle2", children: name }),
5150
- role && /* @__PURE__ */ jsx70(
5626
+ /* @__PURE__ */ jsx72(StyledName, { variant: "subtitle2", children: name }),
5627
+ role && /* @__PURE__ */ jsx72(
5151
5628
  StyledRoleChip,
5152
5629
  {
5153
5630
  label: role,
@@ -5156,10 +5633,10 @@ var UserMenuHeader = ({ name, email, avatar, role }) => {
5156
5633
  }
5157
5634
  )
5158
5635
  ] }),
5159
- /* @__PURE__ */ jsx70(StyledEmail, { variant: "caption", children: email })
5636
+ /* @__PURE__ */ jsx72(StyledEmail, { variant: "caption", children: email })
5160
5637
  ] })
5161
5638
  ] }) }),
5162
- /* @__PURE__ */ jsx70(Divider8, {})
5639
+ /* @__PURE__ */ jsx72(Divider8, {})
5163
5640
  ] });
5164
5641
  };
5165
5642
  UserMenuHeader.displayName = "UserMenu.Header";
@@ -5169,11 +5646,11 @@ import * as React26 from "react";
5169
5646
  import MenuItem3 from "@mui/material/MenuItem";
5170
5647
  import ListItemIcon3 from "@mui/material/ListItemIcon";
5171
5648
  import ListItemText4 from "@mui/material/ListItemText";
5172
- import Box28 from "@mui/material/Box";
5649
+ import Box29 from "@mui/material/Box";
5173
5650
  import Chip6 from "@mui/material/Chip";
5174
5651
  import { styled as styled57 } from "@mui/material/styles";
5175
5652
  import { ChevronRight } from "@wso2/oxygen-ui-icons-react";
5176
- import { jsx as jsx71, jsxs as jsxs25 } from "react/jsx-runtime";
5653
+ import { jsx as jsx73, jsxs as jsxs25 } from "react/jsx-runtime";
5177
5654
  var StyledMenuItem2 = styled57(MenuItem3, {
5178
5655
  name: "MuiUserMenu",
5179
5656
  slot: "MenuItem"
@@ -5202,12 +5679,12 @@ var UserMenuItem = ({
5202
5679
  onClick == null ? void 0 : onClick();
5203
5680
  };
5204
5681
  return /* @__PURE__ */ jsxs25(StyledMenuItem2, { onClick: handleClick, children: [
5205
- icon && /* @__PURE__ */ jsx71(ListItemIcon3, { children: React26.isValidElement(icon) ? React26.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
5682
+ icon && /* @__PURE__ */ jsx73(ListItemIcon3, { children: React26.isValidElement(icon) ? React26.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
5206
5683
  size: (_a = icon.props.size) != null ? _a : 18
5207
5684
  })) : icon }),
5208
- /* @__PURE__ */ jsx71(ListItemText4, { primary: label }),
5209
- /* @__PURE__ */ jsxs25(Box28, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
5210
- badge && /* @__PURE__ */ jsx71(
5685
+ /* @__PURE__ */ jsx73(ListItemText4, { primary: label }),
5686
+ /* @__PURE__ */ jsxs25(Box29, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
5687
+ badge && /* @__PURE__ */ jsx73(
5211
5688
  StyledBillingChip,
5212
5689
  {
5213
5690
  label: badge,
@@ -5215,7 +5692,7 @@ var UserMenuItem = ({
5215
5692
  variant: "outlined"
5216
5693
  }
5217
5694
  ),
5218
- /* @__PURE__ */ jsx71(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
5695
+ /* @__PURE__ */ jsx73(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
5219
5696
  ] })
5220
5697
  ] });
5221
5698
  };
@@ -5227,7 +5704,7 @@ import MenuItem4 from "@mui/material/MenuItem";
5227
5704
  import ListItemIcon4 from "@mui/material/ListItemIcon";
5228
5705
  import ListItemText5 from "@mui/material/ListItemText";
5229
5706
  import { styled as styled58 } from "@mui/material/styles";
5230
- import { jsx as jsx72, jsxs as jsxs26 } from "react/jsx-runtime";
5707
+ import { jsx as jsx74, jsxs as jsxs26 } from "react/jsx-runtime";
5231
5708
  var StyledLogoutItem = styled58(MenuItem4, {
5232
5709
  name: "MuiUserMenu",
5233
5710
  slot: "LogoutItem"
@@ -5255,22 +5732,22 @@ var UserMenuLogout = ({
5255
5732
  onClick == null ? void 0 : onClick();
5256
5733
  };
5257
5734
  return /* @__PURE__ */ jsxs26(StyledLogoutItem, { onClick: handleClick, children: [
5258
- icon && /* @__PURE__ */ jsx72(ListItemIcon4, { children: React27.isValidElement(icon) ? React27.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
5735
+ icon && /* @__PURE__ */ jsx74(ListItemIcon4, { children: React27.isValidElement(icon) ? React27.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
5259
5736
  size: (_a = icon.props.size) != null ? _a : 18
5260
5737
  })) : icon }),
5261
- /* @__PURE__ */ jsx72(ListItemText5, { primary: label })
5738
+ /* @__PURE__ */ jsx74(ListItemText5, { primary: label })
5262
5739
  ] });
5263
5740
  };
5264
5741
  UserMenuLogout.displayName = "UserMenu.Logout";
5265
5742
 
5266
5743
  // src/components/UserMenu/UserMenuDivider.tsx
5267
5744
  import Divider9 from "@mui/material/Divider";
5268
- import { jsx as jsx73 } from "react/jsx-runtime";
5269
- var UserMenuDivider = () => /* @__PURE__ */ jsx73(Divider9, {});
5745
+ import { jsx as jsx75 } from "react/jsx-runtime";
5746
+ var UserMenuDivider = () => /* @__PURE__ */ jsx75(Divider9, {});
5270
5747
  UserMenuDivider.displayName = "UserMenu.Divider";
5271
5748
 
5272
5749
  // src/components/UserMenu/UserMenu.tsx
5273
- import { jsx as jsx74, jsxs as jsxs27 } from "react/jsx-runtime";
5750
+ import { jsx as jsx76, jsxs as jsxs27 } from "react/jsx-runtime";
5274
5751
  var UserMenu = ({ children }) => {
5275
5752
  const [anchorEl, setAnchorEl] = React28.useState(null);
5276
5753
  const open = Boolean(anchorEl);
@@ -5289,7 +5766,7 @@ var UserMenu = ({ children }) => {
5289
5766
  );
5290
5767
  return /* @__PURE__ */ jsxs27(UserMenuContext.Provider, { value: { open, anchorEl, handleOpen, handleClose }, children: [
5291
5768
  triggerChild,
5292
- /* @__PURE__ */ jsx74(
5769
+ /* @__PURE__ */ jsx76(
5293
5770
  Menu2,
5294
5771
  {
5295
5772
  id: "user-menu",
@@ -5324,9 +5801,9 @@ import Alert from "@mui/material/Alert";
5324
5801
  import AlertTitle from "@mui/material/AlertTitle";
5325
5802
  import Collapse2 from "@mui/material/Collapse";
5326
5803
  import Button4 from "@mui/material/Button";
5327
- import Box29 from "@mui/material/Box";
5804
+ import Box30 from "@mui/material/Box";
5328
5805
  import { styled as styled59 } from "@mui/material/styles";
5329
- import { jsx as jsx75, jsxs as jsxs28 } from "react/jsx-runtime";
5806
+ import { jsx as jsx77, jsxs as jsxs28 } from "react/jsx-runtime";
5330
5807
  var NotificationBannerAlert = styled59(Alert, {
5331
5808
  name: "MuiNotificationBanner",
5332
5809
  slot: "Root"
@@ -5345,7 +5822,7 @@ var NotificationBannerAlert = styled59(Alert, {
5345
5822
  alignItems: "center"
5346
5823
  }
5347
5824
  });
5348
- var NotificationBannerContent = styled59(Box29, {
5825
+ var NotificationBannerContent = styled59(Box30, {
5349
5826
  name: "MuiNotificationBanner",
5350
5827
  slot: "Content"
5351
5828
  })({
@@ -5383,14 +5860,14 @@ var NotificationBanner = ({
5383
5860
  setIsVisible(false);
5384
5861
  onDismiss == null ? void 0 : onDismiss();
5385
5862
  };
5386
- return /* @__PURE__ */ jsx75(Collapse2, { in: isVisible, children: /* @__PURE__ */ jsx75(
5863
+ return /* @__PURE__ */ jsx77(Collapse2, { in: isVisible, children: /* @__PURE__ */ jsx77(
5387
5864
  NotificationBannerAlert,
5388
5865
  {
5389
5866
  severity,
5390
5867
  variant: "filled",
5391
5868
  onClose: handleDismiss,
5392
5869
  sx,
5393
- action: actionLabel && onAction ? /* @__PURE__ */ jsx75(
5870
+ action: actionLabel && onAction ? /* @__PURE__ */ jsx77(
5394
5871
  NotificationBannerAction,
5395
5872
  {
5396
5873
  color: "inherit",
@@ -5400,17 +5877,17 @@ var NotificationBanner = ({
5400
5877
  }
5401
5878
  ) : void 0,
5402
5879
  children: /* @__PURE__ */ jsxs28(NotificationBannerContent, { children: [
5403
- title && /* @__PURE__ */ jsx75(AlertTitle, { sx: { mb: 0 }, children: title }),
5404
- /* @__PURE__ */ jsx75(Box29, { component: "span", children: message })
5880
+ title && /* @__PURE__ */ jsx77(AlertTitle, { sx: { mb: 0 }, children: title }),
5881
+ /* @__PURE__ */ jsx77(Box30, { component: "span", children: message })
5405
5882
  ] })
5406
5883
  }
5407
5884
  ) });
5408
5885
  };
5409
5886
 
5410
5887
  // src/components/Form/CardButton.tsx
5411
- import { Card as Card2, ButtonBase, Box as Box30, styled as styled60 } from "@mui/material";
5888
+ import { Card as Card2, ButtonBase, Box as Box31, styled as styled60 } from "@mui/material";
5412
5889
  import { CardHeader, CardContent as CardContent2, CardActions, CardMedia } from "@mui/material";
5413
- import { jsx as jsx76 } from "react/jsx-runtime";
5890
+ import { jsx as jsx78 } from "react/jsx-runtime";
5414
5891
  var StyledCardButton = styled60(Card2, {
5415
5892
  shouldForwardProp: (prop) => prop !== "selected" && prop !== "disabled"
5416
5893
  })(({ theme, selected, disabled, alignItems = "flex-start" }) => ({
@@ -5439,7 +5916,7 @@ var StyledCardButton = styled60(Card2, {
5439
5916
  }));
5440
5917
  var CardButton = (props) => {
5441
5918
  const _a = props, { disabled, selected, alignItems = "flex-start" } = _a, rest = __objRest(_a, ["disabled", "selected", "alignItems"]);
5442
- return /* @__PURE__ */ jsx76(
5919
+ return /* @__PURE__ */ jsx78(
5443
5920
  StyledCardButton,
5444
5921
  __spreadValues({
5445
5922
  alignItems,
@@ -5449,36 +5926,36 @@ var CardButton = (props) => {
5449
5926
  }, rest)
5450
5927
  );
5451
5928
  };
5452
- var DisappearingCardButtonContent = (props) => /* @__PURE__ */ jsx76(Box30, __spreadValues({ className: "creation-flow-card-actions" }, props));
5929
+ var DisappearingCardButtonContent = (props) => /* @__PURE__ */ jsx78(Box31, __spreadValues({ className: "creation-flow-card-actions" }, props));
5453
5930
 
5454
5931
  // src/components/Form/Stack.tsx
5455
5932
  import { Stack as OxygenStack } from "@mui/material";
5456
- import { jsx as jsx77 } from "react/jsx-runtime";
5933
+ import { jsx as jsx79 } from "react/jsx-runtime";
5457
5934
  var Stack2 = (props) => {
5458
- return /* @__PURE__ */ jsx77(OxygenStack, __spreadValues({ spacing: 2 }, props));
5935
+ return /* @__PURE__ */ jsx79(OxygenStack, __spreadValues({ spacing: 2 }, props));
5459
5936
  };
5460
5937
 
5461
5938
  // src/components/Form/Typography.tsx
5462
5939
  import { Typography as Typography18 } from "@mui/material";
5463
- import { jsx as jsx78 } from "react/jsx-runtime";
5940
+ import { jsx as jsx80 } from "react/jsx-runtime";
5464
5941
  var Header2 = (props) => {
5465
5942
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
5466
- return /* @__PURE__ */ jsx78(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "h4", children }));
5943
+ return /* @__PURE__ */ jsx80(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "h4", children }));
5467
5944
  };
5468
5945
  var Subheader = (props) => {
5469
5946
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
5470
- return /* @__PURE__ */ jsx78(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "h5", children }));
5947
+ return /* @__PURE__ */ jsx80(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "h5", children }));
5471
5948
  };
5472
5949
  var Body = (props) => {
5473
5950
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
5474
- return /* @__PURE__ */ jsx78(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "body2", children }));
5951
+ return /* @__PURE__ */ jsx80(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "body2", children }));
5475
5952
  };
5476
5953
 
5477
5954
  // src/components/Form/Section.tsx
5478
5955
  import { Card as Card3, CardContent as CardContent3, Stack as Stack3 } from "@mui/material";
5479
- import { jsx as jsx79 } from "react/jsx-runtime";
5956
+ import { jsx as jsx81 } from "react/jsx-runtime";
5480
5957
  var Section = ({ children }) => {
5481
- return /* @__PURE__ */ jsx79(Card3, { children: /* @__PURE__ */ jsx79(CardContent3, { children: /* @__PURE__ */ jsx79(Stack3, { direction: "column", spacing: 2, children }) }) });
5958
+ return /* @__PURE__ */ jsx81(Card3, { children: /* @__PURE__ */ jsx81(CardContent3, { children: /* @__PURE__ */ jsx81(Stack3, { direction: "column", spacing: 2, children }) }) });
5482
5959
  };
5483
5960
 
5484
5961
  // src/components/Form/Wizard.tsx
@@ -5492,28 +5969,28 @@ import {
5492
5969
  } from "@mui/material";
5493
5970
  import { styled as styled61 } from "@mui/material/styles";
5494
5971
  import { useMemo as useMemo5 } from "react";
5495
- import { jsx as jsx80, jsxs as jsxs29 } from "react/jsx-runtime";
5972
+ import { jsx as jsx82, jsxs as jsxs29 } from "react/jsx-runtime";
5496
5973
  var StyledWizardActionsStack = styled61(Stack2)(() => ({
5497
5974
  justifyContent: "space-between",
5498
5975
  flexGrow: 1
5499
5976
  }));
5500
5977
  function Wizard({ steps, activeStep, actions }) {
5501
5978
  const step = useMemo5(() => activeStep < steps.length ? steps[activeStep] : null, [steps, activeStep]);
5502
- return /* @__PURE__ */ jsx80(Card4, { children: /* @__PURE__ */ jsx80(CardContent4, { children: /* @__PURE__ */ jsxs29(Stack2, { children: [
5503
- /* @__PURE__ */ jsx80(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx80(Step, { children: /* @__PURE__ */ jsx80(StepLabel, { children: step2.label }) }, step2.label)) }),
5504
- /* @__PURE__ */ jsx80(Divider10, {}),
5505
- /* @__PURE__ */ jsx80(Stack2, { direction: "row", children: step == null ? void 0 : step.component }),
5506
- /* @__PURE__ */ jsx80(StyledWizardActionsStack, { direction: "row", children: actions })
5979
+ return /* @__PURE__ */ jsx82(Card4, { children: /* @__PURE__ */ jsx82(CardContent4, { children: /* @__PURE__ */ jsxs29(Stack2, { children: [
5980
+ /* @__PURE__ */ jsx82(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx82(Step, { children: /* @__PURE__ */ jsx82(StepLabel, { children: step2.label }) }, step2.label)) }),
5981
+ /* @__PURE__ */ jsx82(Divider10, {}),
5982
+ /* @__PURE__ */ jsx82(Stack2, { direction: "row", children: step == null ? void 0 : step.component }),
5983
+ /* @__PURE__ */ jsx82(StyledWizardActionsStack, { direction: "row", children: actions })
5507
5984
  ] }) }) });
5508
5985
  }
5509
5986
 
5510
5987
  // src/components/Form/ElementWrapper.tsx
5511
5988
  import { FormControl as FormControl3, FormLabel } from "@mui/material";
5512
- import { jsx as jsx81, jsxs as jsxs30 } from "react/jsx-runtime";
5989
+ import { jsx as jsx83, jsxs as jsxs30 } from "react/jsx-runtime";
5513
5990
  var ElementWrapper = (props) => {
5514
5991
  const { label, name, children } = props;
5515
5992
  return /* @__PURE__ */ jsxs30(FormControl3, { fullWidth: true, children: [
5516
- /* @__PURE__ */ jsx81(FormLabel, { htmlFor: name, children: label }),
5993
+ /* @__PURE__ */ jsx83(FormLabel, { htmlFor: name, children: label }),
5517
5994
  children
5518
5995
  ] });
5519
5996
  };
@@ -5538,15 +6015,15 @@ var Form = {
5538
6015
 
5539
6016
  // src/components/AppShell/AppShell.tsx
5540
6017
  import * as React31 from "react";
5541
- import Box35 from "@mui/material/Box";
6018
+ import Box36 from "@mui/material/Box";
5542
6019
 
5543
6020
  // src/layouts/Layout.tsx
5544
- import Box31 from "@mui/material/Box";
5545
- import { jsx as jsx82 } from "react/jsx-runtime";
6021
+ import Box32 from "@mui/material/Box";
6022
+ import { jsx as jsx84 } from "react/jsx-runtime";
5546
6023
  function Layout(_a) {
5547
6024
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
5548
- return /* @__PURE__ */ jsx82(
5549
- Box31,
6025
+ return /* @__PURE__ */ jsx84(
6026
+ Box32,
5550
6027
  __spreadProps(__spreadValues({
5551
6028
  sx: __spreadValues({
5552
6029
  display: "flex",
@@ -5561,12 +6038,12 @@ Layout.displayName = "Layout";
5561
6038
  var Layout_default = Layout;
5562
6039
 
5563
6040
  // src/layouts/LayoutSidebar.tsx
5564
- import Box32 from "@mui/material/Box";
5565
- import { jsx as jsx83 } from "react/jsx-runtime";
6041
+ import Box33 from "@mui/material/Box";
6042
+ import { jsx as jsx85 } from "react/jsx-runtime";
5566
6043
  function LayoutSidebar(_a) {
5567
6044
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
5568
- return /* @__PURE__ */ jsx83(
5569
- Box32,
6045
+ return /* @__PURE__ */ jsx85(
6046
+ Box33,
5570
6047
  __spreadProps(__spreadValues({
5571
6048
  sx: __spreadValues({
5572
6049
  display: "flex",
@@ -5588,12 +6065,12 @@ LayoutNavbar.displayName = "Layout.Navbar";
5588
6065
  var LayoutNavbar_default = LayoutNavbar;
5589
6066
 
5590
6067
  // src/layouts/LayoutContent.tsx
5591
- import Box33 from "@mui/material/Box";
5592
- import { jsx as jsx84 } from "react/jsx-runtime";
6068
+ import Box34 from "@mui/material/Box";
6069
+ import { jsx as jsx86 } from "react/jsx-runtime";
5593
6070
  function LayoutContent(_a) {
5594
6071
  var _b = _a, { children = null } = _b, rest = __objRest(_b, ["children"]);
5595
- return /* @__PURE__ */ jsx84(
5596
- Box33,
6072
+ return /* @__PURE__ */ jsx86(
6073
+ Box34,
5597
6074
  __spreadProps(__spreadValues({
5598
6075
  component: "main",
5599
6076
  sx: {
@@ -5611,12 +6088,12 @@ LayoutContent.displayName = "Layout.Content";
5611
6088
  var LayoutContent_default = LayoutContent;
5612
6089
 
5613
6090
  // src/layouts/LayoutHeader.tsx
5614
- import Box34 from "@mui/material/Box";
5615
- import { jsx as jsx85 } from "react/jsx-runtime";
6091
+ import Box35 from "@mui/material/Box";
6092
+ import { jsx as jsx87 } from "react/jsx-runtime";
5616
6093
  function LayoutHeader(_a) {
5617
6094
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
5618
- return /* @__PURE__ */ jsx85(
5619
- Box34,
6095
+ return /* @__PURE__ */ jsx87(
6096
+ Box35,
5620
6097
  __spreadProps(__spreadValues({
5621
6098
  sx: __spreadValues({
5622
6099
  display: "flex"
@@ -5639,37 +6116,37 @@ var Layout2 = Object.assign(Layout_default, {
5639
6116
  var layouts_default = Layout2;
5640
6117
 
5641
6118
  // src/components/AppShell/AppShellNavbar.tsx
5642
- import { Fragment as Fragment10, jsx as jsx86 } from "react/jsx-runtime";
6119
+ import { Fragment as Fragment10, jsx as jsx88 } from "react/jsx-runtime";
5643
6120
  var AppShellNavbar = ({ children }) => {
5644
- return /* @__PURE__ */ jsx86(Fragment10, { children });
6121
+ return /* @__PURE__ */ jsx88(Fragment10, { children });
5645
6122
  };
5646
6123
  AppShellNavbar.displayName = "AppShellNavbar";
5647
6124
 
5648
6125
  // src/components/AppShell/AppShellSidebar.tsx
5649
- import { Fragment as Fragment11, jsx as jsx87 } from "react/jsx-runtime";
6126
+ import { Fragment as Fragment11, jsx as jsx89 } from "react/jsx-runtime";
5650
6127
  var AppShellSidebar = ({ children }) => {
5651
- return /* @__PURE__ */ jsx87(Fragment11, { children });
6128
+ return /* @__PURE__ */ jsx89(Fragment11, { children });
5652
6129
  };
5653
6130
  AppShellSidebar.displayName = "AppShellSidebar";
5654
6131
 
5655
6132
  // src/components/AppShell/AppShellMain.tsx
5656
- import { Fragment as Fragment12, jsx as jsx88 } from "react/jsx-runtime";
6133
+ import { Fragment as Fragment12, jsx as jsx90 } from "react/jsx-runtime";
5657
6134
  var AppShellMain = ({ children }) => {
5658
- return /* @__PURE__ */ jsx88(Fragment12, { children });
6135
+ return /* @__PURE__ */ jsx90(Fragment12, { children });
5659
6136
  };
5660
6137
  AppShellMain.displayName = "AppShellMain";
5661
6138
 
5662
6139
  // src/components/AppShell/AppShellFooter.tsx
5663
- import { Fragment as Fragment13, jsx as jsx89 } from "react/jsx-runtime";
6140
+ import { Fragment as Fragment13, jsx as jsx91 } from "react/jsx-runtime";
5664
6141
  var AppShellFooter = ({ children }) => {
5665
- return /* @__PURE__ */ jsx89(Fragment13, { children });
6142
+ return /* @__PURE__ */ jsx91(Fragment13, { children });
5666
6143
  };
5667
6144
  AppShellFooter.displayName = "AppShellFooter";
5668
6145
 
5669
6146
  // src/components/AppShell/AppShellNotificationPanel.tsx
5670
- import { Fragment as Fragment14, jsx as jsx90 } from "react/jsx-runtime";
6147
+ import { Fragment as Fragment14, jsx as jsx92 } from "react/jsx-runtime";
5671
6148
  var AppShellNotificationPanel = ({ children }) => {
5672
- return /* @__PURE__ */ jsx90(Fragment14, { children });
6149
+ return /* @__PURE__ */ jsx92(Fragment14, { children });
5673
6150
  };
5674
6151
  AppShellNotificationPanel.displayName = "AppShellNotificationPanel";
5675
6152
 
@@ -5773,7 +6250,7 @@ var useAppShell = (options) => {
5773
6250
  };
5774
6251
 
5775
6252
  // src/components/AppShell/AppShell.tsx
5776
- import { jsx as jsx91, jsxs as jsxs31 } from "react/jsx-runtime";
6253
+ import { jsx as jsx93, jsxs as jsxs31 } from "react/jsx-runtime";
5777
6254
  var SLOT_DISPLAY_NAMES = {
5778
6255
  Navbar: "AppShellNavbar",
5779
6256
  Sidebar: "AppShellSidebar",
@@ -5823,12 +6300,12 @@ var AppShell = (_a) => {
5823
6300
  var _b = _a, { children, sx } = _b, shellOptions = __objRest(_b, ["children", "sx"]);
5824
6301
  const shell = useAppShell(shellOptions);
5825
6302
  const slots = extractSlots(children);
5826
- return /* @__PURE__ */ jsx91(AppShellContext.Provider, { value: shell, children: /* @__PURE__ */ jsxs31(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
5827
- slots.navbar && /* @__PURE__ */ jsx91(layouts_default.Navbar, { children: slots.navbar }),
6303
+ return /* @__PURE__ */ jsx93(AppShellContext.Provider, { value: shell, children: /* @__PURE__ */ jsxs31(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
6304
+ slots.navbar && /* @__PURE__ */ jsx93(layouts_default.Navbar, { children: slots.navbar }),
5828
6305
  /* @__PURE__ */ jsxs31(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
5829
- slots.sidebar && /* @__PURE__ */ jsx91(layouts_default.Sidebar, { children: slots.sidebar }),
6306
+ slots.sidebar && /* @__PURE__ */ jsx93(layouts_default.Sidebar, { children: slots.sidebar }),
5830
6307
  /* @__PURE__ */ jsxs31(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column", overflow: "auto" }, children: [
5831
- /* @__PURE__ */ jsx91(Box35, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
6308
+ /* @__PURE__ */ jsx93(Box36, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
5832
6309
  slots.footer
5833
6310
  ] })
5834
6311
  ] }),
@@ -5856,7 +6333,7 @@ var densityStyles = {
5856
6333
  // src/components/ListingTable/ListingTable/ListingTableContainer.tsx
5857
6334
  import MuiTableContainer from "@mui/material/TableContainer";
5858
6335
  import Paper from "@mui/material/Paper";
5859
- import { jsx as jsx92 } from "react/jsx-runtime";
6336
+ import { jsx as jsx94 } from "react/jsx-runtime";
5860
6337
  function ListingTableContainer(_a) {
5861
6338
  var _b = _a, {
5862
6339
  elevation = 1,
@@ -5868,16 +6345,16 @@ function ListingTableContainer(_a) {
5868
6345
  "children"
5869
6346
  ]);
5870
6347
  if (disablePaper) {
5871
- return /* @__PURE__ */ jsx92(MuiTableContainer, __spreadProps(__spreadValues({ sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
6348
+ return /* @__PURE__ */ jsx94(MuiTableContainer, __spreadProps(__spreadValues({ sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
5872
6349
  }
5873
- return /* @__PURE__ */ jsx92(MuiTableContainer, __spreadProps(__spreadValues({ component: Paper, elevation, sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
6350
+ return /* @__PURE__ */ jsx94(MuiTableContainer, __spreadProps(__spreadValues({ component: Paper, elevation, sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
5874
6351
  }
5875
6352
  var ListingTableContainer_default = ListingTableContainer;
5876
6353
 
5877
6354
  // src/components/ListingTable/ListingTable/ListingTableHead.tsx
5878
6355
  import MuiTableHead from "@mui/material/TableHead";
5879
6356
  import { styled as styled62 } from "@mui/material/styles";
5880
- import { jsx as jsx93 } from "react/jsx-runtime";
6357
+ import { jsx as jsx95 } from "react/jsx-runtime";
5881
6358
  var StyledTableHead = styled62(MuiTableHead)(({ theme }) => ({
5882
6359
  "& .MuiTableCell-head": __spreadValues(__spreadValues({
5883
6360
  fontWeight: 600
@@ -5889,32 +6366,32 @@ var StyledTableHead = styled62(MuiTableHead)(({ theme }) => ({
5889
6366
  }));
5890
6367
  function ListingTableHead(_a) {
5891
6368
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
5892
- return /* @__PURE__ */ jsx93(StyledTableHead, __spreadProps(__spreadValues({}, props), { children }));
6369
+ return /* @__PURE__ */ jsx95(StyledTableHead, __spreadProps(__spreadValues({}, props), { children }));
5893
6370
  }
5894
6371
  var ListingTableHead_default = ListingTableHead;
5895
6372
 
5896
6373
  // src/components/ListingTable/ListingTable/ListingTableBody.tsx
5897
6374
  import MuiTableBody from "@mui/material/TableBody";
5898
- import { jsx as jsx94 } from "react/jsx-runtime";
6375
+ import { jsx as jsx96 } from "react/jsx-runtime";
5899
6376
  function ListingTableBody(_a) {
5900
6377
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
5901
- return /* @__PURE__ */ jsx94(MuiTableBody, __spreadProps(__spreadValues({}, props), { children }));
6378
+ return /* @__PURE__ */ jsx96(MuiTableBody, __spreadProps(__spreadValues({}, props), { children }));
5902
6379
  }
5903
6380
  var ListingTableBody_default = ListingTableBody;
5904
6381
 
5905
6382
  // src/components/ListingTable/ListingTable/ListingTableFooter.tsx
5906
6383
  import MuiTableFooter from "@mui/material/TableFooter";
5907
- import { jsx as jsx95 } from "react/jsx-runtime";
6384
+ import { jsx as jsx97 } from "react/jsx-runtime";
5908
6385
  function ListingTableFooter(_a) {
5909
6386
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
5910
- return /* @__PURE__ */ jsx95(MuiTableFooter, __spreadProps(__spreadValues({}, props), { children }));
6387
+ return /* @__PURE__ */ jsx97(MuiTableFooter, __spreadProps(__spreadValues({}, props), { children }));
5911
6388
  }
5912
6389
  var ListingTableFooter_default = ListingTableFooter;
5913
6390
 
5914
6391
  // src/components/ListingTable/ListingTable/ListingTableRow.tsx
5915
6392
  import MuiTableRow from "@mui/material/TableRow";
5916
6393
  import { styled as styled63, alpha } from "@mui/material/styles";
5917
- import { jsx as jsx96 } from "react/jsx-runtime";
6394
+ import { jsx as jsx98 } from "react/jsx-runtime";
5918
6395
  var StyledTableRow = styled63(MuiTableRow, {
5919
6396
  shouldForwardProp: (prop) => !["clickable", "variant"].includes(prop)
5920
6397
  })(({ theme: muiTheme, clickable, variant = "table" }) => {
@@ -5973,14 +6450,14 @@ function ListingTableRow(_a) {
5973
6450
  "variant",
5974
6451
  "children"
5975
6452
  ]);
5976
- return /* @__PURE__ */ jsx96(StyledTableRow, __spreadProps(__spreadValues({ clickable, variant }, props), { children }));
6453
+ return /* @__PURE__ */ jsx98(StyledTableRow, __spreadProps(__spreadValues({ clickable, variant }, props), { children }));
5977
6454
  }
5978
6455
  var ListingTableRow_default = ListingTableRow;
5979
6456
 
5980
6457
  // src/components/ListingTable/ListingTable/ListingTableCell.tsx
5981
6458
  import MuiTableCell from "@mui/material/TableCell";
5982
6459
  import { styled as styled64 } from "@mui/material/styles";
5983
- import { jsx as jsx97 } from "react/jsx-runtime";
6460
+ import { jsx as jsx99 } from "react/jsx-runtime";
5984
6461
  var StyledTableCell = styled64(MuiTableCell, {
5985
6462
  shouldForwardProp: (prop) => {
5986
6463
  const excludedProps = ["truncate", "maxWidth"];
@@ -6003,7 +6480,7 @@ function ListingTableCell(_a) {
6003
6480
  "maxWidth",
6004
6481
  "children"
6005
6482
  ]);
6006
- return /* @__PURE__ */ jsx97(StyledTableCell, __spreadProps(__spreadValues({ truncate, maxWidth }, props), { children }));
6483
+ return /* @__PURE__ */ jsx99(StyledTableCell, __spreadProps(__spreadValues({ truncate, maxWidth }, props), { children }));
6007
6484
  }
6008
6485
  var ListingTableCell_default = ListingTableCell;
6009
6486
 
@@ -6030,7 +6507,7 @@ var useListingTableRequired = () => {
6030
6507
  };
6031
6508
 
6032
6509
  // src/components/ListingTable/ListingTable/ListingTableDataGrid.tsx
6033
- import { jsx as jsx98 } from "react/jsx-runtime";
6510
+ import { jsx as jsx100 } from "react/jsx-runtime";
6034
6511
  var StyledDataGrid = styled65(DataGrid)(({ theme }) => ({
6035
6512
  // Remove outer border for seamless integration within ListingTable.Container
6036
6513
  border: "none",
@@ -6183,7 +6660,7 @@ function ListingTableDataGrid(_a) {
6183
6660
  "& .MuiDataGrid-cell": { padding: cellPadding }
6184
6661
  };
6185
6662
  const mergedSx = variant === "card" ? [cardSx, densitySx, ...Array.isArray(sx) ? sx : [sx]] : [densitySx, ...Array.isArray(sx) ? sx : [sx]];
6186
- return /* @__PURE__ */ jsx98(
6663
+ return /* @__PURE__ */ jsx100(
6187
6664
  StyledDataGrid,
6188
6665
  __spreadValues({
6189
6666
  density,
@@ -6199,12 +6676,12 @@ var ListingTableDataGrid_default = ListingTableDataGrid;
6199
6676
 
6200
6677
  // src/components/ListingTable/shared/ListingTableToolbar.tsx
6201
6678
  import { useState as useState7, useCallback as useCallback3 } from "react";
6202
- import Box36 from "@mui/material/Box";
6679
+ import Box37 from "@mui/material/Box";
6203
6680
  import TextField3 from "@mui/material/TextField";
6204
6681
  import InputAdornment3 from "@mui/material/InputAdornment";
6205
6682
  import IconButton7 from "@mui/material/IconButton";
6206
- import { Search as Search3, X as X4 } from "@wso2/oxygen-ui-icons-react";
6207
- import { Fragment as Fragment15, jsx as jsx99, jsxs as jsxs32 } from "react/jsx-runtime";
6683
+ import { Search as Search2, X as X4 } from "@wso2/oxygen-ui-icons-react";
6684
+ import { Fragment as Fragment15, jsx as jsx101, jsxs as jsxs32 } from "react/jsx-runtime";
6208
6685
  function ListingTableToolbar({
6209
6686
  showSearch = false,
6210
6687
  searchSlot,
@@ -6245,7 +6722,7 @@ function ListingTableToolbar({
6245
6722
  return searchSlot;
6246
6723
  }
6247
6724
  if (showSearch) {
6248
- return /* @__PURE__ */ jsx99(
6725
+ return /* @__PURE__ */ jsx101(
6249
6726
  TextField3,
6250
6727
  {
6251
6728
  size: "small",
@@ -6257,8 +6734,8 @@ function ListingTableToolbar({
6257
6734
  maxWidth: searchMaxWidth
6258
6735
  },
6259
6736
  InputProps: {
6260
- startAdornment: /* @__PURE__ */ jsx99(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx99(Search3, { size: 18 }) }),
6261
- endAdornment: searchValue ? /* @__PURE__ */ jsx99(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx99(IconButton7, { size: "small", onClick: handleClearSearch, edge: "end", children: /* @__PURE__ */ jsx99(X4, { size: 16 }) }) }) : null
6737
+ startAdornment: /* @__PURE__ */ jsx101(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx101(Search2, { size: 18 }) }),
6738
+ endAdornment: searchValue ? /* @__PURE__ */ jsx101(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx101(IconButton7, { size: "small", onClick: handleClearSearch, edge: "end", children: /* @__PURE__ */ jsx101(X4, { size: 16 }) }) }) : null
6262
6739
  }
6263
6740
  }
6264
6741
  );
@@ -6266,7 +6743,7 @@ function ListingTableToolbar({
6266
6743
  return null;
6267
6744
  };
6268
6745
  return /* @__PURE__ */ jsxs32(
6269
- Box36,
6746
+ Box37,
6270
6747
  {
6271
6748
  sx: __spreadValues({
6272
6749
  display: "flex",
@@ -6280,8 +6757,8 @@ function ListingTableToolbar({
6280
6757
  renderSearch(),
6281
6758
  children,
6282
6759
  actions && /* @__PURE__ */ jsxs32(Fragment15, { children: [
6283
- /* @__PURE__ */ jsx99(Box36, { sx: { flex: 1 } }),
6284
- /* @__PURE__ */ jsx99(Box36, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
6760
+ /* @__PURE__ */ jsx101(Box37, { sx: { flex: 1 } }),
6761
+ /* @__PURE__ */ jsx101(Box37, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
6285
6762
  ] })
6286
6763
  ]
6287
6764
  }
@@ -6290,9 +6767,9 @@ function ListingTableToolbar({
6290
6767
  var ListingTableToolbar_default = ListingTableToolbar;
6291
6768
 
6292
6769
  // src/components/ListingTable/shared/ListingTableEmptyState.tsx
6293
- import Box37 from "@mui/material/Box";
6770
+ import Box38 from "@mui/material/Box";
6294
6771
  import Typography19 from "@mui/material/Typography";
6295
- import { jsx as jsx100, jsxs as jsxs33 } from "react/jsx-runtime";
6772
+ import { jsx as jsx102, jsxs as jsxs33 } from "react/jsx-runtime";
6296
6773
  function ListingTableEmptyState({
6297
6774
  title = "No data available",
6298
6775
  description,
@@ -6302,7 +6779,7 @@ function ListingTableEmptyState({
6302
6779
  sx
6303
6780
  }) {
6304
6781
  return /* @__PURE__ */ jsxs33(
6305
- Box37,
6782
+ Box38,
6306
6783
  {
6307
6784
  sx: __spreadValues({
6308
6785
  display: "flex",
@@ -6314,8 +6791,8 @@ function ListingTableEmptyState({
6314
6791
  textAlign: "center"
6315
6792
  }, sx),
6316
6793
  children: [
6317
- illustration && /* @__PURE__ */ jsx100(
6318
- Box37,
6794
+ illustration && /* @__PURE__ */ jsx102(
6795
+ Box38,
6319
6796
  {
6320
6797
  sx: {
6321
6798
  mb: 2,
@@ -6328,9 +6805,9 @@ function ListingTableEmptyState({
6328
6805
  children: illustration
6329
6806
  }
6330
6807
  ),
6331
- /* @__PURE__ */ jsx100(Typography19, { variant: "h6", component: "div", sx: { mb: description ? 1 : 0, fontWeight: 500 }, children: title }),
6332
- description && /* @__PURE__ */ jsx100(Typography19, { variant: "body2", color: "text.secondary", sx: { mb: action ? 2 : 0, maxWidth: 400 }, children: description }),
6333
- action && /* @__PURE__ */ jsx100(Box37, { children: action })
6808
+ /* @__PURE__ */ jsx102(Typography19, { variant: "h6", component: "div", sx: { mb: description ? 1 : 0, fontWeight: 500 }, children: title }),
6809
+ description && /* @__PURE__ */ jsx102(Typography19, { variant: "body2", color: "text.secondary", sx: { mb: action ? 2 : 0, maxWidth: 400 }, children: description }),
6810
+ action && /* @__PURE__ */ jsx102(Box38, { children: action })
6334
6811
  ]
6335
6812
  }
6336
6813
  );
@@ -6343,11 +6820,11 @@ import ToggleButton from "@mui/material/ToggleButton";
6343
6820
  import ToggleButtonGroup from "@mui/material/ToggleButtonGroup";
6344
6821
  import Tooltip6 from "@mui/material/Tooltip";
6345
6822
  import { AlignJustify, Menu as Menu3, List as List4 } from "@wso2/oxygen-ui-icons-react";
6346
- import { jsx as jsx101 } from "react/jsx-runtime";
6823
+ import { jsx as jsx103 } from "react/jsx-runtime";
6347
6824
  var densityOptions = [
6348
- { value: "compact", label: "Compact", icon: /* @__PURE__ */ jsx101(AlignJustify, { size: 18 }) },
6349
- { value: "standard", label: "Standard", icon: /* @__PURE__ */ jsx101(Menu3, { size: 18 }) },
6350
- { value: "comfortable", label: "Comfortable", icon: /* @__PURE__ */ jsx101(List4, { size: 18 }) }
6825
+ { value: "compact", label: "Compact", icon: /* @__PURE__ */ jsx103(AlignJustify, { size: 18 }) },
6826
+ { value: "standard", label: "Standard", icon: /* @__PURE__ */ jsx103(Menu3, { size: 18 }) },
6827
+ { value: "comfortable", label: "Comfortable", icon: /* @__PURE__ */ jsx103(List4, { size: 18 }) }
6351
6828
  ];
6352
6829
  function ListingTableDensityControl({
6353
6830
  value: valueProp,
@@ -6367,7 +6844,7 @@ function ListingTableDensityControl({
6367
6844
  },
6368
6845
  [effectiveOnChange]
6369
6846
  );
6370
- return /* @__PURE__ */ jsx101(ToggleButtonGroup, { value, exclusive: true, onChange: handleChange, size, sx, children: densityOptions.map((option) => /* @__PURE__ */ jsx101(ToggleButton, { value: option.value, children: /* @__PURE__ */ jsx101(Tooltip6, { title: option.label, children: /* @__PURE__ */ jsx101("span", { style: { display: "flex", alignItems: "center" }, children: option.icon }) }) }, option.value)) });
6847
+ return /* @__PURE__ */ jsx103(ToggleButtonGroup, { value, exclusive: true, onChange: handleChange, size, sx, children: densityOptions.map((option) => /* @__PURE__ */ jsx103(ToggleButton, { value: option.value, children: /* @__PURE__ */ jsx103(Tooltip6, { title: option.label, children: /* @__PURE__ */ jsx103("span", { style: { display: "flex", alignItems: "center" }, children: option.icon }) }) }, option.value)) });
6371
6848
  }
6372
6849
  var ListingTableDensityControl_default = ListingTableDensityControl;
6373
6850
 
@@ -6375,7 +6852,7 @@ var ListingTableDensityControl_default = ListingTableDensityControl;
6375
6852
  import { useCallback as useCallback5 } from "react";
6376
6853
  import MuiTableSortLabel from "@mui/material/TableSortLabel";
6377
6854
  import { styled as styled66 } from "@mui/material/styles";
6378
- import { jsx as jsx102 } from "react/jsx-runtime";
6855
+ import { jsx as jsx104 } from "react/jsx-runtime";
6379
6856
  var StyledTableSortLabel = styled66(MuiTableSortLabel)(({ theme }) => ({
6380
6857
  color: "inherit !important",
6381
6858
  "&.Mui-active": {
@@ -6419,13 +6896,13 @@ function ListingTableSortLabel(_a) {
6419
6896
  },
6420
6897
  [onClickProp, field, tableContext, active, direction]
6421
6898
  );
6422
- return /* @__PURE__ */ jsx102(StyledTableSortLabel, __spreadProps(__spreadValues({ active, direction, onClick: handleClick, hideSortIcon }, props), { children }));
6899
+ return /* @__PURE__ */ jsx104(StyledTableSortLabel, __spreadProps(__spreadValues({ active, direction, onClick: handleClick, hideSortIcon }, props), { children }));
6423
6900
  }
6424
6901
  var ListingTableSortLabel_default = ListingTableSortLabel;
6425
6902
 
6426
6903
  // src/components/ListingTable/shared/ListingTableRowActions.tsx
6427
- import Box38 from "@mui/material/Box";
6428
- import { jsx as jsx103 } from "react/jsx-runtime";
6904
+ import Box39 from "@mui/material/Box";
6905
+ import { jsx as jsx105 } from "react/jsx-runtime";
6429
6906
  var alignmentMap = {
6430
6907
  left: "flex-start",
6431
6908
  center: "center",
@@ -6437,8 +6914,8 @@ function ListingTableRowActions({
6437
6914
  align = "right",
6438
6915
  sx
6439
6916
  }) {
6440
- return /* @__PURE__ */ jsx103(
6441
- Box38,
6917
+ return /* @__PURE__ */ jsx105(
6918
+ Box39,
6442
6919
  {
6443
6920
  className: "table-row-actions",
6444
6921
  sx: __spreadValues(__spreadValues({
@@ -6461,9 +6938,9 @@ function ListingTableRowActions({
6461
6938
  var ListingTableRowActions_default = ListingTableRowActions;
6462
6939
 
6463
6940
  // src/components/ListingTable/shared/ListingTableCellIcon.tsx
6464
- import Box39 from "@mui/material/Box";
6941
+ import Box40 from "@mui/material/Box";
6465
6942
  import Typography20 from "@mui/material/Typography";
6466
- import { Fragment as Fragment16, jsx as jsx104, jsxs as jsxs34 } from "react/jsx-runtime";
6943
+ import { Fragment as Fragment16, jsx as jsx106, jsxs as jsxs34 } from "react/jsx-runtime";
6467
6944
  function ListingTableCellIcon({
6468
6945
  icon,
6469
6946
  primary,
@@ -6472,8 +6949,8 @@ function ListingTableCellIcon({
6472
6949
  iconSx,
6473
6950
  sx
6474
6951
  }) {
6475
- const iconElement = /* @__PURE__ */ jsx104(
6476
- Box39,
6952
+ const iconElement = /* @__PURE__ */ jsx106(
6953
+ Box40,
6477
6954
  {
6478
6955
  sx: __spreadValues({
6479
6956
  display: "flex",
@@ -6485,8 +6962,8 @@ function ListingTableCellIcon({
6485
6962
  children: icon
6486
6963
  }
6487
6964
  );
6488
- const textContent = /* @__PURE__ */ jsxs34(Box39, { sx: { minWidth: 0, flex: 1 }, children: [
6489
- /* @__PURE__ */ jsx104(
6965
+ const textContent = /* @__PURE__ */ jsxs34(Box40, { sx: { minWidth: 0, flex: 1 }, children: [
6966
+ /* @__PURE__ */ jsx106(
6490
6967
  Typography20,
6491
6968
  {
6492
6969
  variant: "body2",
@@ -6500,7 +6977,7 @@ function ListingTableCellIcon({
6500
6977
  children: primary
6501
6978
  }
6502
6979
  ),
6503
- secondary && /* @__PURE__ */ jsx104(
6980
+ secondary && /* @__PURE__ */ jsx106(
6504
6981
  Typography20,
6505
6982
  {
6506
6983
  variant: "caption",
@@ -6515,8 +6992,8 @@ function ListingTableCellIcon({
6515
6992
  }
6516
6993
  )
6517
6994
  ] });
6518
- return /* @__PURE__ */ jsx104(
6519
- Box39,
6995
+ return /* @__PURE__ */ jsx106(
6996
+ Box40,
6520
6997
  {
6521
6998
  sx: __spreadValues({
6522
6999
  display: "flex",
@@ -6538,7 +7015,7 @@ var ListingTableCellIcon_default = ListingTableCellIcon;
6538
7015
 
6539
7016
  // src/components/ListingTable/ListingTableProvider.tsx
6540
7017
  import { useMemo as useMemo7 } from "react";
6541
- import { jsx as jsx105 } from "react/jsx-runtime";
7018
+ import { jsx as jsx107 } from "react/jsx-runtime";
6542
7019
  function ListingTableProvider({
6543
7020
  children,
6544
7021
  // Search
@@ -6641,11 +7118,11 @@ function ListingTableProvider({
6641
7118
  loading
6642
7119
  ]
6643
7120
  );
6644
- return /* @__PURE__ */ jsx105(ListingTableContext.Provider, { value: contextValue, children });
7121
+ return /* @__PURE__ */ jsx107(ListingTableContext.Provider, { value: contextValue, children });
6645
7122
  }
6646
7123
 
6647
7124
  // src/components/ListingTable/ListingTable/ListingTable.tsx
6648
- import { jsx as jsx106 } from "react/jsx-runtime";
7125
+ import { jsx as jsx108 } from "react/jsx-runtime";
6649
7126
  var StyledTable = styled67(MuiTable, {
6650
7127
  shouldForwardProp: (prop) => {
6651
7128
  const excludedProps = ["variant", "density", "striped", "bordered"];
@@ -6699,7 +7176,7 @@ function ListingTable(_a) {
6699
7176
  "children",
6700
7177
  "sx"
6701
7178
  ]);
6702
- return /* @__PURE__ */ jsx106(
7179
+ return /* @__PURE__ */ jsx108(
6703
7180
  StyledTable,
6704
7181
  __spreadProps(__spreadValues({
6705
7182
  variant,
@@ -6733,7 +7210,7 @@ var ListingTable_default = ListingTableCompound;
6733
7210
  // src/animations/ParticleBackground/ParticleBackground.tsx
6734
7211
  import { useEffect as useEffect5, useRef } from "react";
6735
7212
  import { useColorScheme as useColorScheme3 } from "@mui/material/styles";
6736
- import { jsx as jsx107 } from "react/jsx-runtime";
7213
+ import { jsx as jsx109 } from "react/jsx-runtime";
6737
7214
  var ParticleBackground = ({
6738
7215
  opacity = 0.5,
6739
7216
  baseDensity = 0.12,
@@ -6918,7 +7395,7 @@ var ParticleBackground = ({
6918
7395
  cancelAnimationFrame(animationFrameId);
6919
7396
  };
6920
7397
  }, [baseDensity, maxSpeed, radius, linkDist, linkAlpha, mouseInfluence, repelStrength, clickBurst, mode]);
6921
- return /* @__PURE__ */ jsx107(
7398
+ return /* @__PURE__ */ jsx109(
6922
7399
  "canvas",
6923
7400
  {
6924
7401
  ref: canvasRef,
@@ -7002,6 +7479,7 @@ var useNotifications = (options = {}) => {
7002
7479
  };
7003
7480
 
7004
7481
  // src/index.ts
7482
+ init_utils();
7005
7483
  export * from "@mui/material";
7006
7484
  import * as colors from "@mui/material/colors";
7007
7485
  import * as DataGrid2 from "@mui/x-data-grid";
@@ -7018,6 +7496,7 @@ export {
7018
7496
  ClassicTheme_default as ClassicTheme,
7019
7497
  CodeBlock_default as CodeBlock,
7020
7498
  ColorSchemeImage,
7499
+ ColorSchemeSVG,
7021
7500
  ColorSchemeToggle,
7022
7501
  ColorSchemeToggle_default as ColorSchemeToggleDefault,
7023
7502
  ComplexSelect_default as ComplexSelect,
@@ -7049,7 +7528,9 @@ export {
7049
7528
  ThemeSwitcher,
7050
7529
  TreeView,
7051
7530
  UserMenu,
7531
+ WSO2Theme_default as WSO2Theme,
7052
7532
  colors,
7533
+ createOxygenTheme,
7053
7534
  formatRelativeTime,
7054
7535
  pxToRem,
7055
7536
  useAppShell,