@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260825114921 → 0.8.1-dev.20260827034013

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
@@ -46,7 +46,7 @@ import {
46
46
  import "./chunk-IMNQO57B.mjs";
47
47
 
48
48
  // src/components/controls/view/ViewControl.tsx
49
- import React14 from "react";
49
+ import React16 from "react";
50
50
 
51
51
  // src/components/controls/view/ViewControlTypes.tsx
52
52
  var ViewControlTypes = {
@@ -74,7 +74,8 @@ var ViewControlTypes = {
74
74
  timeUntilStartsStyled: "timeUntilStartsStyled",
75
75
  aiGeneratedSummary: "aiGeneratedSummary",
76
76
  booleanView: "booleanView",
77
- text: "text"
77
+ text: "text",
78
+ commentRenderer: "commentRenderer"
78
79
  };
79
80
  var ViewControlTypes_default = ViewControlTypes;
80
81
 
@@ -405,8 +406,138 @@ var TimeUntilStarts = dynamic4(() => import("./TimeUntilStartsClient-5HGQ5JKM.mj
405
406
  });
406
407
  var TimeUntilStarts_default = TimeUntilStarts;
407
408
 
409
+ // src/components/controls/view/Commentrenderer.tsx
410
+ import React15 from "react";
411
+
412
+ // src/components/controls/view/commentTypes.ts
413
+ var isTextNode = (node) => {
414
+ return !!node && typeof node === "object" && node.type === "text";
415
+ };
416
+ var asElementNode = (node) => node;
417
+
418
+ // src/components/controls/view/commentParser.ts
419
+ var parseSerializedContent = (raw) => {
420
+ if (raw === null || raw === void 0) {
421
+ return [];
422
+ }
423
+ let value = raw;
424
+ if (typeof raw === "string") {
425
+ const trimmed = raw.trim();
426
+ if (!trimmed) {
427
+ return [];
428
+ }
429
+ if (trimmed.startsWith("{") || trimmed.startsWith("[")) {
430
+ try {
431
+ value = JSON.parse(trimmed);
432
+ } catch {
433
+ return [{ type: "paragraph", children: [{ type: "text", text: raw }] }];
434
+ }
435
+ } else {
436
+ return [{ type: "paragraph", children: [{ type: "text", text: raw }] }];
437
+ }
438
+ }
439
+ if (Array.isArray(value)) {
440
+ return value;
441
+ }
442
+ if (value && typeof value === "object") {
443
+ const children = value.children;
444
+ if (Array.isArray(children)) {
445
+ return children;
446
+ }
447
+ }
448
+ return [];
449
+ };
450
+
451
+ // src/components/controls/view/CommentNodeRenderer.tsx
452
+ import React14 from "react";
453
+ import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
454
+ var TextLeafNode = ({ node }) => {
455
+ let content = node.text;
456
+ if (node.code) content = /* @__PURE__ */ jsx15("code", { className: "comment-node-code", children: content });
457
+ if (node.bold) content = /* @__PURE__ */ jsx15("strong", { children: content });
458
+ if (node.italic) content = /* @__PURE__ */ jsx15("em", { children: content });
459
+ if (node.underline) content = /* @__PURE__ */ jsx15("u", { children: content });
460
+ if (node.strikethrough) content = /* @__PURE__ */ jsx15("s", { children: content });
461
+ return /* @__PURE__ */ jsx15(React14.Fragment, { children: content });
462
+ };
463
+ var renderChildren = (children, keyPrefix) => {
464
+ if (!children || children.length === 0) {
465
+ return null;
466
+ }
467
+ return children.map((child, index) => {
468
+ const childKey = isTextNode(child) ? void 0 : asElementNode(child).id;
469
+ return /* @__PURE__ */ jsx15(CommentNodeRenderer, { node: child }, childKey ?? `${keyPrefix}-${index}`);
470
+ });
471
+ };
472
+ var headingLevelFromTag = (tag) => {
473
+ const match = typeof tag === "string" ? tag.match(/\d/) : null;
474
+ const parsed = match ? Number(match[0]) : Number(tag);
475
+ return Number.isFinite(parsed) && parsed >= 1 && parsed <= 6 ? parsed : 3;
476
+ };
477
+ var CommentNodeRenderer = ({ node }) => {
478
+ if (!node || typeof node !== "object") {
479
+ return null;
480
+ }
481
+ if (isTextNode(node)) {
482
+ return /* @__PURE__ */ jsx15(TextLeafNode, { node });
483
+ }
484
+ const element = asElementNode(node);
485
+ const key = element.id ?? element.type;
486
+ switch (element.type) {
487
+ case "paragraph":
488
+ return /* @__PURE__ */ jsx15("p", { className: "comment-node-paragraph", children: renderChildren(element.children, key) ?? /* @__PURE__ */ jsx15("br", {}) });
489
+ case "heading": {
490
+ const level = headingLevelFromTag(element.tag ?? element.level);
491
+ const HeadingTag = `h${level}`;
492
+ return /* @__PURE__ */ jsx15(HeadingTag, { className: "comment-node-heading", children: renderChildren(element.children, key) });
493
+ }
494
+ case "list": {
495
+ const ordered = element.listType === "number" || element.ordered === true;
496
+ const ListTag = ordered ? "ol" : "ul";
497
+ return /* @__PURE__ */ jsx15(ListTag, { className: "comment-node-list", children: renderChildren(element.children, key) });
498
+ }
499
+ case "listitem":
500
+ case "list-item":
501
+ return /* @__PURE__ */ jsx15("li", { className: "comment-node-listitem", children: renderChildren(element.children, key) });
502
+ case "quote":
503
+ case "blockquote":
504
+ return /* @__PURE__ */ jsx15("blockquote", { className: "comment-node-quote", children: renderChildren(element.children, key) });
505
+ case "code":
506
+ case "code-block":
507
+ return /* @__PURE__ */ jsx15("pre", { className: "comment-node-codeblock", children: /* @__PURE__ */ jsx15("code", { children: renderChildren(element.children, key) }) });
508
+ case "link": {
509
+ const url = typeof element.url === "string" ? element.url : "#";
510
+ return /* @__PURE__ */ jsx15("a", { href: url, target: "_blank", rel: "noopener noreferrer", className: "comment-node-link", children: renderChildren(element.children, key) });
511
+ }
512
+ case "mention": {
513
+ const label = element.label ?? element.mentionName ?? element.text ?? "";
514
+ return /* @__PURE__ */ jsxs6("span", { className: "comment-node-mention", children: [
515
+ "@",
516
+ label
517
+ ] });
518
+ }
519
+ case "linebreak":
520
+ case "line-break":
521
+ return /* @__PURE__ */ jsx15("br", {});
522
+ default:
523
+ return /* @__PURE__ */ jsx15(React14.Fragment, { children: renderChildren(element.children, key) });
524
+ }
525
+ };
526
+ var CommentNodeRenderer_default = CommentNodeRenderer;
527
+
528
+ // src/components/controls/view/Commentrenderer.tsx
529
+ import { jsx as jsx16 } from "react/jsx-runtime";
530
+ var CommentRenderer = ({ value, className }) => {
531
+ const nodes = React15.useMemo(() => parseSerializedContent(value), [value]);
532
+ if (!nodes || nodes.length === 0) {
533
+ return null;
534
+ }
535
+ return /* @__PURE__ */ jsx16("div", { className: className ?? "comment-renderer", children: nodes.map((node, index) => /* @__PURE__ */ jsx16(CommentNodeRenderer_default, { node }, node.id ?? `comment-node-${index}`)) });
536
+ };
537
+ var Commentrenderer_default = CommentRenderer;
538
+
408
539
  // src/components/controls/view/ViewControl.tsx
409
- import { jsx as jsx15 } from "react/jsx-runtime";
540
+ import { jsx as jsx17 } from "react/jsx-runtime";
410
541
  var ViewControl = (props) => {
411
542
  const ControlComponents = {
412
543
  [ViewControlTypes_default.lineText]: LineTextView_default,
@@ -433,21 +564,22 @@ var ViewControl = (props) => {
433
564
  // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
434
565
  [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
435
566
  [ViewControlTypes_default.booleanView]: BooleanView_default,
436
- [ViewControlTypes_default.text]: LineTextView_default
567
+ [ViewControlTypes_default.text]: LineTextView_default,
568
+ [ViewControlTypes_default.commentRenderer]: Commentrenderer_default
437
569
  };
438
570
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
439
- return /* @__PURE__ */ jsx15(React14.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx15(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
571
+ return /* @__PURE__ */ jsx17(React16.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx17(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
440
572
  };
441
573
  var ViewControl_default = ViewControl;
442
574
 
443
575
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
444
- import React24 from "react";
576
+ import React26 from "react";
445
577
 
446
578
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
447
- import React16 from "react";
579
+ import React18 from "react";
448
580
 
449
581
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
450
- import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
582
+ import { jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
451
583
  var TextNode = (props) => {
452
584
  function cssStringToJson(cssString) {
453
585
  const styleObject = {};
@@ -502,35 +634,35 @@ var TextNode = (props) => {
502
634
  });
503
635
  }
504
636
  function renderWithLineBreaks(text) {
505
- return text.split("\n").map((line, index, arr) => /* @__PURE__ */ jsxs6("span", { children: [
637
+ return text.split("\n").map((line, index, arr) => /* @__PURE__ */ jsxs7("span", { children: [
506
638
  line,
507
- index < arr.length - 1 && /* @__PURE__ */ jsx16("br", {})
639
+ index < arr.length - 1 && /* @__PURE__ */ jsx18("br", {})
508
640
  ] }, index));
509
641
  }
510
642
  const displayText = props.linkText ? props.linkText : props.node.text;
511
643
  const finalText = props.dataitem && props.linkText ? displayText : props.dataitem ? replacePlaceholders(props.node.text, props.dataitem) : props.node.text;
512
644
  const content = typeof finalText === "string" ? renderWithLineBreaks(finalText) : finalText;
513
- const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx16("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx16("sub", { children: content }) : content;
645
+ const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx18("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx18("sub", { children: content }) : content;
514
646
  return (
515
647
  // @ts-expect-error custom code
516
- /* @__PURE__ */ jsx16("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
648
+ /* @__PURE__ */ jsx18("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
517
649
  );
518
650
  };
519
651
  var TextNode_default = TextNode;
520
652
 
521
653
  // src/components/pageRenderingEngine/nodes/LineBreakNode.tsx
522
- import { jsx as jsx17 } from "react/jsx-runtime";
654
+ import { jsx as jsx19 } from "react/jsx-runtime";
523
655
  var LineBreakNode = () => {
524
- return /* @__PURE__ */ jsx17("div", { className: "py-0.5 lg:py-1.5" });
656
+ return /* @__PURE__ */ jsx19("div", { className: "py-0.5 lg:py-1.5" });
525
657
  };
526
658
  var LineBreakNode_default = LineBreakNode;
527
659
 
528
660
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
529
- import React15 from "react";
661
+ import React17 from "react";
530
662
 
531
663
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
532
664
  import dynamic5 from "next/dynamic";
533
- import { jsx as jsx18 } from "react/jsx-runtime";
665
+ import { jsx as jsx20 } from "react/jsx-runtime";
534
666
  var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
535
667
  var getNestedValue = (obj, path) => {
536
668
  if (!obj || !path) return void 0;
@@ -563,7 +695,7 @@ var ImageNode = (props) => {
563
695
  assets = [image];
564
696
  }
565
697
  if (assets && assets.length > 0) {
566
- return /* @__PURE__ */ jsx18(
698
+ return /* @__PURE__ */ jsx20(
567
699
  DeviceAssetSelector_default,
568
700
  {
569
701
  device: props.device,
@@ -604,7 +736,7 @@ var ImageNode = (props) => {
604
736
  right: "justify-end"
605
737
  };
606
738
  const isHls = imageUrl.endsWith(".m3u8");
607
- const renderMedia = () => isHls ? /* @__PURE__ */ jsx18(
739
+ const renderMedia = () => isHls ? /* @__PURE__ */ jsx20(
608
740
  HlsPlayer2,
609
741
  {
610
742
  assetUrl: imageUrl,
@@ -617,7 +749,7 @@ var ImageNode = (props) => {
617
749
  apiBaseUrl: props.apiBaseUrl,
618
750
  session: props.session
619
751
  }
620
- ) : /* @__PURE__ */ jsx18(
752
+ ) : /* @__PURE__ */ jsx20(
621
753
  "img",
622
754
  {
623
755
  style: styles,
@@ -630,7 +762,7 @@ var ImageNode = (props) => {
630
762
  }
631
763
  );
632
764
  if (props.node.width) {
633
- return /* @__PURE__ */ jsx18("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
765
+ return /* @__PURE__ */ jsx20("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
634
766
  }
635
767
  return renderMedia();
636
768
  };
@@ -638,7 +770,7 @@ var ImageNode_default = ImageNode;
638
770
 
639
771
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
640
772
  import dynamic6 from "next/dynamic";
641
- import { Fragment, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
773
+ import { Fragment, jsx as jsx21, jsxs as jsxs8 } from "react/jsx-runtime";
642
774
  var LinkNodeButton = dynamic6(() => import("./LinkNodeButton-BEAX4I4C.mjs"), {
643
775
  ssr: false
644
776
  });
@@ -689,15 +821,15 @@ var LinkNode = (props) => {
689
821
  };
690
822
  const linkType = node.cssClass ? getLinkTypeFromCssClass(node.cssClass) : void 0;
691
823
  const isButton = node.isButton === true;
692
- const renderChildren = () => {
824
+ const renderChildren2 = () => {
693
825
  if (!node.children || node.children.length === 0) return null;
694
- return /* @__PURE__ */ jsx19(Fragment, { children: node.children.map((childNode, index) => {
826
+ return /* @__PURE__ */ jsx21(Fragment, { children: node.children.map((childNode, index) => {
695
827
  const SelectedNode = NodeTypes2[childNode.type];
696
828
  if (!SelectedNode) {
697
829
  console.warn("Unknown node type:", childNode.type);
698
830
  return null;
699
831
  }
700
- return /* @__PURE__ */ jsx19(React15.Fragment, { children: /* @__PURE__ */ jsx19(
832
+ return /* @__PURE__ */ jsx21(React17.Fragment, { children: /* @__PURE__ */ jsx21(
701
833
  SelectedNode,
702
834
  {
703
835
  node: childNode,
@@ -710,15 +842,15 @@ var LinkNode = (props) => {
710
842
  };
711
843
  const renderFallback = () => {
712
844
  if ((!node.children || node.children.length === 0) && linkText) {
713
- return /* @__PURE__ */ jsx19("span", { children: linkText });
845
+ return /* @__PURE__ */ jsx21("span", { children: linkText });
714
846
  }
715
847
  if ((!node.children || node.children.length === 0) && !linkText) {
716
- return /* @__PURE__ */ jsx19("br", {});
848
+ return /* @__PURE__ */ jsx21("br", {});
717
849
  }
718
850
  return null;
719
851
  };
720
852
  if (isButton) {
721
- return /* @__PURE__ */ jsxs7(
853
+ return /* @__PURE__ */ jsxs8(
722
854
  LinkNodeButton,
723
855
  {
724
856
  node,
@@ -730,20 +862,20 @@ var LinkNode = (props) => {
730
862
  linkType,
731
863
  linkUrl,
732
864
  children: [
733
- renderChildren(),
865
+ renderChildren2(),
734
866
  renderFallback()
735
867
  ]
736
868
  }
737
869
  );
738
870
  }
739
- return /* @__PURE__ */ jsxs7(
871
+ return /* @__PURE__ */ jsxs8(
740
872
  Hyperlink,
741
873
  {
742
874
  href: linkUrl || "#",
743
875
  linkType,
744
876
  alt: linkText || node.title || "",
745
877
  children: [
746
- renderChildren(),
878
+ renderChildren2(),
747
879
  renderFallback()
748
880
  ]
749
881
  }
@@ -752,10 +884,10 @@ var LinkNode = (props) => {
752
884
  var LinkNode_default = LinkNode;
753
885
 
754
886
  // src/components/pageRenderingEngine/nodes/SVGIconNode.tsx
755
- import { jsx as jsx20 } from "react/jsx-runtime";
887
+ import { jsx as jsx22 } from "react/jsx-runtime";
756
888
  var SVGIconNode = ({ node }) => {
757
889
  if (!node?.svgCode) return null;
758
- return /* @__PURE__ */ jsx20(
890
+ return /* @__PURE__ */ jsx22(
759
891
  "span",
760
892
  {
761
893
  style: {
@@ -772,7 +904,7 @@ var SVGIconNode_default = SVGIconNode;
772
904
 
773
905
  // src/components/pageRenderingEngine/nodes/EquationNode.tsx
774
906
  import katex from "katex";
775
- import { jsx as jsx21 } from "react/jsx-runtime";
907
+ import { jsx as jsx23 } from "react/jsx-runtime";
776
908
  var EquationNode = ({ node }) => {
777
909
  const { equation, inline } = node;
778
910
  let html = "";
@@ -787,7 +919,7 @@ var EquationNode = ({ node }) => {
787
919
  });
788
920
  }
789
921
  if (inline) {
790
- return /* @__PURE__ */ jsx21(
922
+ return /* @__PURE__ */ jsx23(
791
923
  "span",
792
924
  {
793
925
  className: "katex-inline",
@@ -795,7 +927,7 @@ var EquationNode = ({ node }) => {
795
927
  }
796
928
  );
797
929
  }
798
- return /* @__PURE__ */ jsx21(
930
+ return /* @__PURE__ */ jsx23(
799
931
  "div",
800
932
  {
801
933
  className: "katex-block my-3 text-center",
@@ -806,7 +938,7 @@ var EquationNode = ({ node }) => {
806
938
  var EquationNode_default = EquationNode;
807
939
 
808
940
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
809
- import { jsx as jsx22 } from "react/jsx-runtime";
941
+ import { jsx as jsx24 } from "react/jsx-runtime";
810
942
  function getNestedProperty(obj, path) {
811
943
  if (!obj || !path) return null;
812
944
  if (path.includes(".")) {
@@ -819,7 +951,7 @@ function getNestedProperty(obj, path) {
819
951
  }
820
952
  const value = obj[path];
821
953
  if (Array.isArray(value)) {
822
- return value.map((item, index) => /* @__PURE__ */ jsx22("div", { children: String(item) }, index));
954
+ return value.map((item, index) => /* @__PURE__ */ jsx24("div", { children: String(item) }, index));
823
955
  }
824
956
  return value;
825
957
  }
@@ -882,7 +1014,7 @@ var DatafieldNode = (props) => {
882
1014
  const dataType = props.node.dataType;
883
1015
  if (isEmptyValue) return null;
884
1016
  if (dataType === "rawContent") {
885
- return /* @__PURE__ */ jsx22(
1017
+ return /* @__PURE__ */ jsx24(
886
1018
  PageBodyRenderer_default,
887
1019
  {
888
1020
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -898,13 +1030,13 @@ var DatafieldNode = (props) => {
898
1030
  }
899
1031
  );
900
1032
  }
901
- return /* @__PURE__ */ jsx22(
1033
+ return /* @__PURE__ */ jsx24(
902
1034
  "span",
903
1035
  {
904
1036
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
905
1037
  style: styles,
906
1038
  title,
907
- children: /* @__PURE__ */ jsx22(
1039
+ children: /* @__PURE__ */ jsx24(
908
1040
  ViewControl_default,
909
1041
  {
910
1042
  controlType: dataType,
@@ -917,7 +1049,7 @@ var DatafieldNode = (props) => {
917
1049
  var DatafieldNode_default = DatafieldNode;
918
1050
 
919
1051
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
920
- import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
1052
+ import { Fragment as Fragment2, jsx as jsx25, jsxs as jsxs9 } from "react/jsx-runtime";
921
1053
  var ParagraphNode = (props) => {
922
1054
  const NodeTypes2 = {
923
1055
  ["text"]: TextNode_default,
@@ -937,9 +1069,9 @@ var ParagraphNode = (props) => {
937
1069
  const isInlineOnlyParent = props.parentTag === "summary";
938
1070
  const hasChildren = props.node.children && props.node.children.length > 0;
939
1071
  if (isInlineOnlyParent) {
940
- return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
1072
+ return /* @__PURE__ */ jsx25(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
941
1073
  const SelectedNode = NodeTypes2[node.type];
942
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1074
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(
943
1075
  SelectedNode,
944
1076
  {
945
1077
  node,
@@ -951,10 +1083,10 @@ var ParagraphNode = (props) => {
951
1083
  ) }, index);
952
1084
  }) });
953
1085
  }
954
- return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
1086
+ return /* @__PURE__ */ jsxs9("div", { className: " " + formatClasses, children: [
955
1087
  hasChildren && props.node.children.map((node, index) => {
956
1088
  const SelectedNode = NodeTypes2[node.type];
957
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1089
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(
958
1090
  SelectedNode,
959
1091
  {
960
1092
  node,
@@ -965,14 +1097,14 @@ var ParagraphNode = (props) => {
965
1097
  }
966
1098
  ) }, index);
967
1099
  }),
968
- !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
1100
+ !hasChildren && /* @__PURE__ */ jsx25("div", { className: "py-1.5 lg:py-2" })
969
1101
  ] });
970
1102
  };
971
1103
  var ParagraphNode_default = ParagraphNode;
972
1104
 
973
1105
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
974
- import React17 from "react";
975
- import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
1106
+ import React19 from "react";
1107
+ import { Fragment as Fragment3, jsx as jsx26 } from "react/jsx-runtime";
976
1108
  var HeadingNode = (props) => {
977
1109
  const NodeTypes2 = {
978
1110
  ["text"]: TextNode_default,
@@ -988,23 +1120,23 @@ var HeadingNode = (props) => {
988
1120
  {
989
1121
  }
990
1122
  const formatClasses = FormatClass[props.node.format] || "";
991
- return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
1123
+ return /* @__PURE__ */ jsx26(Fragment3, { children: React19.createElement(
992
1124
  HeadingTag,
993
1125
  { className: formatClasses },
994
1126
  props.node.children && props.node.children.map((childNode, index) => {
995
1127
  const SelectedNode = NodeTypes2[childNode.type];
996
- return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1128
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
997
1129
  })
998
1130
  ) });
999
1131
  };
1000
1132
  var HeadingNode_default = HeadingNode;
1001
1133
 
1002
1134
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1003
- import React19 from "react";
1135
+ import React21 from "react";
1004
1136
 
1005
1137
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
1006
- import React18 from "react";
1007
- import { jsx as jsx25 } from "react/jsx-runtime";
1138
+ import React20 from "react";
1139
+ import { jsx as jsx27 } from "react/jsx-runtime";
1008
1140
  var ListItemNode = (props) => {
1009
1141
  const NodeTypes2 = {
1010
1142
  text: TextNode_default,
@@ -1021,66 +1153,66 @@ var ListItemNode = (props) => {
1021
1153
  liStyle.fontSize = match[1].trim();
1022
1154
  }
1023
1155
  }
1024
- return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1156
+ return /* @__PURE__ */ jsx27("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1025
1157
  const SelectedNode = NodeTypes2[node.type];
1026
1158
  if (node.type === "linebreak") {
1027
1159
  if (!foundFirstBreak) {
1028
1160
  foundFirstBreak = true;
1029
- return /* @__PURE__ */ jsx25("div", {}, index);
1161
+ return /* @__PURE__ */ jsx27("div", {}, index);
1030
1162
  } else {
1031
- return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
1163
+ return /* @__PURE__ */ jsx27("div", { className: "py-1 lg:py-2" }, index);
1032
1164
  }
1033
1165
  } else {
1034
1166
  foundFirstBreak = false;
1035
- return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1167
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1036
1168
  }
1037
1169
  }) });
1038
1170
  };
1039
1171
  var ListItemNode_default = ListItemNode;
1040
1172
 
1041
1173
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1042
- import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1174
+ import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1043
1175
  var ListNode = (props) => {
1044
1176
  const NodeTypes2 = {
1045
1177
  listitem: ListItemNode_default
1046
1178
  };
1047
- return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
1048
- props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
1179
+ return /* @__PURE__ */ jsxs10(React21.Fragment, { children: [
1180
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx28("ul", { children: props.node.children && props.node.children.map((node, index) => {
1049
1181
  const SelectedNode = NodeTypes2[node.type];
1050
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1182
+ return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1051
1183
  }) }),
1052
- props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
1184
+ props.node.listType == "number" && /* @__PURE__ */ jsx28("ol", { children: props.node.children && props.node.children.map((node, index) => {
1053
1185
  const SelectedNode = NodeTypes2[node.type];
1054
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1186
+ return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1055
1187
  }) })
1056
1188
  ] });
1057
1189
  };
1058
1190
  var ListNode_default = ListNode;
1059
1191
 
1060
1192
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1061
- import React20 from "react";
1062
- import { jsx as jsx27 } from "react/jsx-runtime";
1193
+ import React22 from "react";
1194
+ import { jsx as jsx29 } from "react/jsx-runtime";
1063
1195
  var QuoteNode = (props) => {
1064
1196
  const NodeTypes2 = {
1065
1197
  ["text"]: TextNode_default,
1066
1198
  ["linebreak"]: LineBreakNode_default,
1067
1199
  ["link"]: LinkNode_default
1068
1200
  };
1069
- return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1201
+ return /* @__PURE__ */ jsx29("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1070
1202
  const SelectedNode = NodeTypes2[node.type];
1071
- return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1203
+ return /* @__PURE__ */ jsx29(React22.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx29(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1072
1204
  }) });
1073
1205
  };
1074
1206
  var QuoteNode_default = QuoteNode;
1075
1207
 
1076
1208
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1077
- import React21 from "react";
1209
+ import React23 from "react";
1078
1210
  import dynamic7 from "next/dynamic";
1079
- import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1211
+ import { jsx as jsx30, jsxs as jsxs11 } from "react/jsx-runtime";
1080
1212
  var CopyButton = dynamic7(() => import("./CopyButton-UPJPMJUB.mjs"), {
1081
1213
  ssr: false,
1082
1214
  // optional: fallback UI while loading
1083
- loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
1215
+ loading: () => /* @__PURE__ */ jsx30("span", { className: "text-gray-400 text-xs", children: "Copy" })
1084
1216
  });
1085
1217
  var CodeNode = (props) => {
1086
1218
  const NodeTypes2 = {
@@ -1094,14 +1226,14 @@ var CodeNode = (props) => {
1094
1226
  if (node.type === "link") return node.text || node.url || "";
1095
1227
  return "";
1096
1228
  }).join("") ?? "";
1097
- return /* @__PURE__ */ jsxs10("div", { children: [
1098
- /* @__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: [
1099
- /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1100
- /* @__PURE__ */ jsx28(CopyButton, { text: textContent })
1229
+ return /* @__PURE__ */ jsxs11("div", { children: [
1230
+ /* @__PURE__ */ jsxs11("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1231
+ /* @__PURE__ */ jsx30("span", { children: "Code Snippet" }),
1232
+ /* @__PURE__ */ jsx30(CopyButton, { text: textContent })
1101
1233
  ] }),
1102
- /* @__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) => {
1234
+ /* @__PURE__ */ jsx30("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) => {
1103
1235
  const SelectedNode = NodeTypes2[node.type];
1104
- return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1236
+ return /* @__PURE__ */ jsx30(React23.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx30(
1105
1237
  SelectedNode,
1106
1238
  {
1107
1239
  node,
@@ -1116,15 +1248,15 @@ var CodeNode = (props) => {
1116
1248
  var CodeNode_default = CodeNode;
1117
1249
 
1118
1250
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1119
- import { jsx as jsx29 } from "react/jsx-runtime";
1251
+ import { jsx as jsx31 } from "react/jsx-runtime";
1120
1252
  var HorizontalRuleNode = () => {
1121
- return /* @__PURE__ */ jsx29("hr", {});
1253
+ return /* @__PURE__ */ jsx31("hr", {});
1122
1254
  };
1123
1255
  var HorizontalRuleNode_default = HorizontalRuleNode;
1124
1256
 
1125
1257
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1126
- import React22 from "react";
1127
- import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
1258
+ import React24 from "react";
1259
+ import { Fragment as Fragment4, jsx as jsx32 } from "react/jsx-runtime";
1128
1260
  var WidgetNode = (props) => {
1129
1261
  const getWidgetParameters = () => {
1130
1262
  const widgetInputParameters = {
@@ -1188,7 +1320,7 @@ var WidgetNode = (props) => {
1188
1320
  };
1189
1321
  const widgetCode = props.node?.widgetCode;
1190
1322
  if (!widgetCode) {
1191
- return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1323
+ return /* @__PURE__ */ jsx32(Fragment4, { children: "Invalid widget" });
1192
1324
  }
1193
1325
  const widgetParams = getWidgetParameters();
1194
1326
  const WidgetRenderer = props.widgetRenderer;
@@ -1197,7 +1329,7 @@ var WidgetNode = (props) => {
1197
1329
  }
1198
1330
  return (
1199
1331
  // eslint-disable-next-line react-hooks/static-components
1200
- /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1332
+ /* @__PURE__ */ jsx32(React24.Fragment, { children: /* @__PURE__ */ jsx32(
1201
1333
  WidgetRenderer,
1202
1334
  {
1203
1335
  params: widgetParams,
@@ -1215,11 +1347,11 @@ var WidgetNode_default = WidgetNode;
1215
1347
 
1216
1348
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1217
1349
  import dynamic11 from "next/dynamic";
1218
- import React23 from "react";
1350
+ import React25 from "react";
1219
1351
 
1220
1352
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1221
1353
  import dynamic8 from "next/dynamic";
1222
- import { jsx as jsx31 } from "react/jsx-runtime";
1354
+ import { jsx as jsx33 } from "react/jsx-runtime";
1223
1355
  var IframeClient = dynamic8(() => import("./IframeClient-WF2KLXZB.mjs"), {
1224
1356
  ssr: false
1225
1357
  });
@@ -1232,7 +1364,7 @@ var EmbedNode = (props) => {
1232
1364
  } else {
1233
1365
  src = props.node.embedSrc;
1234
1366
  }
1235
- return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
1367
+ return /* @__PURE__ */ jsx33("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx33(IframeClient, { src }) });
1236
1368
  };
1237
1369
  var EmbedNode_default = EmbedNode;
1238
1370
 
@@ -1425,10 +1557,10 @@ var PathUtility = class {
1425
1557
  var PathUtility_default = new PathUtility();
1426
1558
 
1427
1559
  // src/components/NoDataFound.tsx
1428
- import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1560
+ import { jsx as jsx34, jsxs as jsxs12 } from "react/jsx-runtime";
1429
1561
  var NoDataFound = () => {
1430
- return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1431
- /* @__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(
1562
+ return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1563
+ /* @__PURE__ */ jsx34("div", { className: "mb-5", children: /* @__PURE__ */ jsx34("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
1432
1564
  "svg",
1433
1565
  {
1434
1566
  className: "w-10 h-10",
@@ -1436,7 +1568,7 @@ var NoDataFound = () => {
1436
1568
  stroke: "currentColor",
1437
1569
  viewBox: "0 0 24 24",
1438
1570
  xmlns: "http://www.w3.org/2000/svg",
1439
- children: /* @__PURE__ */ jsx32(
1571
+ children: /* @__PURE__ */ jsx34(
1440
1572
  "path",
1441
1573
  {
1442
1574
  strokeLinecap: "round",
@@ -1447,15 +1579,15 @@ var NoDataFound = () => {
1447
1579
  )
1448
1580
  }
1449
1581
  ) }) }),
1450
- /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1451
- /* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1582
+ /* @__PURE__ */ jsx34("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1583
+ /* @__PURE__ */ jsx34("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1452
1584
  ] });
1453
1585
  };
1454
1586
  var NoDataFound_default = NoDataFound;
1455
1587
 
1456
1588
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1457
1589
  import dynamic9 from "next/dynamic";
1458
- import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1590
+ import { Fragment as Fragment5, jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
1459
1591
  var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
1460
1592
  var deviceToMediaQuery = (device) => {
1461
1593
  switch (device) {
@@ -1611,8 +1743,8 @@ var ImageGalleryNode = (props) => {
1611
1743
  right: "justify-end"
1612
1744
  };
1613
1745
  const formatClasses = FormatClass[props.node.format || ""] || "";
1614
- return /* @__PURE__ */ jsxs12(Fragment5, { children: [
1615
- hlsSources.length > 0 && /* @__PURE__ */ jsx33(Fragment5, { children: /* @__PURE__ */ jsx33(
1746
+ return /* @__PURE__ */ jsxs13(Fragment5, { children: [
1747
+ hlsSources.length > 0 && /* @__PURE__ */ jsx35(Fragment5, { children: /* @__PURE__ */ jsx35(
1616
1748
  HlsPlayer3,
1617
1749
  {
1618
1750
  sources: hlsSources,
@@ -1627,7 +1759,7 @@ var ImageGalleryNode = (props) => {
1627
1759
  styles: hlsStyles
1628
1760
  }
1629
1761
  ) }),
1630
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx33(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs12("picture", { children: [
1762
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
1631
1763
  DEVICE_ORDER.map((deviceKey) => {
1632
1764
  const match = staticSources.find(
1633
1765
  (img) => img.device === deviceKey
@@ -1643,7 +1775,7 @@ var ImageGalleryNode = (props) => {
1643
1775
  if (!srcUrl) {
1644
1776
  return null;
1645
1777
  }
1646
- return /* @__PURE__ */ jsx33(
1778
+ return /* @__PURE__ */ jsx35(
1647
1779
  "source",
1648
1780
  {
1649
1781
  media: deviceToMediaQuery(match.device),
@@ -1668,7 +1800,7 @@ var ImageGalleryNode = (props) => {
1668
1800
  if (img.borderRadius) {
1669
1801
  styles.borderRadius = img.borderRadius;
1670
1802
  }
1671
- return /* @__PURE__ */ jsx33(
1803
+ return /* @__PURE__ */ jsx35(
1672
1804
  "img",
1673
1805
  {
1674
1806
  loading: "lazy",
@@ -1683,7 +1815,7 @@ var ImageGalleryNode = (props) => {
1683
1815
  })()
1684
1816
  ] }) : (
1685
1817
  /* Case 2: Only device-specific images exist */
1686
- /* @__PURE__ */ jsx33(Fragment5, { children: staticSources.map((img, index) => {
1818
+ /* @__PURE__ */ jsx35(Fragment5, { children: staticSources.map((img, index) => {
1687
1819
  const resolved = resolveImage(img);
1688
1820
  const imageUrl = resolved?.imageUrl;
1689
1821
  if (!imageUrl) {
@@ -1710,7 +1842,7 @@ var ImageGalleryNode = (props) => {
1710
1842
  default:
1711
1843
  display = "block";
1712
1844
  }
1713
- return /* @__PURE__ */ jsx33(
1845
+ return /* @__PURE__ */ jsx35(
1714
1846
  "img",
1715
1847
  {
1716
1848
  loading: "lazy",
@@ -1850,28 +1982,28 @@ var shouldRenderContainer = (node, dataItem, session) => {
1850
1982
  };
1851
1983
 
1852
1984
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1853
- import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
1985
+ import { Fragment as Fragment6, jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
1854
1986
  var getNestedValue5 = (obj, path) => {
1855
1987
  if (!obj || !path) return void 0;
1856
1988
  return path.split(".").reduce((current, key) => {
1857
1989
  return current && current[key] !== void 0 ? current[key] : void 0;
1858
1990
  }, obj);
1859
1991
  };
1860
- var PdfIcon = () => /* @__PURE__ */ jsxs13(
1992
+ var PdfIcon = () => /* @__PURE__ */ jsxs14(
1861
1993
  "svg",
1862
1994
  {
1863
1995
  xmlns: "http://www.w3.org/2000/svg",
1864
1996
  viewBox: "0 0 48 48",
1865
1997
  className: "w-10 h-10",
1866
1998
  children: [
1867
- /* @__PURE__ */ jsx34(
1999
+ /* @__PURE__ */ jsx36(
1868
2000
  "path",
1869
2001
  {
1870
2002
  fill: "#e53935",
1871
2003
  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"
1872
2004
  }
1873
2005
  ),
1874
- /* @__PURE__ */ jsx34(
2006
+ /* @__PURE__ */ jsx36(
1875
2007
  "path",
1876
2008
  {
1877
2009
  fill: "#fff",
@@ -1881,55 +2013,55 @@ var PdfIcon = () => /* @__PURE__ */ jsxs13(
1881
2013
  ]
1882
2014
  }
1883
2015
  );
1884
- var ExcelIcon = () => /* @__PURE__ */ jsxs13(
2016
+ var ExcelIcon = () => /* @__PURE__ */ jsxs14(
1885
2017
  "svg",
1886
2018
  {
1887
2019
  xmlns: "http://www.w3.org/2000/svg",
1888
2020
  viewBox: "0 0 48 48",
1889
2021
  className: "w-10 h-10",
1890
2022
  children: [
1891
- /* @__PURE__ */ jsx34(
2023
+ /* @__PURE__ */ jsx36(
1892
2024
  "path",
1893
2025
  {
1894
2026
  fill: "#169154",
1895
2027
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
1896
2028
  }
1897
2029
  ),
1898
- /* @__PURE__ */ jsx34(
2030
+ /* @__PURE__ */ jsx36(
1899
2031
  "path",
1900
2032
  {
1901
2033
  fill: "#18482a",
1902
2034
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
1903
2035
  }
1904
2036
  ),
1905
- /* @__PURE__ */ jsx34("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1906
- /* @__PURE__ */ jsx34("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1907
- /* @__PURE__ */ jsxs13("g", { children: [
1908
- /* @__PURE__ */ jsx34(
2037
+ /* @__PURE__ */ jsx36("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
2038
+ /* @__PURE__ */ jsx36("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
2039
+ /* @__PURE__ */ jsxs14("g", { children: [
2040
+ /* @__PURE__ */ jsx36(
1909
2041
  "path",
1910
2042
  {
1911
2043
  fill: "#29c27f",
1912
2044
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
1913
2045
  }
1914
2046
  ),
1915
- /* @__PURE__ */ jsx34(
2047
+ /* @__PURE__ */ jsx36(
1916
2048
  "path",
1917
2049
  {
1918
2050
  fill: "#27663f",
1919
2051
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
1920
2052
  }
1921
2053
  ),
1922
- /* @__PURE__ */ jsx34("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1923
- /* @__PURE__ */ jsx34("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
2054
+ /* @__PURE__ */ jsx36("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
2055
+ /* @__PURE__ */ jsx36("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1924
2056
  ] }),
1925
- /* @__PURE__ */ jsx34(
2057
+ /* @__PURE__ */ jsx36(
1926
2058
  "path",
1927
2059
  {
1928
2060
  fill: "#0c7238",
1929
2061
  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"
1930
2062
  }
1931
2063
  ),
1932
- /* @__PURE__ */ jsx34(
2064
+ /* @__PURE__ */ jsx36(
1933
2065
  "path",
1934
2066
  {
1935
2067
  fill: "#fff",
@@ -1939,7 +2071,7 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs13(
1939
2071
  ]
1940
2072
  }
1941
2073
  );
1942
- var WordIcon = () => /* @__PURE__ */ jsxs13(
2074
+ var WordIcon = () => /* @__PURE__ */ jsxs14(
1943
2075
  "svg",
1944
2076
  {
1945
2077
  xmlns: "http://www.w3.org/2000/svg",
@@ -1947,14 +2079,14 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
1947
2079
  className: "w-10 h-10",
1948
2080
  baseProfile: "basic",
1949
2081
  children: [
1950
- /* @__PURE__ */ jsx34(
2082
+ /* @__PURE__ */ jsx36(
1951
2083
  "path",
1952
2084
  {
1953
2085
  fill: "#283593",
1954
2086
  d: "M9,33.595l14.911-18.706L41,26v13.306C41,41.346,39.346,43,37.306,43H15.332 C11.835,43,9,40.164,9,36.667C9,36.667,9,33.595,9,33.595z"
1955
2087
  }
1956
2088
  ),
1957
- /* @__PURE__ */ jsxs13(
2089
+ /* @__PURE__ */ jsxs14(
1958
2090
  "linearGradient",
1959
2091
  {
1960
2092
  id: "qh2LT5tehRDFkLLfb-odWa",
@@ -1965,19 +2097,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
1965
2097
  gradientTransform: "translate(0 -339.89)",
1966
2098
  gradientUnits: "userSpaceOnUse",
1967
2099
  children: [
1968
- /* @__PURE__ */ jsx34("stop", { offset: "0", "stop-color": "#66c0ff" }),
1969
- /* @__PURE__ */ jsx34("stop", { offset: ".26", "stop-color": "#0094f0" })
2100
+ /* @__PURE__ */ jsx36("stop", { offset: "0", "stop-color": "#66c0ff" }),
2101
+ /* @__PURE__ */ jsx36("stop", { offset: ".26", "stop-color": "#0094f0" })
1970
2102
  ]
1971
2103
  }
1972
2104
  ),
1973
- /* @__PURE__ */ jsx34(
2105
+ /* @__PURE__ */ jsx36(
1974
2106
  "path",
1975
2107
  {
1976
2108
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
1977
2109
  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"
1978
2110
  }
1979
2111
  ),
1980
- /* @__PURE__ */ jsx34(
2112
+ /* @__PURE__ */ jsx36(
1981
2113
  "path",
1982
2114
  {
1983
2115
  fill: "#1e88e5",
@@ -1985,21 +2117,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
1985
2117
  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"
1986
2118
  }
1987
2119
  ),
1988
- /* @__PURE__ */ jsx34(
2120
+ /* @__PURE__ */ jsx36(
1989
2121
  "path",
1990
2122
  {
1991
2123
  fill: "#00e5ff",
1992
2124
  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"
1993
2125
  }
1994
2126
  ),
1995
- /* @__PURE__ */ jsx34(
2127
+ /* @__PURE__ */ jsx36(
1996
2128
  "path",
1997
2129
  {
1998
2130
  fill: "#1565c0",
1999
2131
  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"
2000
2132
  }
2001
2133
  ),
2002
- /* @__PURE__ */ jsx34(
2134
+ /* @__PURE__ */ jsx36(
2003
2135
  "path",
2004
2136
  {
2005
2137
  fill: "#fff",
@@ -2009,42 +2141,42 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
2009
2141
  ]
2010
2142
  }
2011
2143
  );
2012
- var StandardIcon = () => /* @__PURE__ */ jsxs13(
2144
+ var StandardIcon = () => /* @__PURE__ */ jsxs14(
2013
2145
  "svg",
2014
2146
  {
2015
2147
  xmlns: "http://www.w3.org/2000/svg",
2016
2148
  viewBox: "0 0 48 48",
2017
2149
  className: "w-10 h-10",
2018
2150
  children: [
2019
- /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2020
- /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2151
+ /* @__PURE__ */ jsx36("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2152
+ /* @__PURE__ */ jsx36("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2021
2153
  ]
2022
2154
  }
2023
2155
  );
2024
- var PowerPointIcon = () => /* @__PURE__ */ jsxs13(
2156
+ var PowerPointIcon = () => /* @__PURE__ */ jsxs14(
2025
2157
  "svg",
2026
2158
  {
2027
2159
  xmlns: "http://www.w3.org/2000/svg",
2028
2160
  viewBox: "0 0 48 48",
2029
2161
  className: "w-10 h-10",
2030
2162
  children: [
2031
- /* @__PURE__ */ jsx34(
2163
+ /* @__PURE__ */ jsx36(
2032
2164
  "path",
2033
2165
  {
2034
2166
  fill: "#dc4c2c",
2035
2167
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
2036
2168
  }
2037
2169
  ),
2038
- /* @__PURE__ */ jsx34("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2039
- /* @__PURE__ */ jsx34("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2040
- /* @__PURE__ */ jsx34(
2170
+ /* @__PURE__ */ jsx36("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2171
+ /* @__PURE__ */ jsx36("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2172
+ /* @__PURE__ */ jsx36(
2041
2173
  "path",
2042
2174
  {
2043
2175
  fill: "#9b341f",
2044
2176
  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"
2045
2177
  }
2046
2178
  ),
2047
- /* @__PURE__ */ jsx34(
2179
+ /* @__PURE__ */ jsx36(
2048
2180
  "path",
2049
2181
  {
2050
2182
  fill: "#fff",
@@ -2054,16 +2186,16 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs13(
2054
2186
  ]
2055
2187
  }
2056
2188
  );
2057
- var TextIcon = () => /* @__PURE__ */ jsxs13(
2189
+ var TextIcon = () => /* @__PURE__ */ jsxs14(
2058
2190
  "svg",
2059
2191
  {
2060
2192
  xmlns: "http://www.w3.org/2000/svg",
2061
2193
  viewBox: "0 0 48 48",
2062
2194
  className: "w-10 h-10",
2063
2195
  children: [
2064
- /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2065
- /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2066
- /* @__PURE__ */ jsx34(
2196
+ /* @__PURE__ */ jsx36("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2197
+ /* @__PURE__ */ jsx36("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2198
+ /* @__PURE__ */ jsx36(
2067
2199
  "path",
2068
2200
  {
2069
2201
  fill: "#1976D2",
@@ -2073,7 +2205,7 @@ var TextIcon = () => /* @__PURE__ */ jsxs13(
2073
2205
  ]
2074
2206
  }
2075
2207
  );
2076
- var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2208
+ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2077
2209
  "svg",
2078
2210
  {
2079
2211
  xmlns: "http://www.w3.org/2000/svg",
@@ -2083,14 +2215,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2083
2215
  version: "1.0",
2084
2216
  className: "w-10 h-10",
2085
2217
  children: [
2086
- /* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsx34("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx34(
2218
+ /* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx36(
2087
2219
  "path",
2088
2220
  {
2089
2221
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2090
2222
  "clip-rule": "nonzero"
2091
2223
  }
2092
2224
  ) }) }),
2093
- /* @__PURE__ */ jsx34("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx34(
2225
+ /* @__PURE__ */ jsx36("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx36(
2094
2226
  "path",
2095
2227
  {
2096
2228
  fill: "#ff9100",
@@ -2099,7 +2231,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2099
2231
  "fill-rule": "nonzero"
2100
2232
  }
2101
2233
  ) }),
2102
- /* @__PURE__ */ jsx34(
2234
+ /* @__PURE__ */ jsx36(
2103
2235
  "path",
2104
2236
  {
2105
2237
  fill: "#fbe9e7",
@@ -2108,7 +2240,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2108
2240
  "fill-rule": "nonzero"
2109
2241
  }
2110
2242
  ),
2111
- /* @__PURE__ */ jsx34(
2243
+ /* @__PURE__ */ jsx36(
2112
2244
  "path",
2113
2245
  {
2114
2246
  fill: "#ffe0b2",
@@ -2117,7 +2249,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2117
2249
  "fill-rule": "nonzero"
2118
2250
  }
2119
2251
  ),
2120
- /* @__PURE__ */ jsx34(
2252
+ /* @__PURE__ */ jsx36(
2121
2253
  "path",
2122
2254
  {
2123
2255
  fill: "#ffe0b2",
@@ -2126,7 +2258,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2126
2258
  "fill-rule": "nonzero"
2127
2259
  }
2128
2260
  ),
2129
- /* @__PURE__ */ jsx34(
2261
+ /* @__PURE__ */ jsx36(
2130
2262
  "path",
2131
2263
  {
2132
2264
  fill: "#ffe0b2",
@@ -2201,8 +2333,8 @@ var DocumentNode = (props) => {
2201
2333
  }
2202
2334
  }
2203
2335
  if (documents.length === 0) {
2204
- 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: [
2205
- /* @__PURE__ */ jsx34("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
2336
+ return /* @__PURE__ */ jsx36(Fragment6, { children: /* @__PURE__ */ jsxs14("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2337
+ /* @__PURE__ */ jsx36("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx36(
2206
2338
  "svg",
2207
2339
  {
2208
2340
  className: "w-5 h-5",
@@ -2210,7 +2342,7 @@ var DocumentNode = (props) => {
2210
2342
  stroke: "currentColor",
2211
2343
  viewBox: "0 0 24 24",
2212
2344
  xmlns: "http://www.w3.org/2000/svg",
2213
- children: /* @__PURE__ */ jsx34(
2345
+ children: /* @__PURE__ */ jsx36(
2214
2346
  "path",
2215
2347
  {
2216
2348
  strokeLinecap: "round",
@@ -2221,11 +2353,11 @@ var DocumentNode = (props) => {
2221
2353
  )
2222
2354
  }
2223
2355
  ) }),
2224
- /* @__PURE__ */ jsx34("div", { className: "text-sm font-medium", children: "No documents found" }),
2225
- /* @__PURE__ */ jsx34("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2356
+ /* @__PURE__ */ jsx36("div", { className: "text-sm font-medium", children: "No documents found" }),
2357
+ /* @__PURE__ */ jsx36("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2226
2358
  ] }) });
2227
2359
  }
2228
- return /* @__PURE__ */ jsx34("div", { className: "", children: documents.map((doc, index) => {
2360
+ return /* @__PURE__ */ jsx36("div", { className: "", children: documents.map((doc, index) => {
2229
2361
  const documentUrl = AssetUtility_default.resolveUrl(
2230
2362
  props.assetBaseUrl,
2231
2363
  doc.assetUrl
@@ -2243,16 +2375,16 @@ var DocumentNode = (props) => {
2243
2375
  }
2244
2376
  }
2245
2377
  const { Icon, extLabel } = getFileDetails(documentUrl);
2246
- return /* @__PURE__ */ jsxs13(
2378
+ return /* @__PURE__ */ jsxs14(
2247
2379
  "div",
2248
2380
  {
2249
2381
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2250
2382
  children: [
2251
- /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-4", children: [
2252
- /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx34(Icon, {}) }),
2253
- /* @__PURE__ */ jsx34("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx34("h4", { className: "text-base font-semibold", children: documentTitle }) })
2383
+ /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-4", children: [
2384
+ /* @__PURE__ */ jsx36("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx36(Icon, {}) }),
2385
+ /* @__PURE__ */ jsx36("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx36("h4", { className: "text-base font-semibold", children: documentTitle }) })
2254
2386
  ] }),
2255
- /* @__PURE__ */ jsxs13(
2387
+ /* @__PURE__ */ jsxs14(
2256
2388
  "a",
2257
2389
  {
2258
2390
  href: documentUrl,
@@ -2260,7 +2392,7 @@ var DocumentNode = (props) => {
2260
2392
  rel: "noopener noreferrer",
2261
2393
  className: "inline-flex items-center px-4 py-2 text-sm font-medium bg-default border rounded focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors",
2262
2394
  children: [
2263
- /* @__PURE__ */ jsxs13(
2395
+ /* @__PURE__ */ jsxs14(
2264
2396
  "svg",
2265
2397
  {
2266
2398
  className: "w-4 h-4 mr-2",
@@ -2268,7 +2400,7 @@ var DocumentNode = (props) => {
2268
2400
  stroke: "currentColor",
2269
2401
  viewBox: "0 0 24 24",
2270
2402
  children: [
2271
- /* @__PURE__ */ jsx34(
2403
+ /* @__PURE__ */ jsx36(
2272
2404
  "path",
2273
2405
  {
2274
2406
  strokeLinecap: "round",
@@ -2277,7 +2409,7 @@ var DocumentNode = (props) => {
2277
2409
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2278
2410
  }
2279
2411
  ),
2280
- /* @__PURE__ */ jsx34(
2412
+ /* @__PURE__ */ jsx36(
2281
2413
  "path",
2282
2414
  {
2283
2415
  strokeLinecap: "round",
@@ -2303,13 +2435,13 @@ var DocumentNode_default = DocumentNode;
2303
2435
 
2304
2436
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
2305
2437
  import dynamic10 from "next/dynamic";
2306
- import { jsx as jsx35 } from "react/jsx-runtime";
2438
+ import { jsx as jsx37 } from "react/jsx-runtime";
2307
2439
  var IframeClient2 = dynamic10(() => import("./IframeClient-WF2KLXZB.mjs"), {
2308
2440
  ssr: false
2309
2441
  });
2310
2442
  var GoogleMapNode = (props) => {
2311
2443
  let src = props.node.embedUrl;
2312
- return /* @__PURE__ */ jsx35("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx35(
2444
+ return /* @__PURE__ */ jsx37("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx37(
2313
2445
  IframeClient2,
2314
2446
  {
2315
2447
  src,
@@ -2321,7 +2453,7 @@ var GoogleMapNode = (props) => {
2321
2453
  var GoogleMapNode_default = GoogleMapNode;
2322
2454
 
2323
2455
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2324
- import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2456
+ import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
2325
2457
  var Pagination = dynamic11(() => import("./Pagination-T7Z2NXKO.mjs"), { ssr: true });
2326
2458
  var DataBindingControls = dynamic11(() => import("./DataBindingControls-ESDLOHNB.mjs"), {
2327
2459
  ssr: true
@@ -2580,7 +2712,7 @@ var DivContainer = async (props) => {
2580
2712
  response = await serviceClient.get(endpoint);
2581
2713
  result = response?.result;
2582
2714
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
2583
- return /* @__PURE__ */ jsx36(NoDataFound_default, {});
2715
+ return /* @__PURE__ */ jsx38(NoDataFound_default, {});
2584
2716
  }
2585
2717
  if (dataBindingProperties.childCollectionName && props.dataitem) {
2586
2718
  childCollectionData = getNestedValue6(
@@ -2600,7 +2732,7 @@ var DivContainer = async (props) => {
2600
2732
  }
2601
2733
  const SelectedNode = NodeTypes2[node.type];
2602
2734
  if (!SelectedNode) return null;
2603
- return /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
2735
+ return /* @__PURE__ */ jsx38(React25.Fragment, { children: /* @__PURE__ */ jsx38(
2604
2736
  SelectedNode,
2605
2737
  {
2606
2738
  node,
@@ -2620,7 +2752,7 @@ var DivContainer = async (props) => {
2620
2752
  }
2621
2753
  ) }, key);
2622
2754
  }
2623
- function renderChildren(nodes, props2, data, key, href) {
2755
+ function renderChildren2(nodes, props2, data, key, href) {
2624
2756
  if (!nodes) return null;
2625
2757
  const childNodes = nodes.map((node, index) => {
2626
2758
  if (
@@ -2737,7 +2869,7 @@ var DivContainer = async (props) => {
2737
2869
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
2738
2870
  );
2739
2871
  const WrapperComponent = Wrapper;
2740
- const renderedContainer = /* @__PURE__ */ jsx36(
2872
+ const renderedContainer = /* @__PURE__ */ jsx38(
2741
2873
  WrapperComponent,
2742
2874
  {
2743
2875
  id: guid,
@@ -2745,17 +2877,17 @@ var DivContainer = async (props) => {
2745
2877
  className: classNames || void 0,
2746
2878
  ...wrapperProps,
2747
2879
  children: dataToRender.map(
2748
- (item, idx) => item?.links?.view && renderLink ? renderChildren(
2880
+ (item, idx) => item?.links?.view && renderLink ? renderChildren2(
2749
2881
  props.node.children,
2750
2882
  props,
2751
2883
  item,
2752
2884
  idx,
2753
2885
  props.href ? void 0 : item?.links?.view
2754
- )?.map((child, i) => /* @__PURE__ */ jsx36(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2886
+ )?.map((child, i) => /* @__PURE__ */ jsx38(React25.Fragment, { children: child }, i)) : renderChildren2(props.node.children, props, item, idx)
2755
2887
  )
2756
2888
  }
2757
2889
  );
2758
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx36(
2890
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx38(
2759
2891
  Pagination,
2760
2892
  {
2761
2893
  path: props.path,
@@ -2763,15 +2895,15 @@ var DivContainer = async (props) => {
2763
2895
  dataset: response
2764
2896
  }
2765
2897
  ) : null;
2766
- return /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2767
- /* @__PURE__ */ jsx36(
2898
+ return /* @__PURE__ */ jsxs15(React25.Fragment, { children: [
2899
+ /* @__PURE__ */ jsx38(
2768
2900
  "style",
2769
2901
  {
2770
2902
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2771
2903
  }
2772
2904
  ),
2773
- showDataBindingControls ? /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2774
- /* @__PURE__ */ jsx36(
2905
+ showDataBindingControls ? /* @__PURE__ */ jsxs15(React25.Fragment, { children: [
2906
+ /* @__PURE__ */ jsx38(
2775
2907
  DataBindingControls,
2776
2908
  {
2777
2909
  mode: "toolbar",
@@ -2783,18 +2915,18 @@ var DivContainer = async (props) => {
2783
2915
  showSearchBar: dataBindingProperties?.showSearchBar
2784
2916
  }
2785
2917
  ),
2786
- /* @__PURE__ */ jsxs14(
2918
+ /* @__PURE__ */ jsxs15(
2787
2919
  "div",
2788
2920
  {
2789
2921
  className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
2790
2922
  children: [
2791
- /* @__PURE__ */ jsxs14("div", { className: "min-w-0", children: [
2923
+ /* @__PURE__ */ jsxs15("div", { className: "min-w-0", children: [
2792
2924
  renderedContainer,
2793
2925
  paginationControl
2794
2926
  ] }),
2795
- dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs14("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
2796
- /* @__PURE__ */ jsx36("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2797
- /* @__PURE__ */ jsx36(
2927
+ dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs15("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
2928
+ /* @__PURE__ */ jsx38("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2929
+ /* @__PURE__ */ jsx38(
2798
2930
  DataBindingControls,
2799
2931
  {
2800
2932
  mode: "facets",
@@ -2808,16 +2940,16 @@ var DivContainer = async (props) => {
2808
2940
  ]
2809
2941
  }
2810
2942
  )
2811
- ] }) : /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2943
+ ] }) : /* @__PURE__ */ jsxs15(React25.Fragment, { children: [
2812
2944
  renderedContainer,
2813
- paginationControl && /* @__PURE__ */ jsx36("div", { children: paginationControl })
2945
+ paginationControl && /* @__PURE__ */ jsx38("div", { children: paginationControl })
2814
2946
  ] })
2815
2947
  ] });
2816
2948
  };
2817
2949
  var DivContainer_default = DivContainer;
2818
2950
 
2819
2951
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2820
- import { jsx as jsx37 } from "react/jsx-runtime";
2952
+ import { jsx as jsx39 } from "react/jsx-runtime";
2821
2953
  var NodeTypes = {
2822
2954
  ["paragraph"]: ParagraphNode_default,
2823
2955
  ["heading"]: HeadingNode_default,
@@ -2855,14 +2987,14 @@ var PageBodyRenderer = (props) => {
2855
2987
  }
2856
2988
  return true;
2857
2989
  };
2858
- return /* @__PURE__ */ jsx37(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2990
+ return /* @__PURE__ */ jsx39(React26.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2859
2991
  {
2860
2992
  }
2861
2993
  const SelectedNode = NodeTypes[node.type];
2862
2994
  if (!shouldRenderNode(node)) {
2863
2995
  return null;
2864
2996
  }
2865
- return /* @__PURE__ */ jsx37(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx37(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
2997
+ return /* @__PURE__ */ jsx39(React26.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx39(React26.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx39(React26.Fragment, { children: /* @__PURE__ */ jsx39(
2866
2998
  SelectedNode,
2867
2999
  {
2868
3000
  node,
@@ -2878,7 +3010,7 @@ var PageBodyRenderer = (props) => {
2878
3010
  device: props.device,
2879
3011
  widgetRenderer: props.widgetRenderer
2880
3012
  }
2881
- ) }) : /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
3013
+ ) }) : /* @__PURE__ */ jsx39(React26.Fragment, { children: /* @__PURE__ */ jsx39(
2882
3014
  SelectedNode,
2883
3015
  {
2884
3016
  node,
@@ -2948,7 +3080,7 @@ function EnterAnimationHydrator() {
2948
3080
 
2949
3081
  // src/components/Toast.tsx
2950
3082
  import { useCallback, useEffect as useEffect2, useRef, useState } from "react";
2951
- import { Fragment as Fragment7, jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
3083
+ import { Fragment as Fragment7, jsx as jsx40, jsxs as jsxs16 } from "react/jsx-runtime";
2952
3084
  var Toast = () => {
2953
3085
  const [showToast, setShowToast] = useState(false);
2954
3086
  const [message, setMessage] = useState("");
@@ -2982,8 +3114,8 @@ var Toast = () => {
2982
3114
  });
2983
3115
  };
2984
3116
  }, [closeToast, showMessage]);
2985
- 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: [
2986
- /* @__PURE__ */ jsx38(
3117
+ return /* @__PURE__ */ jsx40(Fragment7, { children: showToast && /* @__PURE__ */ jsx40("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__ */ jsxs16("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
3118
+ /* @__PURE__ */ jsx40(
2987
3119
  "span",
2988
3120
  {
2989
3121
  className: "font-medium text-inherit text-sm",
@@ -2991,7 +3123,7 @@ var Toast = () => {
2991
3123
  children: message
2992
3124
  }
2993
3125
  ),
2994
- /* @__PURE__ */ jsx38("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx38(
3126
+ /* @__PURE__ */ jsx40("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx40(
2995
3127
  "svg",
2996
3128
  {
2997
3129
  xmlns: "http://www.w3.org/2000/svg",
@@ -2999,7 +3131,7 @@ var Toast = () => {
2999
3131
  fill: "none",
3000
3132
  viewBox: "0 0 24 24",
3001
3133
  stroke: "currentColor",
3002
- children: /* @__PURE__ */ jsx38("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3134
+ children: /* @__PURE__ */ jsx40("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3003
3135
  }
3004
3136
  ) })
3005
3137
  ] }) }) });
@@ -3009,7 +3141,7 @@ var Toast_default = Toast;
3009
3141
  // src/components/NavigationTabsV2.tsx
3010
3142
  import Link2 from "next/link";
3011
3143
  import { usePathname } from "next/navigation";
3012
- import { jsx as jsx39 } from "react/jsx-runtime";
3144
+ import { jsx as jsx41 } from "react/jsx-runtime";
3013
3145
  function resolveRoutePlaceholders(route, params) {
3014
3146
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
3015
3147
  const value = params[key];
@@ -3034,8 +3166,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3034
3166
  isActive: tab.isActive
3035
3167
  })) || [];
3036
3168
  if (mappedTabs.length === 0) return null;
3037
- return /* @__PURE__ */ jsx39("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3038
- return /* @__PURE__ */ jsx39(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx39(
3169
+ return /* @__PURE__ */ jsx41("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3170
+ return /* @__PURE__ */ jsx41(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx41(
3039
3171
  "div",
3040
3172
  {
3041
3173
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -3048,51 +3180,51 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3048
3180
  var NavigationTabsV2_default = NavigationTabsV2;
3049
3181
 
3050
3182
  // src/components/dataForm/DataList.tsx
3051
- import React28, { useEffect as useEffect3, useState as useState2, useCallback as useCallback2, useReducer } from "react";
3183
+ import React30, { useEffect as useEffect3, useState as useState2, useCallback as useCallback2, useReducer } from "react";
3052
3184
  import { useRouter } from "next/navigation";
3053
3185
 
3054
3186
  // src/components/dataForm/NoContentView.tsx
3055
- import React26 from "react";
3056
- import { jsx as jsx40 } from "react/jsx-runtime";
3187
+ import React28 from "react";
3188
+ import { jsx as jsx42 } from "react/jsx-runtime";
3057
3189
  var NoContentView = (props) => {
3058
- return /* @__PURE__ */ jsx40(React26.Fragment, { children: props.isDataFound === false && props.children });
3190
+ return /* @__PURE__ */ jsx42(React28.Fragment, { children: props.isDataFound === false && props.children });
3059
3191
  };
3060
3192
  var NoContentView_default = NoContentView;
3061
3193
 
3062
3194
  // src/components/dataForm/ContentView.tsx
3063
- import React27 from "react";
3064
- import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
3195
+ import React29 from "react";
3196
+ import { jsx as jsx43, jsxs as jsxs17 } from "react/jsx-runtime";
3065
3197
  var ContentView = (props) => {
3066
- return /* @__PURE__ */ jsxs16(React27.Fragment, { children: [
3067
- props.isDataFound == null && /* @__PURE__ */ jsx41("div", { className: "", children: /* @__PURE__ */ jsxs16("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3068
- /* @__PURE__ */ jsxs16("div", { className: "flex items-center mb-4", children: [
3069
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3070
- /* @__PURE__ */ jsxs16("div", { className: "ml-2", children: [
3071
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3072
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3198
+ return /* @__PURE__ */ jsxs17(React29.Fragment, { children: [
3199
+ props.isDataFound == null && /* @__PURE__ */ jsx43("div", { className: "", children: /* @__PURE__ */ jsxs17("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3200
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center mb-4", children: [
3201
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3202
+ /* @__PURE__ */ jsxs17("div", { className: "ml-2", children: [
3203
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3204
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3073
3205
  ] })
3074
3206
  ] }),
3075
- /* @__PURE__ */ jsxs16("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3076
- /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3077
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3078
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3079
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3080
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3081
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3207
+ /* @__PURE__ */ jsxs17("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3208
+ /* @__PURE__ */ jsxs17("div", { className: "animate-pulse", children: [
3209
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3210
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3211
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3212
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3213
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3082
3214
  ] }),
3083
- /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3084
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3085
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3086
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3087
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3088
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3215
+ /* @__PURE__ */ jsxs17("div", { className: "animate-pulse", children: [
3216
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3217
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3218
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3219
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3220
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3089
3221
  ] }),
3090
- /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3091
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3092
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3093
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3094
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3095
- /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3222
+ /* @__PURE__ */ jsxs17("div", { className: "animate-pulse", children: [
3223
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3224
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3225
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3226
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3227
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3096
3228
  ] })
3097
3229
  ] })
3098
3230
  ] }) }),
@@ -3146,7 +3278,7 @@ function FormReducer(state, action) {
3146
3278
  var FormReducer_default = FormReducer;
3147
3279
 
3148
3280
  // src/components/dataForm/DataList.tsx
3149
- import { Fragment as Fragment8, jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
3281
+ import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs18 } from "react/jsx-runtime";
3150
3282
  var DataList = (props) => {
3151
3283
  const router = useRouter();
3152
3284
  let builder = new OdataBuilder(props.path);
@@ -3184,7 +3316,7 @@ var DataList = (props) => {
3184
3316
  if (path.includes(".")) {
3185
3317
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
3186
3318
  } else if (Array.isArray(obj[path])) {
3187
- return obj[path].map((item, index) => /* @__PURE__ */ jsx42("div", { children: item }, index));
3319
+ return obj[path].map((item, index) => /* @__PURE__ */ jsx44("div", { children: item }, index));
3188
3320
  } else {
3189
3321
  return obj[path];
3190
3322
  }
@@ -3263,30 +3395,30 @@ var DataList = (props) => {
3263
3395
  const renderPageNumbers = () => {
3264
3396
  if (pages <= 10) {
3265
3397
  return Array.from({ length: pages }, (_, index) => index + 1).map(
3266
- (page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3398
+ (page) => /* @__PURE__ */ jsx44(React30.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3267
3399
  Hyperlink,
3268
3400
  {
3269
3401
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3270
3402
  href: builder.getNewPageUrl(page),
3271
3403
  children: page
3272
3404
  }
3273
- ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3405
+ ) : /* @__PURE__ */ jsx44("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3274
3406
  );
3275
3407
  } else {
3276
3408
  const showFirstPages = activePageNumber <= 5;
3277
3409
  const showLastPages = activePageNumber > pages - 5;
3278
3410
  if (showFirstPages) {
3279
- return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3280
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3411
+ return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3412
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx44(React30.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3281
3413
  Hyperlink,
3282
3414
  {
3283
3415
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3284
3416
  href: builder.getNewPageUrl(page),
3285
3417
  children: page
3286
3418
  }
3287
- ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3288
- /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3289
- /* @__PURE__ */ jsx42(
3419
+ ) : /* @__PURE__ */ jsx44("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3420
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3421
+ /* @__PURE__ */ jsx44(
3290
3422
  Hyperlink,
3291
3423
  {
3292
3424
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3294,7 +3426,7 @@ var DataList = (props) => {
3294
3426
  children: pages - 1
3295
3427
  }
3296
3428
  ),
3297
- /* @__PURE__ */ jsx42(
3429
+ /* @__PURE__ */ jsx44(
3298
3430
  Hyperlink,
3299
3431
  {
3300
3432
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3302,7 +3434,7 @@ var DataList = (props) => {
3302
3434
  children: pages
3303
3435
  }
3304
3436
  ),
3305
- /* @__PURE__ */ jsx42("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3437
+ /* @__PURE__ */ jsx44("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs18(
3306
3438
  "select",
3307
3439
  {
3308
3440
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3314,18 +3446,18 @@ var DataList = (props) => {
3314
3446
  }
3315
3447
  },
3316
3448
  children: [
3317
- /* @__PURE__ */ jsx42("option", { className: "", value: "", children: "Jump to" }),
3449
+ /* @__PURE__ */ jsx44("option", { className: "", value: "", children: "Jump to" }),
3318
3450
  Array.from(
3319
3451
  { length: Math.max(0, pages - 10) },
3320
3452
  (_, index) => index + 9
3321
- ).map((page) => /* @__PURE__ */ jsx42("option", { value: page, children: page }, page))
3453
+ ).map((page) => /* @__PURE__ */ jsx44("option", { value: page, children: page }, page))
3322
3454
  ]
3323
3455
  }
3324
3456
  ) })
3325
3457
  ] });
3326
3458
  } else if (showLastPages) {
3327
- return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3328
- /* @__PURE__ */ jsx42(
3459
+ return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3460
+ /* @__PURE__ */ jsx44(
3329
3461
  Hyperlink,
3330
3462
  {
3331
3463
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3333,7 +3465,7 @@ var DataList = (props) => {
3333
3465
  children: "1"
3334
3466
  }
3335
3467
  ),
3336
- /* @__PURE__ */ jsx42(
3468
+ /* @__PURE__ */ jsx44(
3337
3469
  Hyperlink,
3338
3470
  {
3339
3471
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3341,21 +3473,21 @@ var DataList = (props) => {
3341
3473
  children: "2"
3342
3474
  }
3343
3475
  ),
3344
- /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3476
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3345
3477
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
3346
- (page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3478
+ (page) => /* @__PURE__ */ jsx44(React30.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3347
3479
  Hyperlink,
3348
3480
  {
3349
3481
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3350
3482
  href: builder.getNewPageUrl(page),
3351
3483
  children: page
3352
3484
  }
3353
- ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3485
+ ) : /* @__PURE__ */ jsx44("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3354
3486
  )
3355
3487
  ] });
3356
3488
  } else {
3357
- return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3358
- /* @__PURE__ */ jsx42(
3489
+ return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3490
+ /* @__PURE__ */ jsx44(
3359
3491
  Hyperlink,
3360
3492
  {
3361
3493
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3363,7 +3495,7 @@ var DataList = (props) => {
3363
3495
  children: "1"
3364
3496
  }
3365
3497
  ),
3366
- /* @__PURE__ */ jsx42(
3498
+ /* @__PURE__ */ jsx44(
3367
3499
  Hyperlink,
3368
3500
  {
3369
3501
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3371,20 +3503,20 @@ var DataList = (props) => {
3371
3503
  children: "2"
3372
3504
  }
3373
3505
  ),
3374
- /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3506
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3375
3507
  Array.from(
3376
3508
  { length: 5 },
3377
3509
  (_, index) => activePageNumber - 2 + index
3378
- ).map((page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3510
+ ).map((page) => /* @__PURE__ */ jsx44(React30.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3379
3511
  Hyperlink,
3380
3512
  {
3381
3513
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3382
3514
  href: builder.getNewPageUrl(page),
3383
3515
  children: page
3384
3516
  }
3385
- ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3386
- /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3387
- /* @__PURE__ */ jsx42(
3517
+ ) : /* @__PURE__ */ jsx44("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3518
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3519
+ /* @__PURE__ */ jsx44(
3388
3520
  Hyperlink,
3389
3521
  {
3390
3522
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3392,7 +3524,7 @@ var DataList = (props) => {
3392
3524
  children: pages - 1
3393
3525
  }
3394
3526
  ),
3395
- /* @__PURE__ */ jsx42(
3527
+ /* @__PURE__ */ jsx44(
3396
3528
  Hyperlink,
3397
3529
  {
3398
3530
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3400,7 +3532,7 @@ var DataList = (props) => {
3400
3532
  children: pages
3401
3533
  }
3402
3534
  ),
3403
- /* @__PURE__ */ jsx42("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3535
+ /* @__PURE__ */ jsx44("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs18(
3404
3536
  "select",
3405
3537
  {
3406
3538
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3412,8 +3544,8 @@ var DataList = (props) => {
3412
3544
  }
3413
3545
  },
3414
3546
  children: [
3415
- /* @__PURE__ */ jsx42("option", { value: "", children: "Jump to" }),
3416
- 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))
3547
+ /* @__PURE__ */ jsx44("option", { value: "", children: "Jump to" }),
3548
+ Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx44("option", { value: page, children: page }, page))
3417
3549
  ]
3418
3550
  }
3419
3551
  ) })
@@ -3421,16 +3553,16 @@ var DataList = (props) => {
3421
3553
  }
3422
3554
  }
3423
3555
  };
3424
- return /* @__PURE__ */ jsxs17(React28.Fragment, { children: [
3425
- /* @__PURE__ */ jsxs17(ContentView_default, { isDataFound, children: [
3426
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs17(
3556
+ return /* @__PURE__ */ jsxs18(React30.Fragment, { children: [
3557
+ /* @__PURE__ */ jsxs18(ContentView_default, { isDataFound, children: [
3558
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs18(
3427
3559
  "div",
3428
3560
  {
3429
3561
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
3430
3562
  children: [
3431
- 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", {}),
3432
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3433
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx42(
3563
+ props.title ? /* @__PURE__ */ jsx44("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx44("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx44("div", {}),
3564
+ /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3", children: [
3565
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx44(
3434
3566
  InputControl_default,
3435
3567
  {
3436
3568
  name: "Search_input",
@@ -3442,7 +3574,7 @@ var DataList = (props) => {
3442
3574
  }
3443
3575
  }
3444
3576
  ),
3445
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx42(
3577
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx44(
3446
3578
  InputControl_default,
3447
3579
  {
3448
3580
  name: filter.name,
@@ -3457,15 +3589,15 @@ var DataList = (props) => {
3457
3589
  },
3458
3590
  filter.name
3459
3591
  )),
3460
- props.addLinkHref && /* @__PURE__ */ jsxs17(
3592
+ props.addLinkHref && /* @__PURE__ */ jsxs18(
3461
3593
  Hyperlink,
3462
3594
  {
3463
3595
  className: "gap-1",
3464
3596
  linkType: "Primary" /* Solid */,
3465
3597
  href: props.addLinkHref,
3466
3598
  children: [
3467
- /* @__PURE__ */ jsx42(Icon_default, { name: "plus", className: "w-4 h-4" }),
3468
- /* @__PURE__ */ jsx42("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3599
+ /* @__PURE__ */ jsx44(Icon_default, { name: "plus", className: "w-4 h-4" }),
3600
+ /* @__PURE__ */ jsx44("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3469
3601
  ]
3470
3602
  }
3471
3603
  )
@@ -3473,8 +3605,8 @@ var DataList = (props) => {
3473
3605
  ]
3474
3606
  }
3475
3607
  ),
3476
- /* @__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: [
3477
- /* @__PURE__ */ jsx42("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsx42("tr", { children: props?.columns?.map((column) => {
3608
+ /* @__PURE__ */ jsx44("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs18("table", { className: "w-full divide-y divide-gray-200", children: [
3609
+ /* @__PURE__ */ jsx44("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsx44("tr", { children: props?.columns?.map((column) => {
3478
3610
  let url = builder.getNewOrderByUrl(column.name);
3479
3611
  let icon = "chevronUpDown";
3480
3612
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3484,18 +3616,18 @@ var DataList = (props) => {
3484
3616
  icon = "chevronUp";
3485
3617
  url = builder.getNewOrderByUrl(column.name + " desc");
3486
3618
  }
3487
- return /* @__PURE__ */ jsx42(
3619
+ return /* @__PURE__ */ jsx44(
3488
3620
  "th",
3489
3621
  {
3490
3622
  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" : ""),
3491
- children: /* @__PURE__ */ jsx42(
3623
+ children: /* @__PURE__ */ jsx44(
3492
3624
  Hyperlink,
3493
3625
  {
3494
3626
  href: column.enableSorting ? url : void 0,
3495
3627
  className: "!text-neutral-contrast ",
3496
- children: /* @__PURE__ */ jsxs17("span", { className: "flex items-center space-x-1", children: [
3497
- /* @__PURE__ */ jsx42("span", { className: "text-black", children: column.label }),
3498
- column.enableSorting && /* @__PURE__ */ jsx42(Icon_default, { className: "w-4 h-4", name: icon })
3628
+ children: /* @__PURE__ */ jsxs18("span", { className: "flex items-center space-x-1", children: [
3629
+ /* @__PURE__ */ jsx44("span", { className: "text-black", children: column.label }),
3630
+ column.enableSorting && /* @__PURE__ */ jsx44(Icon_default, { className: "w-4 h-4", name: icon })
3499
3631
  ] })
3500
3632
  }
3501
3633
  )
@@ -3503,22 +3635,22 @@ var DataList = (props) => {
3503
3635
  column.name
3504
3636
  );
3505
3637
  }) }) }),
3506
- /* @__PURE__ */ jsx42("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3638
+ /* @__PURE__ */ jsx44("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3507
3639
  let validityClass = "";
3508
3640
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
3509
3641
  validityClass = "bg-alert-200";
3510
3642
  }
3511
- return /* @__PURE__ */ jsx42("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
3512
- return /* @__PURE__ */ jsx42(React28.Fragment, { children: /* @__PURE__ */ jsx42(
3643
+ return /* @__PURE__ */ jsx44("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
3644
+ return /* @__PURE__ */ jsx44(React30.Fragment, { children: /* @__PURE__ */ jsx44(
3513
3645
  "td",
3514
3646
  {
3515
3647
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
3516
- children: column.addhref === true ? /* @__PURE__ */ jsx42(
3648
+ children: column.addhref === true ? /* @__PURE__ */ jsx44(
3517
3649
  Hyperlink,
3518
3650
  {
3519
3651
  className: "",
3520
3652
  href: `https://${dataitem[column.name]}`,
3521
- children: /* @__PURE__ */ jsx42(
3653
+ children: /* @__PURE__ */ jsx44(
3522
3654
  ViewControl_default,
3523
3655
  {
3524
3656
  controlType: column.controlType,
@@ -3531,11 +3663,11 @@ var DataList = (props) => {
3531
3663
  }
3532
3664
  )
3533
3665
  }
3534
- ) : column.showAsLink ? /* @__PURE__ */ jsx42(
3666
+ ) : column.showAsLink ? /* @__PURE__ */ jsx44(
3535
3667
  Hyperlink,
3536
3668
  {
3537
3669
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
3538
- children: /* @__PURE__ */ jsx42(
3670
+ children: /* @__PURE__ */ jsx44(
3539
3671
  ViewControl_default,
3540
3672
  {
3541
3673
  controlType: column.controlType,
@@ -3545,7 +3677,7 @@ var DataList = (props) => {
3545
3677
  }
3546
3678
  )
3547
3679
  }
3548
- ) : /* @__PURE__ */ jsx42(
3680
+ ) : /* @__PURE__ */ jsx44(
3549
3681
  ViewControl_default,
3550
3682
  {
3551
3683
  controlType: column.controlType,
@@ -3559,10 +3691,10 @@ var DataList = (props) => {
3559
3691
  }) }, index);
3560
3692
  }) })
3561
3693
  ] }) }),
3562
- /* @__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: [
3563
- /* @__PURE__ */ jsx42("div", { className: "text-gray-700", children: label }),
3564
- /* @__PURE__ */ jsxs17("div", { className: "flex space-x-2 items-center", children: [
3565
- activePageNumber > 1 && /* @__PURE__ */ jsx42(
3694
+ /* @__PURE__ */ jsx44("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs18("div", { className: "flex items-center justify-between", children: [
3695
+ /* @__PURE__ */ jsx44("div", { className: "text-gray-700", children: label }),
3696
+ /* @__PURE__ */ jsxs18("div", { className: "flex space-x-2 items-center", children: [
3697
+ activePageNumber > 1 && /* @__PURE__ */ jsx44(
3566
3698
  Hyperlink,
3567
3699
  {
3568
3700
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3570,9 +3702,9 @@ var DataList = (props) => {
3570
3702
  children: "Prev"
3571
3703
  }
3572
3704
  ),
3573
- 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" }),
3705
+ activePageNumber <= 1 && /* @__PURE__ */ jsx44("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" }),
3574
3706
  renderPageNumbers(),
3575
- activePageNumber < pages && /* @__PURE__ */ jsx42(
3707
+ activePageNumber < pages && /* @__PURE__ */ jsx44(
3576
3708
  Hyperlink,
3577
3709
  {
3578
3710
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3580,19 +3712,19 @@ var DataList = (props) => {
3580
3712
  children: "Next"
3581
3713
  }
3582
3714
  ),
3583
- 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" })
3715
+ activePageNumber >= pages && /* @__PURE__ */ jsx44("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3584
3716
  ] })
3585
3717
  ] }) })
3586
3718
  ] }),
3587
- /* @__PURE__ */ jsxs17(NoContentView_default, { isDataFound, children: [
3588
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs17(
3719
+ /* @__PURE__ */ jsxs18(NoContentView_default, { isDataFound, children: [
3720
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs18(
3589
3721
  "div",
3590
3722
  {
3591
3723
  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`,
3592
3724
  children: [
3593
- 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", {}),
3594
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3595
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx42(
3725
+ props.title ? /* @__PURE__ */ jsx44("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx44("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx44("div", {}),
3726
+ /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3", children: [
3727
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx44(
3596
3728
  InputControl_default,
3597
3729
  {
3598
3730
  name: "Search_input",
@@ -3604,7 +3736,7 @@ var DataList = (props) => {
3604
3736
  }
3605
3737
  }
3606
3738
  ),
3607
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx42(
3739
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx44(
3608
3740
  InputControl_default,
3609
3741
  {
3610
3742
  name: filter.name,
@@ -3619,15 +3751,15 @@ var DataList = (props) => {
3619
3751
  },
3620
3752
  filter.name
3621
3753
  )),
3622
- props.addLinkHref && /* @__PURE__ */ jsxs17(
3754
+ props.addLinkHref && /* @__PURE__ */ jsxs18(
3623
3755
  Hyperlink,
3624
3756
  {
3625
3757
  className: "gap-1",
3626
3758
  linkType: "Primary" /* Solid */,
3627
3759
  href: props.addLinkHref,
3628
3760
  children: [
3629
- /* @__PURE__ */ jsx42(Icon_default, { name: "plus", className: "w-4 h-4" }),
3630
- /* @__PURE__ */ jsx42("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3761
+ /* @__PURE__ */ jsx44(Icon_default, { name: "plus", className: "w-4 h-4" }),
3762
+ /* @__PURE__ */ jsx44("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3631
3763
  ]
3632
3764
  }
3633
3765
  )
@@ -3635,8 +3767,8 @@ var DataList = (props) => {
3635
3767
  ]
3636
3768
  }
3637
3769
  ),
3638
- /* @__PURE__ */ jsxs17("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3639
- /* @__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) => {
3770
+ /* @__PURE__ */ jsxs18("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3771
+ /* @__PURE__ */ jsx44("div", { children: /* @__PURE__ */ jsx44("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx44("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx44("tr", { children: props?.columns?.map((column) => {
3640
3772
  let url = builder.getNewOrderByUrl(column.name);
3641
3773
  let icon = "chevronUpDown";
3642
3774
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3646,18 +3778,18 @@ var DataList = (props) => {
3646
3778
  icon = "chevronUp";
3647
3779
  url = builder.getNewOrderByUrl(column.name + " desc");
3648
3780
  }
3649
- return /* @__PURE__ */ jsx42(
3781
+ return /* @__PURE__ */ jsx44(
3650
3782
  "th",
3651
3783
  {
3652
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" : ""),
3653
- children: /* @__PURE__ */ jsx42(
3785
+ children: /* @__PURE__ */ jsx44(
3654
3786
  Hyperlink,
3655
3787
  {
3656
3788
  href: column.enableSorting ? url : void 0,
3657
3789
  className: "text-body-950",
3658
- children: /* @__PURE__ */ jsxs17("span", { className: "flex items-center space-x-1", children: [
3659
- /* @__PURE__ */ jsx42("span", { children: column.label }),
3660
- column.enableSorting && /* @__PURE__ */ jsx42(Icon_default, { className: "w-4 h-4", name: icon })
3790
+ children: /* @__PURE__ */ jsxs18("span", { className: "flex items-center space-x-1", children: [
3791
+ /* @__PURE__ */ jsx44("span", { children: column.label }),
3792
+ column.enableSorting && /* @__PURE__ */ jsx44(Icon_default, { className: "w-4 h-4", name: icon })
3661
3793
  ] })
3662
3794
  }
3663
3795
  )
@@ -3665,7 +3797,7 @@ var DataList = (props) => {
3665
3797
  column.name
3666
3798
  );
3667
3799
  }) }) }) }) }),
3668
- /* @__PURE__ */ jsx42("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3800
+ /* @__PURE__ */ jsx44("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3669
3801
  ] })
3670
3802
  ] })
3671
3803
  ] });
@@ -3673,9 +3805,9 @@ var DataList = (props) => {
3673
3805
  var DataList_default = DataList;
3674
3806
 
3675
3807
  // src/components/dataForm/DataListRenderer.tsx
3676
- import React29, { useState as useState3, useEffect as useEffect4 } from "react";
3808
+ import React31, { useState as useState3, useEffect as useEffect4 } from "react";
3677
3809
  import { usePathname as usePathname2 } from "next/navigation";
3678
- import { jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
3810
+ import { jsx as jsx45, jsxs as jsxs19 } from "react/jsx-runtime";
3679
3811
  var viewControlMap = {
3680
3812
  number: ViewControlTypes.number,
3681
3813
  lineText: ViewControlTypes.lineText,
@@ -3770,13 +3902,13 @@ var DataListRenderer = ({
3770
3902
  isActive: landingPageUrl === pathname
3771
3903
  };
3772
3904
  });
3773
- return /* @__PURE__ */ jsxs18(React29.Fragment, { children: [
3905
+ return /* @__PURE__ */ jsxs19(React31.Fragment, { children: [
3774
3906
  resolvedTabs.length > 0 && // <NavigationTabsV2
3775
3907
  // tabs={resolvedTabs}
3776
3908
  // params={(widgetProps?.params ?? params) as Record<string, any>}
3777
3909
  // />
3778
- /* @__PURE__ */ jsx43(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3779
- /* @__PURE__ */ jsx43(
3910
+ /* @__PURE__ */ jsx45(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3911
+ /* @__PURE__ */ jsx45(
3780
3912
  DataList_default,
3781
3913
  {
3782
3914
  addLinkHref,
@@ -3795,10 +3927,10 @@ var DataListRenderer = ({
3795
3927
  var DataListRenderer_default = DataListRenderer;
3796
3928
 
3797
3929
  // src/components/dataForm/DataForm.tsx
3798
- import React31, { useCallback as useCallback4, useEffect as useEffect5, useReducer as useReducer2, useRef as useRef2 } from "react";
3930
+ import React33, { useCallback as useCallback4, useEffect as useEffect5, useReducer as useReducer2, useRef as useRef2 } from "react";
3799
3931
 
3800
3932
  // src/components/dataForm/DataFormChildSection.tsx
3801
- import React30, { useCallback as useCallback3 } from "react";
3933
+ import React32, { useCallback as useCallback3 } from "react";
3802
3934
 
3803
3935
  // src/components/dataForm/StyleTypes.tsx
3804
3936
  var StyleTypes2 = /* @__PURE__ */ ((StyleTypes3) => {
@@ -3821,7 +3953,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
3821
3953
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
3822
3954
 
3823
3955
  // src/components/dataForm/DataFormChildSection.tsx
3824
- import { jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
3956
+ import { jsx as jsx46, jsxs as jsxs20 } from "react/jsx-runtime";
3825
3957
  var DataFormChildSection = (props) => {
3826
3958
  const { section } = props;
3827
3959
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -3889,14 +4021,14 @@ var DataFormChildSection = (props) => {
3889
4021
  childItemsToRender,
3890
4022
  allChildItems: childItems
3891
4023
  });
3892
- return /* @__PURE__ */ jsx44(React30.Fragment, { children: /* @__PURE__ */ jsxs19("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
3893
- section.sectionTitle && /* @__PURE__ */ jsx44("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
3894
- /* @__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: [
3895
- /* @__PURE__ */ jsx44("div", { children: /* @__PURE__ */ jsxs19("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
3896
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx44("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
3897
- return /* @__PURE__ */ jsxs19("tr", { className: "", children: [
4024
+ return /* @__PURE__ */ jsx46(React32.Fragment, { children: /* @__PURE__ */ jsxs20("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
4025
+ section.sectionTitle && /* @__PURE__ */ jsx46("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
4026
+ /* @__PURE__ */ jsx46("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs20("div", { className: "flex flex-col justify-between gap-2", children: [
4027
+ /* @__PURE__ */ jsx46("div", { children: /* @__PURE__ */ jsxs20("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
4028
+ (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx46("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
4029
+ return /* @__PURE__ */ jsxs20("tr", { className: "", children: [
3898
4030
  sectionRow.elements.map((field, index) => {
3899
- return /* @__PURE__ */ jsx44(
4031
+ return /* @__PURE__ */ jsx46(
3900
4032
  "th",
3901
4033
  {
3902
4034
  className: "py-3 font-normal text-left",
@@ -3905,21 +4037,21 @@ var DataFormChildSection = (props) => {
3905
4037
  field.name
3906
4038
  );
3907
4039
  }),
3908
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("th", { className: "py-3 font-normal text-left", children: "Actions" })
4040
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx46("th", { className: "py-3 font-normal text-left", children: "Actions" })
3909
4041
  ] }, sectionRowIndex);
3910
4042
  }) }),
3911
- /* @__PURE__ */ jsx44("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
4043
+ /* @__PURE__ */ jsx46("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
3912
4044
  const { item, originalIndex } = visibleItem;
3913
4045
  const rowKey = originalIndex;
3914
- return /* @__PURE__ */ jsx44(React30.Fragment, { children: section.sectionRows.map(
4046
+ return /* @__PURE__ */ jsx46(React32.Fragment, { children: section.sectionRows.map(
3915
4047
  (sectionRow, sectionRowIndex) => {
3916
- return /* @__PURE__ */ jsxs19(
4048
+ return /* @__PURE__ */ jsxs20(
3917
4049
  "tr",
3918
4050
  {
3919
4051
  className: "",
3920
4052
  children: [
3921
4053
  sectionRow.elements.map((field, index) => {
3922
- return /* @__PURE__ */ jsx44("td", { children: /* @__PURE__ */ jsx44("div", { className: "flex-1", children: /* @__PURE__ */ jsx44("div", { className: "w-11/12", children: /* @__PURE__ */ jsx44(
4054
+ return /* @__PURE__ */ jsx46("td", { children: /* @__PURE__ */ jsx46("div", { className: "flex-1", children: /* @__PURE__ */ jsx46("div", { className: "w-11/12", children: /* @__PURE__ */ jsx46(
3923
4055
  InputControl_default,
3924
4056
  {
3925
4057
  index: filteredIndex,
@@ -3939,7 +4071,7 @@ var DataFormChildSection = (props) => {
3939
4071
  }
3940
4072
  ) }) }) }, field.name);
3941
4073
  }),
3942
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("td", { children: /* @__PURE__ */ jsx44(
4074
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx46("td", { children: /* @__PURE__ */ jsx46(
3943
4075
  ClientButton_default,
3944
4076
  {
3945
4077
  ButtonType: StyleTypes2.Hollow,
@@ -3948,7 +4080,7 @@ var DataFormChildSection = (props) => {
3948
4080
  },
3949
4081
  dataRole: "delete",
3950
4082
  tabIndex: -1,
3951
- children: /* @__PURE__ */ jsx44(
4083
+ children: /* @__PURE__ */ jsx46(
3952
4084
  Icon_default,
3953
4085
  {
3954
4086
  className: "w-4 h-4",
@@ -3965,7 +4097,7 @@ var DataFormChildSection = (props) => {
3965
4097
  ) }, rowKey);
3966
4098
  }) })
3967
4099
  ] }) }),
3968
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("div", { className: "ml-1", children: /* @__PURE__ */ jsx44(
4100
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx46("div", { className: "ml-1", children: /* @__PURE__ */ jsx46(
3969
4101
  ClientButton_default,
3970
4102
  {
3971
4103
  ButtonType: "Link" /* Link */,
@@ -3980,7 +4112,7 @@ var DataFormChildSection = (props) => {
3980
4112
  var DataFormChildSection_default = DataFormChildSection;
3981
4113
 
3982
4114
  // src/components/dataForm/DataForm.tsx
3983
- import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
4115
+ import { jsx as jsx47, jsxs as jsxs21 } from "react/jsx-runtime";
3984
4116
  var DataForm = (props) => {
3985
4117
  const formRef = useRef2(null);
3986
4118
  console.log(props.dataItem, "dssads");
@@ -4200,19 +4332,19 @@ var DataForm = (props) => {
4200
4332
  return false;
4201
4333
  }
4202
4334
  }
4203
- return /* @__PURE__ */ jsx45(React31.Fragment, { children: /* @__PURE__ */ jsxs20("div", { className: "flex-grow flex flex-col", children: [
4204
- 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(
4335
+ return /* @__PURE__ */ jsx47(React33.Fragment, { children: /* @__PURE__ */ jsxs21("div", { className: "flex-grow flex flex-col", children: [
4336
+ props.title && /* @__PURE__ */ jsx47("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__ */ jsxs21(
4205
4337
  "div",
4206
4338
  {
4207
4339
  className: "inline-flex items-center gap-2 cursor-pointer",
4208
4340
  onClick: () => window.history.back(),
4209
4341
  children: [
4210
- /* @__PURE__ */ jsx45(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4211
- /* @__PURE__ */ jsx45("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4342
+ /* @__PURE__ */ jsx47(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4343
+ /* @__PURE__ */ jsx47("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4212
4344
  ]
4213
4345
  }
4214
4346
  ) }),
4215
- /* @__PURE__ */ jsx45(
4347
+ /* @__PURE__ */ jsx47(
4216
4348
  "form",
4217
4349
  {
4218
4350
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -4233,8 +4365,8 @@ var DataForm = (props) => {
4233
4365
  }
4234
4366
  }
4235
4367
  },
4236
- children: /* @__PURE__ */ jsx45("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4237
- 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: [
4368
+ children: /* @__PURE__ */ jsx47("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4369
+ return /* @__PURE__ */ jsx47(React33.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs21("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4238
4370
  section.sectionRows?.map(
4239
4371
  (sectionRow, sectionRowIndex) => {
4240
4372
  const elementsCount = sectionRow.elements.length;
@@ -4245,14 +4377,14 @@ var DataForm = (props) => {
4245
4377
  sectionRow.visible
4246
4378
  );
4247
4379
  }
4248
- 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) => {
4249
- return /* @__PURE__ */ jsxs20(
4380
+ return /* @__PURE__ */ jsx47(React33.Fragment, { children: isVisible && /* @__PURE__ */ jsx47("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4381
+ return /* @__PURE__ */ jsxs21(
4250
4382
  "div",
4251
4383
  {
4252
4384
  className: sectionRow.grow ? "grow" : "",
4253
4385
  children: [
4254
- /* @__PURE__ */ jsx45("div", { children: field.controlType }),
4255
- /* @__PURE__ */ jsx45(
4386
+ /* @__PURE__ */ jsx47("div", { children: field.controlType }),
4387
+ /* @__PURE__ */ jsx47(
4256
4388
  InputControl_default,
4257
4389
  {
4258
4390
  name: field.name,
@@ -4282,12 +4414,12 @@ var DataForm = (props) => {
4282
4414
  }) }) }, sectionRowIndex);
4283
4415
  }
4284
4416
  ),
4285
- /* @__PURE__ */ jsx45("div", { children: section.childSections?.map(
4417
+ /* @__PURE__ */ jsx47("div", { children: section.childSections?.map(
4286
4418
  (childSection, childSectionIndex) => {
4287
- return /* @__PURE__ */ jsx45("div", { children: childSection.name && evalutateCondition(
4419
+ return /* @__PURE__ */ jsx47("div", { children: childSection.name && evalutateCondition(
4288
4420
  formState.inputValues,
4289
4421
  childSection.visible
4290
- ) && /* @__PURE__ */ jsx45(
4422
+ ) && /* @__PURE__ */ jsx47(
4291
4423
  DataFormChildSection_default,
4292
4424
  {
4293
4425
  section: childSection,
@@ -4302,8 +4434,8 @@ var DataForm = (props) => {
4302
4434
  }) })
4303
4435
  }
4304
4436
  ),
4305
- /* @__PURE__ */ jsxs20("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4306
- /* @__PURE__ */ jsx45("div", { children: props.additionalActions && /* @__PURE__ */ jsx45(
4437
+ /* @__PURE__ */ jsxs21("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4438
+ /* @__PURE__ */ jsx47("div", { children: props.additionalActions && /* @__PURE__ */ jsx47(
4307
4439
  Button_default,
4308
4440
  {
4309
4441
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4311,7 +4443,7 @@ var DataForm = (props) => {
4311
4443
  children: props.additionalActions.title
4312
4444
  }
4313
4445
  ) }),
4314
- /* @__PURE__ */ jsx45("div", { children: props.onDelete && /* @__PURE__ */ jsx45(
4446
+ /* @__PURE__ */ jsx47("div", { children: props.onDelete && /* @__PURE__ */ jsx47(
4315
4447
  Button_default,
4316
4448
  {
4317
4449
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4322,7 +4454,7 @@ var DataForm = (props) => {
4322
4454
  children: "Delete"
4323
4455
  }
4324
4456
  ) }),
4325
- /* @__PURE__ */ jsx45("div", { children: props.onClick && /* @__PURE__ */ jsx45(
4457
+ /* @__PURE__ */ jsx47("div", { children: props.onClick && /* @__PURE__ */ jsx47(
4326
4458
  Button_default,
4327
4459
  {
4328
4460
  onValidate,
@@ -4339,7 +4471,7 @@ var DataForm = (props) => {
4339
4471
  var DataForm_default = DataForm;
4340
4472
 
4341
4473
  // src/components/dataForm/DataFormRenderer.tsx
4342
- import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4474
+ import { jsx as jsx48, jsxs as jsxs22 } from "react/jsx-runtime";
4343
4475
  function getAction(actions, code) {
4344
4476
  return actions?.find((a) => a.actionCode === code);
4345
4477
  }
@@ -4365,9 +4497,9 @@ var DataFormRenderer = ({
4365
4497
  "Delete"
4366
4498
  );
4367
4499
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
4368
- return /* @__PURE__ */ jsxs21("div", { className: "flex-grow flex flex-col", children: [
4369
- widgetProps && /* @__PURE__ */ jsx46(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4370
- /* @__PURE__ */ jsx46(
4500
+ return /* @__PURE__ */ jsxs22("div", { className: "flex-grow flex flex-col", children: [
4501
+ widgetProps && /* @__PURE__ */ jsx48(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4502
+ /* @__PURE__ */ jsx48(
4371
4503
  DataForm_default,
4372
4504
  {
4373
4505
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",