@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260929055955 → 0.8.1-dev.20260930053845

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
@@ -469,10 +469,10 @@ var InputControl = dynamic7(() => import("./InputControlClient-QMFSUGTK.mjs"), {
469
469
  var InputControl_default = InputControl;
470
470
 
471
471
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
472
- import React24 from "react";
472
+ import React25 from "react";
473
473
 
474
474
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
475
- import React16 from "react";
475
+ import React17 from "react";
476
476
 
477
477
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
478
478
  import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
@@ -626,7 +626,7 @@ var ImageNode = (props) => {
626
626
  ...props.node.borderRadius && { borderRadius: props.node.borderRadius },
627
627
  ...props.node.width && { width: props.node.width }
628
628
  };
629
- const FORMAT_CLASSES2 = {
629
+ const FORMAT_CLASSES3 = {
630
630
  center: "justify-center",
631
631
  left: "justify-start",
632
632
  right: "justify-end"
@@ -658,7 +658,7 @@ var ImageNode = (props) => {
658
658
  }
659
659
  );
660
660
  if (props.node.width) {
661
- return /* @__PURE__ */ jsx18("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
661
+ return /* @__PURE__ */ jsx18("div", { className: `flex ${FORMAT_CLASSES3[props.node.format] ?? ""}`, children: renderMedia() });
662
662
  }
663
663
  return renderMedia();
664
664
  };
@@ -949,8 +949,89 @@ var DatafieldNode = (props) => {
949
949
  };
950
950
  var DatafieldNode_default = DatafieldNode;
951
951
 
952
+ // src/components/pageRenderingEngine/nodes/CounterNode.tsx
953
+ import { useCallback, useEffect, useRef, useState } from "react";
954
+ import { jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
955
+ var FORMAT_CLASSES2 = {
956
+ center: "justify-center text-center",
957
+ right: "justify-end text-right",
958
+ left: "justify-start text-left",
959
+ justify: "justify-between text-justify"
960
+ };
961
+ var CounterNode = ({ node }) => {
962
+ const ref = useRef(null);
963
+ const startValue = typeof node?.startValue === "number" ? node.startValue : Number(node?.startValue) || 0;
964
+ const endValue = typeof node?.endValue === "number" ? node.endValue : Number(node?.endValue) || 0;
965
+ const duration = Math.max(Number(node?.duration) || 2e3, 300);
966
+ const prefix = node?.prefix ?? "";
967
+ const suffix = node?.suffix ?? "";
968
+ const format = node?.format;
969
+ const [displayValue, setDisplayValue] = useState(startValue);
970
+ const hasAnimatedRef = useRef(false);
971
+ const runAnimation = useCallback(() => {
972
+ let startTime = null;
973
+ let animationFrameId;
974
+ const step = (timestamp) => {
975
+ if (!startTime) startTime = timestamp;
976
+ const progress = Math.min((timestamp - startTime) / duration, 1);
977
+ const easeOutProgress = 1 - Math.pow(1 - progress, 3);
978
+ const currentVal = Math.round(startValue + (endValue - startValue) * easeOutProgress);
979
+ setDisplayValue(currentVal);
980
+ if (progress < 1) {
981
+ animationFrameId = requestAnimationFrame(step);
982
+ } else {
983
+ setDisplayValue(endValue);
984
+ }
985
+ };
986
+ animationFrameId = requestAnimationFrame(step);
987
+ return () => {
988
+ if (animationFrameId) {
989
+ cancelAnimationFrame(animationFrameId);
990
+ }
991
+ };
992
+ }, [startValue, endValue, duration]);
993
+ useEffect(() => {
994
+ const currentRef = ref.current;
995
+ if (!currentRef) return;
996
+ if (typeof IntersectionObserver === "undefined") {
997
+ return runAnimation();
998
+ }
999
+ const observer = new IntersectionObserver(
1000
+ (entries) => {
1001
+ entries.forEach((entry) => {
1002
+ if (entry.isIntersecting && !hasAnimatedRef.current) {
1003
+ hasAnimatedRef.current = true;
1004
+ runAnimation();
1005
+ observer.unobserve(entry.target);
1006
+ }
1007
+ });
1008
+ },
1009
+ { threshold: 0.1 }
1010
+ );
1011
+ observer.observe(currentRef);
1012
+ return () => {
1013
+ observer.disconnect();
1014
+ };
1015
+ }, [runAnimation]);
1016
+ if (!node) return null;
1017
+ const alignClass = format && FORMAT_CLASSES2[format] || "justify-center text-center";
1018
+ return /* @__PURE__ */ jsx23(
1019
+ "div",
1020
+ {
1021
+ ref,
1022
+ className: `counter-node inline-flex items-center ${alignClass}`,
1023
+ children: /* @__PURE__ */ jsxs8("span", { className: "counter-display text-3xl font-bold tracking-tight", children: [
1024
+ prefix,
1025
+ displayValue.toLocaleString(),
1026
+ suffix
1027
+ ] })
1028
+ }
1029
+ );
1030
+ };
1031
+ var CounterNode_default = CounterNode;
1032
+
952
1033
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
953
- import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
1034
+ import { Fragment as Fragment2, jsx as jsx24, jsxs as jsxs9 } from "react/jsx-runtime";
954
1035
  var ParagraphNode = (props) => {
955
1036
  const NodeTypes2 = {
956
1037
  ["text"]: TextNode_default,
@@ -958,7 +1039,8 @@ var ParagraphNode = (props) => {
958
1039
  ["link"]: LinkNode_default,
959
1040
  ["datafield"]: DatafieldNode_default,
960
1041
  ["equation"]: EquationNode_default,
961
- ["svg-icon"]: SVGIconNode_default
1042
+ ["svg-icon"]: SVGIconNode_default,
1043
+ ["counter"]: CounterNode_default
962
1044
  };
963
1045
  const FormatClass = {
964
1046
  "center": "text-center",
@@ -970,9 +1052,9 @@ var ParagraphNode = (props) => {
970
1052
  const isInlineOnlyParent = props.parentTag === "summary";
971
1053
  const hasChildren = props.node.children && props.node.children.length > 0;
972
1054
  if (isInlineOnlyParent) {
973
- return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
1055
+ return /* @__PURE__ */ jsx24(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
974
1056
  const SelectedNode = NodeTypes2[node.type];
975
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1057
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
976
1058
  SelectedNode,
977
1059
  {
978
1060
  node,
@@ -985,10 +1067,10 @@ var ParagraphNode = (props) => {
985
1067
  ) }, index);
986
1068
  }) });
987
1069
  }
988
- return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
1070
+ return /* @__PURE__ */ jsxs9("div", { className: " " + formatClasses, children: [
989
1071
  hasChildren && props.node.children.map((node, index) => {
990
1072
  const SelectedNode = NodeTypes2[node.type];
991
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1073
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
992
1074
  SelectedNode,
993
1075
  {
994
1076
  node,
@@ -1000,21 +1082,22 @@ var ParagraphNode = (props) => {
1000
1082
  }
1001
1083
  ) }, index);
1002
1084
  }),
1003
- !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
1085
+ !hasChildren && /* @__PURE__ */ jsx24("div", { className: "py-1.5 lg:py-2" })
1004
1086
  ] });
1005
1087
  };
1006
1088
  var ParagraphNode_default = ParagraphNode;
1007
1089
 
1008
1090
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
1009
- import React17 from "react";
1010
- import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
1091
+ import React18 from "react";
1092
+ import { Fragment as Fragment3, jsx as jsx25 } from "react/jsx-runtime";
1011
1093
  var HeadingNode = (props) => {
1012
1094
  const NodeTypes2 = {
1013
1095
  ["text"]: TextNode_default,
1014
1096
  ["link"]: LinkNode_default,
1015
1097
  ["svg-icon"]: SVGIconNode_default,
1016
1098
  ["linebreak"]: LineBreakNode_default,
1017
- ["datafield"]: DatafieldNode_default
1099
+ ["datafield"]: DatafieldNode_default,
1100
+ ["counter"]: CounterNode_default
1018
1101
  };
1019
1102
  const HeadingTag = `${props.node.tag}`;
1020
1103
  const FormatClass = {
@@ -1023,23 +1106,23 @@ var HeadingNode = (props) => {
1023
1106
  {
1024
1107
  }
1025
1108
  const formatClasses = FormatClass[props.node.format] || "";
1026
- return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
1109
+ return /* @__PURE__ */ jsx25(Fragment3, { children: React18.createElement(
1027
1110
  HeadingTag,
1028
1111
  { className: formatClasses },
1029
1112
  props.node.children && props.node.children.map((childNode, index) => {
1030
1113
  const SelectedNode = NodeTypes2[childNode.type];
1031
- return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
1114
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
1032
1115
  })
1033
1116
  ) });
1034
1117
  };
1035
1118
  var HeadingNode_default = HeadingNode;
1036
1119
 
1037
1120
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1038
- import React19 from "react";
1121
+ import React20 from "react";
1039
1122
 
1040
1123
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
1041
- import React18 from "react";
1042
- import { jsx as jsx25 } from "react/jsx-runtime";
1124
+ import React19 from "react";
1125
+ import { jsx as jsx26 } from "react/jsx-runtime";
1043
1126
  var ListItemNode = (props) => {
1044
1127
  const NodeTypes2 = {
1045
1128
  text: TextNode_default,
@@ -1056,66 +1139,66 @@ var ListItemNode = (props) => {
1056
1139
  liStyle.fontSize = match[1].trim();
1057
1140
  }
1058
1141
  }
1059
- return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1142
+ return /* @__PURE__ */ jsx26("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1060
1143
  const SelectedNode = NodeTypes2[node.type];
1061
1144
  if (node.type === "linebreak") {
1062
1145
  if (!foundFirstBreak) {
1063
1146
  foundFirstBreak = true;
1064
- return /* @__PURE__ */ jsx25("div", {}, index);
1147
+ return /* @__PURE__ */ jsx26("div", {}, index);
1065
1148
  } else {
1066
- return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
1149
+ return /* @__PURE__ */ jsx26("div", { className: "py-1 lg:py-2" }, index);
1067
1150
  }
1068
1151
  } else {
1069
1152
  foundFirstBreak = false;
1070
- return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1153
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1071
1154
  }
1072
1155
  }) });
1073
1156
  };
1074
1157
  var ListItemNode_default = ListItemNode;
1075
1158
 
1076
1159
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1077
- import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1160
+ import { jsx as jsx27, jsxs as jsxs10 } from "react/jsx-runtime";
1078
1161
  var ListNode = (props) => {
1079
1162
  const NodeTypes2 = {
1080
1163
  listitem: ListItemNode_default
1081
1164
  };
1082
- return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
1083
- props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
1165
+ return /* @__PURE__ */ jsxs10(React20.Fragment, { children: [
1166
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx27("ul", { children: props.node.children && props.node.children.map((node, index) => {
1084
1167
  const SelectedNode = NodeTypes2[node.type];
1085
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1168
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1086
1169
  }) }),
1087
- props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
1170
+ props.node.listType == "number" && /* @__PURE__ */ jsx27("ol", { children: props.node.children && props.node.children.map((node, index) => {
1088
1171
  const SelectedNode = NodeTypes2[node.type];
1089
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1172
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1090
1173
  }) })
1091
1174
  ] });
1092
1175
  };
1093
1176
  var ListNode_default = ListNode;
1094
1177
 
1095
1178
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1096
- import React20 from "react";
1097
- import { jsx as jsx27 } from "react/jsx-runtime";
1179
+ import React21 from "react";
1180
+ import { jsx as jsx28 } from "react/jsx-runtime";
1098
1181
  var QuoteNode = (props) => {
1099
1182
  const NodeTypes2 = {
1100
1183
  ["text"]: TextNode_default,
1101
1184
  ["linebreak"]: LineBreakNode_default,
1102
1185
  ["link"]: LinkNode_default
1103
1186
  };
1104
- return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1187
+ return /* @__PURE__ */ jsx28("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1105
1188
  const SelectedNode = NodeTypes2[node.type];
1106
- return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1189
+ return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1107
1190
  }) });
1108
1191
  };
1109
1192
  var QuoteNode_default = QuoteNode;
1110
1193
 
1111
1194
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1112
- import React21 from "react";
1195
+ import React22 from "react";
1113
1196
  import dynamic10 from "next/dynamic";
1114
- import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1197
+ import { jsx as jsx29, jsxs as jsxs11 } from "react/jsx-runtime";
1115
1198
  var CopyButton = dynamic10(() => import("./CopyButton-UPJPMJUB.mjs"), {
1116
1199
  ssr: false,
1117
1200
  // optional: fallback UI while loading
1118
- loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
1201
+ loading: () => /* @__PURE__ */ jsx29("span", { className: "text-gray-400 text-xs", children: "Copy" })
1119
1202
  });
1120
1203
  var CodeNode = (props) => {
1121
1204
  const NodeTypes2 = {
@@ -1129,14 +1212,14 @@ var CodeNode = (props) => {
1129
1212
  if (node.type === "link") return node.text || node.url || "";
1130
1213
  return "";
1131
1214
  }).join("") ?? "";
1132
- return /* @__PURE__ */ jsxs10("div", { children: [
1133
- /* @__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: [
1134
- /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1135
- /* @__PURE__ */ jsx28(CopyButton, { text: textContent })
1215
+ return /* @__PURE__ */ jsxs11("div", { children: [
1216
+ /* @__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: [
1217
+ /* @__PURE__ */ jsx29("span", { children: "Code Snippet" }),
1218
+ /* @__PURE__ */ jsx29(CopyButton, { text: textContent })
1136
1219
  ] }),
1137
- /* @__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) => {
1220
+ /* @__PURE__ */ jsx29("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1138
1221
  const SelectedNode = NodeTypes2[node.type];
1139
- return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1222
+ return /* @__PURE__ */ jsx29(React22.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx29(
1140
1223
  SelectedNode,
1141
1224
  {
1142
1225
  node,
@@ -1151,15 +1234,15 @@ var CodeNode = (props) => {
1151
1234
  var CodeNode_default = CodeNode;
1152
1235
 
1153
1236
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1154
- import { jsx as jsx29 } from "react/jsx-runtime";
1237
+ import { jsx as jsx30 } from "react/jsx-runtime";
1155
1238
  var HorizontalRuleNode = () => {
1156
- return /* @__PURE__ */ jsx29("hr", {});
1239
+ return /* @__PURE__ */ jsx30("hr", {});
1157
1240
  };
1158
1241
  var HorizontalRuleNode_default = HorizontalRuleNode;
1159
1242
 
1160
1243
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1161
- import React22 from "react";
1162
- import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
1244
+ import React23 from "react";
1245
+ import { Fragment as Fragment4, jsx as jsx31 } from "react/jsx-runtime";
1163
1246
  var WidgetNode = (props) => {
1164
1247
  const getWidgetParameters = () => {
1165
1248
  const widgetInputParameters = {
@@ -1223,7 +1306,7 @@ var WidgetNode = (props) => {
1223
1306
  };
1224
1307
  const widgetCode = props.node?.widgetCode;
1225
1308
  if (!widgetCode) {
1226
- return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1309
+ return /* @__PURE__ */ jsx31(Fragment4, { children: "Invalid widget" });
1227
1310
  }
1228
1311
  const widgetParams = getWidgetParameters();
1229
1312
  const WidgetRenderer = props.widgetRenderer;
@@ -1232,7 +1315,7 @@ var WidgetNode = (props) => {
1232
1315
  }
1233
1316
  return (
1234
1317
  // eslint-disable-next-line react-hooks/static-components
1235
- /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1318
+ /* @__PURE__ */ jsx31(React23.Fragment, { children: /* @__PURE__ */ jsx31(
1236
1319
  WidgetRenderer,
1237
1320
  {
1238
1321
  params: widgetParams,
@@ -1250,11 +1333,11 @@ var WidgetNode_default = WidgetNode;
1250
1333
 
1251
1334
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1252
1335
  import dynamic14 from "next/dynamic";
1253
- import React23 from "react";
1336
+ import React24 from "react";
1254
1337
 
1255
1338
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1256
1339
  import dynamic11 from "next/dynamic";
1257
- import { jsx as jsx31 } from "react/jsx-runtime";
1340
+ import { jsx as jsx32 } from "react/jsx-runtime";
1258
1341
  var IframeClient = dynamic11(() => import("./IframeClient-WF2KLXZB.mjs"), {
1259
1342
  ssr: false
1260
1343
  });
@@ -1267,7 +1350,7 @@ var EmbedNode = (props) => {
1267
1350
  } else {
1268
1351
  src = props.node.embedSrc;
1269
1352
  }
1270
- return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
1353
+ return /* @__PURE__ */ jsx32("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx32(IframeClient, { src }) });
1271
1354
  };
1272
1355
  var EmbedNode_default = EmbedNode;
1273
1356
 
@@ -1503,10 +1586,10 @@ var PathUtility = class {
1503
1586
  var PathUtility_default = new PathUtility();
1504
1587
 
1505
1588
  // src/components/NoDataFound.tsx
1506
- import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1589
+ import { jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1507
1590
  var NoDataFound = () => {
1508
- return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1509
- /* @__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(
1591
+ return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1592
+ /* @__PURE__ */ jsx33("div", { className: "mb-5", children: /* @__PURE__ */ jsx33("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
1510
1593
  "svg",
1511
1594
  {
1512
1595
  className: "w-10 h-10",
@@ -1514,7 +1597,7 @@ var NoDataFound = () => {
1514
1597
  stroke: "currentColor",
1515
1598
  viewBox: "0 0 24 24",
1516
1599
  xmlns: "http://www.w3.org/2000/svg",
1517
- children: /* @__PURE__ */ jsx32(
1600
+ children: /* @__PURE__ */ jsx33(
1518
1601
  "path",
1519
1602
  {
1520
1603
  strokeLinecap: "round",
@@ -1525,17 +1608,17 @@ var NoDataFound = () => {
1525
1608
  )
1526
1609
  }
1527
1610
  ) }) }),
1528
- /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1529
- /* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1611
+ /* @__PURE__ */ jsx33("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1612
+ /* @__PURE__ */ jsx33("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1530
1613
  ] });
1531
1614
  };
1532
1615
  var NoDataFound_default = NoDataFound;
1533
1616
 
1534
1617
  // src/components/NoFilterResultsFound.tsx
1535
- import { jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1618
+ import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
1536
1619
  var NoFilterResultsFound = () => {
1537
- return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1538
- /* @__PURE__ */ jsx33("div", { className: "mb-5", children: /* @__PURE__ */ jsx33("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
1620
+ return /* @__PURE__ */ jsxs13("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1621
+ /* @__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(
1539
1622
  "svg",
1540
1623
  {
1541
1624
  className: "w-10 h-10",
@@ -1543,7 +1626,7 @@ var NoFilterResultsFound = () => {
1543
1626
  stroke: "currentColor",
1544
1627
  viewBox: "0 0 24 24",
1545
1628
  xmlns: "http://www.w3.org/2000/svg",
1546
- children: /* @__PURE__ */ jsx33(
1629
+ children: /* @__PURE__ */ jsx34(
1547
1630
  "path",
1548
1631
  {
1549
1632
  strokeLinecap: "round",
@@ -1554,15 +1637,15 @@ var NoFilterResultsFound = () => {
1554
1637
  )
1555
1638
  }
1556
1639
  ) }) }),
1557
- /* @__PURE__ */ jsx33("h3", { className: "text-lg font-medium mb-2", children: "No Results Found" }),
1558
- /* @__PURE__ */ jsx33("p", { className: "max-w-sm mb-0", children: "No data matches the current search query and configured parameters. Try adjusting your search criteria or filters to view available results." })
1640
+ /* @__PURE__ */ jsx34("h3", { className: "text-lg font-medium mb-2", children: "No Results Found" }),
1641
+ /* @__PURE__ */ jsx34("p", { className: "max-w-sm mb-0", children: "No data matches the current search query and configured parameters. Try adjusting your search criteria or filters to view available results." })
1559
1642
  ] });
1560
1643
  };
1561
1644
  var NoFilterResultsFound_default = NoFilterResultsFound;
1562
1645
 
1563
1646
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1564
1647
  import dynamic12 from "next/dynamic";
1565
- import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
1648
+ import { Fragment as Fragment5, jsx as jsx35, jsxs as jsxs14 } from "react/jsx-runtime";
1566
1649
  var HlsPlayer3 = dynamic12(() => import("./HlsPlayer-AUZ42WTT.mjs"), { ssr: false });
1567
1650
  var deviceToMediaQuery = (device) => {
1568
1651
  switch (device) {
@@ -1718,8 +1801,8 @@ var ImageGalleryNode = (props) => {
1718
1801
  right: "justify-end"
1719
1802
  };
1720
1803
  const formatClasses = FormatClass[props.node.format || ""] || "";
1721
- return /* @__PURE__ */ jsxs13(Fragment5, { children: [
1722
- hlsSources.length > 0 && /* @__PURE__ */ jsx34(Fragment5, { children: /* @__PURE__ */ jsx34(
1804
+ return /* @__PURE__ */ jsxs14(Fragment5, { children: [
1805
+ hlsSources.length > 0 && /* @__PURE__ */ jsx35(Fragment5, { children: /* @__PURE__ */ jsx35(
1723
1806
  HlsPlayer3,
1724
1807
  {
1725
1808
  sources: hlsSources,
@@ -1734,7 +1817,7 @@ var ImageGalleryNode = (props) => {
1734
1817
  styles: hlsStyles
1735
1818
  }
1736
1819
  ) }),
1737
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx34(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
1820
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs14("picture", { children: [
1738
1821
  DEVICE_ORDER.map((deviceKey) => {
1739
1822
  const match = staticSources.find(
1740
1823
  (img) => img.device === deviceKey
@@ -1750,7 +1833,7 @@ var ImageGalleryNode = (props) => {
1750
1833
  if (!srcUrl) {
1751
1834
  return null;
1752
1835
  }
1753
- return /* @__PURE__ */ jsx34(
1836
+ return /* @__PURE__ */ jsx35(
1754
1837
  "source",
1755
1838
  {
1756
1839
  media: deviceToMediaQuery(match.device),
@@ -1775,7 +1858,7 @@ var ImageGalleryNode = (props) => {
1775
1858
  if (img.borderRadius) {
1776
1859
  styles.borderRadius = img.borderRadius;
1777
1860
  }
1778
- return /* @__PURE__ */ jsx34(
1861
+ return /* @__PURE__ */ jsx35(
1779
1862
  "img",
1780
1863
  {
1781
1864
  loading: "lazy",
@@ -1790,7 +1873,7 @@ var ImageGalleryNode = (props) => {
1790
1873
  })()
1791
1874
  ] }) : (
1792
1875
  /* Case 2: Only device-specific images exist */
1793
- /* @__PURE__ */ jsx34(Fragment5, { children: staticSources.map((img, index) => {
1876
+ /* @__PURE__ */ jsx35(Fragment5, { children: staticSources.map((img, index) => {
1794
1877
  const resolved = resolveImage(img);
1795
1878
  const imageUrl = resolved?.imageUrl;
1796
1879
  if (!imageUrl) {
@@ -1817,7 +1900,7 @@ var ImageGalleryNode = (props) => {
1817
1900
  default:
1818
1901
  display = "block";
1819
1902
  }
1820
- return /* @__PURE__ */ jsx34(
1903
+ return /* @__PURE__ */ jsx35(
1821
1904
  "img",
1822
1905
  {
1823
1906
  loading: "lazy",
@@ -1957,7 +2040,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
1957
2040
  };
1958
2041
 
1959
2042
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1960
- import { Fragment as Fragment6, jsx as jsx35, jsxs as jsxs14 } from "react/jsx-runtime";
2043
+ import { Fragment as Fragment6, jsx as jsx36, jsxs as jsxs15 } from "react/jsx-runtime";
1961
2044
  var getNestedValue5 = (obj, path) => {
1962
2045
  if (!obj || !path) return void 0;
1963
2046
  return path.split(".").reduce((current, key) => {
@@ -1988,21 +2071,21 @@ var parseDocuments = (value) => {
1988
2071
  }
1989
2072
  return [];
1990
2073
  };
1991
- var PdfIcon = () => /* @__PURE__ */ jsxs14(
2074
+ var PdfIcon = () => /* @__PURE__ */ jsxs15(
1992
2075
  "svg",
1993
2076
  {
1994
2077
  xmlns: "http://www.w3.org/2000/svg",
1995
2078
  viewBox: "0 0 48 48",
1996
2079
  className: "w-10 h-10",
1997
2080
  children: [
1998
- /* @__PURE__ */ jsx35(
2081
+ /* @__PURE__ */ jsx36(
1999
2082
  "path",
2000
2083
  {
2001
2084
  fill: "#e53935",
2002
2085
  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"
2003
2086
  }
2004
2087
  ),
2005
- /* @__PURE__ */ jsx35(
2088
+ /* @__PURE__ */ jsx36(
2006
2089
  "path",
2007
2090
  {
2008
2091
  fill: "#fff",
@@ -2012,55 +2095,55 @@ var PdfIcon = () => /* @__PURE__ */ jsxs14(
2012
2095
  ]
2013
2096
  }
2014
2097
  );
2015
- var ExcelIcon = () => /* @__PURE__ */ jsxs14(
2098
+ var ExcelIcon = () => /* @__PURE__ */ jsxs15(
2016
2099
  "svg",
2017
2100
  {
2018
2101
  xmlns: "http://www.w3.org/2000/svg",
2019
2102
  viewBox: "0 0 48 48",
2020
2103
  className: "w-10 h-10",
2021
2104
  children: [
2022
- /* @__PURE__ */ jsx35(
2105
+ /* @__PURE__ */ jsx36(
2023
2106
  "path",
2024
2107
  {
2025
2108
  fill: "#169154",
2026
2109
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
2027
2110
  }
2028
2111
  ),
2029
- /* @__PURE__ */ jsx35(
2112
+ /* @__PURE__ */ jsx36(
2030
2113
  "path",
2031
2114
  {
2032
2115
  fill: "#18482a",
2033
2116
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
2034
2117
  }
2035
2118
  ),
2036
- /* @__PURE__ */ jsx35("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
2037
- /* @__PURE__ */ jsx35("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
2038
- /* @__PURE__ */ jsxs14("g", { children: [
2039
- /* @__PURE__ */ jsx35(
2119
+ /* @__PURE__ */ jsx36("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
2120
+ /* @__PURE__ */ jsx36("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
2121
+ /* @__PURE__ */ jsxs15("g", { children: [
2122
+ /* @__PURE__ */ jsx36(
2040
2123
  "path",
2041
2124
  {
2042
2125
  fill: "#29c27f",
2043
2126
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
2044
2127
  }
2045
2128
  ),
2046
- /* @__PURE__ */ jsx35(
2129
+ /* @__PURE__ */ jsx36(
2047
2130
  "path",
2048
2131
  {
2049
2132
  fill: "#27663f",
2050
2133
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
2051
2134
  }
2052
2135
  ),
2053
- /* @__PURE__ */ jsx35("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
2054
- /* @__PURE__ */ jsx35("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
2136
+ /* @__PURE__ */ jsx36("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
2137
+ /* @__PURE__ */ jsx36("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
2055
2138
  ] }),
2056
- /* @__PURE__ */ jsx35(
2139
+ /* @__PURE__ */ jsx36(
2057
2140
  "path",
2058
2141
  {
2059
2142
  fill: "#0c7238",
2060
2143
  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"
2061
2144
  }
2062
2145
  ),
2063
- /* @__PURE__ */ jsx35(
2146
+ /* @__PURE__ */ jsx36(
2064
2147
  "path",
2065
2148
  {
2066
2149
  fill: "#fff",
@@ -2070,7 +2153,7 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs14(
2070
2153
  ]
2071
2154
  }
2072
2155
  );
2073
- var WordIcon = () => /* @__PURE__ */ jsxs14(
2156
+ var WordIcon = () => /* @__PURE__ */ jsxs15(
2074
2157
  "svg",
2075
2158
  {
2076
2159
  xmlns: "http://www.w3.org/2000/svg",
@@ -2078,14 +2161,14 @@ var WordIcon = () => /* @__PURE__ */ jsxs14(
2078
2161
  className: "w-10 h-10",
2079
2162
  baseProfile: "basic",
2080
2163
  children: [
2081
- /* @__PURE__ */ jsx35(
2164
+ /* @__PURE__ */ jsx36(
2082
2165
  "path",
2083
2166
  {
2084
2167
  fill: "#283593",
2085
2168
  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"
2086
2169
  }
2087
2170
  ),
2088
- /* @__PURE__ */ jsxs14(
2171
+ /* @__PURE__ */ jsxs15(
2089
2172
  "linearGradient",
2090
2173
  {
2091
2174
  id: "qh2LT5tehRDFkLLfb-odWa",
@@ -2096,19 +2179,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs14(
2096
2179
  gradientTransform: "translate(0 -339.89)",
2097
2180
  gradientUnits: "userSpaceOnUse",
2098
2181
  children: [
2099
- /* @__PURE__ */ jsx35("stop", { offset: "0", "stop-color": "#66c0ff" }),
2100
- /* @__PURE__ */ jsx35("stop", { offset: ".26", "stop-color": "#0094f0" })
2182
+ /* @__PURE__ */ jsx36("stop", { offset: "0", "stop-color": "#66c0ff" }),
2183
+ /* @__PURE__ */ jsx36("stop", { offset: ".26", "stop-color": "#0094f0" })
2101
2184
  ]
2102
2185
  }
2103
2186
  ),
2104
- /* @__PURE__ */ jsx35(
2187
+ /* @__PURE__ */ jsx36(
2105
2188
  "path",
2106
2189
  {
2107
2190
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
2108
2191
  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"
2109
2192
  }
2110
2193
  ),
2111
- /* @__PURE__ */ jsx35(
2194
+ /* @__PURE__ */ jsx36(
2112
2195
  "path",
2113
2196
  {
2114
2197
  fill: "#1e88e5",
@@ -2116,21 +2199,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs14(
2116
2199
  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"
2117
2200
  }
2118
2201
  ),
2119
- /* @__PURE__ */ jsx35(
2202
+ /* @__PURE__ */ jsx36(
2120
2203
  "path",
2121
2204
  {
2122
2205
  fill: "#00e5ff",
2123
2206
  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"
2124
2207
  }
2125
2208
  ),
2126
- /* @__PURE__ */ jsx35(
2209
+ /* @__PURE__ */ jsx36(
2127
2210
  "path",
2128
2211
  {
2129
2212
  fill: "#1565c0",
2130
2213
  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"
2131
2214
  }
2132
2215
  ),
2133
- /* @__PURE__ */ jsx35(
2216
+ /* @__PURE__ */ jsx36(
2134
2217
  "path",
2135
2218
  {
2136
2219
  fill: "#fff",
@@ -2140,42 +2223,42 @@ var WordIcon = () => /* @__PURE__ */ jsxs14(
2140
2223
  ]
2141
2224
  }
2142
2225
  );
2143
- var StandardIcon = () => /* @__PURE__ */ jsxs14(
2226
+ var StandardIcon = () => /* @__PURE__ */ jsxs15(
2144
2227
  "svg",
2145
2228
  {
2146
2229
  xmlns: "http://www.w3.org/2000/svg",
2147
2230
  viewBox: "0 0 48 48",
2148
2231
  className: "w-10 h-10",
2149
2232
  children: [
2150
- /* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2151
- /* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2233
+ /* @__PURE__ */ jsx36("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2234
+ /* @__PURE__ */ jsx36("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2152
2235
  ]
2153
2236
  }
2154
2237
  );
2155
- var PowerPointIcon = () => /* @__PURE__ */ jsxs14(
2238
+ var PowerPointIcon = () => /* @__PURE__ */ jsxs15(
2156
2239
  "svg",
2157
2240
  {
2158
2241
  xmlns: "http://www.w3.org/2000/svg",
2159
2242
  viewBox: "0 0 48 48",
2160
2243
  className: "w-10 h-10",
2161
2244
  children: [
2162
- /* @__PURE__ */ jsx35(
2245
+ /* @__PURE__ */ jsx36(
2163
2246
  "path",
2164
2247
  {
2165
2248
  fill: "#dc4c2c",
2166
2249
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
2167
2250
  }
2168
2251
  ),
2169
- /* @__PURE__ */ jsx35("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2170
- /* @__PURE__ */ jsx35("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2171
- /* @__PURE__ */ jsx35(
2252
+ /* @__PURE__ */ jsx36("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2253
+ /* @__PURE__ */ jsx36("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2254
+ /* @__PURE__ */ jsx36(
2172
2255
  "path",
2173
2256
  {
2174
2257
  fill: "#9b341f",
2175
2258
  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"
2176
2259
  }
2177
2260
  ),
2178
- /* @__PURE__ */ jsx35(
2261
+ /* @__PURE__ */ jsx36(
2179
2262
  "path",
2180
2263
  {
2181
2264
  fill: "#fff",
@@ -2185,16 +2268,16 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs14(
2185
2268
  ]
2186
2269
  }
2187
2270
  );
2188
- var TextIcon = () => /* @__PURE__ */ jsxs14(
2271
+ var TextIcon = () => /* @__PURE__ */ jsxs15(
2189
2272
  "svg",
2190
2273
  {
2191
2274
  xmlns: "http://www.w3.org/2000/svg",
2192
2275
  viewBox: "0 0 48 48",
2193
2276
  className: "w-10 h-10",
2194
2277
  children: [
2195
- /* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2196
- /* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2197
- /* @__PURE__ */ jsx35(
2278
+ /* @__PURE__ */ jsx36("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2279
+ /* @__PURE__ */ jsx36("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2280
+ /* @__PURE__ */ jsx36(
2198
2281
  "path",
2199
2282
  {
2200
2283
  fill: "#1976D2",
@@ -2204,7 +2287,7 @@ var TextIcon = () => /* @__PURE__ */ jsxs14(
2204
2287
  ]
2205
2288
  }
2206
2289
  );
2207
- var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2290
+ var ArchiveIcon = () => /* @__PURE__ */ jsxs15(
2208
2291
  "svg",
2209
2292
  {
2210
2293
  xmlns: "http://www.w3.org/2000/svg",
@@ -2214,14 +2297,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2214
2297
  version: "1.0",
2215
2298
  className: "w-10 h-10",
2216
2299
  children: [
2217
- /* @__PURE__ */ jsx35("defs", { children: /* @__PURE__ */ jsx35("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx35(
2300
+ /* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx36(
2218
2301
  "path",
2219
2302
  {
2220
2303
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2221
2304
  "clip-rule": "nonzero"
2222
2305
  }
2223
2306
  ) }) }),
2224
- /* @__PURE__ */ jsx35("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx35(
2307
+ /* @__PURE__ */ jsx36("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx36(
2225
2308
  "path",
2226
2309
  {
2227
2310
  fill: "#ff9100",
@@ -2230,7 +2313,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2230
2313
  "fill-rule": "nonzero"
2231
2314
  }
2232
2315
  ) }),
2233
- /* @__PURE__ */ jsx35(
2316
+ /* @__PURE__ */ jsx36(
2234
2317
  "path",
2235
2318
  {
2236
2319
  fill: "#fbe9e7",
@@ -2239,7 +2322,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2239
2322
  "fill-rule": "nonzero"
2240
2323
  }
2241
2324
  ),
2242
- /* @__PURE__ */ jsx35(
2325
+ /* @__PURE__ */ jsx36(
2243
2326
  "path",
2244
2327
  {
2245
2328
  fill: "#ffe0b2",
@@ -2248,7 +2331,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2248
2331
  "fill-rule": "nonzero"
2249
2332
  }
2250
2333
  ),
2251
- /* @__PURE__ */ jsx35(
2334
+ /* @__PURE__ */ jsx36(
2252
2335
  "path",
2253
2336
  {
2254
2337
  fill: "#ffe0b2",
@@ -2257,7 +2340,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2257
2340
  "fill-rule": "nonzero"
2258
2341
  }
2259
2342
  ),
2260
- /* @__PURE__ */ jsx35(
2343
+ /* @__PURE__ */ jsx36(
2261
2344
  "path",
2262
2345
  {
2263
2346
  fill: "#ffe0b2",
@@ -2307,8 +2390,8 @@ var DocumentNode = (props) => {
2307
2390
  documents = parseDocuments(props.node.documentAsset);
2308
2391
  }
2309
2392
  if (documents.length === 0) {
2310
- return /* @__PURE__ */ jsx35(Fragment6, { children: /* @__PURE__ */ jsxs14("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2311
- /* @__PURE__ */ jsx35("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx35(
2393
+ return /* @__PURE__ */ jsx36(Fragment6, { children: /* @__PURE__ */ jsxs15("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2394
+ /* @__PURE__ */ jsx36("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx36(
2312
2395
  "svg",
2313
2396
  {
2314
2397
  className: "w-5 h-5",
@@ -2316,7 +2399,7 @@ var DocumentNode = (props) => {
2316
2399
  stroke: "currentColor",
2317
2400
  viewBox: "0 0 24 24",
2318
2401
  xmlns: "http://www.w3.org/2000/svg",
2319
- children: /* @__PURE__ */ jsx35(
2402
+ children: /* @__PURE__ */ jsx36(
2320
2403
  "path",
2321
2404
  {
2322
2405
  strokeLinecap: "round",
@@ -2327,11 +2410,11 @@ var DocumentNode = (props) => {
2327
2410
  )
2328
2411
  }
2329
2412
  ) }),
2330
- /* @__PURE__ */ jsx35("div", { className: "text-sm font-medium", children: "No documents found" }),
2331
- /* @__PURE__ */ jsx35("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2413
+ /* @__PURE__ */ jsx36("div", { className: "text-sm font-medium", children: "No documents found" }),
2414
+ /* @__PURE__ */ jsx36("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2332
2415
  ] }) });
2333
2416
  }
2334
- return /* @__PURE__ */ jsx35("div", { className: "", children: documents.map((doc, index) => {
2417
+ return /* @__PURE__ */ jsx36("div", { className: "", children: documents.map((doc, index) => {
2335
2418
  const documentUrl = AssetUtility_default.resolveUrl(
2336
2419
  props.assetBaseUrl,
2337
2420
  doc.assetUrl
@@ -2349,16 +2432,16 @@ var DocumentNode = (props) => {
2349
2432
  }
2350
2433
  }
2351
2434
  const { Icon, extLabel } = getFileDetails(documentUrl);
2352
- return /* @__PURE__ */ jsxs14(
2435
+ return /* @__PURE__ */ jsxs15(
2353
2436
  "div",
2354
2437
  {
2355
2438
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2356
2439
  children: [
2357
- /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-4 min-w-0", children: [
2358
- /* @__PURE__ */ jsx35("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft shrink-0", children: /* @__PURE__ */ jsx35(Icon, {}) }),
2359
- /* @__PURE__ */ jsx35("div", { className: "flex items-baseline space-x-2 min-w-0", children: /* @__PURE__ */ jsx35("h4", { className: "text-base font-semibold truncate", title: documentTitle, children: documentTitle }) })
2440
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center space-x-4 min-w-0", children: [
2441
+ /* @__PURE__ */ jsx36("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft shrink-0", children: /* @__PURE__ */ jsx36(Icon, {}) }),
2442
+ /* @__PURE__ */ jsx36("div", { className: "flex items-baseline space-x-2 min-w-0", children: /* @__PURE__ */ jsx36("h4", { className: "text-base font-semibold truncate", title: documentTitle, children: documentTitle }) })
2360
2443
  ] }),
2361
- /* @__PURE__ */ jsxs14(
2444
+ /* @__PURE__ */ jsxs15(
2362
2445
  "a",
2363
2446
  {
2364
2447
  href: documentUrl,
@@ -2366,7 +2449,7 @@ var DocumentNode = (props) => {
2366
2449
  rel: "noopener noreferrer",
2367
2450
  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 shrink-0",
2368
2451
  children: [
2369
- /* @__PURE__ */ jsxs14(
2452
+ /* @__PURE__ */ jsxs15(
2370
2453
  "svg",
2371
2454
  {
2372
2455
  className: "w-4 h-4 mr-2",
@@ -2374,7 +2457,7 @@ var DocumentNode = (props) => {
2374
2457
  stroke: "currentColor",
2375
2458
  viewBox: "0 0 24 24",
2376
2459
  children: [
2377
- /* @__PURE__ */ jsx35(
2460
+ /* @__PURE__ */ jsx36(
2378
2461
  "path",
2379
2462
  {
2380
2463
  strokeLinecap: "round",
@@ -2383,7 +2466,7 @@ var DocumentNode = (props) => {
2383
2466
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2384
2467
  }
2385
2468
  ),
2386
- /* @__PURE__ */ jsx35(
2469
+ /* @__PURE__ */ jsx36(
2387
2470
  "path",
2388
2471
  {
2389
2472
  strokeLinecap: "round",
@@ -2409,13 +2492,13 @@ var DocumentNode_default = DocumentNode;
2409
2492
 
2410
2493
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
2411
2494
  import dynamic13 from "next/dynamic";
2412
- import { jsx as jsx36 } from "react/jsx-runtime";
2495
+ import { jsx as jsx37 } from "react/jsx-runtime";
2413
2496
  var IframeClient2 = dynamic13(() => import("./IframeClient-WF2KLXZB.mjs"), {
2414
2497
  ssr: false
2415
2498
  });
2416
2499
  var GoogleMapNode = (props) => {
2417
2500
  let src = props.node.embedUrl;
2418
- return /* @__PURE__ */ jsx36("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx36(
2501
+ return /* @__PURE__ */ jsx37("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx37(
2419
2502
  IframeClient2,
2420
2503
  {
2421
2504
  src,
@@ -2427,7 +2510,7 @@ var GoogleMapNode = (props) => {
2427
2510
  var GoogleMapNode_default = GoogleMapNode;
2428
2511
 
2429
2512
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2430
- import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
2513
+ import { jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
2431
2514
  var Pagination = dynamic14(() => import("./Pagination-6R4XZLF6.mjs"), { ssr: true });
2432
2515
  var DataBindingControls = dynamic14(() => import("./DataBindingControls-VSLL4WV2.mjs"), {
2433
2516
  ssr: true
@@ -2614,7 +2697,8 @@ var DivContainer = async (props) => {
2614
2697
  datafield: DatafieldNode_default,
2615
2698
  "svg-icon": SVGIconNode_default,
2616
2699
  document: DocumentNode_default,
2617
- "google-map": GoogleMapNode_default
2700
+ "google-map": GoogleMapNode_default,
2701
+ counter: CounterNode_default
2618
2702
  };
2619
2703
  const styles = props.node.cssProperties;
2620
2704
  const mobileStyles = props.node.mobileCssProperties;
@@ -2712,7 +2796,7 @@ var DivContainer = async (props) => {
2712
2796
  }
2713
2797
  const SelectedNode = NodeTypes2[node.type];
2714
2798
  if (!SelectedNode) return null;
2715
- return /* @__PURE__ */ jsx37(React23.Fragment, { children: /* @__PURE__ */ jsx37(
2799
+ return /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
2716
2800
  SelectedNode,
2717
2801
  {
2718
2802
  node,
@@ -2804,7 +2888,7 @@ var DivContainer = async (props) => {
2804
2888
  item,
2805
2889
  idx,
2806
2890
  props.href ? void 0 : item?.links?.view
2807
- )?.map((child, i) => /* @__PURE__ */ jsx37(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2891
+ )?.map((child, i) => /* @__PURE__ */ jsx38(React24.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2808
2892
  );
2809
2893
  }
2810
2894
  return props.node.children.flatMap((node, childIndex) => {
@@ -2922,17 +3006,17 @@ var DivContainer = async (props) => {
2922
3006
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
2923
3007
  );
2924
3008
  const WrapperComponent = Wrapper;
2925
- const renderedContainer = /* @__PURE__ */ jsx37(
3009
+ const renderedContainer = /* @__PURE__ */ jsx38(
2926
3010
  WrapperComponent,
2927
3011
  {
2928
3012
  id: guid,
2929
3013
  style: combinedStyles,
2930
3014
  className: classNames || void 0,
2931
3015
  ...wrapperProps,
2932
- children: shouldShowNoDataMessage ? hasActiveFilter ? /* @__PURE__ */ jsx37(NoFilterResultsFound_default, {}) : /* @__PURE__ */ jsx37(NoDataFound_default, {}) : renderContainerChildren()
3016
+ children: shouldShowNoDataMessage ? hasActiveFilter ? /* @__PURE__ */ jsx38(NoFilterResultsFound_default, {}) : /* @__PURE__ */ jsx38(NoDataFound_default, {}) : renderContainerChildren()
2933
3017
  }
2934
3018
  );
2935
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx37(
3019
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx38(
2936
3020
  Pagination,
2937
3021
  {
2938
3022
  path: props.path,
@@ -2940,15 +3024,15 @@ var DivContainer = async (props) => {
2940
3024
  dataset: response
2941
3025
  }
2942
3026
  ) : null;
2943
- return /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
2944
- /* @__PURE__ */ jsx37(
3027
+ return /* @__PURE__ */ jsxs16(React24.Fragment, { children: [
3028
+ /* @__PURE__ */ jsx38(
2945
3029
  "style",
2946
3030
  {
2947
3031
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2948
3032
  }
2949
3033
  ),
2950
- showDataBindingControls ? /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
2951
- /* @__PURE__ */ jsx37(
3034
+ showDataBindingControls ? /* @__PURE__ */ jsxs16(React24.Fragment, { children: [
3035
+ /* @__PURE__ */ jsx38(
2952
3036
  DataBindingControls,
2953
3037
  {
2954
3038
  mode: "toolbar",
@@ -2961,16 +3045,16 @@ var DivContainer = async (props) => {
2961
3045
  showSearchBar: dataBindingProperties?.showSearchBar
2962
3046
  }
2963
3047
  ),
2964
- /* @__PURE__ */ jsxs15(
3048
+ /* @__PURE__ */ jsxs16(
2965
3049
  "div",
2966
3050
  {
2967
3051
  className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
2968
3052
  children: [
2969
- /* @__PURE__ */ jsxs15("div", { className: "min-w-0", children: [
3053
+ /* @__PURE__ */ jsxs16("div", { className: "min-w-0", children: [
2970
3054
  renderedContainer,
2971
3055
  paginationControl
2972
3056
  ] }),
2973
- dataBindingProperties?.showFacets && /* @__PURE__ */ jsx37("aside", { className: "hidden lg:block", children: /* @__PURE__ */ jsx37(
3057
+ dataBindingProperties?.showFacets && /* @__PURE__ */ jsx38("aside", { className: "hidden lg:block", children: /* @__PURE__ */ jsx38(
2974
3058
  DataBindingControls,
2975
3059
  {
2976
3060
  mode: "facets",
@@ -2983,16 +3067,16 @@ var DivContainer = async (props) => {
2983
3067
  ]
2984
3068
  }
2985
3069
  )
2986
- ] }) : /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
3070
+ ] }) : /* @__PURE__ */ jsxs16(React24.Fragment, { children: [
2987
3071
  renderedContainer,
2988
- paginationControl && /* @__PURE__ */ jsx37("div", { children: paginationControl })
3072
+ paginationControl && /* @__PURE__ */ jsx38("div", { children: paginationControl })
2989
3073
  ] })
2990
3074
  ] });
2991
3075
  };
2992
3076
  var DivContainer_default = DivContainer;
2993
3077
 
2994
3078
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2995
- import { jsx as jsx38 } from "react/jsx-runtime";
3079
+ import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
2996
3080
  var NodeTypes = {
2997
3081
  ["paragraph"]: ParagraphNode_default,
2998
3082
  ["heading"]: HeadingNode_default,
@@ -3008,7 +3092,8 @@ var NodeTypes = {
3008
3092
  ["svg-icon"]: SVGIconNode_default,
3009
3093
  ["embed"]: EmbedNode_default,
3010
3094
  ["document"]: DocumentNode_default,
3011
- ["google-map"]: GoogleMapNode_default
3095
+ ["google-map"]: GoogleMapNode_default,
3096
+ ["counter"]: CounterNode_default
3012
3097
  };
3013
3098
  var PageBodyRenderer = (props) => {
3014
3099
  let pageBodyTree;
@@ -3030,54 +3115,57 @@ var PageBodyRenderer = (props) => {
3030
3115
  }
3031
3116
  return true;
3032
3117
  };
3033
- return /* @__PURE__ */ jsx38(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
3118
+ return /* @__PURE__ */ jsx39(React25.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
3034
3119
  {
3035
3120
  }
3036
3121
  const SelectedNode = NodeTypes[node.type];
3037
3122
  if (!shouldRenderNode(node)) {
3038
3123
  return null;
3039
3124
  }
3040
- return /* @__PURE__ */ jsx38(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx38(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
3041
- SelectedNode,
3042
- {
3043
- node,
3044
- firstNode: true,
3045
- routeParameters: props.routeParameters,
3046
- query: props.query,
3047
- session: props.session,
3048
- host: props.host,
3049
- path: props.path,
3050
- apiBaseUrl: props.apiBaseUrl,
3051
- serviceClient: props.serviceClient,
3052
- assetBaseUrl: props.assetBaseUrl,
3053
- device: props.device,
3054
- widgetRenderer: props.widgetRenderer
3055
- }
3056
- ) }) : /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
3057
- SelectedNode,
3058
- {
3059
- node,
3060
- routeParameters: props.routeParameters,
3061
- query: props.query,
3062
- session: props.session,
3063
- host: props.host,
3064
- path: props.path,
3065
- apiBaseUrl: props.apiBaseUrl,
3066
- serviceClient: props.serviceClient,
3067
- assetBaseUrl: props.assetBaseUrl,
3068
- device: props.device,
3069
- widgetRenderer: props.widgetRenderer
3070
- }
3071
- ) }) }) }, index);
3125
+ return /* @__PURE__ */ jsx39(React25.Fragment, { children: SelectedNode && /* @__PURE__ */ jsxs17(React25.Fragment, { children: [
3126
+ /* @__PURE__ */ jsx39("p", { children: "xncbvcxmn" }),
3127
+ node.type == "layout-container" ? /* @__PURE__ */ jsx39(React25.Fragment, { children: /* @__PURE__ */ jsx39(
3128
+ SelectedNode,
3129
+ {
3130
+ node,
3131
+ firstNode: true,
3132
+ routeParameters: props.routeParameters,
3133
+ query: props.query,
3134
+ session: props.session,
3135
+ host: props.host,
3136
+ path: props.path,
3137
+ apiBaseUrl: props.apiBaseUrl,
3138
+ serviceClient: props.serviceClient,
3139
+ assetBaseUrl: props.assetBaseUrl,
3140
+ device: props.device,
3141
+ widgetRenderer: props.widgetRenderer
3142
+ }
3143
+ ) }) : /* @__PURE__ */ jsx39(React25.Fragment, { children: /* @__PURE__ */ jsx39(
3144
+ SelectedNode,
3145
+ {
3146
+ node,
3147
+ routeParameters: props.routeParameters,
3148
+ query: props.query,
3149
+ session: props.session,
3150
+ host: props.host,
3151
+ path: props.path,
3152
+ apiBaseUrl: props.apiBaseUrl,
3153
+ serviceClient: props.serviceClient,
3154
+ assetBaseUrl: props.assetBaseUrl,
3155
+ device: props.device,
3156
+ widgetRenderer: props.widgetRenderer
3157
+ }
3158
+ ) })
3159
+ ] }) }, index);
3072
3160
  }) });
3073
3161
  };
3074
3162
  var PageBodyRenderer_default = PageBodyRenderer;
3075
3163
 
3076
3164
  // src/components/pageRenderingEngine/EnterAnimationHydrator.tsx
3077
- import { useEffect } from "react";
3165
+ import { useEffect as useEffect2 } from "react";
3078
3166
  var ENTER_ANIMATION_SELECTOR = ".enter-animation";
3079
3167
  function EnterAnimationHydrator() {
3080
- useEffect(() => {
3168
+ useEffect2(() => {
3081
3169
  let observer;
3082
3170
  const observedElements = /* @__PURE__ */ new WeakSet();
3083
3171
  const revealAnimatedElements = () => {
@@ -3122,21 +3210,21 @@ function EnterAnimationHydrator() {
3122
3210
  }
3123
3211
 
3124
3212
  // src/components/Toast.tsx
3125
- import { useCallback, useEffect as useEffect2, useRef, useState } from "react";
3126
- import { Fragment as Fragment7, jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
3213
+ import { useCallback as useCallback2, useEffect as useEffect3, useRef as useRef2, useState as useState2 } from "react";
3214
+ import { Fragment as Fragment7, jsx as jsx40, jsxs as jsxs18 } from "react/jsx-runtime";
3127
3215
  var Toast = () => {
3128
- const [showToast, setShowToast] = useState(false);
3129
- const [message, setMessage] = useState("");
3130
- const [messageType, setMessageType] = useState("error");
3131
- const timeoutRef = useRef(null);
3132
- const closeToast = useCallback(() => {
3216
+ const [showToast, setShowToast] = useState2(false);
3217
+ const [message, setMessage] = useState2("");
3218
+ const [messageType, setMessageType] = useState2("error");
3219
+ const timeoutRef = useRef2(null);
3220
+ const closeToast = useCallback2(() => {
3133
3221
  if (timeoutRef.current) {
3134
3222
  clearTimeout(timeoutRef.current);
3135
3223
  timeoutRef.current = null;
3136
3224
  }
3137
3225
  setShowToast(false);
3138
3226
  }, []);
3139
- const showMessage = useCallback((message2, messageType2) => {
3227
+ const showMessage = useCallback2((message2, messageType2) => {
3140
3228
  if (timeoutRef.current) {
3141
3229
  clearTimeout(timeoutRef.current);
3142
3230
  }
@@ -3148,7 +3236,7 @@ var Toast = () => {
3148
3236
  timeoutRef.current = null;
3149
3237
  }, 4e3);
3150
3238
  }, []);
3151
- useEffect2(() => {
3239
+ useEffect3(() => {
3152
3240
  ToastService_default.initialize(showMessage, closeToast);
3153
3241
  return () => {
3154
3242
  closeToast();
@@ -3157,8 +3245,8 @@ var Toast = () => {
3157
3245
  });
3158
3246
  };
3159
3247
  }, [closeToast, showMessage]);
3160
- return /* @__PURE__ */ jsx39(Fragment7, { children: showToast && /* @__PURE__ */ jsx39("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs16("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
3161
- /* @__PURE__ */ jsx39(
3248
+ 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__ */ jsxs18("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
3249
+ /* @__PURE__ */ jsx40(
3162
3250
  "span",
3163
3251
  {
3164
3252
  className: "font-medium text-inherit text-sm",
@@ -3166,7 +3254,7 @@ var Toast = () => {
3166
3254
  children: message
3167
3255
  }
3168
3256
  ),
3169
- /* @__PURE__ */ jsx39("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx39(
3257
+ /* @__PURE__ */ jsx40("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx40(
3170
3258
  "svg",
3171
3259
  {
3172
3260
  xmlns: "http://www.w3.org/2000/svg",
@@ -3174,7 +3262,7 @@ var Toast = () => {
3174
3262
  fill: "none",
3175
3263
  viewBox: "0 0 24 24",
3176
3264
  stroke: "currentColor",
3177
- children: /* @__PURE__ */ jsx39("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3265
+ children: /* @__PURE__ */ jsx40("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3178
3266
  }
3179
3267
  ) })
3180
3268
  ] }) }) });
@@ -3184,7 +3272,7 @@ var Toast_default = Toast;
3184
3272
  // src/components/NavigationTabsV2.tsx
3185
3273
  import Link2 from "next/link";
3186
3274
  import { usePathname } from "next/navigation";
3187
- import { jsx as jsx40 } from "react/jsx-runtime";
3275
+ import { jsx as jsx41 } from "react/jsx-runtime";
3188
3276
  function resolveRoutePlaceholders(route, params) {
3189
3277
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
3190
3278
  const value = params[key];
@@ -3209,8 +3297,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3209
3297
  isActive: tab.isActive
3210
3298
  })) || [];
3211
3299
  if (mappedTabs.length === 0) return null;
3212
- return /* @__PURE__ */ jsx40("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3213
- return /* @__PURE__ */ jsx40(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx40(
3300
+ return /* @__PURE__ */ jsx41("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3301
+ return /* @__PURE__ */ jsx41(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx41(
3214
3302
  "div",
3215
3303
  {
3216
3304
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -3223,51 +3311,51 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3223
3311
  var NavigationTabsV2_default = NavigationTabsV2;
3224
3312
 
3225
3313
  // src/components/dataForm/DataList.tsx
3226
- import React28, { useEffect as useEffect3, useState as useState2, useCallback as useCallback2, useReducer } from "react";
3314
+ import React29, { useEffect as useEffect4, useState as useState3, useCallback as useCallback3, useReducer } from "react";
3227
3315
  import { useRouter } from "next/navigation";
3228
3316
 
3229
3317
  // src/components/dataForm/NoContentView.tsx
3230
- import React26 from "react";
3231
- import { jsx as jsx41 } from "react/jsx-runtime";
3318
+ import React27 from "react";
3319
+ import { jsx as jsx42 } from "react/jsx-runtime";
3232
3320
  var NoContentView = (props) => {
3233
- return /* @__PURE__ */ jsx41(React26.Fragment, { children: props.isDataFound === false && props.children });
3321
+ return /* @__PURE__ */ jsx42(React27.Fragment, { children: props.isDataFound === false && props.children });
3234
3322
  };
3235
3323
  var NoContentView_default = NoContentView;
3236
3324
 
3237
3325
  // src/components/dataForm/ContentView.tsx
3238
- import React27 from "react";
3239
- import { jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
3326
+ import React28 from "react";
3327
+ import { jsx as jsx43, jsxs as jsxs19 } from "react/jsx-runtime";
3240
3328
  var ContentView = (props) => {
3241
- return /* @__PURE__ */ jsxs17(React27.Fragment, { children: [
3242
- props.isDataFound == null && /* @__PURE__ */ jsx42("div", { className: "", children: /* @__PURE__ */ jsxs17("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3243
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center mb-4", children: [
3244
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3245
- /* @__PURE__ */ jsxs17("div", { className: "ml-2", children: [
3246
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3247
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3329
+ return /* @__PURE__ */ jsxs19(React28.Fragment, { children: [
3330
+ props.isDataFound == null && /* @__PURE__ */ jsx43("div", { className: "", children: /* @__PURE__ */ jsxs19("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3331
+ /* @__PURE__ */ jsxs19("div", { className: "flex items-center mb-4", children: [
3332
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3333
+ /* @__PURE__ */ jsxs19("div", { className: "ml-2", children: [
3334
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3335
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3248
3336
  ] })
3249
3337
  ] }),
3250
- /* @__PURE__ */ jsxs17("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3251
- /* @__PURE__ */ jsxs17("div", { className: "animate-pulse", children: [
3252
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3253
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3254
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3255
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3256
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3338
+ /* @__PURE__ */ jsxs19("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3339
+ /* @__PURE__ */ jsxs19("div", { className: "animate-pulse", children: [
3340
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3341
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3342
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3343
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3344
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3257
3345
  ] }),
3258
- /* @__PURE__ */ jsxs17("div", { className: "animate-pulse", children: [
3259
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3260
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3261
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3262
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3263
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3346
+ /* @__PURE__ */ jsxs19("div", { className: "animate-pulse", children: [
3347
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3348
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3349
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3350
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3351
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3264
3352
  ] }),
3265
- /* @__PURE__ */ jsxs17("div", { className: "animate-pulse", children: [
3266
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3267
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3268
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3269
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3270
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3353
+ /* @__PURE__ */ jsxs19("div", { className: "animate-pulse", children: [
3354
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3355
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3356
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3357
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3358
+ /* @__PURE__ */ jsx43("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3271
3359
  ] })
3272
3360
  ] })
3273
3361
  ] }) }),
@@ -3321,7 +3409,7 @@ function FormReducer(state, action) {
3321
3409
  var FormReducer_default = FormReducer;
3322
3410
 
3323
3411
  // src/components/dataForm/DataList.tsx
3324
- import { Fragment as Fragment8, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
3412
+ import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
3325
3413
  var DataList = (props) => {
3326
3414
  const router = useRouter();
3327
3415
  let builder = new OdataBuilder(props.path);
@@ -3329,12 +3417,12 @@ var DataList = (props) => {
3329
3417
  let activePageNumber = 0;
3330
3418
  let pages = 0;
3331
3419
  console.log(props.addLinkText);
3332
- const [isDataFound, setIsDataFound] = useState2(null);
3333
- const [searchTerm, setSearchTerm] = useState2(props.query?.searchTerm ?? "");
3334
- useEffect3(() => {
3420
+ const [isDataFound, setIsDataFound] = useState3(null);
3421
+ const [searchTerm, setSearchTerm] = useState3(props.query?.searchTerm ?? "");
3422
+ useEffect4(() => {
3335
3423
  setSearchTerm(props.query?.searchTerm ?? "");
3336
3424
  }, [props.query?.searchTerm]);
3337
- useEffect3(() => {
3425
+ useEffect4(() => {
3338
3426
  if (props?.dataset) {
3339
3427
  if (props?.dataset.result && props.dataset.result.length > 0) {
3340
3428
  setIsDataFound(true);
@@ -3343,7 +3431,7 @@ var DataList = (props) => {
3343
3431
  }
3344
3432
  }
3345
3433
  }, [props.dataset]);
3346
- useEffect3(() => {
3434
+ useEffect4(() => {
3347
3435
  if (!props.query?.["$filter"] || !props.filters) return;
3348
3436
  const filterQuery = props.query["$filter"];
3349
3437
  props.filters.forEach((filter) => {
@@ -3362,7 +3450,7 @@ var DataList = (props) => {
3362
3450
  if (path.includes(".")) {
3363
3451
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
3364
3452
  } else if (Array.isArray(obj[path])) {
3365
- return obj[path].map((item, index) => /* @__PURE__ */ jsx43("div", { children: item }, index));
3453
+ return obj[path].map((item, index) => /* @__PURE__ */ jsx44("div", { children: item }, index));
3366
3454
  } else {
3367
3455
  return obj[path];
3368
3456
  }
@@ -3375,7 +3463,7 @@ var DataList = (props) => {
3375
3463
  const getSearchableColumns = () => {
3376
3464
  return props.columns?.filter((c) => c.isSearchable)?.map((c) => c.name)?.join(",");
3377
3465
  };
3378
- const handleFilterChange = useCallback2(
3466
+ const handleFilterChange = useCallback3(
3379
3467
  (updatedValues) => {
3380
3468
  dispatch({
3381
3469
  type: FORM_INPUT_UPDATE,
@@ -3406,7 +3494,7 @@ var DataList = (props) => {
3406
3494
  },
3407
3495
  [dispatch, props, router]
3408
3496
  );
3409
- useEffect3(() => {
3497
+ useEffect4(() => {
3410
3498
  if (!props.columns.some((col) => col.isSearchable)) {
3411
3499
  return;
3412
3500
  }
@@ -3444,30 +3532,30 @@ var DataList = (props) => {
3444
3532
  const renderPageNumbers = () => {
3445
3533
  if (pages <= 10) {
3446
3534
  return Array.from({ length: pages }, (_, index) => index + 1).map(
3447
- (page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3535
+ (page) => /* @__PURE__ */ jsx44(React29.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3448
3536
  Hyperlink,
3449
3537
  {
3450
3538
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3451
3539
  href: builder.getNewPageUrl(page),
3452
3540
  children: page
3453
3541
  }
3454
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3542
+ ) : /* @__PURE__ */ jsx44("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3455
3543
  );
3456
3544
  } else {
3457
3545
  const showFirstPages = activePageNumber <= 5;
3458
3546
  const showLastPages = activePageNumber > pages - 5;
3459
3547
  if (showFirstPages) {
3460
- return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3461
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3548
+ return /* @__PURE__ */ jsxs20(Fragment8, { children: [
3549
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx44(React29.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3462
3550
  Hyperlink,
3463
3551
  {
3464
3552
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3465
3553
  href: builder.getNewPageUrl(page),
3466
3554
  children: page
3467
3555
  }
3468
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3469
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3470
- /* @__PURE__ */ jsx43(
3556
+ ) : /* @__PURE__ */ jsx44("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3557
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3558
+ /* @__PURE__ */ jsx44(
3471
3559
  Hyperlink,
3472
3560
  {
3473
3561
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3475,7 +3563,7 @@ var DataList = (props) => {
3475
3563
  children: pages - 1
3476
3564
  }
3477
3565
  ),
3478
- /* @__PURE__ */ jsx43(
3566
+ /* @__PURE__ */ jsx44(
3479
3567
  Hyperlink,
3480
3568
  {
3481
3569
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3483,7 +3571,7 @@ var DataList = (props) => {
3483
3571
  children: pages
3484
3572
  }
3485
3573
  ),
3486
- /* @__PURE__ */ jsx43("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs18(
3574
+ /* @__PURE__ */ jsx44("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs20(
3487
3575
  "select",
3488
3576
  {
3489
3577
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3495,18 +3583,18 @@ var DataList = (props) => {
3495
3583
  }
3496
3584
  },
3497
3585
  children: [
3498
- /* @__PURE__ */ jsx43("option", { className: "", value: "", children: "Jump to" }),
3586
+ /* @__PURE__ */ jsx44("option", { className: "", value: "", children: "Jump to" }),
3499
3587
  Array.from(
3500
3588
  { length: Math.max(0, pages - 10) },
3501
3589
  (_, index) => index + 9
3502
- ).map((page) => /* @__PURE__ */ jsx43("option", { value: page, children: page }, page))
3590
+ ).map((page) => /* @__PURE__ */ jsx44("option", { value: page, children: page }, page))
3503
3591
  ]
3504
3592
  }
3505
3593
  ) })
3506
3594
  ] });
3507
3595
  } else if (showLastPages) {
3508
- return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3509
- /* @__PURE__ */ jsx43(
3596
+ return /* @__PURE__ */ jsxs20(Fragment8, { children: [
3597
+ /* @__PURE__ */ jsx44(
3510
3598
  Hyperlink,
3511
3599
  {
3512
3600
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3514,7 +3602,7 @@ var DataList = (props) => {
3514
3602
  children: "1"
3515
3603
  }
3516
3604
  ),
3517
- /* @__PURE__ */ jsx43(
3605
+ /* @__PURE__ */ jsx44(
3518
3606
  Hyperlink,
3519
3607
  {
3520
3608
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3522,21 +3610,21 @@ var DataList = (props) => {
3522
3610
  children: "2"
3523
3611
  }
3524
3612
  ),
3525
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3613
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3526
3614
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
3527
- (page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3615
+ (page) => /* @__PURE__ */ jsx44(React29.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3528
3616
  Hyperlink,
3529
3617
  {
3530
3618
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3531
3619
  href: builder.getNewPageUrl(page),
3532
3620
  children: page
3533
3621
  }
3534
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3622
+ ) : /* @__PURE__ */ jsx44("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3535
3623
  )
3536
3624
  ] });
3537
3625
  } else {
3538
- return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3539
- /* @__PURE__ */ jsx43(
3626
+ return /* @__PURE__ */ jsxs20(Fragment8, { children: [
3627
+ /* @__PURE__ */ jsx44(
3540
3628
  Hyperlink,
3541
3629
  {
3542
3630
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3544,7 +3632,7 @@ var DataList = (props) => {
3544
3632
  children: "1"
3545
3633
  }
3546
3634
  ),
3547
- /* @__PURE__ */ jsx43(
3635
+ /* @__PURE__ */ jsx44(
3548
3636
  Hyperlink,
3549
3637
  {
3550
3638
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3552,20 +3640,20 @@ var DataList = (props) => {
3552
3640
  children: "2"
3553
3641
  }
3554
3642
  ),
3555
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3643
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3556
3644
  Array.from(
3557
3645
  { length: 5 },
3558
3646
  (_, index) => activePageNumber - 2 + index
3559
- ).map((page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3647
+ ).map((page) => /* @__PURE__ */ jsx44(React29.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3560
3648
  Hyperlink,
3561
3649
  {
3562
3650
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3563
3651
  href: builder.getNewPageUrl(page),
3564
3652
  children: page
3565
3653
  }
3566
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3567
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3568
- /* @__PURE__ */ jsx43(
3654
+ ) : /* @__PURE__ */ jsx44("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3655
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3656
+ /* @__PURE__ */ jsx44(
3569
3657
  Hyperlink,
3570
3658
  {
3571
3659
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3573,7 +3661,7 @@ var DataList = (props) => {
3573
3661
  children: pages - 1
3574
3662
  }
3575
3663
  ),
3576
- /* @__PURE__ */ jsx43(
3664
+ /* @__PURE__ */ jsx44(
3577
3665
  Hyperlink,
3578
3666
  {
3579
3667
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3581,7 +3669,7 @@ var DataList = (props) => {
3581
3669
  children: pages
3582
3670
  }
3583
3671
  ),
3584
- /* @__PURE__ */ jsx43("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs18(
3672
+ /* @__PURE__ */ jsx44("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs20(
3585
3673
  "select",
3586
3674
  {
3587
3675
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3593,8 +3681,8 @@ var DataList = (props) => {
3593
3681
  }
3594
3682
  },
3595
3683
  children: [
3596
- /* @__PURE__ */ jsx43("option", { value: "", children: "Jump to" }),
3597
- Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx43("option", { value: page, children: page }, page))
3684
+ /* @__PURE__ */ jsx44("option", { value: "", children: "Jump to" }),
3685
+ 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))
3598
3686
  ]
3599
3687
  }
3600
3688
  ) })
@@ -3602,16 +3690,16 @@ var DataList = (props) => {
3602
3690
  }
3603
3691
  }
3604
3692
  };
3605
- return /* @__PURE__ */ jsxs18(React28.Fragment, { children: [
3606
- /* @__PURE__ */ jsxs18(ContentView_default, { isDataFound, children: [
3607
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs18(
3693
+ return /* @__PURE__ */ jsxs20(React29.Fragment, { children: [
3694
+ /* @__PURE__ */ jsxs20(ContentView_default, { isDataFound, children: [
3695
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs20(
3608
3696
  "div",
3609
3697
  {
3610
3698
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
3611
3699
  children: [
3612
- props.title ? /* @__PURE__ */ jsx43("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx43("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx43("div", {}),
3613
- /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3", children: [
3614
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx43(
3700
+ 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", {}),
3701
+ /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-3", children: [
3702
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx44(
3615
3703
  InputControl_default,
3616
3704
  {
3617
3705
  name: "Search_input",
@@ -3624,7 +3712,7 @@ var DataList = (props) => {
3624
3712
  }
3625
3713
  }
3626
3714
  ),
3627
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx43(
3715
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx44(
3628
3716
  InputControl_default,
3629
3717
  {
3630
3718
  name: filter.name,
@@ -3639,15 +3727,15 @@ var DataList = (props) => {
3639
3727
  },
3640
3728
  filter.name
3641
3729
  )),
3642
- props.addLinkHref && /* @__PURE__ */ jsxs18(
3730
+ props.addLinkHref && /* @__PURE__ */ jsxs20(
3643
3731
  Hyperlink,
3644
3732
  {
3645
3733
  className: "gap-1",
3646
3734
  linkType: "Primary" /* Solid */,
3647
3735
  href: props.addLinkHref,
3648
3736
  children: [
3649
- /* @__PURE__ */ jsx43(Icon_default, { name: "plus", className: "w-4 h-4" }),
3650
- /* @__PURE__ */ jsx43("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3737
+ /* @__PURE__ */ jsx44(Icon_default, { name: "plus", className: "w-4 h-4" }),
3738
+ /* @__PURE__ */ jsx44("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3651
3739
  ]
3652
3740
  }
3653
3741
  )
@@ -3655,8 +3743,8 @@ var DataList = (props) => {
3655
3743
  ]
3656
3744
  }
3657
3745
  ),
3658
- /* @__PURE__ */ jsx43("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: [
3659
- /* @__PURE__ */ jsx43("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsxs18("tr", { children: [
3746
+ /* @__PURE__ */ jsx44("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs20("table", { className: "w-full divide-y divide-gray-200", children: [
3747
+ /* @__PURE__ */ jsx44("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsxs20("tr", { children: [
3660
3748
  props?.columns?.map((column) => {
3661
3749
  let url = builder.getNewOrderByUrl(column.name);
3662
3750
  let icon = "chevronUpDown";
@@ -3667,18 +3755,18 @@ var DataList = (props) => {
3667
3755
  icon = "chevronUp";
3668
3756
  url = builder.getNewOrderByUrl(column.name + " desc");
3669
3757
  }
3670
- return /* @__PURE__ */ jsx43(
3758
+ return /* @__PURE__ */ jsx44(
3671
3759
  "th",
3672
3760
  {
3673
3761
  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" : ""),
3674
- children: /* @__PURE__ */ jsx43(
3762
+ children: /* @__PURE__ */ jsx44(
3675
3763
  Hyperlink,
3676
3764
  {
3677
3765
  href: column.enableSorting ? url : void 0,
3678
3766
  className: "!text-neutral-contrast ",
3679
- children: /* @__PURE__ */ jsxs18("span", { className: "flex items-center space-x-1", children: [
3680
- /* @__PURE__ */ jsx43("span", { className: "text-black", children: column.label }),
3681
- column.enableSorting && /* @__PURE__ */ jsx43(Icon_default, { className: "w-4 h-4", name: icon })
3767
+ children: /* @__PURE__ */ jsxs20("span", { className: "flex items-center space-x-1", children: [
3768
+ /* @__PURE__ */ jsx44("span", { className: "text-black", children: column.label }),
3769
+ column.enableSorting && /* @__PURE__ */ jsx44(Icon_default, { className: "w-4 h-4", name: icon })
3682
3770
  ] })
3683
3771
  }
3684
3772
  )
@@ -3686,25 +3774,25 @@ var DataList = (props) => {
3686
3774
  column.name
3687
3775
  );
3688
3776
  }),
3689
- props.onQuickView && /* @__PURE__ */ jsx43("th", { className: "px-6 py-3 text-right font-medium bg-neutral-soft w-32 text-black", children: "Action" })
3777
+ props.onQuickView && /* @__PURE__ */ jsx44("th", { className: "px-6 py-3 text-right font-medium bg-neutral-soft w-32 text-black", children: "Action" })
3690
3778
  ] }) }),
3691
- /* @__PURE__ */ jsx43("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3779
+ /* @__PURE__ */ jsx44("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3692
3780
  let validityClass = "";
3693
3781
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
3694
3782
  validityClass = "bg-alert-200";
3695
3783
  }
3696
- return /* @__PURE__ */ jsxs18("tr", { className: validityClass, children: [
3784
+ return /* @__PURE__ */ jsxs20("tr", { className: validityClass, children: [
3697
3785
  props?.columns?.map((column, colindex) => {
3698
- return /* @__PURE__ */ jsx43(React28.Fragment, { children: /* @__PURE__ */ jsx43(
3786
+ return /* @__PURE__ */ jsx44(React29.Fragment, { children: /* @__PURE__ */ jsx44(
3699
3787
  "td",
3700
3788
  {
3701
3789
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
3702
- children: column.addhref === true ? /* @__PURE__ */ jsx43(
3790
+ children: column.addhref === true ? /* @__PURE__ */ jsx44(
3703
3791
  Hyperlink,
3704
3792
  {
3705
3793
  className: "",
3706
3794
  href: `https://${dataitem[column.name]}`,
3707
- children: /* @__PURE__ */ jsx43(
3795
+ children: /* @__PURE__ */ jsx44(
3708
3796
  ViewControl_default,
3709
3797
  {
3710
3798
  controlType: column.controlType,
@@ -3717,11 +3805,11 @@ var DataList = (props) => {
3717
3805
  }
3718
3806
  )
3719
3807
  }
3720
- ) : column.showAsLink ? /* @__PURE__ */ jsx43(
3808
+ ) : column.showAsLink ? /* @__PURE__ */ jsx44(
3721
3809
  Hyperlink,
3722
3810
  {
3723
3811
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
3724
- children: /* @__PURE__ */ jsx43(
3812
+ children: /* @__PURE__ */ jsx44(
3725
3813
  ViewControl_default,
3726
3814
  {
3727
3815
  controlType: column.controlType,
@@ -3731,7 +3819,7 @@ var DataList = (props) => {
3731
3819
  }
3732
3820
  )
3733
3821
  }
3734
- ) : /* @__PURE__ */ jsx43(
3822
+ ) : /* @__PURE__ */ jsx44(
3735
3823
  ViewControl_default,
3736
3824
  {
3737
3825
  controlType: column.controlType,
@@ -3743,7 +3831,7 @@ var DataList = (props) => {
3743
3831
  }
3744
3832
  ) }, colindex);
3745
3833
  }),
3746
- props.onQuickView && /* @__PURE__ */ jsx43("td", { className: "px-6 py-2 text-right whitespace-nowrap", children: /* @__PURE__ */ jsxs18(
3834
+ props.onQuickView && /* @__PURE__ */ jsx44("td", { className: "px-6 py-2 text-right whitespace-nowrap", children: /* @__PURE__ */ jsxs20(
3747
3835
  "button",
3748
3836
  {
3749
3837
  type: "button",
@@ -3753,7 +3841,7 @@ var DataList = (props) => {
3753
3841
  },
3754
3842
  className: "inline-flex items-center gap-1.5 px-3 py-1 text-xs font-semibold rounded-md border border-neutral-300 bg-white hover:bg-neutral-100 text-neutral-800 transition-colors shadow-xs",
3755
3843
  children: [
3756
- /* @__PURE__ */ jsxs18(
3844
+ /* @__PURE__ */ jsxs20(
3757
3845
  "svg",
3758
3846
  {
3759
3847
  className: "w-3.5 h-3.5",
@@ -3764,22 +3852,22 @@ var DataList = (props) => {
3764
3852
  strokeLinecap: "round",
3765
3853
  strokeLinejoin: "round",
3766
3854
  children: [
3767
- /* @__PURE__ */ jsx43("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
3768
- /* @__PURE__ */ jsx43("circle", { cx: "12", cy: "12", r: "3" })
3855
+ /* @__PURE__ */ jsx44("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
3856
+ /* @__PURE__ */ jsx44("circle", { cx: "12", cy: "12", r: "3" })
3769
3857
  ]
3770
3858
  }
3771
3859
  ),
3772
- /* @__PURE__ */ jsx43("span", { children: props.quickViewLabel || "Quick View" })
3860
+ /* @__PURE__ */ jsx44("span", { children: props.quickViewLabel || "Quick View" })
3773
3861
  ]
3774
3862
  }
3775
3863
  ) })
3776
3864
  ] }, index);
3777
3865
  }) })
3778
3866
  ] }) }),
3779
- /* @__PURE__ */ jsx43("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: [
3780
- /* @__PURE__ */ jsx43("div", { className: "text-gray-700", children: label }),
3781
- /* @__PURE__ */ jsxs18("div", { className: "flex space-x-2 items-center", children: [
3782
- activePageNumber > 1 && /* @__PURE__ */ jsx43(
3867
+ /* @__PURE__ */ jsx44("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs20("div", { className: "flex items-center justify-between", children: [
3868
+ /* @__PURE__ */ jsx44("div", { className: "text-gray-700", children: label }),
3869
+ /* @__PURE__ */ jsxs20("div", { className: "flex space-x-2 items-center", children: [
3870
+ activePageNumber > 1 && /* @__PURE__ */ jsx44(
3783
3871
  Hyperlink,
3784
3872
  {
3785
3873
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3787,9 +3875,9 @@ var DataList = (props) => {
3787
3875
  children: "Prev"
3788
3876
  }
3789
3877
  ),
3790
- activePageNumber <= 1 && /* @__PURE__ */ jsx43("div", { className: "px-3 py-1 rounded-l-md border border-gray-300 bg-gray-200 text-gray-500 hover:bg-gray-200", children: "Prev" }),
3878
+ 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" }),
3791
3879
  renderPageNumbers(),
3792
- activePageNumber < pages && /* @__PURE__ */ jsx43(
3880
+ activePageNumber < pages && /* @__PURE__ */ jsx44(
3793
3881
  Hyperlink,
3794
3882
  {
3795
3883
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3797,19 +3885,19 @@ var DataList = (props) => {
3797
3885
  children: "Next"
3798
3886
  }
3799
3887
  ),
3800
- activePageNumber >= pages && /* @__PURE__ */ jsx43("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3888
+ 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" })
3801
3889
  ] })
3802
3890
  ] }) })
3803
3891
  ] }),
3804
- /* @__PURE__ */ jsxs18(NoContentView_default, { isDataFound, children: [
3805
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs18(
3892
+ /* @__PURE__ */ jsxs20(NoContentView_default, { isDataFound, children: [
3893
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs20(
3806
3894
  "div",
3807
3895
  {
3808
3896
  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`,
3809
3897
  children: [
3810
- props.title ? /* @__PURE__ */ jsx43("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx43("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx43("div", {}),
3811
- /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3", children: [
3812
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx43(
3898
+ 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", {}),
3899
+ /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-3", children: [
3900
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx44(
3813
3901
  InputControl_default,
3814
3902
  {
3815
3903
  name: "Search_input",
@@ -3822,7 +3910,7 @@ var DataList = (props) => {
3822
3910
  }
3823
3911
  }
3824
3912
  ),
3825
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx43(
3913
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx44(
3826
3914
  InputControl_default,
3827
3915
  {
3828
3916
  name: filter.name,
@@ -3837,15 +3925,15 @@ var DataList = (props) => {
3837
3925
  },
3838
3926
  filter.name
3839
3927
  )),
3840
- props.addLinkHref && /* @__PURE__ */ jsxs18(
3928
+ props.addLinkHref && /* @__PURE__ */ jsxs20(
3841
3929
  Hyperlink,
3842
3930
  {
3843
3931
  className: "gap-1",
3844
3932
  linkType: "Primary" /* Solid */,
3845
3933
  href: props.addLinkHref,
3846
3934
  children: [
3847
- /* @__PURE__ */ jsx43(Icon_default, { name: "plus", className: "w-4 h-4" }),
3848
- /* @__PURE__ */ jsx43("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3935
+ /* @__PURE__ */ jsx44(Icon_default, { name: "plus", className: "w-4 h-4" }),
3936
+ /* @__PURE__ */ jsx44("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3849
3937
  ]
3850
3938
  }
3851
3939
  )
@@ -3853,8 +3941,8 @@ var DataList = (props) => {
3853
3941
  ]
3854
3942
  }
3855
3943
  ),
3856
- /* @__PURE__ */ jsxs18("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3857
- /* @__PURE__ */ jsx43("div", { children: /* @__PURE__ */ jsx43("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx43("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx43("tr", { children: props?.columns?.map((column) => {
3944
+ /* @__PURE__ */ jsxs20("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3945
+ /* @__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) => {
3858
3946
  let url = builder.getNewOrderByUrl(column.name);
3859
3947
  let icon = "chevronUpDown";
3860
3948
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3864,18 +3952,18 @@ var DataList = (props) => {
3864
3952
  icon = "chevronUp";
3865
3953
  url = builder.getNewOrderByUrl(column.name + " desc");
3866
3954
  }
3867
- return /* @__PURE__ */ jsx43(
3955
+ return /* @__PURE__ */ jsx44(
3868
3956
  "th",
3869
3957
  {
3870
3958
  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" : ""),
3871
- children: /* @__PURE__ */ jsx43(
3959
+ children: /* @__PURE__ */ jsx44(
3872
3960
  Hyperlink,
3873
3961
  {
3874
3962
  href: column.enableSorting ? url : void 0,
3875
3963
  className: "text-body-950",
3876
- children: /* @__PURE__ */ jsxs18("span", { className: "flex items-center space-x-1", children: [
3877
- /* @__PURE__ */ jsx43("span", { children: column.label }),
3878
- column.enableSorting && /* @__PURE__ */ jsx43(Icon_default, { className: "w-4 h-4", name: icon })
3964
+ children: /* @__PURE__ */ jsxs20("span", { className: "flex items-center space-x-1", children: [
3965
+ /* @__PURE__ */ jsx44("span", { children: column.label }),
3966
+ column.enableSorting && /* @__PURE__ */ jsx44(Icon_default, { className: "w-4 h-4", name: icon })
3879
3967
  ] })
3880
3968
  }
3881
3969
  )
@@ -3883,7 +3971,7 @@ var DataList = (props) => {
3883
3971
  column.name
3884
3972
  );
3885
3973
  }) }) }) }) }),
3886
- /* @__PURE__ */ jsx43("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3974
+ /* @__PURE__ */ jsx44("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3887
3975
  ] })
3888
3976
  ] })
3889
3977
  ] });
@@ -3891,9 +3979,9 @@ var DataList = (props) => {
3891
3979
  var DataList_default = DataList;
3892
3980
 
3893
3981
  // src/components/dataForm/DataListRenderer.tsx
3894
- import React29, { useState as useState3, useEffect as useEffect4 } from "react";
3982
+ import React30, { useState as useState4, useEffect as useEffect5 } from "react";
3895
3983
  import { usePathname as usePathname2 } from "next/navigation";
3896
- import { jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
3984
+ import { jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
3897
3985
  var viewControlMap = {
3898
3986
  number: ViewControlTypes.number,
3899
3987
  lineText: ViewControlTypes.lineText,
@@ -3948,14 +4036,14 @@ var DataListRenderer = ({
3948
4036
  widgetProps
3949
4037
  }) => {
3950
4038
  const serviceClient = new ServiceClient_default(apiBaseUrl, session);
3951
- const [columns, setColumns] = useState3([]);
3952
- const [dataset, setDataset] = useState3();
3953
- const [filter, setFilters] = useState3([]);
3954
- const [addLinkHref, setAddLinkHref] = useState3("");
3955
- const [addLinkText, setAddLinkText] = useState3("");
3956
- const [serviceRoute, setServiceRoute] = useState3("");
4039
+ const [columns, setColumns] = useState4([]);
4040
+ const [dataset, setDataset] = useState4();
4041
+ const [filter, setFilters] = useState4([]);
4042
+ const [addLinkHref, setAddLinkHref] = useState4("");
4043
+ const [addLinkText, setAddLinkText] = useState4("");
4044
+ const [serviceRoute, setServiceRoute] = useState4("");
3957
4045
  const pathname = usePathname2();
3958
- useEffect4(() => {
4046
+ useEffect5(() => {
3959
4047
  if (!formDefinition) return;
3960
4048
  setColumns(mapApiToColumns(formDefinition));
3961
4049
  setFilters(mapApiToFilters(formDefinition));
@@ -3968,7 +4056,7 @@ var DataListRenderer = ({
3968
4056
  setAddLinkHref(resolvedAddLinkHref);
3969
4057
  setAddLinkText(formDefinition?.siteFormDataList?.addLinkText ?? "");
3970
4058
  }, [formDefinition, params]);
3971
- useEffect4(() => {
4059
+ useEffect5(() => {
3972
4060
  const fetchData = async () => {
3973
4061
  if (!serviceRoute) return;
3974
4062
  const resolvedRoute = resolveRoutePlaceholders2(serviceRoute, params);
@@ -3988,13 +4076,13 @@ var DataListRenderer = ({
3988
4076
  isActive: landingPageUrl === pathname
3989
4077
  };
3990
4078
  });
3991
- return /* @__PURE__ */ jsxs19(React29.Fragment, { children: [
4079
+ return /* @__PURE__ */ jsxs21(React30.Fragment, { children: [
3992
4080
  resolvedTabs.length > 0 && // <NavigationTabsV2
3993
4081
  // tabs={resolvedTabs}
3994
4082
  // params={(widgetProps?.params ?? params) as Record<string, any>}
3995
4083
  // />
3996
- /* @__PURE__ */ jsx44(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3997
- /* @__PURE__ */ jsx44(
4084
+ /* @__PURE__ */ jsx45(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4085
+ /* @__PURE__ */ jsx45(
3998
4086
  DataList_default,
3999
4087
  {
4000
4088
  addLinkHref,
@@ -4013,10 +4101,10 @@ var DataListRenderer = ({
4013
4101
  var DataListRenderer_default = DataListRenderer;
4014
4102
 
4015
4103
  // src/components/dataForm/DataForm.tsx
4016
- import React31, { useCallback as useCallback4, useEffect as useEffect5, useReducer as useReducer2, useRef as useRef2 } from "react";
4104
+ import React32, { useCallback as useCallback5, useEffect as useEffect6, useReducer as useReducer2, useRef as useRef3 } from "react";
4017
4105
 
4018
4106
  // src/components/dataForm/DataFormChildSection.tsx
4019
- import React30, { useCallback as useCallback3 } from "react";
4107
+ import React31, { useCallback as useCallback4 } from "react";
4020
4108
 
4021
4109
  // src/components/dataForm/StyleTypes.tsx
4022
4110
  var StyleTypes2 = /* @__PURE__ */ ((StyleTypes3) => {
@@ -4039,7 +4127,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
4039
4127
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
4040
4128
 
4041
4129
  // src/components/dataForm/DataFormChildSection.tsx
4042
- import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
4130
+ import { jsx as jsx46, jsxs as jsxs22 } from "react/jsx-runtime";
4043
4131
  var DataFormChildSection = (props) => {
4044
4132
  const { section } = props;
4045
4133
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -4051,7 +4139,7 @@ var DataFormChildSection = (props) => {
4051
4139
  return childItems.map((item, originalIndex) => ({ item, originalIndex })).filter((x) => !x.item.isDeleted) || [];
4052
4140
  };
4053
4141
  const childItemsToRender = getChildItemsForRendering();
4054
- const handleChildInputChange = useCallback3(
4142
+ const handleChildInputChange = useCallback4(
4055
4143
  (updatedValues) => {
4056
4144
  if (isOneToOne) {
4057
4145
  props.callback({
@@ -4078,7 +4166,7 @@ var DataFormChildSection = (props) => {
4078
4166
  },
4079
4167
  [props, isOneToOne, childItemsToRender]
4080
4168
  );
4081
- const onAddRow = useCallback3(() => {
4169
+ const onAddRow = useCallback4(() => {
4082
4170
  props.callback({
4083
4171
  sectionName: props.section.name,
4084
4172
  actionType: FORM_CHILD_ROW_ADD,
@@ -4087,7 +4175,7 @@ var DataFormChildSection = (props) => {
4087
4175
  rowIndex: -1
4088
4176
  });
4089
4177
  }, [props]);
4090
- const onDeleteRow = useCallback3(
4178
+ const onDeleteRow = useCallback4(
4091
4179
  (filteredIndex) => {
4092
4180
  const visibleItem = childItemsToRender[filteredIndex];
4093
4181
  if (visibleItem) {
@@ -4107,14 +4195,14 @@ var DataFormChildSection = (props) => {
4107
4195
  childItemsToRender,
4108
4196
  allChildItems: childItems
4109
4197
  });
4110
- return /* @__PURE__ */ jsx45(React30.Fragment, { children: /* @__PURE__ */ jsxs20("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
4111
- section.sectionTitle && /* @__PURE__ */ jsx45("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
4112
- /* @__PURE__ */ jsx45("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: [
4113
- /* @__PURE__ */ jsx45("div", { children: /* @__PURE__ */ jsxs20("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
4114
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx45("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
4115
- return /* @__PURE__ */ jsxs20("tr", { className: "", children: [
4198
+ return /* @__PURE__ */ jsx46(React31.Fragment, { children: /* @__PURE__ */ jsxs22("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
4199
+ section.sectionTitle && /* @__PURE__ */ jsx46("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
4200
+ /* @__PURE__ */ jsx46("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs22("div", { className: "flex flex-col justify-between gap-2", children: [
4201
+ /* @__PURE__ */ jsx46("div", { children: /* @__PURE__ */ jsxs22("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
4202
+ (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx46("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
4203
+ return /* @__PURE__ */ jsxs22("tr", { className: "", children: [
4116
4204
  sectionRow.elements.map((field, index) => {
4117
- return /* @__PURE__ */ jsx45(
4205
+ return /* @__PURE__ */ jsx46(
4118
4206
  "th",
4119
4207
  {
4120
4208
  className: "py-3 font-normal text-left",
@@ -4123,21 +4211,21 @@ var DataFormChildSection = (props) => {
4123
4211
  field.name
4124
4212
  );
4125
4213
  }),
4126
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx45("th", { className: "py-3 font-normal text-left", children: "Actions" })
4214
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx46("th", { className: "py-3 font-normal text-left", children: "Actions" })
4127
4215
  ] }, sectionRowIndex);
4128
4216
  }) }),
4129
- /* @__PURE__ */ jsx45("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
4217
+ /* @__PURE__ */ jsx46("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
4130
4218
  const { item, originalIndex } = visibleItem;
4131
4219
  const rowKey = originalIndex;
4132
- return /* @__PURE__ */ jsx45(React30.Fragment, { children: section.sectionRows.map(
4220
+ return /* @__PURE__ */ jsx46(React31.Fragment, { children: section.sectionRows.map(
4133
4221
  (sectionRow, sectionRowIndex) => {
4134
- return /* @__PURE__ */ jsxs20(
4222
+ return /* @__PURE__ */ jsxs22(
4135
4223
  "tr",
4136
4224
  {
4137
4225
  className: "",
4138
4226
  children: [
4139
4227
  sectionRow.elements.map((field, index) => {
4140
- return /* @__PURE__ */ jsx45("td", { children: /* @__PURE__ */ jsx45("div", { className: "flex-1", children: /* @__PURE__ */ jsx45("div", { className: "w-11/12", children: /* @__PURE__ */ jsx45(
4228
+ return /* @__PURE__ */ jsx46("td", { children: /* @__PURE__ */ jsx46("div", { className: "flex-1", children: /* @__PURE__ */ jsx46("div", { className: "w-11/12", children: /* @__PURE__ */ jsx46(
4141
4229
  InputControl_default,
4142
4230
  {
4143
4231
  index: filteredIndex,
@@ -4157,7 +4245,7 @@ var DataFormChildSection = (props) => {
4157
4245
  }
4158
4246
  ) }) }) }, field.name);
4159
4247
  }),
4160
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx45("td", { children: /* @__PURE__ */ jsx45(
4248
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx46("td", { children: /* @__PURE__ */ jsx46(
4161
4249
  ClientButton_default,
4162
4250
  {
4163
4251
  ButtonType: StyleTypes2.Hollow,
@@ -4166,7 +4254,7 @@ var DataFormChildSection = (props) => {
4166
4254
  },
4167
4255
  dataRole: "delete",
4168
4256
  tabIndex: -1,
4169
- children: /* @__PURE__ */ jsx45(
4257
+ children: /* @__PURE__ */ jsx46(
4170
4258
  Icon_default,
4171
4259
  {
4172
4260
  className: "w-4 h-4",
@@ -4183,7 +4271,7 @@ var DataFormChildSection = (props) => {
4183
4271
  ) }, rowKey);
4184
4272
  }) })
4185
4273
  ] }) }),
4186
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx45("div", { className: "ml-1", children: /* @__PURE__ */ jsx45(
4274
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx46("div", { className: "ml-1", children: /* @__PURE__ */ jsx46(
4187
4275
  ClientButton_default,
4188
4276
  {
4189
4277
  ButtonType: "Link" /* Link */,
@@ -4198,9 +4286,9 @@ var DataFormChildSection = (props) => {
4198
4286
  var DataFormChildSection_default = DataFormChildSection;
4199
4287
 
4200
4288
  // src/components/dataForm/DataForm.tsx
4201
- import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4289
+ import { jsx as jsx47, jsxs as jsxs23 } from "react/jsx-runtime";
4202
4290
  var DataForm = (props) => {
4203
- const formRef = useRef2(null);
4291
+ const formRef = useRef3(null);
4204
4292
  console.log(props.dataItem, "dssads");
4205
4293
  const initialState = {
4206
4294
  inputValues: {},
@@ -4211,7 +4299,7 @@ var DataForm = (props) => {
4211
4299
  };
4212
4300
  const [formState, dispatch] = useReducer2(FormReducer_default, initialState);
4213
4301
  console.log(props.sections, "sections");
4214
- const clearHiddenChildSections = useCallback4(
4302
+ const clearHiddenChildSections = useCallback5(
4215
4303
  (changedProperty, newValues) => {
4216
4304
  if (!props.sections) return;
4217
4305
  const allChildSections = [];
@@ -4249,7 +4337,7 @@ var DataForm = (props) => {
4249
4337
  },
4250
4338
  [props.sections, formState.inputValues]
4251
4339
  );
4252
- const handleInputChange = useCallback4(
4340
+ const handleInputChange = useCallback5(
4253
4341
  async (updatedValues) => {
4254
4342
  dispatch({
4255
4343
  type: FORM_INPUT_UPDATE,
@@ -4264,7 +4352,7 @@ var DataForm = (props) => {
4264
4352
  },
4265
4353
  [dispatch, formState.inputValues, clearHiddenChildSections]
4266
4354
  );
4267
- const fetchData = useCallback4(async () => {
4355
+ const fetchData = useCallback5(async () => {
4268
4356
  if (!props.rules) return;
4269
4357
  if (Object.keys(formState.inputValues).length === 0) {
4270
4358
  return;
@@ -4295,7 +4383,7 @@ var DataForm = (props) => {
4295
4383
  console.error("Error fetching data:", error);
4296
4384
  }
4297
4385
  }, [formState.lastPropertyChanged, formState.inputValues]);
4298
- useEffect5(() => {
4386
+ useEffect6(() => {
4299
4387
  fetchData();
4300
4388
  }, [formState.inputValues, formState.lastPropertyChanged]);
4301
4389
  function replacePlaceholders(template, context, params) {
@@ -4315,7 +4403,7 @@ var DataForm = (props) => {
4315
4403
  }
4316
4404
  );
4317
4405
  }
4318
- const handleChildSectionChangeCallback = useCallback4(
4406
+ const handleChildSectionChangeCallback = useCallback5(
4319
4407
  (params) => {
4320
4408
  dispatch({
4321
4409
  type: params.actionType,
@@ -4360,7 +4448,7 @@ var DataForm = (props) => {
4360
4448
  });
4361
4449
  return cloned;
4362
4450
  }
4363
- const onClick = useCallback4(async () => {
4451
+ const onClick = useCallback5(async () => {
4364
4452
  if (props.onClick) {
4365
4453
  const isEdit = props.dataItem && Object.keys(props.dataItem).length > 0;
4366
4454
  const normalizedValues = normalizeChildSections(
@@ -4376,21 +4464,21 @@ var DataForm = (props) => {
4376
4464
  return { isSuccessful: true };
4377
4465
  }
4378
4466
  }, [formState, props]);
4379
- const handleAdditionalOnClick = useCallback4(async () => {
4467
+ const handleAdditionalOnClick = useCallback5(async () => {
4380
4468
  if (props.additionalActions?.onClick) {
4381
4469
  return await props.additionalActions.onClick(formState);
4382
4470
  } else {
4383
4471
  return { isSuccessful: true, message: "Action completed successfully" };
4384
4472
  }
4385
4473
  }, [formState, props]);
4386
- const onDelete = useCallback4(async () => {
4474
+ const onDelete = useCallback5(async () => {
4387
4475
  if (props.onDelete) {
4388
4476
  return await props.onDelete(formState);
4389
4477
  } else {
4390
4478
  return { isSuccessful: true };
4391
4479
  }
4392
4480
  }, [formState, props]);
4393
- useEffect5(() => {
4481
+ useEffect6(() => {
4394
4482
  if (props.dataItem) {
4395
4483
  dispatch({
4396
4484
  type: FORM_INITIAL_UPDATE,
@@ -4418,19 +4506,19 @@ var DataForm = (props) => {
4418
4506
  return false;
4419
4507
  }
4420
4508
  }
4421
- return /* @__PURE__ */ jsx46(React31.Fragment, { children: /* @__PURE__ */ jsxs21("div", { className: "flex-grow flex flex-col", children: [
4422
- props.title && /* @__PURE__ */ jsx46("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ jsxs21(
4509
+ return /* @__PURE__ */ jsx47(React32.Fragment, { children: /* @__PURE__ */ jsxs23("div", { className: "flex-grow flex flex-col", children: [
4510
+ 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__ */ jsxs23(
4423
4511
  "div",
4424
4512
  {
4425
4513
  className: "inline-flex items-center gap-2 cursor-pointer",
4426
4514
  onClick: () => window.history.back(),
4427
4515
  children: [
4428
- /* @__PURE__ */ jsx46(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4429
- /* @__PURE__ */ jsx46("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4516
+ /* @__PURE__ */ jsx47(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4517
+ /* @__PURE__ */ jsx47("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4430
4518
  ]
4431
4519
  }
4432
4520
  ) }),
4433
- /* @__PURE__ */ jsx46(
4521
+ /* @__PURE__ */ jsx47(
4434
4522
  "form",
4435
4523
  {
4436
4524
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -4451,8 +4539,8 @@ var DataForm = (props) => {
4451
4539
  }
4452
4540
  }
4453
4541
  },
4454
- children: /* @__PURE__ */ jsx46("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4455
- return /* @__PURE__ */ jsx46(React31.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs21("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4542
+ children: /* @__PURE__ */ jsx47("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4543
+ return /* @__PURE__ */ jsx47(React32.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs23("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4456
4544
  section.sectionRows?.map(
4457
4545
  (sectionRow, sectionRowIndex) => {
4458
4546
  const elementsCount = sectionRow.elements.length;
@@ -4463,14 +4551,14 @@ var DataForm = (props) => {
4463
4551
  sectionRow.visible
4464
4552
  );
4465
4553
  }
4466
- return /* @__PURE__ */ jsx46(React31.Fragment, { children: isVisible && /* @__PURE__ */ jsx46("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4467
- return /* @__PURE__ */ jsxs21(
4554
+ return /* @__PURE__ */ jsx47(React32.Fragment, { children: isVisible && /* @__PURE__ */ jsx47("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4555
+ return /* @__PURE__ */ jsxs23(
4468
4556
  "div",
4469
4557
  {
4470
4558
  className: sectionRow.grow ? "grow" : "",
4471
4559
  children: [
4472
- /* @__PURE__ */ jsx46("div", { children: field.controlType }),
4473
- /* @__PURE__ */ jsx46(
4560
+ /* @__PURE__ */ jsx47("div", { children: field.controlType }),
4561
+ /* @__PURE__ */ jsx47(
4474
4562
  InputControl_default,
4475
4563
  {
4476
4564
  name: field.name,
@@ -4500,12 +4588,12 @@ var DataForm = (props) => {
4500
4588
  }) }) }, sectionRowIndex);
4501
4589
  }
4502
4590
  ),
4503
- /* @__PURE__ */ jsx46("div", { children: section.childSections?.map(
4591
+ /* @__PURE__ */ jsx47("div", { children: section.childSections?.map(
4504
4592
  (childSection, childSectionIndex) => {
4505
- return /* @__PURE__ */ jsx46("div", { children: childSection.name && evalutateCondition(
4593
+ return /* @__PURE__ */ jsx47("div", { children: childSection.name && evalutateCondition(
4506
4594
  formState.inputValues,
4507
4595
  childSection.visible
4508
- ) && /* @__PURE__ */ jsx46(
4596
+ ) && /* @__PURE__ */ jsx47(
4509
4597
  DataFormChildSection_default,
4510
4598
  {
4511
4599
  section: childSection,
@@ -4520,8 +4608,8 @@ var DataForm = (props) => {
4520
4608
  }) })
4521
4609
  }
4522
4610
  ),
4523
- /* @__PURE__ */ jsxs21("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4524
- /* @__PURE__ */ jsx46("div", { children: props.additionalActions && /* @__PURE__ */ jsx46(
4611
+ /* @__PURE__ */ jsxs23("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4612
+ /* @__PURE__ */ jsx47("div", { children: props.additionalActions && /* @__PURE__ */ jsx47(
4525
4613
  Button_default,
4526
4614
  {
4527
4615
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4529,7 +4617,7 @@ var DataForm = (props) => {
4529
4617
  children: props.additionalActions.title
4530
4618
  }
4531
4619
  ) }),
4532
- /* @__PURE__ */ jsx46("div", { children: props.onDelete && /* @__PURE__ */ jsx46(
4620
+ /* @__PURE__ */ jsx47("div", { children: props.onDelete && /* @__PURE__ */ jsx47(
4533
4621
  Button_default,
4534
4622
  {
4535
4623
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4540,7 +4628,7 @@ var DataForm = (props) => {
4540
4628
  children: "Delete"
4541
4629
  }
4542
4630
  ) }),
4543
- /* @__PURE__ */ jsx46("div", { children: props.onClick && /* @__PURE__ */ jsx46(
4631
+ /* @__PURE__ */ jsx47("div", { children: props.onClick && /* @__PURE__ */ jsx47(
4544
4632
  Button_default,
4545
4633
  {
4546
4634
  onValidate,
@@ -4557,7 +4645,7 @@ var DataForm = (props) => {
4557
4645
  var DataForm_default = DataForm;
4558
4646
 
4559
4647
  // src/components/dataForm/DataFormRenderer.tsx
4560
- import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
4648
+ import { jsx as jsx48, jsxs as jsxs24 } from "react/jsx-runtime";
4561
4649
  function getAction(actions, code) {
4562
4650
  return actions?.find((a) => a.actionCode === code);
4563
4651
  }
@@ -4583,9 +4671,9 @@ var DataFormRenderer = ({
4583
4671
  "Delete"
4584
4672
  );
4585
4673
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
4586
- return /* @__PURE__ */ jsxs22("div", { className: "flex-grow flex flex-col", children: [
4587
- widgetProps && /* @__PURE__ */ jsx47(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4588
- /* @__PURE__ */ jsx47(
4674
+ return /* @__PURE__ */ jsxs24("div", { className: "flex-grow flex flex-col", children: [
4675
+ widgetProps && /* @__PURE__ */ jsx48(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4676
+ /* @__PURE__ */ jsx48(
4589
4677
  DataForm_default,
4590
4678
  {
4591
4679
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",