@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260808070128 → 0.8.1-dev.20260808091030

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/server.mjs CHANGED
@@ -1,17 +1,17 @@
1
- import {
2
- ServiceClient_default
3
- } from "./chunk-3GWLDT7C.mjs";
4
1
  import {
5
2
  Hyperlink,
6
3
  OdataBuilder
7
4
  } from "./chunk-TVL6KVD5.mjs";
5
+ import {
6
+ ServiceClient_default
7
+ } from "./chunk-3GWLDT7C.mjs";
8
8
  import "./chunk-56HSDML5.mjs";
9
9
 
10
10
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
11
- import React24 from "react";
11
+ import React23 from "react";
12
12
 
13
13
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
14
- import React16 from "react";
14
+ import React15 from "react";
15
15
 
16
16
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
17
17
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -472,7 +472,7 @@ var EquationNode = ({ node }) => {
472
472
  var EquationNode_default = EquationNode;
473
473
 
474
474
  // src/components/controls/view/ViewControl.tsx
475
- import React15 from "react";
475
+ import React14 from "react";
476
476
 
477
477
  // src/components/controls/view/ViewControlTypes.tsx
478
478
  var ViewControlTypes = {
@@ -731,79 +731,14 @@ var DateTimeView = dynamic5(() => import("./DateTimeViewClient-K5FE5VSN.mjs"), {
731
731
  var DateTimeVew_default = DateTimeView;
732
732
 
733
733
  // src/components/controls/view/TimeUntilStarts.tsx
734
- import { useState, useEffect } from "react";
735
- import { jsx as jsx20 } from "react/jsx-runtime";
736
- var TimeUntilStarts = (props) => {
737
- const calculateTimeDifference = (startDate) => {
738
- const now = /* @__PURE__ */ new Date();
739
- const nowUtc = new Date(now.getTime() + now.getTimezoneOffset() * 6e4);
740
- const startDateUtc = new Date(startDate);
741
- const diffMs = startDateUtc.getTime() - nowUtc.getTime();
742
- const isPast = diffMs < 0;
743
- const absoluteDiffMs = Math.abs(diffMs);
744
- const diffDays = Math.floor(absoluteDiffMs / (1e3 * 60 * 60 * 24));
745
- const diffHours = Math.floor(
746
- absoluteDiffMs % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)
747
- );
748
- const diffMinutes = Math.floor(
749
- absoluteDiffMs % (1e3 * 60 * 60) / (1e3 * 60)
750
- );
751
- if (absoluteDiffMs < 6e4) {
752
- return "Just now";
753
- }
754
- let timeParts = [
755
- { value: diffDays, unit: "days" },
756
- { value: diffHours, unit: "hours" },
757
- { value: diffMinutes, unit: "minutes" }
758
- ];
759
- timeParts = timeParts.filter((part) => part.value > 0);
760
- if (isPast) {
761
- if (diffDays > 0) {
762
- return `${diffDays} day(s) ago`;
763
- } else if (diffHours > 0) {
764
- return `${diffHours} hour(s) ago`;
765
- } else if (diffMinutes > 0) {
766
- return `${diffMinutes} minute(s) ago`;
767
- } else {
768
- return "Just now";
769
- }
770
- } else {
771
- if (timeParts.length > 2) {
772
- timeParts = timeParts.slice(0, 2);
773
- }
774
- const displayString = timeParts.map((part) => `${part.value} ${part.unit}`).join(" ");
775
- return displayString ? `Starting in ${displayString}` : "Started";
776
- }
777
- };
778
- const isValidDate = (date) => {
779
- return !isNaN(Date.parse(date));
780
- };
781
- const [timeUntilStart, setTimeUntilStart] = useState(() => {
782
- if (props.value && isValidDate(props.value)) {
783
- return calculateTimeDifference(props.value);
784
- }
785
- return "";
786
- });
787
- useEffect(() => {
788
- if (props.value && isValidDate(props.value)) {
789
- setTimeUntilStart(calculateTimeDifference(props.value));
790
- const initialTimeout = setTimeout(() => {
791
- const interval = setInterval(() => {
792
- setTimeUntilStart(calculateTimeDifference(props.value));
793
- }, 6e4);
794
- return () => clearInterval(interval);
795
- }, 5e3);
796
- return () => clearTimeout(initialTimeout);
797
- } else {
798
- setTimeUntilStart("");
799
- }
800
- }, [props.value]);
801
- return /* @__PURE__ */ jsx20("div", { children: timeUntilStart });
802
- };
734
+ import dynamic6 from "next/dynamic";
735
+ var TimeUntilStarts = dynamic6(() => import("./TimeUntilStartsClient-4C7NDEAD.mjs"), {
736
+ ssr: false
737
+ });
803
738
  var TimeUntilStarts_default = TimeUntilStarts;
804
739
 
805
740
  // src/components/controls/view/ViewControl.tsx
806
- import { jsx as jsx21 } from "react/jsx-runtime";
741
+ import { jsx as jsx20 } from "react/jsx-runtime";
807
742
  var ViewControl = (props) => {
808
743
  const ControlComponents = {
809
744
  [ViewControlTypes_default.lineText]: LineTextView_default,
@@ -825,19 +760,19 @@ var ViewControl = (props) => {
825
760
  [ViewControlTypes_default.status]: StatusView_default,
826
761
  [ViewControlTypes_default.statusBg]: StatusBgView_default,
827
762
  [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
828
- // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
763
+ [ViewControlTypes_default.timeUntilStarts]: TimeUntilStarts_default,
829
764
  // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
830
765
  [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
831
766
  [ViewControlTypes_default.booleanView]: BooleanView_default,
832
767
  [ViewControlTypes_default.text]: LineTextView_default
833
768
  };
834
769
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
835
- return /* @__PURE__ */ jsx21(React15.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx21(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
770
+ return /* @__PURE__ */ jsx20(React14.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx20(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
836
771
  };
837
772
  var ViewControl_default = ViewControl;
838
773
 
839
774
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
840
- import { jsx as jsx22 } from "react/jsx-runtime";
775
+ import { jsx as jsx21 } from "react/jsx-runtime";
841
776
  function getNestedProperty(obj, path) {
842
777
  if (!obj || !path) return null;
843
778
  if (path.includes(".")) {
@@ -850,7 +785,7 @@ function getNestedProperty(obj, path) {
850
785
  }
851
786
  const value = obj[path];
852
787
  if (Array.isArray(value)) {
853
- return value.map((item, index) => /* @__PURE__ */ jsx22("div", { children: String(item) }, index));
788
+ return value.map((item, index) => /* @__PURE__ */ jsx21("div", { children: String(item) }, index));
854
789
  }
855
790
  return value;
856
791
  }
@@ -911,7 +846,7 @@ var DatafieldNode = (props) => {
911
846
  const dataType = props.node.dataType;
912
847
  if (isEmptyValue) return null;
913
848
  if (dataType === "rawContent") {
914
- return /* @__PURE__ */ jsx22(
849
+ return /* @__PURE__ */ jsx21(
915
850
  PageBodyRenderer_default,
916
851
  {
917
852
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -927,12 +862,12 @@ var DatafieldNode = (props) => {
927
862
  }
928
863
  );
929
864
  }
930
- return /* @__PURE__ */ jsx22(
865
+ return /* @__PURE__ */ jsx21(
931
866
  "span",
932
867
  {
933
868
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
934
869
  style: styles,
935
- children: /* @__PURE__ */ jsx22(
870
+ children: /* @__PURE__ */ jsx21(
936
871
  ViewControl_default,
937
872
  {
938
873
  controlType: dataType,
@@ -945,7 +880,7 @@ var DatafieldNode = (props) => {
945
880
  var DatafieldNode_default = DatafieldNode;
946
881
 
947
882
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
948
- import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs7 } from "react/jsx-runtime";
883
+ import { Fragment as Fragment2, jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
949
884
  var ParagraphNode = (props) => {
950
885
  const NodeTypes2 = {
951
886
  ["text"]: TextNode_default,
@@ -965,9 +900,9 @@ var ParagraphNode = (props) => {
965
900
  const isInlineOnlyParent = props.parentTag === "summary";
966
901
  const hasChildren = props.node.children && props.node.children.length > 0;
967
902
  if (isInlineOnlyParent) {
968
- return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
903
+ return /* @__PURE__ */ jsx22(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
969
904
  const SelectedNode = NodeTypes2[node.type];
970
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
905
+ return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(
971
906
  SelectedNode,
972
907
  {
973
908
  node,
@@ -982,7 +917,7 @@ var ParagraphNode = (props) => {
982
917
  return /* @__PURE__ */ jsxs7("div", { className: " " + formatClasses, children: [
983
918
  hasChildren && props.node.children.map((node, index) => {
984
919
  const SelectedNode = NodeTypes2[node.type];
985
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
920
+ return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(
986
921
  SelectedNode,
987
922
  {
988
923
  node,
@@ -993,14 +928,14 @@ var ParagraphNode = (props) => {
993
928
  }
994
929
  ) }, index);
995
930
  }),
996
- !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
931
+ !hasChildren && /* @__PURE__ */ jsx22("div", { className: "py-1.5 lg:py-2" })
997
932
  ] });
998
933
  };
999
934
  var ParagraphNode_default = ParagraphNode;
1000
935
 
1001
936
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
1002
- import React17 from "react";
1003
- import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
937
+ import React16 from "react";
938
+ import { Fragment as Fragment3, jsx as jsx23 } from "react/jsx-runtime";
1004
939
  var HeadingNode = (props) => {
1005
940
  const NodeTypes2 = {
1006
941
  ["text"]: TextNode_default,
@@ -1016,23 +951,23 @@ var HeadingNode = (props) => {
1016
951
  {
1017
952
  }
1018
953
  const formatClasses = FormatClass[props.node.format] || "";
1019
- return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
954
+ return /* @__PURE__ */ jsx23(Fragment3, { children: React16.createElement(
1020
955
  HeadingTag,
1021
956
  { className: formatClasses },
1022
957
  props.node.children && props.node.children.map((childNode, index) => {
1023
958
  const SelectedNode = NodeTypes2[childNode.type];
1024
- 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);
959
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1025
960
  })
1026
961
  ) });
1027
962
  };
1028
963
  var HeadingNode_default = HeadingNode;
1029
964
 
1030
965
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1031
- import React19 from "react";
966
+ import React18 from "react";
1032
967
 
1033
968
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
1034
- import React18 from "react";
1035
- import { jsx as jsx25 } from "react/jsx-runtime";
969
+ import React17 from "react";
970
+ import { jsx as jsx24 } from "react/jsx-runtime";
1036
971
  var ListItemNode = (props) => {
1037
972
  const NodeTypes2 = {
1038
973
  text: TextNode_default,
@@ -1049,66 +984,66 @@ var ListItemNode = (props) => {
1049
984
  liStyle.fontSize = match[1].trim();
1050
985
  }
1051
986
  }
1052
- return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
987
+ return /* @__PURE__ */ jsx24("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1053
988
  const SelectedNode = NodeTypes2[node.type];
1054
989
  if (node.type === "linebreak") {
1055
990
  if (!foundFirstBreak) {
1056
991
  foundFirstBreak = true;
1057
- return /* @__PURE__ */ jsx25("div", {}, index);
992
+ return /* @__PURE__ */ jsx24("div", {}, index);
1058
993
  } else {
1059
- return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
994
+ return /* @__PURE__ */ jsx24("div", { className: "py-1 lg:py-2" }, index);
1060
995
  }
1061
996
  } else {
1062
997
  foundFirstBreak = false;
1063
- return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
998
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1064
999
  }
1065
1000
  }) });
1066
1001
  };
1067
1002
  var ListItemNode_default = ListItemNode;
1068
1003
 
1069
1004
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1070
- import { jsx as jsx26, jsxs as jsxs8 } from "react/jsx-runtime";
1005
+ import { jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
1071
1006
  var ListNode = (props) => {
1072
1007
  const NodeTypes2 = {
1073
1008
  listitem: ListItemNode_default
1074
1009
  };
1075
- return /* @__PURE__ */ jsxs8(React19.Fragment, { children: [
1076
- props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
1010
+ return /* @__PURE__ */ jsxs8(React18.Fragment, { children: [
1011
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx25("ul", { children: props.node.children && props.node.children.map((node, index) => {
1077
1012
  const SelectedNode = NodeTypes2[node.type];
1078
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1013
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1079
1014
  }) }),
1080
- props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
1015
+ props.node.listType == "number" && /* @__PURE__ */ jsx25("ol", { children: props.node.children && props.node.children.map((node, index) => {
1081
1016
  const SelectedNode = NodeTypes2[node.type];
1082
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1017
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1083
1018
  }) })
1084
1019
  ] });
1085
1020
  };
1086
1021
  var ListNode_default = ListNode;
1087
1022
 
1088
1023
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1089
- import React20 from "react";
1090
- import { jsx as jsx27 } from "react/jsx-runtime";
1024
+ import React19 from "react";
1025
+ import { jsx as jsx26 } from "react/jsx-runtime";
1091
1026
  var QuoteNode = (props) => {
1092
1027
  const NodeTypes2 = {
1093
1028
  ["text"]: TextNode_default,
1094
1029
  ["linebreak"]: LineBreakNode_default,
1095
1030
  ["link"]: LinkNode_default
1096
1031
  };
1097
- return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1032
+ return /* @__PURE__ */ jsx26("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1098
1033
  const SelectedNode = NodeTypes2[node.type];
1099
- return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1034
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1100
1035
  }) });
1101
1036
  };
1102
1037
  var QuoteNode_default = QuoteNode;
1103
1038
 
1104
1039
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1105
- import React21 from "react";
1106
- import dynamic6 from "next/dynamic";
1107
- import { jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
1108
- var CopyButton = dynamic6(() => import("./CopyButton-XONTQQW7.mjs"), {
1040
+ import React20 from "react";
1041
+ import dynamic7 from "next/dynamic";
1042
+ import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
1043
+ var CopyButton = dynamic7(() => import("./CopyButton-XONTQQW7.mjs"), {
1109
1044
  ssr: false,
1110
1045
  // optional: fallback UI while loading
1111
- loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
1046
+ loading: () => /* @__PURE__ */ jsx27("span", { className: "text-gray-400 text-xs", children: "Copy" })
1112
1047
  });
1113
1048
  var CodeNode = (props) => {
1114
1049
  const NodeTypes2 = {
@@ -1124,12 +1059,12 @@ var CodeNode = (props) => {
1124
1059
  }).join("") ?? "";
1125
1060
  return /* @__PURE__ */ jsxs9("div", { children: [
1126
1061
  /* @__PURE__ */ jsxs9("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1127
- /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1128
- /* @__PURE__ */ jsx28(CopyButton, { text: textContent })
1062
+ /* @__PURE__ */ jsx27("span", { children: "Code Snippet" }),
1063
+ /* @__PURE__ */ jsx27(CopyButton, { text: textContent })
1129
1064
  ] }),
1130
- /* @__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) => {
1065
+ /* @__PURE__ */ jsx27("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) => {
1131
1066
  const SelectedNode = NodeTypes2[node.type];
1132
- return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1067
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(
1133
1068
  SelectedNode,
1134
1069
  {
1135
1070
  node,
@@ -1144,15 +1079,15 @@ var CodeNode = (props) => {
1144
1079
  var CodeNode_default = CodeNode;
1145
1080
 
1146
1081
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1147
- import { jsx as jsx29 } from "react/jsx-runtime";
1082
+ import { jsx as jsx28 } from "react/jsx-runtime";
1148
1083
  var HorizontalRuleNode = () => {
1149
- return /* @__PURE__ */ jsx29("hr", {});
1084
+ return /* @__PURE__ */ jsx28("hr", {});
1150
1085
  };
1151
1086
  var HorizontalRuleNode_default = HorizontalRuleNode;
1152
1087
 
1153
1088
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1154
- import React22 from "react";
1155
- import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
1089
+ import React21 from "react";
1090
+ import { Fragment as Fragment4, jsx as jsx29 } from "react/jsx-runtime";
1156
1091
  var WidgetNode = (props) => {
1157
1092
  const getWidgetParameters = () => {
1158
1093
  const widgetInputParameters = {
@@ -1216,7 +1151,7 @@ var WidgetNode = (props) => {
1216
1151
  };
1217
1152
  const widgetCode = props.node?.widgetCode;
1218
1153
  if (!widgetCode) {
1219
- return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1154
+ return /* @__PURE__ */ jsx29(Fragment4, { children: "Invalid widget" });
1220
1155
  }
1221
1156
  const widgetParams = getWidgetParameters();
1222
1157
  const WidgetRenderer = props.widgetRenderer;
@@ -1225,7 +1160,7 @@ var WidgetNode = (props) => {
1225
1160
  }
1226
1161
  return (
1227
1162
  // eslint-disable-next-line react-hooks/static-components
1228
- /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1163
+ /* @__PURE__ */ jsx29(React21.Fragment, { children: /* @__PURE__ */ jsx29(
1229
1164
  WidgetRenderer,
1230
1165
  {
1231
1166
  params: widgetParams,
@@ -1242,13 +1177,13 @@ var WidgetNode = (props) => {
1242
1177
  var WidgetNode_default = WidgetNode;
1243
1178
 
1244
1179
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1245
- import dynamic9 from "next/dynamic";
1246
- import React23 from "react";
1180
+ import dynamic10 from "next/dynamic";
1181
+ import React22 from "react";
1247
1182
 
1248
1183
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1249
- import dynamic7 from "next/dynamic";
1250
- import { jsx as jsx31 } from "react/jsx-runtime";
1251
- var IframeClient = dynamic7(() => import("./IframeClient-J22NMEVY.mjs"), {
1184
+ import dynamic8 from "next/dynamic";
1185
+ import { jsx as jsx30 } from "react/jsx-runtime";
1186
+ var IframeClient = dynamic8(() => import("./IframeClient-J64QAFNK.mjs"), {
1252
1187
  ssr: false
1253
1188
  });
1254
1189
  var EmbedNode = (props) => {
@@ -1260,7 +1195,7 @@ var EmbedNode = (props) => {
1260
1195
  } else {
1261
1196
  src = props.node.embedSrc;
1262
1197
  }
1263
- return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
1198
+ return /* @__PURE__ */ jsx30("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx30(IframeClient, { src }) });
1264
1199
  };
1265
1200
  var EmbedNode_default = EmbedNode;
1266
1201
 
@@ -1453,10 +1388,10 @@ var PathUtility = class {
1453
1388
  var PathUtility_default = new PathUtility();
1454
1389
 
1455
1390
  // src/components/NoDataFound.tsx
1456
- import { jsx as jsx32, jsxs as jsxs10 } from "react/jsx-runtime";
1391
+ import { jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
1457
1392
  var NoDataFound = () => {
1458
1393
  return /* @__PURE__ */ jsxs10("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1459
- /* @__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(
1394
+ /* @__PURE__ */ jsx31("div", { className: "mb-5", children: /* @__PURE__ */ jsx31("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx31(
1460
1395
  "svg",
1461
1396
  {
1462
1397
  className: "w-10 h-10",
@@ -1464,7 +1399,7 @@ var NoDataFound = () => {
1464
1399
  stroke: "currentColor",
1465
1400
  viewBox: "0 0 24 24",
1466
1401
  xmlns: "http://www.w3.org/2000/svg",
1467
- children: /* @__PURE__ */ jsx32(
1402
+ children: /* @__PURE__ */ jsx31(
1468
1403
  "path",
1469
1404
  {
1470
1405
  strokeLinecap: "round",
@@ -1475,16 +1410,16 @@ var NoDataFound = () => {
1475
1410
  )
1476
1411
  }
1477
1412
  ) }) }),
1478
- /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1479
- /* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1413
+ /* @__PURE__ */ jsx31("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1414
+ /* @__PURE__ */ jsx31("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1480
1415
  ] });
1481
1416
  };
1482
1417
  var NoDataFound_default = NoDataFound;
1483
1418
 
1484
1419
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1485
- import dynamic8 from "next/dynamic";
1486
- import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs11 } from "react/jsx-runtime";
1487
- var HlsPlayer3 = dynamic8(() => import("./HlsPlayer-BVS6BVF7.mjs"), { ssr: false });
1420
+ import dynamic9 from "next/dynamic";
1421
+ import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1422
+ var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-BVS6BVF7.mjs"), { ssr: false });
1488
1423
  var deviceToMediaQuery = (device) => {
1489
1424
  switch (device) {
1490
1425
  case "lg":
@@ -1640,7 +1575,7 @@ var ImageGalleryNode = (props) => {
1640
1575
  };
1641
1576
  const formatClasses = FormatClass[props.node.format || ""] || "";
1642
1577
  return /* @__PURE__ */ jsxs11(Fragment5, { children: [
1643
- hlsSources.length > 0 && /* @__PURE__ */ jsx33(Fragment5, { children: /* @__PURE__ */ jsx33(
1578
+ hlsSources.length > 0 && /* @__PURE__ */ jsx32(Fragment5, { children: /* @__PURE__ */ jsx32(
1644
1579
  HlsPlayer3,
1645
1580
  {
1646
1581
  sources: hlsSources,
@@ -1655,7 +1590,7 @@ var ImageGalleryNode = (props) => {
1655
1590
  styles: hlsStyles
1656
1591
  }
1657
1592
  ) }),
1658
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx33(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs11("picture", { children: [
1593
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx32(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs11("picture", { children: [
1659
1594
  DEVICE_ORDER.map((deviceKey) => {
1660
1595
  const match = staticSources.find(
1661
1596
  (img) => img.device === deviceKey
@@ -1671,7 +1606,7 @@ var ImageGalleryNode = (props) => {
1671
1606
  if (!srcUrl) {
1672
1607
  return null;
1673
1608
  }
1674
- return /* @__PURE__ */ jsx33(
1609
+ return /* @__PURE__ */ jsx32(
1675
1610
  "source",
1676
1611
  {
1677
1612
  media: deviceToMediaQuery(match.device),
@@ -1696,7 +1631,7 @@ var ImageGalleryNode = (props) => {
1696
1631
  if (img.borderRadius) {
1697
1632
  styles.borderRadius = img.borderRadius;
1698
1633
  }
1699
- return /* @__PURE__ */ jsx33(
1634
+ return /* @__PURE__ */ jsx32(
1700
1635
  "img",
1701
1636
  {
1702
1637
  loading: "lazy",
@@ -1711,7 +1646,7 @@ var ImageGalleryNode = (props) => {
1711
1646
  })()
1712
1647
  ] }) : (
1713
1648
  /* Case 2: Only device-specific images exist */
1714
- /* @__PURE__ */ jsx33(Fragment5, { children: staticSources.map((img, index) => {
1649
+ /* @__PURE__ */ jsx32(Fragment5, { children: staticSources.map((img, index) => {
1715
1650
  const resolved = resolveImage(img);
1716
1651
  const imageUrl = resolved?.imageUrl;
1717
1652
  if (!imageUrl) {
@@ -1738,7 +1673,7 @@ var ImageGalleryNode = (props) => {
1738
1673
  default:
1739
1674
  display = "block";
1740
1675
  }
1741
- return /* @__PURE__ */ jsx33(
1676
+ return /* @__PURE__ */ jsx32(
1742
1677
  "img",
1743
1678
  {
1744
1679
  loading: "lazy",
@@ -1878,7 +1813,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
1878
1813
  };
1879
1814
 
1880
1815
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1881
- import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs12 } from "react/jsx-runtime";
1816
+ import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1882
1817
  var getNestedValue5 = (obj, path) => {
1883
1818
  if (!obj || !path) return void 0;
1884
1819
  return path.split(".").reduce((current, key) => {
@@ -1892,14 +1827,14 @@ var PdfIcon = () => /* @__PURE__ */ jsxs12(
1892
1827
  viewBox: "0 0 48 48",
1893
1828
  className: "w-10 h-10",
1894
1829
  children: [
1895
- /* @__PURE__ */ jsx34(
1830
+ /* @__PURE__ */ jsx33(
1896
1831
  "path",
1897
1832
  {
1898
1833
  fill: "#e53935",
1899
1834
  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"
1900
1835
  }
1901
1836
  ),
1902
- /* @__PURE__ */ jsx34(
1837
+ /* @__PURE__ */ jsx33(
1903
1838
  "path",
1904
1839
  {
1905
1840
  fill: "#fff",
@@ -1916,48 +1851,48 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs12(
1916
1851
  viewBox: "0 0 48 48",
1917
1852
  className: "w-10 h-10",
1918
1853
  children: [
1919
- /* @__PURE__ */ jsx34(
1854
+ /* @__PURE__ */ jsx33(
1920
1855
  "path",
1921
1856
  {
1922
1857
  fill: "#169154",
1923
1858
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
1924
1859
  }
1925
1860
  ),
1926
- /* @__PURE__ */ jsx34(
1861
+ /* @__PURE__ */ jsx33(
1927
1862
  "path",
1928
1863
  {
1929
1864
  fill: "#18482a",
1930
1865
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
1931
1866
  }
1932
1867
  ),
1933
- /* @__PURE__ */ jsx34("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1934
- /* @__PURE__ */ jsx34("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1868
+ /* @__PURE__ */ jsx33("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1869
+ /* @__PURE__ */ jsx33("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1935
1870
  /* @__PURE__ */ jsxs12("g", { children: [
1936
- /* @__PURE__ */ jsx34(
1871
+ /* @__PURE__ */ jsx33(
1937
1872
  "path",
1938
1873
  {
1939
1874
  fill: "#29c27f",
1940
1875
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
1941
1876
  }
1942
1877
  ),
1943
- /* @__PURE__ */ jsx34(
1878
+ /* @__PURE__ */ jsx33(
1944
1879
  "path",
1945
1880
  {
1946
1881
  fill: "#27663f",
1947
1882
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
1948
1883
  }
1949
1884
  ),
1950
- /* @__PURE__ */ jsx34("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1951
- /* @__PURE__ */ jsx34("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1885
+ /* @__PURE__ */ jsx33("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1886
+ /* @__PURE__ */ jsx33("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1952
1887
  ] }),
1953
- /* @__PURE__ */ jsx34(
1888
+ /* @__PURE__ */ jsx33(
1954
1889
  "path",
1955
1890
  {
1956
1891
  fill: "#0c7238",
1957
1892
  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"
1958
1893
  }
1959
1894
  ),
1960
- /* @__PURE__ */ jsx34(
1895
+ /* @__PURE__ */ jsx33(
1961
1896
  "path",
1962
1897
  {
1963
1898
  fill: "#fff",
@@ -1975,7 +1910,7 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1975
1910
  className: "w-10 h-10",
1976
1911
  baseProfile: "basic",
1977
1912
  children: [
1978
- /* @__PURE__ */ jsx34(
1913
+ /* @__PURE__ */ jsx33(
1979
1914
  "path",
1980
1915
  {
1981
1916
  fill: "#283593",
@@ -1993,19 +1928,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1993
1928
  gradientTransform: "translate(0 -339.89)",
1994
1929
  gradientUnits: "userSpaceOnUse",
1995
1930
  children: [
1996
- /* @__PURE__ */ jsx34("stop", { offset: "0", "stop-color": "#66c0ff" }),
1997
- /* @__PURE__ */ jsx34("stop", { offset: ".26", "stop-color": "#0094f0" })
1931
+ /* @__PURE__ */ jsx33("stop", { offset: "0", "stop-color": "#66c0ff" }),
1932
+ /* @__PURE__ */ jsx33("stop", { offset: ".26", "stop-color": "#0094f0" })
1998
1933
  ]
1999
1934
  }
2000
1935
  ),
2001
- /* @__PURE__ */ jsx34(
1936
+ /* @__PURE__ */ jsx33(
2002
1937
  "path",
2003
1938
  {
2004
1939
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
2005
1940
  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"
2006
1941
  }
2007
1942
  ),
2008
- /* @__PURE__ */ jsx34(
1943
+ /* @__PURE__ */ jsx33(
2009
1944
  "path",
2010
1945
  {
2011
1946
  fill: "#1e88e5",
@@ -2013,21 +1948,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
2013
1948
  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"
2014
1949
  }
2015
1950
  ),
2016
- /* @__PURE__ */ jsx34(
1951
+ /* @__PURE__ */ jsx33(
2017
1952
  "path",
2018
1953
  {
2019
1954
  fill: "#00e5ff",
2020
1955
  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"
2021
1956
  }
2022
1957
  ),
2023
- /* @__PURE__ */ jsx34(
1958
+ /* @__PURE__ */ jsx33(
2024
1959
  "path",
2025
1960
  {
2026
1961
  fill: "#1565c0",
2027
1962
  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"
2028
1963
  }
2029
1964
  ),
2030
- /* @__PURE__ */ jsx34(
1965
+ /* @__PURE__ */ jsx33(
2031
1966
  "path",
2032
1967
  {
2033
1968
  fill: "#fff",
@@ -2044,8 +1979,8 @@ var StandardIcon = () => /* @__PURE__ */ jsxs12(
2044
1979
  viewBox: "0 0 48 48",
2045
1980
  className: "w-10 h-10",
2046
1981
  children: [
2047
- /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2048
- /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
1982
+ /* @__PURE__ */ jsx33("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
1983
+ /* @__PURE__ */ jsx33("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2049
1984
  ]
2050
1985
  }
2051
1986
  );
@@ -2056,23 +1991,23 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs12(
2056
1991
  viewBox: "0 0 48 48",
2057
1992
  className: "w-10 h-10",
2058
1993
  children: [
2059
- /* @__PURE__ */ jsx34(
1994
+ /* @__PURE__ */ jsx33(
2060
1995
  "path",
2061
1996
  {
2062
1997
  fill: "#dc4c2c",
2063
1998
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
2064
1999
  }
2065
2000
  ),
2066
- /* @__PURE__ */ jsx34("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2067
- /* @__PURE__ */ jsx34("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2068
- /* @__PURE__ */ jsx34(
2001
+ /* @__PURE__ */ jsx33("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2002
+ /* @__PURE__ */ jsx33("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2003
+ /* @__PURE__ */ jsx33(
2069
2004
  "path",
2070
2005
  {
2071
2006
  fill: "#9b341f",
2072
2007
  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"
2073
2008
  }
2074
2009
  ),
2075
- /* @__PURE__ */ jsx34(
2010
+ /* @__PURE__ */ jsx33(
2076
2011
  "path",
2077
2012
  {
2078
2013
  fill: "#fff",
@@ -2089,9 +2024,9 @@ var TextIcon = () => /* @__PURE__ */ jsxs12(
2089
2024
  viewBox: "0 0 48 48",
2090
2025
  className: "w-10 h-10",
2091
2026
  children: [
2092
- /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2093
- /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2094
- /* @__PURE__ */ jsx34(
2027
+ /* @__PURE__ */ jsx33("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2028
+ /* @__PURE__ */ jsx33("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2029
+ /* @__PURE__ */ jsx33(
2095
2030
  "path",
2096
2031
  {
2097
2032
  fill: "#1976D2",
@@ -2111,14 +2046,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2111
2046
  version: "1.0",
2112
2047
  className: "w-10 h-10",
2113
2048
  children: [
2114
- /* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsx34("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx34(
2049
+ /* @__PURE__ */ jsx33("defs", { children: /* @__PURE__ */ jsx33("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx33(
2115
2050
  "path",
2116
2051
  {
2117
2052
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2118
2053
  "clip-rule": "nonzero"
2119
2054
  }
2120
2055
  ) }) }),
2121
- /* @__PURE__ */ jsx34("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx34(
2056
+ /* @__PURE__ */ jsx33("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx33(
2122
2057
  "path",
2123
2058
  {
2124
2059
  fill: "#ff9100",
@@ -2127,7 +2062,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2127
2062
  "fill-rule": "nonzero"
2128
2063
  }
2129
2064
  ) }),
2130
- /* @__PURE__ */ jsx34(
2065
+ /* @__PURE__ */ jsx33(
2131
2066
  "path",
2132
2067
  {
2133
2068
  fill: "#fbe9e7",
@@ -2136,7 +2071,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2136
2071
  "fill-rule": "nonzero"
2137
2072
  }
2138
2073
  ),
2139
- /* @__PURE__ */ jsx34(
2074
+ /* @__PURE__ */ jsx33(
2140
2075
  "path",
2141
2076
  {
2142
2077
  fill: "#ffe0b2",
@@ -2145,7 +2080,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2145
2080
  "fill-rule": "nonzero"
2146
2081
  }
2147
2082
  ),
2148
- /* @__PURE__ */ jsx34(
2083
+ /* @__PURE__ */ jsx33(
2149
2084
  "path",
2150
2085
  {
2151
2086
  fill: "#ffe0b2",
@@ -2154,7 +2089,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2154
2089
  "fill-rule": "nonzero"
2155
2090
  }
2156
2091
  ),
2157
- /* @__PURE__ */ jsx34(
2092
+ /* @__PURE__ */ jsx33(
2158
2093
  "path",
2159
2094
  {
2160
2095
  fill: "#ffe0b2",
@@ -2230,8 +2165,8 @@ var DocumentNode = (props) => {
2230
2165
  }
2231
2166
  }
2232
2167
  if (documents.length === 0) {
2233
- return /* @__PURE__ */ jsx34(Fragment6, { children: /* @__PURE__ */ jsxs12("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2234
- /* @__PURE__ */ jsx34("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
2168
+ return /* @__PURE__ */ jsx33(Fragment6, { children: /* @__PURE__ */ jsxs12("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2169
+ /* @__PURE__ */ jsx33("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
2235
2170
  "svg",
2236
2171
  {
2237
2172
  className: "w-5 h-5",
@@ -2239,7 +2174,7 @@ var DocumentNode = (props) => {
2239
2174
  stroke: "currentColor",
2240
2175
  viewBox: "0 0 24 24",
2241
2176
  xmlns: "http://www.w3.org/2000/svg",
2242
- children: /* @__PURE__ */ jsx34(
2177
+ children: /* @__PURE__ */ jsx33(
2243
2178
  "path",
2244
2179
  {
2245
2180
  strokeLinecap: "round",
@@ -2250,11 +2185,11 @@ var DocumentNode = (props) => {
2250
2185
  )
2251
2186
  }
2252
2187
  ) }),
2253
- /* @__PURE__ */ jsx34("div", { className: "text-sm font-medium", children: "No documents found" }),
2254
- /* @__PURE__ */ jsx34("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2188
+ /* @__PURE__ */ jsx33("div", { className: "text-sm font-medium", children: "No documents found" }),
2189
+ /* @__PURE__ */ jsx33("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2255
2190
  ] }) });
2256
2191
  }
2257
- return /* @__PURE__ */ jsx34("div", { className: "", children: documents.map((doc, index) => {
2192
+ return /* @__PURE__ */ jsx33("div", { className: "", children: documents.map((doc, index) => {
2258
2193
  const documentUrl = AssetUtility_default.resolveUrl(
2259
2194
  props.assetBaseUrl,
2260
2195
  doc.assetUrl
@@ -2278,8 +2213,8 @@ var DocumentNode = (props) => {
2278
2213
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2279
2214
  children: [
2280
2215
  /* @__PURE__ */ jsxs12("div", { className: "flex items-center space-x-4", children: [
2281
- /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx34(Icon, {}) }),
2282
- /* @__PURE__ */ jsx34("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx34("h4", { className: "text-base font-semibold", children: documentTitle }) })
2216
+ /* @__PURE__ */ jsx33("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx33(Icon, {}) }),
2217
+ /* @__PURE__ */ jsx33("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx33("h4", { className: "text-base font-semibold", children: documentTitle }) })
2283
2218
  ] }),
2284
2219
  /* @__PURE__ */ jsxs12(
2285
2220
  "a",
@@ -2297,7 +2232,7 @@ var DocumentNode = (props) => {
2297
2232
  stroke: "currentColor",
2298
2233
  viewBox: "0 0 24 24",
2299
2234
  children: [
2300
- /* @__PURE__ */ jsx34(
2235
+ /* @__PURE__ */ jsx33(
2301
2236
  "path",
2302
2237
  {
2303
2238
  strokeLinecap: "round",
@@ -2306,7 +2241,7 @@ var DocumentNode = (props) => {
2306
2241
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2307
2242
  }
2308
2243
  ),
2309
- /* @__PURE__ */ jsx34(
2244
+ /* @__PURE__ */ jsx33(
2310
2245
  "path",
2311
2246
  {
2312
2247
  strokeLinecap: "round",
@@ -2331,9 +2266,9 @@ var DocumentNode = (props) => {
2331
2266
  var DocumentNode_default = DocumentNode;
2332
2267
 
2333
2268
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2334
- import { jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
2335
- var Pagination = dynamic9(() => import("./Pagination-6OFACRMQ.mjs"), { ssr: true });
2336
- var Slider = dynamic9(() => import("./Slider-PEIVH6A5.mjs"), {
2269
+ import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
2270
+ var Pagination = dynamic10(() => import("./Pagination-6OFACRMQ.mjs"), { ssr: true });
2271
+ var Slider = dynamic10(() => import("./Slider-PEIVH6A5.mjs"), {
2337
2272
  ssr: false
2338
2273
  });
2339
2274
  function toCamelCase(str) {
@@ -2586,7 +2521,7 @@ var DivContainer = async (props) => {
2586
2521
  response = await serviceClient.get(endpoint);
2587
2522
  result = response?.result;
2588
2523
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
2589
- return /* @__PURE__ */ jsx35(NoDataFound_default, {});
2524
+ return /* @__PURE__ */ jsx34(NoDataFound_default, {});
2590
2525
  }
2591
2526
  if (dataBindingProperties.childCollectionName && props.dataitem) {
2592
2527
  childCollectionData = getNestedValue6(
@@ -2606,7 +2541,7 @@ var DivContainer = async (props) => {
2606
2541
  }
2607
2542
  const SelectedNode = NodeTypes2[node.type];
2608
2543
  if (!SelectedNode) return null;
2609
- return /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2544
+ return /* @__PURE__ */ jsx34(React22.Fragment, { children: /* @__PURE__ */ jsx34(
2610
2545
  SelectedNode,
2611
2546
  {
2612
2547
  node,
@@ -2739,14 +2674,14 @@ var DivContainer = async (props) => {
2739
2674
  noLinkColor && "no-link-color",
2740
2675
  !!props.node.enterAnimation && "enter-animation"
2741
2676
  ].filter(Boolean).join(" ");
2742
- return /* @__PURE__ */ jsxs13(React23.Fragment, { children: [
2743
- /* @__PURE__ */ jsx35(
2677
+ return /* @__PURE__ */ jsxs13(React22.Fragment, { children: [
2678
+ /* @__PURE__ */ jsx34(
2744
2679
  "style",
2745
2680
  {
2746
2681
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2747
2682
  }
2748
2683
  ),
2749
- /* @__PURE__ */ jsx35(
2684
+ /* @__PURE__ */ jsx34(
2750
2685
  Wrapper,
2751
2686
  {
2752
2687
  id: guid,
@@ -2760,11 +2695,11 @@ var DivContainer = async (props) => {
2760
2695
  item,
2761
2696
  idx,
2762
2697
  props.href ? void 0 : item?.links?.view
2763
- )?.map((child, i) => /* @__PURE__ */ jsx35(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2698
+ )?.map((child, i) => /* @__PURE__ */ jsx34(React22.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2764
2699
  )
2765
2700
  }
2766
2701
  ),
2767
- dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx35("div", { children: /* @__PURE__ */ jsx35(
2702
+ dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx34("div", { children: /* @__PURE__ */ jsx34(
2768
2703
  Pagination,
2769
2704
  {
2770
2705
  path: props.path,
@@ -2777,7 +2712,7 @@ var DivContainer = async (props) => {
2777
2712
  var DivContainer_default = DivContainer;
2778
2713
 
2779
2714
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2780
- import { jsx as jsx36 } from "react/jsx-runtime";
2715
+ import { jsx as jsx35 } from "react/jsx-runtime";
2781
2716
  var NodeTypes = {
2782
2717
  ["paragraph"]: ParagraphNode_default,
2783
2718
  ["heading"]: HeadingNode_default,
@@ -2814,14 +2749,14 @@ var PageBodyRenderer = (props) => {
2814
2749
  }
2815
2750
  return true;
2816
2751
  };
2817
- return /* @__PURE__ */ jsx36(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2752
+ return /* @__PURE__ */ jsx35(React23.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2818
2753
  {
2819
2754
  }
2820
2755
  const SelectedNode = NodeTypes[node.type];
2821
2756
  if (!shouldRenderNode(node)) {
2822
2757
  return null;
2823
2758
  }
2824
- return /* @__PURE__ */ jsx36(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx36(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx36(React24.Fragment, { children: /* @__PURE__ */ jsx36(
2759
+ return /* @__PURE__ */ jsx35(React23.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx35(React23.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2825
2760
  SelectedNode,
2826
2761
  {
2827
2762
  node,
@@ -2837,7 +2772,7 @@ var PageBodyRenderer = (props) => {
2837
2772
  device: props.device,
2838
2773
  widgetRenderer: props.widgetRenderer
2839
2774
  }
2840
- ) }) : /* @__PURE__ */ jsx36(React24.Fragment, { children: /* @__PURE__ */ jsx36(
2775
+ ) }) : /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2841
2776
  SelectedNode,
2842
2777
  {
2843
2778
  node,