@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260903063823 → 0.8.1-dev.20260905065929

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,11 +1,14 @@
1
1
  "use client";
2
2
 
3
+ import {
4
+ ServiceClient_default
5
+ } from "./chunk-TKDSRAM6.mjs";
3
6
  import {
4
7
  OdataBuilder
5
8
  } from "./chunk-RG3CISAA.mjs";
6
9
  import {
7
10
  InputControl_default
8
- } from "./chunk-Q3LFGHLM.mjs";
11
+ } from "./chunk-7JWVEYJY.mjs";
9
12
  import "./chunk-JDX47MFV.mjs";
10
13
  import {
11
14
  CheckboxInput_default,
@@ -25,10 +28,16 @@ import {
25
28
  Select_default,
26
29
  TimeInput_default
27
30
  } from "./chunk-5VGTT4A5.mjs";
31
+ import {
32
+ Button_default,
33
+ ClientButton_default,
34
+ ToastService_default
35
+ } from "./chunk-23WJE3YB.mjs";
28
36
  import {
29
37
  Hyperlink,
30
38
  Icon_default
31
39
  } from "./chunk-GCG4OYDJ.mjs";
40
+ import "./chunk-IMNQO57B.mjs";
32
41
  import {
33
42
  Constants,
34
43
  InputControlType_default
@@ -36,15 +45,6 @@ import {
36
45
  import {
37
46
  AssetUtility_default
38
47
  } from "./chunk-UPCAOGEY.mjs";
39
- import {
40
- ServiceClient_default
41
- } from "./chunk-TKDSRAM6.mjs";
42
- import {
43
- Button_default,
44
- ClientButton_default,
45
- ToastService_default
46
- } from "./chunk-23WJE3YB.mjs";
47
- import "./chunk-IMNQO57B.mjs";
48
48
 
49
49
  // src/components/controls/view/ViewControl.tsx
50
50
  import React14 from "react";
@@ -416,60 +416,14 @@ var CommentRenderer = dynamic5(() => import("./CommentRendererClient-52UOUQAD.mj
416
416
  var Commentrenderer_default = CommentRenderer;
417
417
 
418
418
  // src/components/controls/view/AvatarView.tsx
419
- import { jsx as jsx15 } from "react/jsx-runtime";
420
- var AVATAR_COLORS = [
421
- "bg-error-strong",
422
- "bg-accent-base",
423
- "bg-warning-base",
424
- "bg-success-base",
425
- "bg-info-base",
426
- "bg-primary-base",
427
- "bg-secondary-base"
428
- ];
429
- var getAvatarColor = (text) => {
430
- let hash = 0;
431
- for (let i = 0; i < text.length; i += 1) {
432
- hash = hash * 31 + text.charCodeAt(i) >>> 0;
433
- }
434
- return AVATAR_COLORS[hash % AVATAR_COLORS.length];
435
- };
436
- var getInitials = (text) => {
437
- const words = text.trim().split(/\s+/).filter(Boolean);
438
- if (words.length === 0) {
439
- return "?";
440
- }
441
- if (words.length === 1) {
442
- return words[0].slice(0, 2).toUpperCase();
443
- }
444
- return `${words[0][0]}${words[words.length - 1][0]}`.toUpperCase();
445
- };
446
- var AvatarView = (props) => {
447
- const text = props.value === null || props.value === void 0 ? "" : String(props.value).trim();
448
- if (!text) {
449
- return null;
450
- }
451
- const size = props.width ?? "1.75rem";
452
- return /* @__PURE__ */ jsx15(
453
- "span",
454
- {
455
- className: `avatar-view inline-flex flex-shrink-0 items-center justify-center rounded-full font-semibold uppercase select-none overflow-hidden ${getAvatarColor(text)}`,
456
- title: text,
457
- "aria-label": text,
458
- style: {
459
- width: size,
460
- height: size,
461
- fontSize: "0.6875rem",
462
- letterSpacing: "0.02em",
463
- lineHeight: 1
464
- },
465
- children: getInitials(text)
466
- }
467
- );
468
- };
419
+ import dynamic6 from "next/dynamic";
420
+ var AvatarView = dynamic6(() => import("./AvatarViewClient-4GOKYZYT.mjs"), {
421
+ ssr: false
422
+ });
469
423
  var AvatarView_default = AvatarView;
470
424
 
471
425
  // src/components/controls/view/ViewControl.tsx
472
- import { jsx as jsx16 } from "react/jsx-runtime";
426
+ import { jsx as jsx15 } from "react/jsx-runtime";
473
427
  var ViewControl = (props) => {
474
428
  const ControlComponents = {
475
429
  [ViewControlTypes_default.lineText]: LineTextView_default,
@@ -501,7 +455,7 @@ var ViewControl = (props) => {
501
455
  [ViewControlTypes_default.avatar]: AvatarView_default
502
456
  };
503
457
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
504
- return /* @__PURE__ */ jsx16(React14.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx16(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
458
+ return /* @__PURE__ */ jsx15(React14.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx15(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
505
459
  };
506
460
  var ViewControl_default = ViewControl;
507
461
 
@@ -512,7 +466,7 @@ import React24 from "react";
512
466
  import React16 from "react";
513
467
 
514
468
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
515
- import { jsx as jsx17, jsxs as jsxs6 } from "react/jsx-runtime";
469
+ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
516
470
  var TextNode = (props) => {
517
471
  function cssStringToJson(cssString) {
518
472
  const styleObject = {};
@@ -569,24 +523,24 @@ var TextNode = (props) => {
569
523
  function renderWithLineBreaks(text) {
570
524
  return text.split("\n").map((line, index, arr) => /* @__PURE__ */ jsxs6("span", { children: [
571
525
  line,
572
- index < arr.length - 1 && /* @__PURE__ */ jsx17("br", {})
526
+ index < arr.length - 1 && /* @__PURE__ */ jsx16("br", {})
573
527
  ] }, index));
574
528
  }
575
529
  const displayText = props.linkText ? props.linkText : props.node.text;
576
530
  const finalText = props.dataitem && props.linkText ? displayText : props.dataitem ? replacePlaceholders(props.node.text, props.dataitem) : props.node.text;
577
531
  const content = typeof finalText === "string" ? renderWithLineBreaks(finalText) : finalText;
578
- const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx17("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx17("sub", { children: content }) : content;
532
+ const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx16("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx16("sub", { children: content }) : content;
579
533
  return (
580
534
  // @ts-expect-error custom code
581
- /* @__PURE__ */ jsx17("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
535
+ /* @__PURE__ */ jsx16("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
582
536
  );
583
537
  };
584
538
  var TextNode_default = TextNode;
585
539
 
586
540
  // src/components/pageRenderingEngine/nodes/LineBreakNode.tsx
587
- import { jsx as jsx18 } from "react/jsx-runtime";
541
+ import { jsx as jsx17 } from "react/jsx-runtime";
588
542
  var LineBreakNode = () => {
589
- return /* @__PURE__ */ jsx18("div", { className: "py-0.5 lg:py-1.5" });
543
+ return /* @__PURE__ */ jsx17("div", { className: "py-0.5 lg:py-1.5" });
590
544
  };
591
545
  var LineBreakNode_default = LineBreakNode;
592
546
 
@@ -594,9 +548,9 @@ var LineBreakNode_default = LineBreakNode;
594
548
  import React15 from "react";
595
549
 
596
550
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
597
- import dynamic6 from "next/dynamic";
598
- import { jsx as jsx19 } from "react/jsx-runtime";
599
- var HlsPlayer2 = dynamic6(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
551
+ import dynamic7 from "next/dynamic";
552
+ import { jsx as jsx18 } from "react/jsx-runtime";
553
+ var HlsPlayer2 = dynamic7(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
600
554
  var getNestedValue = (obj, path) => {
601
555
  if (!obj || !path) return void 0;
602
556
  return path.split(".").reduce((current, key) => {
@@ -628,7 +582,7 @@ var ImageNode = (props) => {
628
582
  assets = [image];
629
583
  }
630
584
  if (assets && assets.length > 0) {
631
- return /* @__PURE__ */ jsx19(
585
+ return /* @__PURE__ */ jsx18(
632
586
  DeviceAssetSelector_default,
633
587
  {
634
588
  device: props.device,
@@ -669,7 +623,7 @@ var ImageNode = (props) => {
669
623
  right: "justify-end"
670
624
  };
671
625
  const isHls = imageUrl.endsWith(".m3u8");
672
- const renderMedia = () => isHls ? /* @__PURE__ */ jsx19(
626
+ const renderMedia = () => isHls ? /* @__PURE__ */ jsx18(
673
627
  HlsPlayer2,
674
628
  {
675
629
  assetUrl: imageUrl,
@@ -682,7 +636,7 @@ var ImageNode = (props) => {
682
636
  apiBaseUrl: props.apiBaseUrl,
683
637
  session: props.session
684
638
  }
685
- ) : /* @__PURE__ */ jsx19(
639
+ ) : /* @__PURE__ */ jsx18(
686
640
  "img",
687
641
  {
688
642
  style: styles,
@@ -695,16 +649,16 @@ var ImageNode = (props) => {
695
649
  }
696
650
  );
697
651
  if (props.node.width) {
698
- return /* @__PURE__ */ jsx19("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
652
+ return /* @__PURE__ */ jsx18("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
699
653
  }
700
654
  return renderMedia();
701
655
  };
702
656
  var ImageNode_default = ImageNode;
703
657
 
704
658
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
705
- import dynamic7 from "next/dynamic";
706
- import { Fragment, jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
707
- var LinkNodeButton = dynamic7(() => import("./LinkNodeButton-X75YEE2O.mjs"), {
659
+ import dynamic8 from "next/dynamic";
660
+ import { Fragment, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
661
+ var LinkNodeButton = dynamic8(() => import("./LinkNodeButton-X75YEE2O.mjs"), {
708
662
  ssr: false
709
663
  });
710
664
  function getNestedValue2(obj, path) {
@@ -756,13 +710,13 @@ var LinkNode = (props) => {
756
710
  const isButton = node.isButton === true;
757
711
  const renderChildren = () => {
758
712
  if (!node.children || node.children.length === 0) return null;
759
- return /* @__PURE__ */ jsx20(Fragment, { children: node.children.map((childNode, index) => {
713
+ return /* @__PURE__ */ jsx19(Fragment, { children: node.children.map((childNode, index) => {
760
714
  const SelectedNode = NodeTypes2[childNode.type];
761
715
  if (!SelectedNode) {
762
716
  console.warn("Unknown node type:", childNode.type);
763
717
  return null;
764
718
  }
765
- return /* @__PURE__ */ jsx20(React15.Fragment, { children: /* @__PURE__ */ jsx20(
719
+ return /* @__PURE__ */ jsx19(React15.Fragment, { children: /* @__PURE__ */ jsx19(
766
720
  SelectedNode,
767
721
  {
768
722
  node: childNode,
@@ -775,10 +729,10 @@ var LinkNode = (props) => {
775
729
  };
776
730
  const renderFallback = () => {
777
731
  if ((!node.children || node.children.length === 0) && linkText) {
778
- return /* @__PURE__ */ jsx20("span", { children: linkText });
732
+ return /* @__PURE__ */ jsx19("span", { children: linkText });
779
733
  }
780
734
  if ((!node.children || node.children.length === 0) && !linkText) {
781
- return /* @__PURE__ */ jsx20("br", {});
735
+ return /* @__PURE__ */ jsx19("br", {});
782
736
  }
783
737
  return null;
784
738
  };
@@ -817,10 +771,10 @@ var LinkNode = (props) => {
817
771
  var LinkNode_default = LinkNode;
818
772
 
819
773
  // src/components/pageRenderingEngine/nodes/SVGIconNode.tsx
820
- import { jsx as jsx21 } from "react/jsx-runtime";
774
+ import { jsx as jsx20 } from "react/jsx-runtime";
821
775
  var SVGIconNode = ({ node }) => {
822
776
  if (!node?.svgCode) return null;
823
- return /* @__PURE__ */ jsx21(
777
+ return /* @__PURE__ */ jsx20(
824
778
  "span",
825
779
  {
826
780
  style: {
@@ -837,7 +791,7 @@ var SVGIconNode_default = SVGIconNode;
837
791
 
838
792
  // src/components/pageRenderingEngine/nodes/EquationNode.tsx
839
793
  import katex from "katex";
840
- import { jsx as jsx22 } from "react/jsx-runtime";
794
+ import { jsx as jsx21 } from "react/jsx-runtime";
841
795
  var EquationNode = ({ node }) => {
842
796
  const { equation, inline } = node;
843
797
  let html = "";
@@ -852,7 +806,7 @@ var EquationNode = ({ node }) => {
852
806
  });
853
807
  }
854
808
  if (inline) {
855
- return /* @__PURE__ */ jsx22(
809
+ return /* @__PURE__ */ jsx21(
856
810
  "span",
857
811
  {
858
812
  className: "katex-inline",
@@ -860,7 +814,7 @@ var EquationNode = ({ node }) => {
860
814
  }
861
815
  );
862
816
  }
863
- return /* @__PURE__ */ jsx22(
817
+ return /* @__PURE__ */ jsx21(
864
818
  "div",
865
819
  {
866
820
  className: "katex-block my-3 text-center",
@@ -871,7 +825,7 @@ var EquationNode = ({ node }) => {
871
825
  var EquationNode_default = EquationNode;
872
826
 
873
827
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
874
- import { jsx as jsx23 } from "react/jsx-runtime";
828
+ import { jsx as jsx22 } from "react/jsx-runtime";
875
829
  function getNestedProperty(obj, path) {
876
830
  if (!obj || !path) return null;
877
831
  if (path.includes(".")) {
@@ -884,7 +838,7 @@ function getNestedProperty(obj, path) {
884
838
  }
885
839
  const value = obj[path];
886
840
  if (Array.isArray(value)) {
887
- return value.map((item, index) => /* @__PURE__ */ jsx23("div", { children: String(item) }, index));
841
+ return value.map((item, index) => /* @__PURE__ */ jsx22("div", { children: String(item) }, index));
888
842
  }
889
843
  return value;
890
844
  }
@@ -947,7 +901,7 @@ var DatafieldNode = (props) => {
947
901
  const dataType = props.node.dataType;
948
902
  if (isEmptyValue) return null;
949
903
  if (dataType === "rawContent") {
950
- return /* @__PURE__ */ jsx23(
904
+ return /* @__PURE__ */ jsx22(
951
905
  PageBodyRenderer_default,
952
906
  {
953
907
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -963,13 +917,13 @@ var DatafieldNode = (props) => {
963
917
  }
964
918
  );
965
919
  }
966
- return /* @__PURE__ */ jsx23(
920
+ return /* @__PURE__ */ jsx22(
967
921
  "span",
968
922
  {
969
923
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
970
924
  style: styles,
971
925
  title,
972
- children: /* @__PURE__ */ jsx23(
926
+ children: /* @__PURE__ */ jsx22(
973
927
  ViewControl_default,
974
928
  {
975
929
  controlType: dataType,
@@ -984,7 +938,7 @@ var DatafieldNode = (props) => {
984
938
  var DatafieldNode_default = DatafieldNode;
985
939
 
986
940
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
987
- import { Fragment as Fragment2, jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
941
+ import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
988
942
  var ParagraphNode = (props) => {
989
943
  const NodeTypes2 = {
990
944
  ["text"]: TextNode_default,
@@ -1004,9 +958,9 @@ var ParagraphNode = (props) => {
1004
958
  const isInlineOnlyParent = props.parentTag === "summary";
1005
959
  const hasChildren = props.node.children && props.node.children.length > 0;
1006
960
  if (isInlineOnlyParent) {
1007
- return /* @__PURE__ */ jsx24(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
961
+ return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
1008
962
  const SelectedNode = NodeTypes2[node.type];
1009
- return /* @__PURE__ */ jsx24(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
963
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1010
964
  SelectedNode,
1011
965
  {
1012
966
  node,
@@ -1022,7 +976,7 @@ var ParagraphNode = (props) => {
1022
976
  return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
1023
977
  hasChildren && props.node.children.map((node, index) => {
1024
978
  const SelectedNode = NodeTypes2[node.type];
1025
- return /* @__PURE__ */ jsx24(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
979
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1026
980
  SelectedNode,
1027
981
  {
1028
982
  node,
@@ -1034,14 +988,14 @@ var ParagraphNode = (props) => {
1034
988
  }
1035
989
  ) }, index);
1036
990
  }),
1037
- !hasChildren && /* @__PURE__ */ jsx24("div", { className: "py-1.5 lg:py-2" })
991
+ !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
1038
992
  ] });
1039
993
  };
1040
994
  var ParagraphNode_default = ParagraphNode;
1041
995
 
1042
996
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
1043
997
  import React17 from "react";
1044
- import { Fragment as Fragment3, jsx as jsx25 } from "react/jsx-runtime";
998
+ import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
1045
999
  var HeadingNode = (props) => {
1046
1000
  const NodeTypes2 = {
1047
1001
  ["text"]: TextNode_default,
@@ -1057,12 +1011,12 @@ var HeadingNode = (props) => {
1057
1011
  {
1058
1012
  }
1059
1013
  const formatClasses = FormatClass[props.node.format] || "";
1060
- return /* @__PURE__ */ jsx25(Fragment3, { children: React17.createElement(
1014
+ return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
1061
1015
  HeadingTag,
1062
1016
  { className: formatClasses },
1063
1017
  props.node.children && props.node.children.map((childNode, index) => {
1064
1018
  const SelectedNode = NodeTypes2[childNode.type];
1065
- return /* @__PURE__ */ jsx25(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
1019
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
1066
1020
  })
1067
1021
  ) });
1068
1022
  };
@@ -1073,7 +1027,7 @@ import React19 from "react";
1073
1027
 
1074
1028
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
1075
1029
  import React18 from "react";
1076
- import { jsx as jsx26 } from "react/jsx-runtime";
1030
+ import { jsx as jsx25 } from "react/jsx-runtime";
1077
1031
  var ListItemNode = (props) => {
1078
1032
  const NodeTypes2 = {
1079
1033
  text: TextNode_default,
@@ -1090,37 +1044,37 @@ var ListItemNode = (props) => {
1090
1044
  liStyle.fontSize = match[1].trim();
1091
1045
  }
1092
1046
  }
1093
- return /* @__PURE__ */ jsx26("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1047
+ return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1094
1048
  const SelectedNode = NodeTypes2[node.type];
1095
1049
  if (node.type === "linebreak") {
1096
1050
  if (!foundFirstBreak) {
1097
1051
  foundFirstBreak = true;
1098
- return /* @__PURE__ */ jsx26("div", {}, index);
1052
+ return /* @__PURE__ */ jsx25("div", {}, index);
1099
1053
  } else {
1100
- return /* @__PURE__ */ jsx26("div", { className: "py-1 lg:py-2" }, index);
1054
+ return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
1101
1055
  }
1102
1056
  } else {
1103
1057
  foundFirstBreak = false;
1104
- return /* @__PURE__ */ jsx26(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1058
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1105
1059
  }
1106
1060
  }) });
1107
1061
  };
1108
1062
  var ListItemNode_default = ListItemNode;
1109
1063
 
1110
1064
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1111
- import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
1065
+ import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1112
1066
  var ListNode = (props) => {
1113
1067
  const NodeTypes2 = {
1114
1068
  listitem: ListItemNode_default
1115
1069
  };
1116
1070
  return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
1117
- props.node.listType == "bullet" && /* @__PURE__ */ jsx27("ul", { children: props.node.children && props.node.children.map((node, index) => {
1071
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
1118
1072
  const SelectedNode = NodeTypes2[node.type];
1119
- return /* @__PURE__ */ jsx27(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1073
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1120
1074
  }) }),
1121
- props.node.listType == "number" && /* @__PURE__ */ jsx27("ol", { children: props.node.children && props.node.children.map((node, index) => {
1075
+ props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
1122
1076
  const SelectedNode = NodeTypes2[node.type];
1123
- return /* @__PURE__ */ jsx27(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1077
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1124
1078
  }) })
1125
1079
  ] });
1126
1080
  };
@@ -1128,28 +1082,28 @@ var ListNode_default = ListNode;
1128
1082
 
1129
1083
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1130
1084
  import React20 from "react";
1131
- import { jsx as jsx28 } from "react/jsx-runtime";
1085
+ import { jsx as jsx27 } from "react/jsx-runtime";
1132
1086
  var QuoteNode = (props) => {
1133
1087
  const NodeTypes2 = {
1134
1088
  ["text"]: TextNode_default,
1135
1089
  ["linebreak"]: LineBreakNode_default,
1136
1090
  ["link"]: LinkNode_default
1137
1091
  };
1138
- return /* @__PURE__ */ jsx28("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1092
+ return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1139
1093
  const SelectedNode = NodeTypes2[node.type];
1140
- return /* @__PURE__ */ jsx28(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1094
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1141
1095
  }) });
1142
1096
  };
1143
1097
  var QuoteNode_default = QuoteNode;
1144
1098
 
1145
1099
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1146
1100
  import React21 from "react";
1147
- import dynamic8 from "next/dynamic";
1148
- import { jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
1149
- var CopyButton = dynamic8(() => import("./CopyButton-UPJPMJUB.mjs"), {
1101
+ import dynamic9 from "next/dynamic";
1102
+ import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1103
+ var CopyButton = dynamic9(() => import("./CopyButton-UPJPMJUB.mjs"), {
1150
1104
  ssr: false,
1151
1105
  // optional: fallback UI while loading
1152
- loading: () => /* @__PURE__ */ jsx29("span", { className: "text-gray-400 text-xs", children: "Copy" })
1106
+ loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
1153
1107
  });
1154
1108
  var CodeNode = (props) => {
1155
1109
  const NodeTypes2 = {
@@ -1165,12 +1119,12 @@ var CodeNode = (props) => {
1165
1119
  }).join("") ?? "";
1166
1120
  return /* @__PURE__ */ jsxs10("div", { children: [
1167
1121
  /* @__PURE__ */ jsxs10("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1168
- /* @__PURE__ */ jsx29("span", { children: "Code Snippet" }),
1169
- /* @__PURE__ */ jsx29(CopyButton, { text: textContent })
1122
+ /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1123
+ /* @__PURE__ */ jsx28(CopyButton, { text: textContent })
1170
1124
  ] }),
1171
- /* @__PURE__ */ jsx29("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1125
+ /* @__PURE__ */ jsx28("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1172
1126
  const SelectedNode = NodeTypes2[node.type];
1173
- return /* @__PURE__ */ jsx29(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx29(
1127
+ return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1174
1128
  SelectedNode,
1175
1129
  {
1176
1130
  node,
@@ -1185,15 +1139,15 @@ var CodeNode = (props) => {
1185
1139
  var CodeNode_default = CodeNode;
1186
1140
 
1187
1141
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1188
- import { jsx as jsx30 } from "react/jsx-runtime";
1142
+ import { jsx as jsx29 } from "react/jsx-runtime";
1189
1143
  var HorizontalRuleNode = () => {
1190
- return /* @__PURE__ */ jsx30("hr", {});
1144
+ return /* @__PURE__ */ jsx29("hr", {});
1191
1145
  };
1192
1146
  var HorizontalRuleNode_default = HorizontalRuleNode;
1193
1147
 
1194
1148
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1195
1149
  import React22 from "react";
1196
- import { Fragment as Fragment4, jsx as jsx31 } from "react/jsx-runtime";
1150
+ import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
1197
1151
  var WidgetNode = (props) => {
1198
1152
  const getWidgetParameters = () => {
1199
1153
  const widgetInputParameters = {
@@ -1257,7 +1211,7 @@ var WidgetNode = (props) => {
1257
1211
  };
1258
1212
  const widgetCode = props.node?.widgetCode;
1259
1213
  if (!widgetCode) {
1260
- return /* @__PURE__ */ jsx31(Fragment4, { children: "Invalid widget" });
1214
+ return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1261
1215
  }
1262
1216
  const widgetParams = getWidgetParameters();
1263
1217
  const WidgetRenderer = props.widgetRenderer;
@@ -1266,7 +1220,7 @@ var WidgetNode = (props) => {
1266
1220
  }
1267
1221
  return (
1268
1222
  // eslint-disable-next-line react-hooks/static-components
1269
- /* @__PURE__ */ jsx31(React22.Fragment, { children: /* @__PURE__ */ jsx31(
1223
+ /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1270
1224
  WidgetRenderer,
1271
1225
  {
1272
1226
  params: widgetParams,
@@ -1283,13 +1237,13 @@ var WidgetNode = (props) => {
1283
1237
  var WidgetNode_default = WidgetNode;
1284
1238
 
1285
1239
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1286
- import dynamic12 from "next/dynamic";
1240
+ import dynamic13 from "next/dynamic";
1287
1241
  import React23 from "react";
1288
1242
 
1289
1243
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1290
- import dynamic9 from "next/dynamic";
1291
- import { jsx as jsx32 } from "react/jsx-runtime";
1292
- var IframeClient = dynamic9(() => import("./IframeClient-WF2KLXZB.mjs"), {
1244
+ import dynamic10 from "next/dynamic";
1245
+ import { jsx as jsx31 } from "react/jsx-runtime";
1246
+ var IframeClient = dynamic10(() => import("./IframeClient-WF2KLXZB.mjs"), {
1293
1247
  ssr: false
1294
1248
  });
1295
1249
  var EmbedNode = (props) => {
@@ -1301,7 +1255,7 @@ var EmbedNode = (props) => {
1301
1255
  } else {
1302
1256
  src = props.node.embedSrc;
1303
1257
  }
1304
- return /* @__PURE__ */ jsx32("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx32(IframeClient, { src }) });
1258
+ return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
1305
1259
  };
1306
1260
  var EmbedNode_default = EmbedNode;
1307
1261
 
@@ -1494,10 +1448,10 @@ var PathUtility = class {
1494
1448
  var PathUtility_default = new PathUtility();
1495
1449
 
1496
1450
  // src/components/NoDataFound.tsx
1497
- import { jsx as jsx33, jsxs as jsxs11 } from "react/jsx-runtime";
1451
+ import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1498
1452
  var NoDataFound = () => {
1499
1453
  return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1500
- /* @__PURE__ */ jsx33("div", { className: "mb-5", children: /* @__PURE__ */ jsx33("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
1454
+ /* @__PURE__ */ jsx32("div", { className: "mb-5", children: /* @__PURE__ */ jsx32("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx32(
1501
1455
  "svg",
1502
1456
  {
1503
1457
  className: "w-10 h-10",
@@ -1505,7 +1459,7 @@ var NoDataFound = () => {
1505
1459
  stroke: "currentColor",
1506
1460
  viewBox: "0 0 24 24",
1507
1461
  xmlns: "http://www.w3.org/2000/svg",
1508
- children: /* @__PURE__ */ jsx33(
1462
+ children: /* @__PURE__ */ jsx32(
1509
1463
  "path",
1510
1464
  {
1511
1465
  strokeLinecap: "round",
@@ -1516,16 +1470,16 @@ var NoDataFound = () => {
1516
1470
  )
1517
1471
  }
1518
1472
  ) }) }),
1519
- /* @__PURE__ */ jsx33("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1520
- /* @__PURE__ */ jsx33("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1473
+ /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1474
+ /* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1521
1475
  ] });
1522
1476
  };
1523
1477
  var NoDataFound_default = NoDataFound;
1524
1478
 
1525
1479
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1526
- import dynamic10 from "next/dynamic";
1527
- import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs12 } from "react/jsx-runtime";
1528
- var HlsPlayer3 = dynamic10(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
1480
+ import dynamic11 from "next/dynamic";
1481
+ import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1482
+ var HlsPlayer3 = dynamic11(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
1529
1483
  var deviceToMediaQuery = (device) => {
1530
1484
  switch (device) {
1531
1485
  case "lg":
@@ -1681,7 +1635,7 @@ var ImageGalleryNode = (props) => {
1681
1635
  };
1682
1636
  const formatClasses = FormatClass[props.node.format || ""] || "";
1683
1637
  return /* @__PURE__ */ jsxs12(Fragment5, { children: [
1684
- hlsSources.length > 0 && /* @__PURE__ */ jsx34(Fragment5, { children: /* @__PURE__ */ jsx34(
1638
+ hlsSources.length > 0 && /* @__PURE__ */ jsx33(Fragment5, { children: /* @__PURE__ */ jsx33(
1685
1639
  HlsPlayer3,
1686
1640
  {
1687
1641
  sources: hlsSources,
@@ -1696,7 +1650,7 @@ var ImageGalleryNode = (props) => {
1696
1650
  styles: hlsStyles
1697
1651
  }
1698
1652
  ) }),
1699
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx34(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs12("picture", { children: [
1653
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx33(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs12("picture", { children: [
1700
1654
  DEVICE_ORDER.map((deviceKey) => {
1701
1655
  const match = staticSources.find(
1702
1656
  (img) => img.device === deviceKey
@@ -1712,7 +1666,7 @@ var ImageGalleryNode = (props) => {
1712
1666
  if (!srcUrl) {
1713
1667
  return null;
1714
1668
  }
1715
- return /* @__PURE__ */ jsx34(
1669
+ return /* @__PURE__ */ jsx33(
1716
1670
  "source",
1717
1671
  {
1718
1672
  media: deviceToMediaQuery(match.device),
@@ -1737,7 +1691,7 @@ var ImageGalleryNode = (props) => {
1737
1691
  if (img.borderRadius) {
1738
1692
  styles.borderRadius = img.borderRadius;
1739
1693
  }
1740
- return /* @__PURE__ */ jsx34(
1694
+ return /* @__PURE__ */ jsx33(
1741
1695
  "img",
1742
1696
  {
1743
1697
  loading: "lazy",
@@ -1752,7 +1706,7 @@ var ImageGalleryNode = (props) => {
1752
1706
  })()
1753
1707
  ] }) : (
1754
1708
  /* Case 2: Only device-specific images exist */
1755
- /* @__PURE__ */ jsx34(Fragment5, { children: staticSources.map((img, index) => {
1709
+ /* @__PURE__ */ jsx33(Fragment5, { children: staticSources.map((img, index) => {
1756
1710
  const resolved = resolveImage(img);
1757
1711
  const imageUrl = resolved?.imageUrl;
1758
1712
  if (!imageUrl) {
@@ -1779,7 +1733,7 @@ var ImageGalleryNode = (props) => {
1779
1733
  default:
1780
1734
  display = "block";
1781
1735
  }
1782
- return /* @__PURE__ */ jsx34(
1736
+ return /* @__PURE__ */ jsx33(
1783
1737
  "img",
1784
1738
  {
1785
1739
  loading: "lazy",
@@ -1919,7 +1873,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
1919
1873
  };
1920
1874
 
1921
1875
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1922
- import { Fragment as Fragment6, jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
1876
+ import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
1923
1877
  var getNestedValue5 = (obj, path) => {
1924
1878
  if (!obj || !path) return void 0;
1925
1879
  return path.split(".").reduce((current, key) => {
@@ -1933,14 +1887,14 @@ var PdfIcon = () => /* @__PURE__ */ jsxs13(
1933
1887
  viewBox: "0 0 48 48",
1934
1888
  className: "w-10 h-10",
1935
1889
  children: [
1936
- /* @__PURE__ */ jsx35(
1890
+ /* @__PURE__ */ jsx34(
1937
1891
  "path",
1938
1892
  {
1939
1893
  fill: "#e53935",
1940
1894
  d: "M38,42H10c-2.209,0-4-1.791-4-4V10c0-2.209,1.791-4,4-4h28c2.209,0,4,1.791,4,4v28 C42,40.209,40.209,42,38,42z"
1941
1895
  }
1942
1896
  ),
1943
- /* @__PURE__ */ jsx35(
1897
+ /* @__PURE__ */ jsx34(
1944
1898
  "path",
1945
1899
  {
1946
1900
  fill: "#fff",
@@ -1957,48 +1911,48 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs13(
1957
1911
  viewBox: "0 0 48 48",
1958
1912
  className: "w-10 h-10",
1959
1913
  children: [
1960
- /* @__PURE__ */ jsx35(
1914
+ /* @__PURE__ */ jsx34(
1961
1915
  "path",
1962
1916
  {
1963
1917
  fill: "#169154",
1964
1918
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
1965
1919
  }
1966
1920
  ),
1967
- /* @__PURE__ */ jsx35(
1921
+ /* @__PURE__ */ jsx34(
1968
1922
  "path",
1969
1923
  {
1970
1924
  fill: "#18482a",
1971
1925
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
1972
1926
  }
1973
1927
  ),
1974
- /* @__PURE__ */ jsx35("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1975
- /* @__PURE__ */ jsx35("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1928
+ /* @__PURE__ */ jsx34("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1929
+ /* @__PURE__ */ jsx34("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1976
1930
  /* @__PURE__ */ jsxs13("g", { children: [
1977
- /* @__PURE__ */ jsx35(
1931
+ /* @__PURE__ */ jsx34(
1978
1932
  "path",
1979
1933
  {
1980
1934
  fill: "#29c27f",
1981
1935
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
1982
1936
  }
1983
1937
  ),
1984
- /* @__PURE__ */ jsx35(
1938
+ /* @__PURE__ */ jsx34(
1985
1939
  "path",
1986
1940
  {
1987
1941
  fill: "#27663f",
1988
1942
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
1989
1943
  }
1990
1944
  ),
1991
- /* @__PURE__ */ jsx35("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1992
- /* @__PURE__ */ jsx35("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1945
+ /* @__PURE__ */ jsx34("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1946
+ /* @__PURE__ */ jsx34("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1993
1947
  ] }),
1994
- /* @__PURE__ */ jsx35(
1948
+ /* @__PURE__ */ jsx34(
1995
1949
  "path",
1996
1950
  {
1997
1951
  fill: "#0c7238",
1998
1952
  d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
1999
1953
  }
2000
1954
  ),
2001
- /* @__PURE__ */ jsx35(
1955
+ /* @__PURE__ */ jsx34(
2002
1956
  "path",
2003
1957
  {
2004
1958
  fill: "#fff",
@@ -2016,7 +1970,7 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
2016
1970
  className: "w-10 h-10",
2017
1971
  baseProfile: "basic",
2018
1972
  children: [
2019
- /* @__PURE__ */ jsx35(
1973
+ /* @__PURE__ */ jsx34(
2020
1974
  "path",
2021
1975
  {
2022
1976
  fill: "#283593",
@@ -2034,19 +1988,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
2034
1988
  gradientTransform: "translate(0 -339.89)",
2035
1989
  gradientUnits: "userSpaceOnUse",
2036
1990
  children: [
2037
- /* @__PURE__ */ jsx35("stop", { offset: "0", "stop-color": "#66c0ff" }),
2038
- /* @__PURE__ */ jsx35("stop", { offset: ".26", "stop-color": "#0094f0" })
1991
+ /* @__PURE__ */ jsx34("stop", { offset: "0", "stop-color": "#66c0ff" }),
1992
+ /* @__PURE__ */ jsx34("stop", { offset: ".26", "stop-color": "#0094f0" })
2039
1993
  ]
2040
1994
  }
2041
1995
  ),
2042
- /* @__PURE__ */ jsx35(
1996
+ /* @__PURE__ */ jsx34(
2043
1997
  "path",
2044
1998
  {
2045
1999
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
2046
2000
  d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
2047
2001
  }
2048
2002
  ),
2049
- /* @__PURE__ */ jsx35(
2003
+ /* @__PURE__ */ jsx34(
2050
2004
  "path",
2051
2005
  {
2052
2006
  fill: "#1e88e5",
@@ -2054,21 +2008,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
2054
2008
  d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
2055
2009
  }
2056
2010
  ),
2057
- /* @__PURE__ */ jsx35(
2011
+ /* @__PURE__ */ jsx34(
2058
2012
  "path",
2059
2013
  {
2060
2014
  fill: "#00e5ff",
2061
2015
  d: "M9,10.333C9,6.836,11.835,4,15.332,4h21.975C39.346,4,41,5.654,41,7.694v5.611 C41,15.346,39.346,17,37.306,17H15.332C11.835,17,9,19.836,9,23.333C9,23.333,9,10.333,9,10.333z"
2062
2016
  }
2063
2017
  ),
2064
- /* @__PURE__ */ jsx35(
2018
+ /* @__PURE__ */ jsx34(
2065
2019
  "path",
2066
2020
  {
2067
2021
  fill: "#1565c0",
2068
2022
  d: "M7.5,23h10c1.933,0,3.5,1.567,3.5,3.5v10c0,1.933-1.567,3.5-3.5,3.5h-10C5.567,40,4,38.433,4,36.5 v-10C4,24.567,5.567,23,7.5,23z"
2069
2023
  }
2070
2024
  ),
2071
- /* @__PURE__ */ jsx35(
2025
+ /* @__PURE__ */ jsx34(
2072
2026
  "path",
2073
2027
  {
2074
2028
  fill: "#fff",
@@ -2085,8 +2039,8 @@ var StandardIcon = () => /* @__PURE__ */ jsxs13(
2085
2039
  viewBox: "0 0 48 48",
2086
2040
  className: "w-10 h-10",
2087
2041
  children: [
2088
- /* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2089
- /* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2042
+ /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2043
+ /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2090
2044
  ]
2091
2045
  }
2092
2046
  );
@@ -2097,23 +2051,23 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs13(
2097
2051
  viewBox: "0 0 48 48",
2098
2052
  className: "w-10 h-10",
2099
2053
  children: [
2100
- /* @__PURE__ */ jsx35(
2054
+ /* @__PURE__ */ jsx34(
2101
2055
  "path",
2102
2056
  {
2103
2057
  fill: "#dc4c2c",
2104
2058
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
2105
2059
  }
2106
2060
  ),
2107
- /* @__PURE__ */ jsx35("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2108
- /* @__PURE__ */ jsx35("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2109
- /* @__PURE__ */ jsx35(
2061
+ /* @__PURE__ */ jsx34("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2062
+ /* @__PURE__ */ jsx34("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2063
+ /* @__PURE__ */ jsx34(
2110
2064
  "path",
2111
2065
  {
2112
2066
  fill: "#9b341f",
2113
2067
  d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
2114
2068
  }
2115
2069
  ),
2116
- /* @__PURE__ */ jsx35(
2070
+ /* @__PURE__ */ jsx34(
2117
2071
  "path",
2118
2072
  {
2119
2073
  fill: "#fff",
@@ -2130,9 +2084,9 @@ var TextIcon = () => /* @__PURE__ */ jsxs13(
2130
2084
  viewBox: "0 0 48 48",
2131
2085
  className: "w-10 h-10",
2132
2086
  children: [
2133
- /* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2134
- /* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2135
- /* @__PURE__ */ jsx35(
2087
+ /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2088
+ /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2089
+ /* @__PURE__ */ jsx34(
2136
2090
  "path",
2137
2091
  {
2138
2092
  fill: "#1976D2",
@@ -2152,14 +2106,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2152
2106
  version: "1.0",
2153
2107
  className: "w-10 h-10",
2154
2108
  children: [
2155
- /* @__PURE__ */ jsx35("defs", { children: /* @__PURE__ */ jsx35("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx35(
2109
+ /* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsx34("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx34(
2156
2110
  "path",
2157
2111
  {
2158
2112
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2159
2113
  "clip-rule": "nonzero"
2160
2114
  }
2161
2115
  ) }) }),
2162
- /* @__PURE__ */ jsx35("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx35(
2116
+ /* @__PURE__ */ jsx34("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx34(
2163
2117
  "path",
2164
2118
  {
2165
2119
  fill: "#ff9100",
@@ -2168,7 +2122,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2168
2122
  "fill-rule": "nonzero"
2169
2123
  }
2170
2124
  ) }),
2171
- /* @__PURE__ */ jsx35(
2125
+ /* @__PURE__ */ jsx34(
2172
2126
  "path",
2173
2127
  {
2174
2128
  fill: "#fbe9e7",
@@ -2177,7 +2131,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2177
2131
  "fill-rule": "nonzero"
2178
2132
  }
2179
2133
  ),
2180
- /* @__PURE__ */ jsx35(
2134
+ /* @__PURE__ */ jsx34(
2181
2135
  "path",
2182
2136
  {
2183
2137
  fill: "#ffe0b2",
@@ -2186,7 +2140,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2186
2140
  "fill-rule": "nonzero"
2187
2141
  }
2188
2142
  ),
2189
- /* @__PURE__ */ jsx35(
2143
+ /* @__PURE__ */ jsx34(
2190
2144
  "path",
2191
2145
  {
2192
2146
  fill: "#ffe0b2",
@@ -2195,7 +2149,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2195
2149
  "fill-rule": "nonzero"
2196
2150
  }
2197
2151
  ),
2198
- /* @__PURE__ */ jsx35(
2152
+ /* @__PURE__ */ jsx34(
2199
2153
  "path",
2200
2154
  {
2201
2155
  fill: "#ffe0b2",
@@ -2270,8 +2224,8 @@ var DocumentNode = (props) => {
2270
2224
  }
2271
2225
  }
2272
2226
  if (documents.length === 0) {
2273
- return /* @__PURE__ */ jsx35(Fragment6, { children: /* @__PURE__ */ jsxs13("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2274
- /* @__PURE__ */ jsx35("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx35(
2227
+ return /* @__PURE__ */ jsx34(Fragment6, { children: /* @__PURE__ */ jsxs13("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2228
+ /* @__PURE__ */ jsx34("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
2275
2229
  "svg",
2276
2230
  {
2277
2231
  className: "w-5 h-5",
@@ -2279,7 +2233,7 @@ var DocumentNode = (props) => {
2279
2233
  stroke: "currentColor",
2280
2234
  viewBox: "0 0 24 24",
2281
2235
  xmlns: "http://www.w3.org/2000/svg",
2282
- children: /* @__PURE__ */ jsx35(
2236
+ children: /* @__PURE__ */ jsx34(
2283
2237
  "path",
2284
2238
  {
2285
2239
  strokeLinecap: "round",
@@ -2290,11 +2244,11 @@ var DocumentNode = (props) => {
2290
2244
  )
2291
2245
  }
2292
2246
  ) }),
2293
- /* @__PURE__ */ jsx35("div", { className: "text-sm font-medium", children: "No documents found" }),
2294
- /* @__PURE__ */ jsx35("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2247
+ /* @__PURE__ */ jsx34("div", { className: "text-sm font-medium", children: "No documents found" }),
2248
+ /* @__PURE__ */ jsx34("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2295
2249
  ] }) });
2296
2250
  }
2297
- return /* @__PURE__ */ jsx35("div", { className: "", children: documents.map((doc, index) => {
2251
+ return /* @__PURE__ */ jsx34("div", { className: "", children: documents.map((doc, index) => {
2298
2252
  const documentUrl = AssetUtility_default.resolveUrl(
2299
2253
  props.assetBaseUrl,
2300
2254
  doc.assetUrl
@@ -2318,8 +2272,8 @@ var DocumentNode = (props) => {
2318
2272
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2319
2273
  children: [
2320
2274
  /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-4", children: [
2321
- /* @__PURE__ */ jsx35("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx35(Icon, {}) }),
2322
- /* @__PURE__ */ jsx35("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx35("h4", { className: "text-base font-semibold", children: documentTitle }) })
2275
+ /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx34(Icon, {}) }),
2276
+ /* @__PURE__ */ jsx34("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx34("h4", { className: "text-base font-semibold", children: documentTitle }) })
2323
2277
  ] }),
2324
2278
  /* @__PURE__ */ jsxs13(
2325
2279
  "a",
@@ -2337,7 +2291,7 @@ var DocumentNode = (props) => {
2337
2291
  stroke: "currentColor",
2338
2292
  viewBox: "0 0 24 24",
2339
2293
  children: [
2340
- /* @__PURE__ */ jsx35(
2294
+ /* @__PURE__ */ jsx34(
2341
2295
  "path",
2342
2296
  {
2343
2297
  strokeLinecap: "round",
@@ -2346,7 +2300,7 @@ var DocumentNode = (props) => {
2346
2300
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2347
2301
  }
2348
2302
  ),
2349
- /* @__PURE__ */ jsx35(
2303
+ /* @__PURE__ */ jsx34(
2350
2304
  "path",
2351
2305
  {
2352
2306
  strokeLinecap: "round",
@@ -2371,14 +2325,14 @@ var DocumentNode = (props) => {
2371
2325
  var DocumentNode_default = DocumentNode;
2372
2326
 
2373
2327
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
2374
- import dynamic11 from "next/dynamic";
2375
- import { jsx as jsx36 } from "react/jsx-runtime";
2376
- var IframeClient2 = dynamic11(() => import("./IframeClient-WF2KLXZB.mjs"), {
2328
+ import dynamic12 from "next/dynamic";
2329
+ import { jsx as jsx35 } from "react/jsx-runtime";
2330
+ var IframeClient2 = dynamic12(() => import("./IframeClient-WF2KLXZB.mjs"), {
2377
2331
  ssr: false
2378
2332
  });
2379
2333
  var GoogleMapNode = (props) => {
2380
2334
  let src = props.node.embedUrl;
2381
- return /* @__PURE__ */ jsx36("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx36(
2335
+ return /* @__PURE__ */ jsx35("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx35(
2382
2336
  IframeClient2,
2383
2337
  {
2384
2338
  src,
@@ -2390,12 +2344,12 @@ var GoogleMapNode = (props) => {
2390
2344
  var GoogleMapNode_default = GoogleMapNode;
2391
2345
 
2392
2346
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2393
- import { jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
2394
- var Pagination = dynamic12(() => import("./Pagination-PGAK7KDA.mjs"), { ssr: true });
2395
- var DataBindingControls = dynamic12(() => import("./DataBindingControls-GWNAJ7PR.mjs"), {
2347
+ import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2348
+ var Pagination = dynamic13(() => import("./Pagination-CQKMBXXJ.mjs"), { ssr: true });
2349
+ var DataBindingControls = dynamic13(() => import("./DataBindingControls-UUDERFAD.mjs"), {
2396
2350
  ssr: true
2397
2351
  });
2398
- var Slider = dynamic12(() => import("./Slider-554BKC7N.mjs"), {
2352
+ var Slider = dynamic13(() => import("./Slider-ZA2GRRGS.mjs"), {
2399
2353
  ssr: false
2400
2354
  });
2401
2355
  function toCamelCase(str) {
@@ -2674,7 +2628,7 @@ var DivContainer = async (props) => {
2674
2628
  }
2675
2629
  const SelectedNode = NodeTypes2[node.type];
2676
2630
  if (!SelectedNode) return null;
2677
- return /* @__PURE__ */ jsx37(React23.Fragment, { children: /* @__PURE__ */ jsx37(
2631
+ return /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
2678
2632
  SelectedNode,
2679
2633
  {
2680
2634
  node,
@@ -2766,7 +2720,7 @@ var DivContainer = async (props) => {
2766
2720
  item,
2767
2721
  idx,
2768
2722
  props.href ? void 0 : item?.links?.view
2769
- )?.map((child, i) => /* @__PURE__ */ jsx37(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2723
+ )?.map((child, i) => /* @__PURE__ */ jsx36(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2770
2724
  );
2771
2725
  }
2772
2726
  return props.node.children.flatMap((node, childIndex) => {
@@ -2880,17 +2834,17 @@ var DivContainer = async (props) => {
2880
2834
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
2881
2835
  );
2882
2836
  const WrapperComponent = Wrapper;
2883
- const renderedContainer = /* @__PURE__ */ jsx37(
2837
+ const renderedContainer = /* @__PURE__ */ jsx36(
2884
2838
  WrapperComponent,
2885
2839
  {
2886
2840
  id: guid,
2887
2841
  style: combinedStyles,
2888
2842
  className: classNames || void 0,
2889
2843
  ...wrapperProps,
2890
- children: shouldShowNoDataMessage ? /* @__PURE__ */ jsx37(NoDataFound_default, {}) : renderContainerChildren()
2844
+ children: shouldShowNoDataMessage ? /* @__PURE__ */ jsx36(NoDataFound_default, {}) : renderContainerChildren()
2891
2845
  }
2892
2846
  );
2893
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx37(
2847
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx36(
2894
2848
  Pagination,
2895
2849
  {
2896
2850
  path: props.path,
@@ -2899,14 +2853,14 @@ var DivContainer = async (props) => {
2899
2853
  }
2900
2854
  ) : null;
2901
2855
  return /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2902
- /* @__PURE__ */ jsx37(
2856
+ /* @__PURE__ */ jsx36(
2903
2857
  "style",
2904
2858
  {
2905
2859
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2906
2860
  }
2907
2861
  ),
2908
2862
  showDataBindingControls ? /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2909
- /* @__PURE__ */ jsx37(
2863
+ /* @__PURE__ */ jsx36(
2910
2864
  DataBindingControls,
2911
2865
  {
2912
2866
  mode: "toolbar",
@@ -2928,8 +2882,8 @@ var DivContainer = async (props) => {
2928
2882
  paginationControl
2929
2883
  ] }),
2930
2884
  dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs14("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
2931
- /* @__PURE__ */ jsx37("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2932
- /* @__PURE__ */ jsx37(
2885
+ /* @__PURE__ */ jsx36("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2886
+ /* @__PURE__ */ jsx36(
2933
2887
  DataBindingControls,
2934
2888
  {
2935
2889
  mode: "facets",
@@ -2945,14 +2899,14 @@ var DivContainer = async (props) => {
2945
2899
  )
2946
2900
  ] }) : /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2947
2901
  renderedContainer,
2948
- paginationControl && /* @__PURE__ */ jsx37("div", { children: paginationControl })
2902
+ paginationControl && /* @__PURE__ */ jsx36("div", { children: paginationControl })
2949
2903
  ] })
2950
2904
  ] });
2951
2905
  };
2952
2906
  var DivContainer_default = DivContainer;
2953
2907
 
2954
2908
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2955
- import { jsx as jsx38 } from "react/jsx-runtime";
2909
+ import { jsx as jsx37 } from "react/jsx-runtime";
2956
2910
  var NodeTypes = {
2957
2911
  ["paragraph"]: ParagraphNode_default,
2958
2912
  ["heading"]: HeadingNode_default,
@@ -2990,14 +2944,14 @@ var PageBodyRenderer = (props) => {
2990
2944
  }
2991
2945
  return true;
2992
2946
  };
2993
- return /* @__PURE__ */ jsx38(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2947
+ return /* @__PURE__ */ jsx37(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2994
2948
  {
2995
2949
  }
2996
2950
  const SelectedNode = NodeTypes[node.type];
2997
2951
  if (!shouldRenderNode(node)) {
2998
2952
  return null;
2999
2953
  }
3000
- return /* @__PURE__ */ jsx38(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx38(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
2954
+ return /* @__PURE__ */ jsx37(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx37(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
3001
2955
  SelectedNode,
3002
2956
  {
3003
2957
  node,
@@ -3013,7 +2967,7 @@ var PageBodyRenderer = (props) => {
3013
2967
  device: props.device,
3014
2968
  widgetRenderer: props.widgetRenderer
3015
2969
  }
3016
- ) }) : /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
2970
+ ) }) : /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
3017
2971
  SelectedNode,
3018
2972
  {
3019
2973
  node,
@@ -3083,7 +3037,7 @@ function EnterAnimationHydrator() {
3083
3037
 
3084
3038
  // src/components/Toast.tsx
3085
3039
  import { useCallback, useEffect as useEffect2, useRef, useState } from "react";
3086
- import { Fragment as Fragment7, jsx as jsx39, jsxs as jsxs15 } from "react/jsx-runtime";
3040
+ import { Fragment as Fragment7, jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
3087
3041
  var Toast = () => {
3088
3042
  const [showToast, setShowToast] = useState(false);
3089
3043
  const [message, setMessage] = useState("");
@@ -3117,8 +3071,8 @@ var Toast = () => {
3117
3071
  });
3118
3072
  };
3119
3073
  }, [closeToast, showMessage]);
3120
- return /* @__PURE__ */ jsx39(Fragment7, { children: showToast && /* @__PURE__ */ jsx39("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs15("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
3121
- /* @__PURE__ */ jsx39(
3074
+ return /* @__PURE__ */ jsx38(Fragment7, { children: showToast && /* @__PURE__ */ jsx38("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs15("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
3075
+ /* @__PURE__ */ jsx38(
3122
3076
  "span",
3123
3077
  {
3124
3078
  className: "font-medium text-inherit text-sm",
@@ -3126,7 +3080,7 @@ var Toast = () => {
3126
3080
  children: message
3127
3081
  }
3128
3082
  ),
3129
- /* @__PURE__ */ jsx39("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx39(
3083
+ /* @__PURE__ */ jsx38("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx38(
3130
3084
  "svg",
3131
3085
  {
3132
3086
  xmlns: "http://www.w3.org/2000/svg",
@@ -3134,7 +3088,7 @@ var Toast = () => {
3134
3088
  fill: "none",
3135
3089
  viewBox: "0 0 24 24",
3136
3090
  stroke: "currentColor",
3137
- children: /* @__PURE__ */ jsx39("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3091
+ children: /* @__PURE__ */ jsx38("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3138
3092
  }
3139
3093
  ) })
3140
3094
  ] }) }) });
@@ -3144,7 +3098,7 @@ var Toast_default = Toast;
3144
3098
  // src/components/NavigationTabsV2.tsx
3145
3099
  import Link2 from "next/link";
3146
3100
  import { usePathname } from "next/navigation";
3147
- import { jsx as jsx40 } from "react/jsx-runtime";
3101
+ import { jsx as jsx39 } from "react/jsx-runtime";
3148
3102
  function resolveRoutePlaceholders(route, params) {
3149
3103
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
3150
3104
  const value = params[key];
@@ -3169,8 +3123,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3169
3123
  isActive: tab.isActive
3170
3124
  })) || [];
3171
3125
  if (mappedTabs.length === 0) return null;
3172
- return /* @__PURE__ */ jsx40("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3173
- return /* @__PURE__ */ jsx40(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx40(
3126
+ return /* @__PURE__ */ jsx39("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3127
+ return /* @__PURE__ */ jsx39(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx39(
3174
3128
  "div",
3175
3129
  {
3176
3130
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -3188,46 +3142,46 @@ import { useRouter } from "next/navigation";
3188
3142
 
3189
3143
  // src/components/dataForm/NoContentView.tsx
3190
3144
  import React26 from "react";
3191
- import { jsx as jsx41 } from "react/jsx-runtime";
3145
+ import { jsx as jsx40 } from "react/jsx-runtime";
3192
3146
  var NoContentView = (props) => {
3193
- return /* @__PURE__ */ jsx41(React26.Fragment, { children: props.isDataFound === false && props.children });
3147
+ return /* @__PURE__ */ jsx40(React26.Fragment, { children: props.isDataFound === false && props.children });
3194
3148
  };
3195
3149
  var NoContentView_default = NoContentView;
3196
3150
 
3197
3151
  // src/components/dataForm/ContentView.tsx
3198
3152
  import React27 from "react";
3199
- import { jsx as jsx42, jsxs as jsxs16 } from "react/jsx-runtime";
3153
+ import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
3200
3154
  var ContentView = (props) => {
3201
3155
  return /* @__PURE__ */ jsxs16(React27.Fragment, { children: [
3202
- props.isDataFound == null && /* @__PURE__ */ jsx42("div", { className: "", children: /* @__PURE__ */ jsxs16("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3156
+ props.isDataFound == null && /* @__PURE__ */ jsx41("div", { className: "", children: /* @__PURE__ */ jsxs16("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3203
3157
  /* @__PURE__ */ jsxs16("div", { className: "flex items-center mb-4", children: [
3204
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3158
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3205
3159
  /* @__PURE__ */ jsxs16("div", { className: "ml-2", children: [
3206
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3207
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3160
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3161
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3208
3162
  ] })
3209
3163
  ] }),
3210
3164
  /* @__PURE__ */ jsxs16("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3211
3165
  /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3212
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3213
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3214
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3215
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3216
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3166
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3167
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3168
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3169
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3170
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3217
3171
  ] }),
3218
3172
  /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3219
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3220
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3221
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3222
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3223
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3173
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3174
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3175
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3176
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3177
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3224
3178
  ] }),
3225
3179
  /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3226
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3227
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3228
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3229
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3230
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3180
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3181
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3182
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3183
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3184
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3231
3185
  ] })
3232
3186
  ] })
3233
3187
  ] }) }),
@@ -3281,7 +3235,7 @@ function FormReducer(state, action) {
3281
3235
  var FormReducer_default = FormReducer;
3282
3236
 
3283
3237
  // src/components/dataForm/DataList.tsx
3284
- import { Fragment as Fragment8, jsx as jsx43, jsxs as jsxs17 } from "react/jsx-runtime";
3238
+ import { Fragment as Fragment8, jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
3285
3239
  var DataList = (props) => {
3286
3240
  const router = useRouter();
3287
3241
  let builder = new OdataBuilder(props.path);
@@ -3322,7 +3276,7 @@ var DataList = (props) => {
3322
3276
  if (path.includes(".")) {
3323
3277
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
3324
3278
  } else if (Array.isArray(obj[path])) {
3325
- return obj[path].map((item, index) => /* @__PURE__ */ jsx43("div", { children: item }, index));
3279
+ return obj[path].map((item, index) => /* @__PURE__ */ jsx42("div", { children: item }, index));
3326
3280
  } else {
3327
3281
  return obj[path];
3328
3282
  }
@@ -3404,30 +3358,30 @@ var DataList = (props) => {
3404
3358
  const renderPageNumbers = () => {
3405
3359
  if (pages <= 10) {
3406
3360
  return Array.from({ length: pages }, (_, index) => index + 1).map(
3407
- (page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3361
+ (page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3408
3362
  Hyperlink,
3409
3363
  {
3410
3364
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3411
3365
  href: builder.getNewPageUrl(page),
3412
3366
  children: page
3413
3367
  }
3414
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3368
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3415
3369
  );
3416
3370
  } else {
3417
3371
  const showFirstPages = activePageNumber <= 5;
3418
3372
  const showLastPages = activePageNumber > pages - 5;
3419
3373
  if (showFirstPages) {
3420
3374
  return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3421
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3375
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3422
3376
  Hyperlink,
3423
3377
  {
3424
3378
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3425
3379
  href: builder.getNewPageUrl(page),
3426
3380
  children: page
3427
3381
  }
3428
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3429
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3430
- /* @__PURE__ */ jsx43(
3382
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3383
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3384
+ /* @__PURE__ */ jsx42(
3431
3385
  Hyperlink,
3432
3386
  {
3433
3387
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3435,7 +3389,7 @@ var DataList = (props) => {
3435
3389
  children: pages - 1
3436
3390
  }
3437
3391
  ),
3438
- /* @__PURE__ */ jsx43(
3392
+ /* @__PURE__ */ jsx42(
3439
3393
  Hyperlink,
3440
3394
  {
3441
3395
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3443,7 +3397,7 @@ var DataList = (props) => {
3443
3397
  children: pages
3444
3398
  }
3445
3399
  ),
3446
- /* @__PURE__ */ jsx43("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3400
+ /* @__PURE__ */ jsx42("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3447
3401
  "select",
3448
3402
  {
3449
3403
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3455,18 +3409,18 @@ var DataList = (props) => {
3455
3409
  }
3456
3410
  },
3457
3411
  children: [
3458
- /* @__PURE__ */ jsx43("option", { className: "", value: "", children: "Jump to" }),
3412
+ /* @__PURE__ */ jsx42("option", { className: "", value: "", children: "Jump to" }),
3459
3413
  Array.from(
3460
3414
  { length: Math.max(0, pages - 10) },
3461
3415
  (_, index) => index + 9
3462
- ).map((page) => /* @__PURE__ */ jsx43("option", { value: page, children: page }, page))
3416
+ ).map((page) => /* @__PURE__ */ jsx42("option", { value: page, children: page }, page))
3463
3417
  ]
3464
3418
  }
3465
3419
  ) })
3466
3420
  ] });
3467
3421
  } else if (showLastPages) {
3468
3422
  return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3469
- /* @__PURE__ */ jsx43(
3423
+ /* @__PURE__ */ jsx42(
3470
3424
  Hyperlink,
3471
3425
  {
3472
3426
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3474,7 +3428,7 @@ var DataList = (props) => {
3474
3428
  children: "1"
3475
3429
  }
3476
3430
  ),
3477
- /* @__PURE__ */ jsx43(
3431
+ /* @__PURE__ */ jsx42(
3478
3432
  Hyperlink,
3479
3433
  {
3480
3434
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3482,21 +3436,21 @@ var DataList = (props) => {
3482
3436
  children: "2"
3483
3437
  }
3484
3438
  ),
3485
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3439
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3486
3440
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
3487
- (page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3441
+ (page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3488
3442
  Hyperlink,
3489
3443
  {
3490
3444
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3491
3445
  href: builder.getNewPageUrl(page),
3492
3446
  children: page
3493
3447
  }
3494
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3448
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3495
3449
  )
3496
3450
  ] });
3497
3451
  } else {
3498
3452
  return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3499
- /* @__PURE__ */ jsx43(
3453
+ /* @__PURE__ */ jsx42(
3500
3454
  Hyperlink,
3501
3455
  {
3502
3456
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3504,7 +3458,7 @@ var DataList = (props) => {
3504
3458
  children: "1"
3505
3459
  }
3506
3460
  ),
3507
- /* @__PURE__ */ jsx43(
3461
+ /* @__PURE__ */ jsx42(
3508
3462
  Hyperlink,
3509
3463
  {
3510
3464
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3512,20 +3466,20 @@ var DataList = (props) => {
3512
3466
  children: "2"
3513
3467
  }
3514
3468
  ),
3515
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3469
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3516
3470
  Array.from(
3517
3471
  { length: 5 },
3518
3472
  (_, index) => activePageNumber - 2 + index
3519
- ).map((page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3473
+ ).map((page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3520
3474
  Hyperlink,
3521
3475
  {
3522
3476
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3523
3477
  href: builder.getNewPageUrl(page),
3524
3478
  children: page
3525
3479
  }
3526
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3527
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3528
- /* @__PURE__ */ jsx43(
3480
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3481
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3482
+ /* @__PURE__ */ jsx42(
3529
3483
  Hyperlink,
3530
3484
  {
3531
3485
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3533,7 +3487,7 @@ var DataList = (props) => {
3533
3487
  children: pages - 1
3534
3488
  }
3535
3489
  ),
3536
- /* @__PURE__ */ jsx43(
3490
+ /* @__PURE__ */ jsx42(
3537
3491
  Hyperlink,
3538
3492
  {
3539
3493
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3541,7 +3495,7 @@ var DataList = (props) => {
3541
3495
  children: pages
3542
3496
  }
3543
3497
  ),
3544
- /* @__PURE__ */ jsx43("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3498
+ /* @__PURE__ */ jsx42("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3545
3499
  "select",
3546
3500
  {
3547
3501
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3553,8 +3507,8 @@ var DataList = (props) => {
3553
3507
  }
3554
3508
  },
3555
3509
  children: [
3556
- /* @__PURE__ */ jsx43("option", { value: "", children: "Jump to" }),
3557
- Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx43("option", { value: page, children: page }, page))
3510
+ /* @__PURE__ */ jsx42("option", { value: "", children: "Jump to" }),
3511
+ Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx42("option", { value: page, children: page }, page))
3558
3512
  ]
3559
3513
  }
3560
3514
  ) })
@@ -3569,9 +3523,9 @@ var DataList = (props) => {
3569
3523
  {
3570
3524
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
3571
3525
  children: [
3572
- props.title ? /* @__PURE__ */ jsx43("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx43("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx43("div", {}),
3526
+ props.title ? /* @__PURE__ */ jsx42("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx42("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx42("div", {}),
3573
3527
  /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3574
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx43(
3528
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx42(
3575
3529
  InputControl_default,
3576
3530
  {
3577
3531
  name: "Search_input",
@@ -3584,7 +3538,7 @@ var DataList = (props) => {
3584
3538
  }
3585
3539
  }
3586
3540
  ),
3587
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx43(
3541
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx42(
3588
3542
  InputControl_default,
3589
3543
  {
3590
3544
  name: filter.name,
@@ -3606,8 +3560,8 @@ var DataList = (props) => {
3606
3560
  linkType: "Primary" /* Solid */,
3607
3561
  href: props.addLinkHref,
3608
3562
  children: [
3609
- /* @__PURE__ */ jsx43(Icon_default, { name: "plus", className: "w-4 h-4" }),
3610
- /* @__PURE__ */ jsx43("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3563
+ /* @__PURE__ */ jsx42(Icon_default, { name: "plus", className: "w-4 h-4" }),
3564
+ /* @__PURE__ */ jsx42("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3611
3565
  ]
3612
3566
  }
3613
3567
  )
@@ -3615,8 +3569,8 @@ var DataList = (props) => {
3615
3569
  ]
3616
3570
  }
3617
3571
  ),
3618
- /* @__PURE__ */ jsx43("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs17("table", { className: "w-full divide-y divide-gray-200", children: [
3619
- /* @__PURE__ */ jsx43("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsxs17("tr", { children: [
3572
+ /* @__PURE__ */ jsx42("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs17("table", { className: "w-full divide-y divide-gray-200", children: [
3573
+ /* @__PURE__ */ jsx42("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsxs17("tr", { children: [
3620
3574
  props?.columns?.map((column) => {
3621
3575
  let url = builder.getNewOrderByUrl(column.name);
3622
3576
  let icon = "chevronUpDown";
@@ -3627,18 +3581,18 @@ var DataList = (props) => {
3627
3581
  icon = "chevronUp";
3628
3582
  url = builder.getNewOrderByUrl(column.name + " desc");
3629
3583
  }
3630
- return /* @__PURE__ */ jsx43(
3584
+ return /* @__PURE__ */ jsx42(
3631
3585
  "th",
3632
3586
  {
3633
3587
  className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
3634
- children: /* @__PURE__ */ jsx43(
3588
+ children: /* @__PURE__ */ jsx42(
3635
3589
  Hyperlink,
3636
3590
  {
3637
3591
  href: column.enableSorting ? url : void 0,
3638
3592
  className: "!text-neutral-contrast ",
3639
3593
  children: /* @__PURE__ */ jsxs17("span", { className: "flex items-center space-x-1", children: [
3640
- /* @__PURE__ */ jsx43("span", { className: "text-black", children: column.label }),
3641
- column.enableSorting && /* @__PURE__ */ jsx43(Icon_default, { className: "w-4 h-4", name: icon })
3594
+ /* @__PURE__ */ jsx42("span", { className: "text-black", children: column.label }),
3595
+ column.enableSorting && /* @__PURE__ */ jsx42(Icon_default, { className: "w-4 h-4", name: icon })
3642
3596
  ] })
3643
3597
  }
3644
3598
  )
@@ -3646,25 +3600,25 @@ var DataList = (props) => {
3646
3600
  column.name
3647
3601
  );
3648
3602
  }),
3649
- props.onQuickView && /* @__PURE__ */ jsx43("th", { className: "px-6 py-3 text-right font-medium bg-neutral-soft w-32 text-black", children: "Action" })
3603
+ props.onQuickView && /* @__PURE__ */ jsx42("th", { className: "px-6 py-3 text-right font-medium bg-neutral-soft w-32 text-black", children: "Action" })
3650
3604
  ] }) }),
3651
- /* @__PURE__ */ jsx43("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3605
+ /* @__PURE__ */ jsx42("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3652
3606
  let validityClass = "";
3653
3607
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
3654
3608
  validityClass = "bg-alert-200";
3655
3609
  }
3656
3610
  return /* @__PURE__ */ jsxs17("tr", { className: validityClass, children: [
3657
3611
  props?.columns?.map((column, colindex) => {
3658
- return /* @__PURE__ */ jsx43(React28.Fragment, { children: /* @__PURE__ */ jsx43(
3612
+ return /* @__PURE__ */ jsx42(React28.Fragment, { children: /* @__PURE__ */ jsx42(
3659
3613
  "td",
3660
3614
  {
3661
3615
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
3662
- children: column.addhref === true ? /* @__PURE__ */ jsx43(
3616
+ children: column.addhref === true ? /* @__PURE__ */ jsx42(
3663
3617
  Hyperlink,
3664
3618
  {
3665
3619
  className: "",
3666
3620
  href: `https://${dataitem[column.name]}`,
3667
- children: /* @__PURE__ */ jsx43(
3621
+ children: /* @__PURE__ */ jsx42(
3668
3622
  ViewControl_default,
3669
3623
  {
3670
3624
  controlType: column.controlType,
@@ -3677,11 +3631,11 @@ var DataList = (props) => {
3677
3631
  }
3678
3632
  )
3679
3633
  }
3680
- ) : column.showAsLink ? /* @__PURE__ */ jsx43(
3634
+ ) : column.showAsLink ? /* @__PURE__ */ jsx42(
3681
3635
  Hyperlink,
3682
3636
  {
3683
3637
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
3684
- children: /* @__PURE__ */ jsx43(
3638
+ children: /* @__PURE__ */ jsx42(
3685
3639
  ViewControl_default,
3686
3640
  {
3687
3641
  controlType: column.controlType,
@@ -3691,7 +3645,7 @@ var DataList = (props) => {
3691
3645
  }
3692
3646
  )
3693
3647
  }
3694
- ) : /* @__PURE__ */ jsx43(
3648
+ ) : /* @__PURE__ */ jsx42(
3695
3649
  ViewControl_default,
3696
3650
  {
3697
3651
  controlType: column.controlType,
@@ -3703,7 +3657,7 @@ var DataList = (props) => {
3703
3657
  }
3704
3658
  ) }, colindex);
3705
3659
  }),
3706
- props.onQuickView && /* @__PURE__ */ jsx43("td", { className: "px-6 py-2 text-right whitespace-nowrap", children: /* @__PURE__ */ jsxs17(
3660
+ props.onQuickView && /* @__PURE__ */ jsx42("td", { className: "px-6 py-2 text-right whitespace-nowrap", children: /* @__PURE__ */ jsxs17(
3707
3661
  "button",
3708
3662
  {
3709
3663
  type: "button",
@@ -3724,22 +3678,22 @@ var DataList = (props) => {
3724
3678
  strokeLinecap: "round",
3725
3679
  strokeLinejoin: "round",
3726
3680
  children: [
3727
- /* @__PURE__ */ jsx43("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
3728
- /* @__PURE__ */ jsx43("circle", { cx: "12", cy: "12", r: "3" })
3681
+ /* @__PURE__ */ jsx42("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
3682
+ /* @__PURE__ */ jsx42("circle", { cx: "12", cy: "12", r: "3" })
3729
3683
  ]
3730
3684
  }
3731
3685
  ),
3732
- /* @__PURE__ */ jsx43("span", { children: props.quickViewLabel || "Quick View" })
3686
+ /* @__PURE__ */ jsx42("span", { children: props.quickViewLabel || "Quick View" })
3733
3687
  ]
3734
3688
  }
3735
3689
  ) })
3736
3690
  ] }, index);
3737
3691
  }) })
3738
3692
  ] }) }),
3739
- /* @__PURE__ */ jsx43("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs17("div", { className: "flex items-center justify-between", children: [
3740
- /* @__PURE__ */ jsx43("div", { className: "text-gray-700", children: label }),
3693
+ /* @__PURE__ */ jsx42("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs17("div", { className: "flex items-center justify-between", children: [
3694
+ /* @__PURE__ */ jsx42("div", { className: "text-gray-700", children: label }),
3741
3695
  /* @__PURE__ */ jsxs17("div", { className: "flex space-x-2 items-center", children: [
3742
- activePageNumber > 1 && /* @__PURE__ */ jsx43(
3696
+ activePageNumber > 1 && /* @__PURE__ */ jsx42(
3743
3697
  Hyperlink,
3744
3698
  {
3745
3699
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3747,9 +3701,9 @@ var DataList = (props) => {
3747
3701
  children: "Prev"
3748
3702
  }
3749
3703
  ),
3750
- activePageNumber <= 1 && /* @__PURE__ */ jsx43("div", { className: "px-3 py-1 rounded-l-md border border-gray-300 bg-gray-200 text-gray-500 hover:bg-gray-200", children: "Prev" }),
3704
+ activePageNumber <= 1 && /* @__PURE__ */ jsx42("div", { className: "px-3 py-1 rounded-l-md border border-gray-300 bg-gray-200 text-gray-500 hover:bg-gray-200", children: "Prev" }),
3751
3705
  renderPageNumbers(),
3752
- activePageNumber < pages && /* @__PURE__ */ jsx43(
3706
+ activePageNumber < pages && /* @__PURE__ */ jsx42(
3753
3707
  Hyperlink,
3754
3708
  {
3755
3709
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3757,7 +3711,7 @@ var DataList = (props) => {
3757
3711
  children: "Next"
3758
3712
  }
3759
3713
  ),
3760
- activePageNumber >= pages && /* @__PURE__ */ jsx43("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3714
+ activePageNumber >= pages && /* @__PURE__ */ jsx42("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3761
3715
  ] })
3762
3716
  ] }) })
3763
3717
  ] }),
@@ -3767,9 +3721,9 @@ var DataList = (props) => {
3767
3721
  {
3768
3722
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md border-b border-neutral-200`,
3769
3723
  children: [
3770
- props.title ? /* @__PURE__ */ jsx43("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx43("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx43("div", {}),
3724
+ props.title ? /* @__PURE__ */ jsx42("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx42("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx42("div", {}),
3771
3725
  /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3772
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx43(
3726
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx42(
3773
3727
  InputControl_default,
3774
3728
  {
3775
3729
  name: "Search_input",
@@ -3782,7 +3736,7 @@ var DataList = (props) => {
3782
3736
  }
3783
3737
  }
3784
3738
  ),
3785
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx43(
3739
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx42(
3786
3740
  InputControl_default,
3787
3741
  {
3788
3742
  name: filter.name,
@@ -3804,8 +3758,8 @@ var DataList = (props) => {
3804
3758
  linkType: "Primary" /* Solid */,
3805
3759
  href: props.addLinkHref,
3806
3760
  children: [
3807
- /* @__PURE__ */ jsx43(Icon_default, { name: "plus", className: "w-4 h-4" }),
3808
- /* @__PURE__ */ jsx43("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3761
+ /* @__PURE__ */ jsx42(Icon_default, { name: "plus", className: "w-4 h-4" }),
3762
+ /* @__PURE__ */ jsx42("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3809
3763
  ]
3810
3764
  }
3811
3765
  )
@@ -3814,7 +3768,7 @@ var DataList = (props) => {
3814
3768
  }
3815
3769
  ),
3816
3770
  /* @__PURE__ */ jsxs17("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3817
- /* @__PURE__ */ jsx43("div", { children: /* @__PURE__ */ jsx43("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx43("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx43("tr", { children: props?.columns?.map((column) => {
3771
+ /* @__PURE__ */ jsx42("div", { children: /* @__PURE__ */ jsx42("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx42("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx42("tr", { children: props?.columns?.map((column) => {
3818
3772
  let url = builder.getNewOrderByUrl(column.name);
3819
3773
  let icon = "chevronUpDown";
3820
3774
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3824,18 +3778,18 @@ var DataList = (props) => {
3824
3778
  icon = "chevronUp";
3825
3779
  url = builder.getNewOrderByUrl(column.name + " desc");
3826
3780
  }
3827
- return /* @__PURE__ */ jsx43(
3781
+ return /* @__PURE__ */ jsx42(
3828
3782
  "th",
3829
3783
  {
3830
3784
  className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
3831
- children: /* @__PURE__ */ jsx43(
3785
+ children: /* @__PURE__ */ jsx42(
3832
3786
  Hyperlink,
3833
3787
  {
3834
3788
  href: column.enableSorting ? url : void 0,
3835
3789
  className: "text-body-950",
3836
3790
  children: /* @__PURE__ */ jsxs17("span", { className: "flex items-center space-x-1", children: [
3837
- /* @__PURE__ */ jsx43("span", { children: column.label }),
3838
- column.enableSorting && /* @__PURE__ */ jsx43(Icon_default, { className: "w-4 h-4", name: icon })
3791
+ /* @__PURE__ */ jsx42("span", { children: column.label }),
3792
+ column.enableSorting && /* @__PURE__ */ jsx42(Icon_default, { className: "w-4 h-4", name: icon })
3839
3793
  ] })
3840
3794
  }
3841
3795
  )
@@ -3843,7 +3797,7 @@ var DataList = (props) => {
3843
3797
  column.name
3844
3798
  );
3845
3799
  }) }) }) }) }),
3846
- /* @__PURE__ */ jsx43("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3800
+ /* @__PURE__ */ jsx42("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3847
3801
  ] })
3848
3802
  ] })
3849
3803
  ] });
@@ -3853,7 +3807,7 @@ var DataList_default = DataList;
3853
3807
  // src/components/dataForm/DataListRenderer.tsx
3854
3808
  import React29, { useState as useState3, useEffect as useEffect4 } from "react";
3855
3809
  import { usePathname as usePathname2 } from "next/navigation";
3856
- import { jsx as jsx44, jsxs as jsxs18 } from "react/jsx-runtime";
3810
+ import { jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
3857
3811
  var viewControlMap = {
3858
3812
  number: ViewControlTypes.number,
3859
3813
  lineText: ViewControlTypes.lineText,
@@ -3953,8 +3907,8 @@ var DataListRenderer = ({
3953
3907
  // tabs={resolvedTabs}
3954
3908
  // params={(widgetProps?.params ?? params) as Record<string, any>}
3955
3909
  // />
3956
- /* @__PURE__ */ jsx44(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3957
- /* @__PURE__ */ jsx44(
3910
+ /* @__PURE__ */ jsx43(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3911
+ /* @__PURE__ */ jsx43(
3958
3912
  DataList_default,
3959
3913
  {
3960
3914
  addLinkHref,
@@ -3999,7 +3953,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
3999
3953
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
4000
3954
 
4001
3955
  // src/components/dataForm/DataFormChildSection.tsx
4002
- import { jsx as jsx45, jsxs as jsxs19 } from "react/jsx-runtime";
3956
+ import { jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
4003
3957
  var DataFormChildSection = (props) => {
4004
3958
  const { section } = props;
4005
3959
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -4067,14 +4021,14 @@ var DataFormChildSection = (props) => {
4067
4021
  childItemsToRender,
4068
4022
  allChildItems: childItems
4069
4023
  });
4070
- return /* @__PURE__ */ jsx45(React30.Fragment, { children: /* @__PURE__ */ jsxs19("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
4071
- section.sectionTitle && /* @__PURE__ */ jsx45("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
4072
- /* @__PURE__ */ jsx45("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs19("div", { className: "flex flex-col justify-between gap-2", children: [
4073
- /* @__PURE__ */ jsx45("div", { children: /* @__PURE__ */ jsxs19("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
4074
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx45("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
4024
+ return /* @__PURE__ */ jsx44(React30.Fragment, { children: /* @__PURE__ */ jsxs19("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
4025
+ section.sectionTitle && /* @__PURE__ */ jsx44("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
4026
+ /* @__PURE__ */ jsx44("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs19("div", { className: "flex flex-col justify-between gap-2", children: [
4027
+ /* @__PURE__ */ jsx44("div", { children: /* @__PURE__ */ jsxs19("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
4028
+ (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx44("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
4075
4029
  return /* @__PURE__ */ jsxs19("tr", { className: "", children: [
4076
4030
  sectionRow.elements.map((field, index) => {
4077
- return /* @__PURE__ */ jsx45(
4031
+ return /* @__PURE__ */ jsx44(
4078
4032
  "th",
4079
4033
  {
4080
4034
  className: "py-3 font-normal text-left",
@@ -4083,13 +4037,13 @@ var DataFormChildSection = (props) => {
4083
4037
  field.name
4084
4038
  );
4085
4039
  }),
4086
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx45("th", { className: "py-3 font-normal text-left", children: "Actions" })
4040
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("th", { className: "py-3 font-normal text-left", children: "Actions" })
4087
4041
  ] }, sectionRowIndex);
4088
4042
  }) }),
4089
- /* @__PURE__ */ jsx45("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
4043
+ /* @__PURE__ */ jsx44("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
4090
4044
  const { item, originalIndex } = visibleItem;
4091
4045
  const rowKey = originalIndex;
4092
- return /* @__PURE__ */ jsx45(React30.Fragment, { children: section.sectionRows.map(
4046
+ return /* @__PURE__ */ jsx44(React30.Fragment, { children: section.sectionRows.map(
4093
4047
  (sectionRow, sectionRowIndex) => {
4094
4048
  return /* @__PURE__ */ jsxs19(
4095
4049
  "tr",
@@ -4097,7 +4051,7 @@ var DataFormChildSection = (props) => {
4097
4051
  className: "",
4098
4052
  children: [
4099
4053
  sectionRow.elements.map((field, index) => {
4100
- return /* @__PURE__ */ jsx45("td", { children: /* @__PURE__ */ jsx45("div", { className: "flex-1", children: /* @__PURE__ */ jsx45("div", { className: "w-11/12", children: /* @__PURE__ */ jsx45(
4054
+ return /* @__PURE__ */ jsx44("td", { children: /* @__PURE__ */ jsx44("div", { className: "flex-1", children: /* @__PURE__ */ jsx44("div", { className: "w-11/12", children: /* @__PURE__ */ jsx44(
4101
4055
  InputControl_default,
4102
4056
  {
4103
4057
  index: filteredIndex,
@@ -4117,7 +4071,7 @@ var DataFormChildSection = (props) => {
4117
4071
  }
4118
4072
  ) }) }) }, field.name);
4119
4073
  }),
4120
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx45("td", { children: /* @__PURE__ */ jsx45(
4074
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("td", { children: /* @__PURE__ */ jsx44(
4121
4075
  ClientButton_default,
4122
4076
  {
4123
4077
  ButtonType: StyleTypes2.Hollow,
@@ -4126,7 +4080,7 @@ var DataFormChildSection = (props) => {
4126
4080
  },
4127
4081
  dataRole: "delete",
4128
4082
  tabIndex: -1,
4129
- children: /* @__PURE__ */ jsx45(
4083
+ children: /* @__PURE__ */ jsx44(
4130
4084
  Icon_default,
4131
4085
  {
4132
4086
  className: "w-4 h-4",
@@ -4143,7 +4097,7 @@ var DataFormChildSection = (props) => {
4143
4097
  ) }, rowKey);
4144
4098
  }) })
4145
4099
  ] }) }),
4146
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx45("div", { className: "ml-1", children: /* @__PURE__ */ jsx45(
4100
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("div", { className: "ml-1", children: /* @__PURE__ */ jsx44(
4147
4101
  ClientButton_default,
4148
4102
  {
4149
4103
  ButtonType: "Link" /* Link */,
@@ -4158,7 +4112,7 @@ var DataFormChildSection = (props) => {
4158
4112
  var DataFormChildSection_default = DataFormChildSection;
4159
4113
 
4160
4114
  // src/components/dataForm/DataForm.tsx
4161
- import { jsx as jsx46, jsxs as jsxs20 } from "react/jsx-runtime";
4115
+ import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
4162
4116
  var DataForm = (props) => {
4163
4117
  const formRef = useRef2(null);
4164
4118
  console.log(props.dataItem, "dssads");
@@ -4378,19 +4332,19 @@ var DataForm = (props) => {
4378
4332
  return false;
4379
4333
  }
4380
4334
  }
4381
- return /* @__PURE__ */ jsx46(React31.Fragment, { children: /* @__PURE__ */ jsxs20("div", { className: "flex-grow flex flex-col", children: [
4382
- props.title && /* @__PURE__ */ jsx46("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ jsxs20(
4335
+ return /* @__PURE__ */ jsx45(React31.Fragment, { children: /* @__PURE__ */ jsxs20("div", { className: "flex-grow flex flex-col", children: [
4336
+ props.title && /* @__PURE__ */ jsx45("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ jsxs20(
4383
4337
  "div",
4384
4338
  {
4385
4339
  className: "inline-flex items-center gap-2 cursor-pointer",
4386
4340
  onClick: () => window.history.back(),
4387
4341
  children: [
4388
- /* @__PURE__ */ jsx46(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4389
- /* @__PURE__ */ jsx46("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4342
+ /* @__PURE__ */ jsx45(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4343
+ /* @__PURE__ */ jsx45("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4390
4344
  ]
4391
4345
  }
4392
4346
  ) }),
4393
- /* @__PURE__ */ jsx46(
4347
+ /* @__PURE__ */ jsx45(
4394
4348
  "form",
4395
4349
  {
4396
4350
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -4411,8 +4365,8 @@ var DataForm = (props) => {
4411
4365
  }
4412
4366
  }
4413
4367
  },
4414
- children: /* @__PURE__ */ jsx46("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4415
- return /* @__PURE__ */ jsx46(React31.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs20("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4368
+ children: /* @__PURE__ */ jsx45("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4369
+ return /* @__PURE__ */ jsx45(React31.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs20("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4416
4370
  section.sectionRows?.map(
4417
4371
  (sectionRow, sectionRowIndex) => {
4418
4372
  const elementsCount = sectionRow.elements.length;
@@ -4423,14 +4377,14 @@ var DataForm = (props) => {
4423
4377
  sectionRow.visible
4424
4378
  );
4425
4379
  }
4426
- return /* @__PURE__ */ jsx46(React31.Fragment, { children: isVisible && /* @__PURE__ */ jsx46("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4380
+ return /* @__PURE__ */ jsx45(React31.Fragment, { children: isVisible && /* @__PURE__ */ jsx45("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4427
4381
  return /* @__PURE__ */ jsxs20(
4428
4382
  "div",
4429
4383
  {
4430
4384
  className: sectionRow.grow ? "grow" : "",
4431
4385
  children: [
4432
- /* @__PURE__ */ jsx46("div", { children: field.controlType }),
4433
- /* @__PURE__ */ jsx46(
4386
+ /* @__PURE__ */ jsx45("div", { children: field.controlType }),
4387
+ /* @__PURE__ */ jsx45(
4434
4388
  InputControl_default,
4435
4389
  {
4436
4390
  name: field.name,
@@ -4460,12 +4414,12 @@ var DataForm = (props) => {
4460
4414
  }) }) }, sectionRowIndex);
4461
4415
  }
4462
4416
  ),
4463
- /* @__PURE__ */ jsx46("div", { children: section.childSections?.map(
4417
+ /* @__PURE__ */ jsx45("div", { children: section.childSections?.map(
4464
4418
  (childSection, childSectionIndex) => {
4465
- return /* @__PURE__ */ jsx46("div", { children: childSection.name && evalutateCondition(
4419
+ return /* @__PURE__ */ jsx45("div", { children: childSection.name && evalutateCondition(
4466
4420
  formState.inputValues,
4467
4421
  childSection.visible
4468
- ) && /* @__PURE__ */ jsx46(
4422
+ ) && /* @__PURE__ */ jsx45(
4469
4423
  DataFormChildSection_default,
4470
4424
  {
4471
4425
  section: childSection,
@@ -4481,7 +4435,7 @@ var DataForm = (props) => {
4481
4435
  }
4482
4436
  ),
4483
4437
  /* @__PURE__ */ jsxs20("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4484
- /* @__PURE__ */ jsx46("div", { children: props.additionalActions && /* @__PURE__ */ jsx46(
4438
+ /* @__PURE__ */ jsx45("div", { children: props.additionalActions && /* @__PURE__ */ jsx45(
4485
4439
  Button_default,
4486
4440
  {
4487
4441
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4489,7 +4443,7 @@ var DataForm = (props) => {
4489
4443
  children: props.additionalActions.title
4490
4444
  }
4491
4445
  ) }),
4492
- /* @__PURE__ */ jsx46("div", { children: props.onDelete && /* @__PURE__ */ jsx46(
4446
+ /* @__PURE__ */ jsx45("div", { children: props.onDelete && /* @__PURE__ */ jsx45(
4493
4447
  Button_default,
4494
4448
  {
4495
4449
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4500,7 +4454,7 @@ var DataForm = (props) => {
4500
4454
  children: "Delete"
4501
4455
  }
4502
4456
  ) }),
4503
- /* @__PURE__ */ jsx46("div", { children: props.onClick && /* @__PURE__ */ jsx46(
4457
+ /* @__PURE__ */ jsx45("div", { children: props.onClick && /* @__PURE__ */ jsx45(
4504
4458
  Button_default,
4505
4459
  {
4506
4460
  onValidate,
@@ -4517,7 +4471,7 @@ var DataForm = (props) => {
4517
4471
  var DataForm_default = DataForm;
4518
4472
 
4519
4473
  // src/components/dataForm/DataFormRenderer.tsx
4520
- import { jsx as jsx47, jsxs as jsxs21 } from "react/jsx-runtime";
4474
+ import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4521
4475
  function getAction(actions, code) {
4522
4476
  return actions?.find((a) => a.actionCode === code);
4523
4477
  }
@@ -4544,8 +4498,8 @@ var DataFormRenderer = ({
4544
4498
  );
4545
4499
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
4546
4500
  return /* @__PURE__ */ jsxs21("div", { className: "flex-grow flex flex-col", children: [
4547
- widgetProps && /* @__PURE__ */ jsx47(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4548
- /* @__PURE__ */ jsx47(
4501
+ widgetProps && /* @__PURE__ */ jsx46(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4502
+ /* @__PURE__ */ jsx46(
4549
4503
  DataForm_default,
4550
4504
  {
4551
4505
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",