@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260926063530 → 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
@@ -8,6 +8,7 @@ import {
8
8
  } from "./chunk-RSUG2VPX.mjs";
9
9
  import "./chunk-JDX47MFV.mjs";
10
10
  import {
11
+ COUNTRY_CODES,
11
12
  CheckboxInput_default,
12
13
  ColorInput_default,
13
14
  DateInput_default,
@@ -23,8 +24,14 @@ import {
23
24
  RadioInput_default,
24
25
  SelectWithSearchInput_default,
25
26
  Select_default,
26
- TimeInput_default
27
- } from "./chunk-LDS5ZLVG.mjs";
27
+ TimeInput_default,
28
+ findCountryByDialCode,
29
+ findCountryByIso2,
30
+ getCountryFlag,
31
+ getDialCodeByCountryCode,
32
+ resolveCountry,
33
+ splitPhoneNumber
34
+ } from "./chunk-JT7G3DNR.mjs";
28
35
  import {
29
36
  Constants,
30
37
  Hyperlink,
@@ -456,16 +463,16 @@ var ViewControl_default = ViewControl;
456
463
 
457
464
  // src/components/controls/edit/InputControl.tsx
458
465
  import dynamic7 from "next/dynamic";
459
- var InputControl = dynamic7(() => import("./InputControlClient-K6GXQEJD.mjs"), {
466
+ var InputControl = dynamic7(() => import("./InputControlClient-QMFSUGTK.mjs"), {
460
467
  ssr: false
461
468
  });
462
469
  var InputControl_default = InputControl;
463
470
 
464
471
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
465
- import React24 from "react";
472
+ import React25 from "react";
466
473
 
467
474
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
468
- import React16 from "react";
475
+ import React17 from "react";
469
476
 
470
477
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
471
478
  import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
@@ -619,7 +626,7 @@ var ImageNode = (props) => {
619
626
  ...props.node.borderRadius && { borderRadius: props.node.borderRadius },
620
627
  ...props.node.width && { width: props.node.width }
621
628
  };
622
- const FORMAT_CLASSES2 = {
629
+ const FORMAT_CLASSES3 = {
623
630
  center: "justify-center",
624
631
  left: "justify-start",
625
632
  right: "justify-end"
@@ -651,7 +658,7 @@ var ImageNode = (props) => {
651
658
  }
652
659
  );
653
660
  if (props.node.width) {
654
- 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() });
655
662
  }
656
663
  return renderMedia();
657
664
  };
@@ -942,8 +949,89 @@ var DatafieldNode = (props) => {
942
949
  };
943
950
  var DatafieldNode_default = DatafieldNode;
944
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
+
945
1033
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
946
- 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";
947
1035
  var ParagraphNode = (props) => {
948
1036
  const NodeTypes2 = {
949
1037
  ["text"]: TextNode_default,
@@ -951,7 +1039,8 @@ var ParagraphNode = (props) => {
951
1039
  ["link"]: LinkNode_default,
952
1040
  ["datafield"]: DatafieldNode_default,
953
1041
  ["equation"]: EquationNode_default,
954
- ["svg-icon"]: SVGIconNode_default
1042
+ ["svg-icon"]: SVGIconNode_default,
1043
+ ["counter"]: CounterNode_default
955
1044
  };
956
1045
  const FormatClass = {
957
1046
  "center": "text-center",
@@ -963,9 +1052,9 @@ var ParagraphNode = (props) => {
963
1052
  const isInlineOnlyParent = props.parentTag === "summary";
964
1053
  const hasChildren = props.node.children && props.node.children.length > 0;
965
1054
  if (isInlineOnlyParent) {
966
- 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) => {
967
1056
  const SelectedNode = NodeTypes2[node.type];
968
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1057
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
969
1058
  SelectedNode,
970
1059
  {
971
1060
  node,
@@ -978,10 +1067,10 @@ var ParagraphNode = (props) => {
978
1067
  ) }, index);
979
1068
  }) });
980
1069
  }
981
- return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
1070
+ return /* @__PURE__ */ jsxs9("div", { className: " " + formatClasses, children: [
982
1071
  hasChildren && props.node.children.map((node, index) => {
983
1072
  const SelectedNode = NodeTypes2[node.type];
984
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1073
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
985
1074
  SelectedNode,
986
1075
  {
987
1076
  node,
@@ -993,21 +1082,22 @@ var ParagraphNode = (props) => {
993
1082
  }
994
1083
  ) }, index);
995
1084
  }),
996
- !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
1085
+ !hasChildren && /* @__PURE__ */ jsx24("div", { className: "py-1.5 lg:py-2" })
997
1086
  ] });
998
1087
  };
999
1088
  var ParagraphNode_default = ParagraphNode;
1000
1089
 
1001
1090
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
1002
- import React17 from "react";
1003
- 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";
1004
1093
  var HeadingNode = (props) => {
1005
1094
  const NodeTypes2 = {
1006
1095
  ["text"]: TextNode_default,
1007
1096
  ["link"]: LinkNode_default,
1008
1097
  ["svg-icon"]: SVGIconNode_default,
1009
1098
  ["linebreak"]: LineBreakNode_default,
1010
- ["datafield"]: DatafieldNode_default
1099
+ ["datafield"]: DatafieldNode_default,
1100
+ ["counter"]: CounterNode_default
1011
1101
  };
1012
1102
  const HeadingTag = `${props.node.tag}`;
1013
1103
  const FormatClass = {
@@ -1016,23 +1106,23 @@ var HeadingNode = (props) => {
1016
1106
  {
1017
1107
  }
1018
1108
  const formatClasses = FormatClass[props.node.format] || "";
1019
- return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
1109
+ return /* @__PURE__ */ jsx25(Fragment3, { children: React18.createElement(
1020
1110
  HeadingTag,
1021
1111
  { className: formatClasses },
1022
1112
  props.node.children && props.node.children.map((childNode, index) => {
1023
1113
  const SelectedNode = NodeTypes2[childNode.type];
1024
- return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, 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);
1025
1115
  })
1026
1116
  ) });
1027
1117
  };
1028
1118
  var HeadingNode_default = HeadingNode;
1029
1119
 
1030
1120
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1031
- import React19 from "react";
1121
+ import React20 from "react";
1032
1122
 
1033
1123
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
1034
- import React18 from "react";
1035
- import { jsx as jsx25 } from "react/jsx-runtime";
1124
+ import React19 from "react";
1125
+ import { jsx as jsx26 } from "react/jsx-runtime";
1036
1126
  var ListItemNode = (props) => {
1037
1127
  const NodeTypes2 = {
1038
1128
  text: TextNode_default,
@@ -1049,66 +1139,66 @@ var ListItemNode = (props) => {
1049
1139
  liStyle.fontSize = match[1].trim();
1050
1140
  }
1051
1141
  }
1052
- 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) => {
1053
1143
  const SelectedNode = NodeTypes2[node.type];
1054
1144
  if (node.type === "linebreak") {
1055
1145
  if (!foundFirstBreak) {
1056
1146
  foundFirstBreak = true;
1057
- return /* @__PURE__ */ jsx25("div", {}, index);
1147
+ return /* @__PURE__ */ jsx26("div", {}, index);
1058
1148
  } else {
1059
- return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
1149
+ return /* @__PURE__ */ jsx26("div", { className: "py-1 lg:py-2" }, index);
1060
1150
  }
1061
1151
  } else {
1062
1152
  foundFirstBreak = false;
1063
- 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);
1064
1154
  }
1065
1155
  }) });
1066
1156
  };
1067
1157
  var ListItemNode_default = ListItemNode;
1068
1158
 
1069
1159
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1070
- import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1160
+ import { jsx as jsx27, jsxs as jsxs10 } from "react/jsx-runtime";
1071
1161
  var ListNode = (props) => {
1072
1162
  const NodeTypes2 = {
1073
1163
  listitem: ListItemNode_default
1074
1164
  };
1075
- return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
1076
- 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) => {
1077
1167
  const SelectedNode = NodeTypes2[node.type];
1078
- 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);
1079
1169
  }) }),
1080
- 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) => {
1081
1171
  const SelectedNode = NodeTypes2[node.type];
1082
- 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);
1083
1173
  }) })
1084
1174
  ] });
1085
1175
  };
1086
1176
  var ListNode_default = ListNode;
1087
1177
 
1088
1178
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1089
- import React20 from "react";
1090
- import { jsx as jsx27 } from "react/jsx-runtime";
1179
+ import React21 from "react";
1180
+ import { jsx as jsx28 } from "react/jsx-runtime";
1091
1181
  var QuoteNode = (props) => {
1092
1182
  const NodeTypes2 = {
1093
1183
  ["text"]: TextNode_default,
1094
1184
  ["linebreak"]: LineBreakNode_default,
1095
1185
  ["link"]: LinkNode_default
1096
1186
  };
1097
- 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) => {
1098
1188
  const SelectedNode = NodeTypes2[node.type];
1099
- return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1189
+ return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1100
1190
  }) });
1101
1191
  };
1102
1192
  var QuoteNode_default = QuoteNode;
1103
1193
 
1104
1194
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1105
- import React21 from "react";
1195
+ import React22 from "react";
1106
1196
  import dynamic10 from "next/dynamic";
1107
- import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1197
+ import { jsx as jsx29, jsxs as jsxs11 } from "react/jsx-runtime";
1108
1198
  var CopyButton = dynamic10(() => import("./CopyButton-UPJPMJUB.mjs"), {
1109
1199
  ssr: false,
1110
1200
  // optional: fallback UI while loading
1111
- 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" })
1112
1202
  });
1113
1203
  var CodeNode = (props) => {
1114
1204
  const NodeTypes2 = {
@@ -1122,14 +1212,14 @@ var CodeNode = (props) => {
1122
1212
  if (node.type === "link") return node.text || node.url || "";
1123
1213
  return "";
1124
1214
  }).join("") ?? "";
1125
- return /* @__PURE__ */ jsxs10("div", { children: [
1126
- /* @__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: [
1127
- /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1128
- /* @__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 })
1129
1219
  ] }),
1130
- /* @__PURE__ */ jsx28("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
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) => {
1131
1221
  const SelectedNode = NodeTypes2[node.type];
1132
- return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1222
+ return /* @__PURE__ */ jsx29(React22.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx29(
1133
1223
  SelectedNode,
1134
1224
  {
1135
1225
  node,
@@ -1144,15 +1234,15 @@ var CodeNode = (props) => {
1144
1234
  var CodeNode_default = CodeNode;
1145
1235
 
1146
1236
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1147
- import { jsx as jsx29 } from "react/jsx-runtime";
1237
+ import { jsx as jsx30 } from "react/jsx-runtime";
1148
1238
  var HorizontalRuleNode = () => {
1149
- return /* @__PURE__ */ jsx29("hr", {});
1239
+ return /* @__PURE__ */ jsx30("hr", {});
1150
1240
  };
1151
1241
  var HorizontalRuleNode_default = HorizontalRuleNode;
1152
1242
 
1153
1243
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1154
- import React22 from "react";
1155
- 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";
1156
1246
  var WidgetNode = (props) => {
1157
1247
  const getWidgetParameters = () => {
1158
1248
  const widgetInputParameters = {
@@ -1216,7 +1306,7 @@ var WidgetNode = (props) => {
1216
1306
  };
1217
1307
  const widgetCode = props.node?.widgetCode;
1218
1308
  if (!widgetCode) {
1219
- return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1309
+ return /* @__PURE__ */ jsx31(Fragment4, { children: "Invalid widget" });
1220
1310
  }
1221
1311
  const widgetParams = getWidgetParameters();
1222
1312
  const WidgetRenderer = props.widgetRenderer;
@@ -1225,7 +1315,7 @@ var WidgetNode = (props) => {
1225
1315
  }
1226
1316
  return (
1227
1317
  // eslint-disable-next-line react-hooks/static-components
1228
- /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1318
+ /* @__PURE__ */ jsx31(React23.Fragment, { children: /* @__PURE__ */ jsx31(
1229
1319
  WidgetRenderer,
1230
1320
  {
1231
1321
  params: widgetParams,
@@ -1243,11 +1333,11 @@ var WidgetNode_default = WidgetNode;
1243
1333
 
1244
1334
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1245
1335
  import dynamic14 from "next/dynamic";
1246
- import React23 from "react";
1336
+ import React24 from "react";
1247
1337
 
1248
1338
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1249
1339
  import dynamic11 from "next/dynamic";
1250
- import { jsx as jsx31 } from "react/jsx-runtime";
1340
+ import { jsx as jsx32 } from "react/jsx-runtime";
1251
1341
  var IframeClient = dynamic11(() => import("./IframeClient-WF2KLXZB.mjs"), {
1252
1342
  ssr: false
1253
1343
  });
@@ -1260,7 +1350,7 @@ var EmbedNode = (props) => {
1260
1350
  } else {
1261
1351
  src = props.node.embedSrc;
1262
1352
  }
1263
- 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 }) });
1264
1354
  };
1265
1355
  var EmbedNode_default = EmbedNode;
1266
1356
 
@@ -1496,10 +1586,10 @@ var PathUtility = class {
1496
1586
  var PathUtility_default = new PathUtility();
1497
1587
 
1498
1588
  // src/components/NoDataFound.tsx
1499
- import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1589
+ import { jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1500
1590
  var NoDataFound = () => {
1501
- return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1502
- /* @__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(
1503
1593
  "svg",
1504
1594
  {
1505
1595
  className: "w-10 h-10",
@@ -1507,7 +1597,7 @@ var NoDataFound = () => {
1507
1597
  stroke: "currentColor",
1508
1598
  viewBox: "0 0 24 24",
1509
1599
  xmlns: "http://www.w3.org/2000/svg",
1510
- children: /* @__PURE__ */ jsx32(
1600
+ children: /* @__PURE__ */ jsx33(
1511
1601
  "path",
1512
1602
  {
1513
1603
  strokeLinecap: "round",
@@ -1518,17 +1608,17 @@ var NoDataFound = () => {
1518
1608
  )
1519
1609
  }
1520
1610
  ) }) }),
1521
- /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1522
- /* @__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." })
1523
1613
  ] });
1524
1614
  };
1525
1615
  var NoDataFound_default = NoDataFound;
1526
1616
 
1527
1617
  // src/components/NoFilterResultsFound.tsx
1528
- import { jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1618
+ import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
1529
1619
  var NoFilterResultsFound = () => {
1530
- return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1531
- /* @__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(
1532
1622
  "svg",
1533
1623
  {
1534
1624
  className: "w-10 h-10",
@@ -1536,7 +1626,7 @@ var NoFilterResultsFound = () => {
1536
1626
  stroke: "currentColor",
1537
1627
  viewBox: "0 0 24 24",
1538
1628
  xmlns: "http://www.w3.org/2000/svg",
1539
- children: /* @__PURE__ */ jsx33(
1629
+ children: /* @__PURE__ */ jsx34(
1540
1630
  "path",
1541
1631
  {
1542
1632
  strokeLinecap: "round",
@@ -1547,15 +1637,15 @@ var NoFilterResultsFound = () => {
1547
1637
  )
1548
1638
  }
1549
1639
  ) }) }),
1550
- /* @__PURE__ */ jsx33("h3", { className: "text-lg font-medium mb-2", children: "No Results Found" }),
1551
- /* @__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." })
1552
1642
  ] });
1553
1643
  };
1554
1644
  var NoFilterResultsFound_default = NoFilterResultsFound;
1555
1645
 
1556
1646
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1557
1647
  import dynamic12 from "next/dynamic";
1558
- 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";
1559
1649
  var HlsPlayer3 = dynamic12(() => import("./HlsPlayer-AUZ42WTT.mjs"), { ssr: false });
1560
1650
  var deviceToMediaQuery = (device) => {
1561
1651
  switch (device) {
@@ -1711,8 +1801,8 @@ var ImageGalleryNode = (props) => {
1711
1801
  right: "justify-end"
1712
1802
  };
1713
1803
  const formatClasses = FormatClass[props.node.format || ""] || "";
1714
- return /* @__PURE__ */ jsxs13(Fragment5, { children: [
1715
- 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(
1716
1806
  HlsPlayer3,
1717
1807
  {
1718
1808
  sources: hlsSources,
@@ -1727,7 +1817,7 @@ var ImageGalleryNode = (props) => {
1727
1817
  styles: hlsStyles
1728
1818
  }
1729
1819
  ) }),
1730
- (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: [
1731
1821
  DEVICE_ORDER.map((deviceKey) => {
1732
1822
  const match = staticSources.find(
1733
1823
  (img) => img.device === deviceKey
@@ -1743,7 +1833,7 @@ var ImageGalleryNode = (props) => {
1743
1833
  if (!srcUrl) {
1744
1834
  return null;
1745
1835
  }
1746
- return /* @__PURE__ */ jsx34(
1836
+ return /* @__PURE__ */ jsx35(
1747
1837
  "source",
1748
1838
  {
1749
1839
  media: deviceToMediaQuery(match.device),
@@ -1768,7 +1858,7 @@ var ImageGalleryNode = (props) => {
1768
1858
  if (img.borderRadius) {
1769
1859
  styles.borderRadius = img.borderRadius;
1770
1860
  }
1771
- return /* @__PURE__ */ jsx34(
1861
+ return /* @__PURE__ */ jsx35(
1772
1862
  "img",
1773
1863
  {
1774
1864
  loading: "lazy",
@@ -1783,7 +1873,7 @@ var ImageGalleryNode = (props) => {
1783
1873
  })()
1784
1874
  ] }) : (
1785
1875
  /* Case 2: Only device-specific images exist */
1786
- /* @__PURE__ */ jsx34(Fragment5, { children: staticSources.map((img, index) => {
1876
+ /* @__PURE__ */ jsx35(Fragment5, { children: staticSources.map((img, index) => {
1787
1877
  const resolved = resolveImage(img);
1788
1878
  const imageUrl = resolved?.imageUrl;
1789
1879
  if (!imageUrl) {
@@ -1810,7 +1900,7 @@ var ImageGalleryNode = (props) => {
1810
1900
  default:
1811
1901
  display = "block";
1812
1902
  }
1813
- return /* @__PURE__ */ jsx34(
1903
+ return /* @__PURE__ */ jsx35(
1814
1904
  "img",
1815
1905
  {
1816
1906
  loading: "lazy",
@@ -1950,7 +2040,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
1950
2040
  };
1951
2041
 
1952
2042
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1953
- 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";
1954
2044
  var getNestedValue5 = (obj, path) => {
1955
2045
  if (!obj || !path) return void 0;
1956
2046
  return path.split(".").reduce((current, key) => {
@@ -1981,21 +2071,21 @@ var parseDocuments = (value) => {
1981
2071
  }
1982
2072
  return [];
1983
2073
  };
1984
- var PdfIcon = () => /* @__PURE__ */ jsxs14(
2074
+ var PdfIcon = () => /* @__PURE__ */ jsxs15(
1985
2075
  "svg",
1986
2076
  {
1987
2077
  xmlns: "http://www.w3.org/2000/svg",
1988
2078
  viewBox: "0 0 48 48",
1989
2079
  className: "w-10 h-10",
1990
2080
  children: [
1991
- /* @__PURE__ */ jsx35(
2081
+ /* @__PURE__ */ jsx36(
1992
2082
  "path",
1993
2083
  {
1994
2084
  fill: "#e53935",
1995
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"
1996
2086
  }
1997
2087
  ),
1998
- /* @__PURE__ */ jsx35(
2088
+ /* @__PURE__ */ jsx36(
1999
2089
  "path",
2000
2090
  {
2001
2091
  fill: "#fff",
@@ -2005,55 +2095,55 @@ var PdfIcon = () => /* @__PURE__ */ jsxs14(
2005
2095
  ]
2006
2096
  }
2007
2097
  );
2008
- var ExcelIcon = () => /* @__PURE__ */ jsxs14(
2098
+ var ExcelIcon = () => /* @__PURE__ */ jsxs15(
2009
2099
  "svg",
2010
2100
  {
2011
2101
  xmlns: "http://www.w3.org/2000/svg",
2012
2102
  viewBox: "0 0 48 48",
2013
2103
  className: "w-10 h-10",
2014
2104
  children: [
2015
- /* @__PURE__ */ jsx35(
2105
+ /* @__PURE__ */ jsx36(
2016
2106
  "path",
2017
2107
  {
2018
2108
  fill: "#169154",
2019
2109
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
2020
2110
  }
2021
2111
  ),
2022
- /* @__PURE__ */ jsx35(
2112
+ /* @__PURE__ */ jsx36(
2023
2113
  "path",
2024
2114
  {
2025
2115
  fill: "#18482a",
2026
2116
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
2027
2117
  }
2028
2118
  ),
2029
- /* @__PURE__ */ jsx35("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
2030
- /* @__PURE__ */ jsx35("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
2031
- /* @__PURE__ */ jsxs14("g", { children: [
2032
- /* @__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(
2033
2123
  "path",
2034
2124
  {
2035
2125
  fill: "#29c27f",
2036
2126
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
2037
2127
  }
2038
2128
  ),
2039
- /* @__PURE__ */ jsx35(
2129
+ /* @__PURE__ */ jsx36(
2040
2130
  "path",
2041
2131
  {
2042
2132
  fill: "#27663f",
2043
2133
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
2044
2134
  }
2045
2135
  ),
2046
- /* @__PURE__ */ jsx35("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
2047
- /* @__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" })
2048
2138
  ] }),
2049
- /* @__PURE__ */ jsx35(
2139
+ /* @__PURE__ */ jsx36(
2050
2140
  "path",
2051
2141
  {
2052
2142
  fill: "#0c7238",
2053
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"
2054
2144
  }
2055
2145
  ),
2056
- /* @__PURE__ */ jsx35(
2146
+ /* @__PURE__ */ jsx36(
2057
2147
  "path",
2058
2148
  {
2059
2149
  fill: "#fff",
@@ -2063,7 +2153,7 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs14(
2063
2153
  ]
2064
2154
  }
2065
2155
  );
2066
- var WordIcon = () => /* @__PURE__ */ jsxs14(
2156
+ var WordIcon = () => /* @__PURE__ */ jsxs15(
2067
2157
  "svg",
2068
2158
  {
2069
2159
  xmlns: "http://www.w3.org/2000/svg",
@@ -2071,14 +2161,14 @@ var WordIcon = () => /* @__PURE__ */ jsxs14(
2071
2161
  className: "w-10 h-10",
2072
2162
  baseProfile: "basic",
2073
2163
  children: [
2074
- /* @__PURE__ */ jsx35(
2164
+ /* @__PURE__ */ jsx36(
2075
2165
  "path",
2076
2166
  {
2077
2167
  fill: "#283593",
2078
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"
2079
2169
  }
2080
2170
  ),
2081
- /* @__PURE__ */ jsxs14(
2171
+ /* @__PURE__ */ jsxs15(
2082
2172
  "linearGradient",
2083
2173
  {
2084
2174
  id: "qh2LT5tehRDFkLLfb-odWa",
@@ -2089,19 +2179,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs14(
2089
2179
  gradientTransform: "translate(0 -339.89)",
2090
2180
  gradientUnits: "userSpaceOnUse",
2091
2181
  children: [
2092
- /* @__PURE__ */ jsx35("stop", { offset: "0", "stop-color": "#66c0ff" }),
2093
- /* @__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" })
2094
2184
  ]
2095
2185
  }
2096
2186
  ),
2097
- /* @__PURE__ */ jsx35(
2187
+ /* @__PURE__ */ jsx36(
2098
2188
  "path",
2099
2189
  {
2100
2190
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
2101
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"
2102
2192
  }
2103
2193
  ),
2104
- /* @__PURE__ */ jsx35(
2194
+ /* @__PURE__ */ jsx36(
2105
2195
  "path",
2106
2196
  {
2107
2197
  fill: "#1e88e5",
@@ -2109,21 +2199,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs14(
2109
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"
2110
2200
  }
2111
2201
  ),
2112
- /* @__PURE__ */ jsx35(
2202
+ /* @__PURE__ */ jsx36(
2113
2203
  "path",
2114
2204
  {
2115
2205
  fill: "#00e5ff",
2116
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"
2117
2207
  }
2118
2208
  ),
2119
- /* @__PURE__ */ jsx35(
2209
+ /* @__PURE__ */ jsx36(
2120
2210
  "path",
2121
2211
  {
2122
2212
  fill: "#1565c0",
2123
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"
2124
2214
  }
2125
2215
  ),
2126
- /* @__PURE__ */ jsx35(
2216
+ /* @__PURE__ */ jsx36(
2127
2217
  "path",
2128
2218
  {
2129
2219
  fill: "#fff",
@@ -2133,42 +2223,42 @@ var WordIcon = () => /* @__PURE__ */ jsxs14(
2133
2223
  ]
2134
2224
  }
2135
2225
  );
2136
- var StandardIcon = () => /* @__PURE__ */ jsxs14(
2226
+ var StandardIcon = () => /* @__PURE__ */ jsxs15(
2137
2227
  "svg",
2138
2228
  {
2139
2229
  xmlns: "http://www.w3.org/2000/svg",
2140
2230
  viewBox: "0 0 48 48",
2141
2231
  className: "w-10 h-10",
2142
2232
  children: [
2143
- /* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2144
- /* @__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" })
2145
2235
  ]
2146
2236
  }
2147
2237
  );
2148
- var PowerPointIcon = () => /* @__PURE__ */ jsxs14(
2238
+ var PowerPointIcon = () => /* @__PURE__ */ jsxs15(
2149
2239
  "svg",
2150
2240
  {
2151
2241
  xmlns: "http://www.w3.org/2000/svg",
2152
2242
  viewBox: "0 0 48 48",
2153
2243
  className: "w-10 h-10",
2154
2244
  children: [
2155
- /* @__PURE__ */ jsx35(
2245
+ /* @__PURE__ */ jsx36(
2156
2246
  "path",
2157
2247
  {
2158
2248
  fill: "#dc4c2c",
2159
2249
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
2160
2250
  }
2161
2251
  ),
2162
- /* @__PURE__ */ jsx35("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2163
- /* @__PURE__ */ jsx35("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2164
- /* @__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(
2165
2255
  "path",
2166
2256
  {
2167
2257
  fill: "#9b341f",
2168
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"
2169
2259
  }
2170
2260
  ),
2171
- /* @__PURE__ */ jsx35(
2261
+ /* @__PURE__ */ jsx36(
2172
2262
  "path",
2173
2263
  {
2174
2264
  fill: "#fff",
@@ -2178,16 +2268,16 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs14(
2178
2268
  ]
2179
2269
  }
2180
2270
  );
2181
- var TextIcon = () => /* @__PURE__ */ jsxs14(
2271
+ var TextIcon = () => /* @__PURE__ */ jsxs15(
2182
2272
  "svg",
2183
2273
  {
2184
2274
  xmlns: "http://www.w3.org/2000/svg",
2185
2275
  viewBox: "0 0 48 48",
2186
2276
  className: "w-10 h-10",
2187
2277
  children: [
2188
- /* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2189
- /* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2190
- /* @__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(
2191
2281
  "path",
2192
2282
  {
2193
2283
  fill: "#1976D2",
@@ -2197,7 +2287,7 @@ var TextIcon = () => /* @__PURE__ */ jsxs14(
2197
2287
  ]
2198
2288
  }
2199
2289
  );
2200
- var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2290
+ var ArchiveIcon = () => /* @__PURE__ */ jsxs15(
2201
2291
  "svg",
2202
2292
  {
2203
2293
  xmlns: "http://www.w3.org/2000/svg",
@@ -2207,14 +2297,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2207
2297
  version: "1.0",
2208
2298
  className: "w-10 h-10",
2209
2299
  children: [
2210
- /* @__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(
2211
2301
  "path",
2212
2302
  {
2213
2303
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2214
2304
  "clip-rule": "nonzero"
2215
2305
  }
2216
2306
  ) }) }),
2217
- /* @__PURE__ */ jsx35("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx35(
2307
+ /* @__PURE__ */ jsx36("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx36(
2218
2308
  "path",
2219
2309
  {
2220
2310
  fill: "#ff9100",
@@ -2223,7 +2313,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2223
2313
  "fill-rule": "nonzero"
2224
2314
  }
2225
2315
  ) }),
2226
- /* @__PURE__ */ jsx35(
2316
+ /* @__PURE__ */ jsx36(
2227
2317
  "path",
2228
2318
  {
2229
2319
  fill: "#fbe9e7",
@@ -2232,7 +2322,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2232
2322
  "fill-rule": "nonzero"
2233
2323
  }
2234
2324
  ),
2235
- /* @__PURE__ */ jsx35(
2325
+ /* @__PURE__ */ jsx36(
2236
2326
  "path",
2237
2327
  {
2238
2328
  fill: "#ffe0b2",
@@ -2241,7 +2331,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2241
2331
  "fill-rule": "nonzero"
2242
2332
  }
2243
2333
  ),
2244
- /* @__PURE__ */ jsx35(
2334
+ /* @__PURE__ */ jsx36(
2245
2335
  "path",
2246
2336
  {
2247
2337
  fill: "#ffe0b2",
@@ -2250,7 +2340,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
2250
2340
  "fill-rule": "nonzero"
2251
2341
  }
2252
2342
  ),
2253
- /* @__PURE__ */ jsx35(
2343
+ /* @__PURE__ */ jsx36(
2254
2344
  "path",
2255
2345
  {
2256
2346
  fill: "#ffe0b2",
@@ -2300,8 +2390,8 @@ var DocumentNode = (props) => {
2300
2390
  documents = parseDocuments(props.node.documentAsset);
2301
2391
  }
2302
2392
  if (documents.length === 0) {
2303
- 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: [
2304
- /* @__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(
2305
2395
  "svg",
2306
2396
  {
2307
2397
  className: "w-5 h-5",
@@ -2309,7 +2399,7 @@ var DocumentNode = (props) => {
2309
2399
  stroke: "currentColor",
2310
2400
  viewBox: "0 0 24 24",
2311
2401
  xmlns: "http://www.w3.org/2000/svg",
2312
- children: /* @__PURE__ */ jsx35(
2402
+ children: /* @__PURE__ */ jsx36(
2313
2403
  "path",
2314
2404
  {
2315
2405
  strokeLinecap: "round",
@@ -2320,11 +2410,11 @@ var DocumentNode = (props) => {
2320
2410
  )
2321
2411
  }
2322
2412
  ) }),
2323
- /* @__PURE__ */ jsx35("div", { className: "text-sm font-medium", children: "No documents found" }),
2324
- /* @__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." })
2325
2415
  ] }) });
2326
2416
  }
2327
- return /* @__PURE__ */ jsx35("div", { className: "", children: documents.map((doc, index) => {
2417
+ return /* @__PURE__ */ jsx36("div", { className: "", children: documents.map((doc, index) => {
2328
2418
  const documentUrl = AssetUtility_default.resolveUrl(
2329
2419
  props.assetBaseUrl,
2330
2420
  doc.assetUrl
@@ -2342,16 +2432,16 @@ var DocumentNode = (props) => {
2342
2432
  }
2343
2433
  }
2344
2434
  const { Icon, extLabel } = getFileDetails(documentUrl);
2345
- return /* @__PURE__ */ jsxs14(
2435
+ return /* @__PURE__ */ jsxs15(
2346
2436
  "div",
2347
2437
  {
2348
2438
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2349
2439
  children: [
2350
- /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-4 min-w-0", children: [
2351
- /* @__PURE__ */ jsx35("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft shrink-0", children: /* @__PURE__ */ jsx35(Icon, {}) }),
2352
- /* @__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 }) })
2353
2443
  ] }),
2354
- /* @__PURE__ */ jsxs14(
2444
+ /* @__PURE__ */ jsxs15(
2355
2445
  "a",
2356
2446
  {
2357
2447
  href: documentUrl,
@@ -2359,7 +2449,7 @@ var DocumentNode = (props) => {
2359
2449
  rel: "noopener noreferrer",
2360
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",
2361
2451
  children: [
2362
- /* @__PURE__ */ jsxs14(
2452
+ /* @__PURE__ */ jsxs15(
2363
2453
  "svg",
2364
2454
  {
2365
2455
  className: "w-4 h-4 mr-2",
@@ -2367,7 +2457,7 @@ var DocumentNode = (props) => {
2367
2457
  stroke: "currentColor",
2368
2458
  viewBox: "0 0 24 24",
2369
2459
  children: [
2370
- /* @__PURE__ */ jsx35(
2460
+ /* @__PURE__ */ jsx36(
2371
2461
  "path",
2372
2462
  {
2373
2463
  strokeLinecap: "round",
@@ -2376,7 +2466,7 @@ var DocumentNode = (props) => {
2376
2466
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2377
2467
  }
2378
2468
  ),
2379
- /* @__PURE__ */ jsx35(
2469
+ /* @__PURE__ */ jsx36(
2380
2470
  "path",
2381
2471
  {
2382
2472
  strokeLinecap: "round",
@@ -2402,13 +2492,13 @@ var DocumentNode_default = DocumentNode;
2402
2492
 
2403
2493
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
2404
2494
  import dynamic13 from "next/dynamic";
2405
- import { jsx as jsx36 } from "react/jsx-runtime";
2495
+ import { jsx as jsx37 } from "react/jsx-runtime";
2406
2496
  var IframeClient2 = dynamic13(() => import("./IframeClient-WF2KLXZB.mjs"), {
2407
2497
  ssr: false
2408
2498
  });
2409
2499
  var GoogleMapNode = (props) => {
2410
2500
  let src = props.node.embedUrl;
2411
- 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(
2412
2502
  IframeClient2,
2413
2503
  {
2414
2504
  src,
@@ -2420,7 +2510,7 @@ var GoogleMapNode = (props) => {
2420
2510
  var GoogleMapNode_default = GoogleMapNode;
2421
2511
 
2422
2512
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2423
- import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
2513
+ import { jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
2424
2514
  var Pagination = dynamic14(() => import("./Pagination-6R4XZLF6.mjs"), { ssr: true });
2425
2515
  var DataBindingControls = dynamic14(() => import("./DataBindingControls-VSLL4WV2.mjs"), {
2426
2516
  ssr: true
@@ -2607,7 +2697,8 @@ var DivContainer = async (props) => {
2607
2697
  datafield: DatafieldNode_default,
2608
2698
  "svg-icon": SVGIconNode_default,
2609
2699
  document: DocumentNode_default,
2610
- "google-map": GoogleMapNode_default
2700
+ "google-map": GoogleMapNode_default,
2701
+ counter: CounterNode_default
2611
2702
  };
2612
2703
  const styles = props.node.cssProperties;
2613
2704
  const mobileStyles = props.node.mobileCssProperties;
@@ -2705,7 +2796,7 @@ var DivContainer = async (props) => {
2705
2796
  }
2706
2797
  const SelectedNode = NodeTypes2[node.type];
2707
2798
  if (!SelectedNode) return null;
2708
- return /* @__PURE__ */ jsx37(React23.Fragment, { children: /* @__PURE__ */ jsx37(
2799
+ return /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
2709
2800
  SelectedNode,
2710
2801
  {
2711
2802
  node,
@@ -2797,7 +2888,7 @@ var DivContainer = async (props) => {
2797
2888
  item,
2798
2889
  idx,
2799
2890
  props.href ? void 0 : item?.links?.view
2800
- )?.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)
2801
2892
  );
2802
2893
  }
2803
2894
  return props.node.children.flatMap((node, childIndex) => {
@@ -2915,17 +3006,17 @@ var DivContainer = async (props) => {
2915
3006
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
2916
3007
  );
2917
3008
  const WrapperComponent = Wrapper;
2918
- const renderedContainer = /* @__PURE__ */ jsx37(
3009
+ const renderedContainer = /* @__PURE__ */ jsx38(
2919
3010
  WrapperComponent,
2920
3011
  {
2921
3012
  id: guid,
2922
3013
  style: combinedStyles,
2923
3014
  className: classNames || void 0,
2924
3015
  ...wrapperProps,
2925
- 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()
2926
3017
  }
2927
3018
  );
2928
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx37(
3019
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx38(
2929
3020
  Pagination,
2930
3021
  {
2931
3022
  path: props.path,
@@ -2933,15 +3024,15 @@ var DivContainer = async (props) => {
2933
3024
  dataset: response
2934
3025
  }
2935
3026
  ) : null;
2936
- return /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
2937
- /* @__PURE__ */ jsx37(
3027
+ return /* @__PURE__ */ jsxs16(React24.Fragment, { children: [
3028
+ /* @__PURE__ */ jsx38(
2938
3029
  "style",
2939
3030
  {
2940
3031
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2941
3032
  }
2942
3033
  ),
2943
- showDataBindingControls ? /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
2944
- /* @__PURE__ */ jsx37(
3034
+ showDataBindingControls ? /* @__PURE__ */ jsxs16(React24.Fragment, { children: [
3035
+ /* @__PURE__ */ jsx38(
2945
3036
  DataBindingControls,
2946
3037
  {
2947
3038
  mode: "toolbar",
@@ -2954,16 +3045,16 @@ var DivContainer = async (props) => {
2954
3045
  showSearchBar: dataBindingProperties?.showSearchBar
2955
3046
  }
2956
3047
  ),
2957
- /* @__PURE__ */ jsxs15(
3048
+ /* @__PURE__ */ jsxs16(
2958
3049
  "div",
2959
3050
  {
2960
3051
  className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
2961
3052
  children: [
2962
- /* @__PURE__ */ jsxs15("div", { className: "min-w-0", children: [
3053
+ /* @__PURE__ */ jsxs16("div", { className: "min-w-0", children: [
2963
3054
  renderedContainer,
2964
3055
  paginationControl
2965
3056
  ] }),
2966
- 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(
2967
3058
  DataBindingControls,
2968
3059
  {
2969
3060
  mode: "facets",
@@ -2976,16 +3067,16 @@ var DivContainer = async (props) => {
2976
3067
  ]
2977
3068
  }
2978
3069
  )
2979
- ] }) : /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
3070
+ ] }) : /* @__PURE__ */ jsxs16(React24.Fragment, { children: [
2980
3071
  renderedContainer,
2981
- paginationControl && /* @__PURE__ */ jsx37("div", { children: paginationControl })
3072
+ paginationControl && /* @__PURE__ */ jsx38("div", { children: paginationControl })
2982
3073
  ] })
2983
3074
  ] });
2984
3075
  };
2985
3076
  var DivContainer_default = DivContainer;
2986
3077
 
2987
3078
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2988
- import { jsx as jsx38 } from "react/jsx-runtime";
3079
+ import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
2989
3080
  var NodeTypes = {
2990
3081
  ["paragraph"]: ParagraphNode_default,
2991
3082
  ["heading"]: HeadingNode_default,
@@ -3001,7 +3092,8 @@ var NodeTypes = {
3001
3092
  ["svg-icon"]: SVGIconNode_default,
3002
3093
  ["embed"]: EmbedNode_default,
3003
3094
  ["document"]: DocumentNode_default,
3004
- ["google-map"]: GoogleMapNode_default
3095
+ ["google-map"]: GoogleMapNode_default,
3096
+ ["counter"]: CounterNode_default
3005
3097
  };
3006
3098
  var PageBodyRenderer = (props) => {
3007
3099
  let pageBodyTree;
@@ -3023,54 +3115,57 @@ var PageBodyRenderer = (props) => {
3023
3115
  }
3024
3116
  return true;
3025
3117
  };
3026
- 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) => {
3027
3119
  {
3028
3120
  }
3029
3121
  const SelectedNode = NodeTypes[node.type];
3030
3122
  if (!shouldRenderNode(node)) {
3031
3123
  return null;
3032
3124
  }
3033
- return /* @__PURE__ */ jsx38(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx38(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
3034
- SelectedNode,
3035
- {
3036
- node,
3037
- firstNode: true,
3038
- routeParameters: props.routeParameters,
3039
- query: props.query,
3040
- session: props.session,
3041
- host: props.host,
3042
- path: props.path,
3043
- apiBaseUrl: props.apiBaseUrl,
3044
- serviceClient: props.serviceClient,
3045
- assetBaseUrl: props.assetBaseUrl,
3046
- device: props.device,
3047
- widgetRenderer: props.widgetRenderer
3048
- }
3049
- ) }) : /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
3050
- SelectedNode,
3051
- {
3052
- node,
3053
- routeParameters: props.routeParameters,
3054
- query: props.query,
3055
- session: props.session,
3056
- host: props.host,
3057
- path: props.path,
3058
- apiBaseUrl: props.apiBaseUrl,
3059
- serviceClient: props.serviceClient,
3060
- assetBaseUrl: props.assetBaseUrl,
3061
- device: props.device,
3062
- widgetRenderer: props.widgetRenderer
3063
- }
3064
- ) }) }) }, 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);
3065
3160
  }) });
3066
3161
  };
3067
3162
  var PageBodyRenderer_default = PageBodyRenderer;
3068
3163
 
3069
3164
  // src/components/pageRenderingEngine/EnterAnimationHydrator.tsx
3070
- import { useEffect } from "react";
3165
+ import { useEffect as useEffect2 } from "react";
3071
3166
  var ENTER_ANIMATION_SELECTOR = ".enter-animation";
3072
3167
  function EnterAnimationHydrator() {
3073
- useEffect(() => {
3168
+ useEffect2(() => {
3074
3169
  let observer;
3075
3170
  const observedElements = /* @__PURE__ */ new WeakSet();
3076
3171
  const revealAnimatedElements = () => {
@@ -3115,21 +3210,21 @@ function EnterAnimationHydrator() {
3115
3210
  }
3116
3211
 
3117
3212
  // src/components/Toast.tsx
3118
- import { useCallback, useEffect as useEffect2, useRef, useState } from "react";
3119
- 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";
3120
3215
  var Toast = () => {
3121
- const [showToast, setShowToast] = useState(false);
3122
- const [message, setMessage] = useState("");
3123
- const [messageType, setMessageType] = useState("error");
3124
- const timeoutRef = useRef(null);
3125
- 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(() => {
3126
3221
  if (timeoutRef.current) {
3127
3222
  clearTimeout(timeoutRef.current);
3128
3223
  timeoutRef.current = null;
3129
3224
  }
3130
3225
  setShowToast(false);
3131
3226
  }, []);
3132
- const showMessage = useCallback((message2, messageType2) => {
3227
+ const showMessage = useCallback2((message2, messageType2) => {
3133
3228
  if (timeoutRef.current) {
3134
3229
  clearTimeout(timeoutRef.current);
3135
3230
  }
@@ -3141,7 +3236,7 @@ var Toast = () => {
3141
3236
  timeoutRef.current = null;
3142
3237
  }, 4e3);
3143
3238
  }, []);
3144
- useEffect2(() => {
3239
+ useEffect3(() => {
3145
3240
  ToastService_default.initialize(showMessage, closeToast);
3146
3241
  return () => {
3147
3242
  closeToast();
@@ -3150,8 +3245,8 @@ var Toast = () => {
3150
3245
  });
3151
3246
  };
3152
3247
  }, [closeToast, showMessage]);
3153
- 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: [
3154
- /* @__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(
3155
3250
  "span",
3156
3251
  {
3157
3252
  className: "font-medium text-inherit text-sm",
@@ -3159,7 +3254,7 @@ var Toast = () => {
3159
3254
  children: message
3160
3255
  }
3161
3256
  ),
3162
- /* @__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(
3163
3258
  "svg",
3164
3259
  {
3165
3260
  xmlns: "http://www.w3.org/2000/svg",
@@ -3167,7 +3262,7 @@ var Toast = () => {
3167
3262
  fill: "none",
3168
3263
  viewBox: "0 0 24 24",
3169
3264
  stroke: "currentColor",
3170
- 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" })
3171
3266
  }
3172
3267
  ) })
3173
3268
  ] }) }) });
@@ -3177,7 +3272,7 @@ var Toast_default = Toast;
3177
3272
  // src/components/NavigationTabsV2.tsx
3178
3273
  import Link2 from "next/link";
3179
3274
  import { usePathname } from "next/navigation";
3180
- import { jsx as jsx40 } from "react/jsx-runtime";
3275
+ import { jsx as jsx41 } from "react/jsx-runtime";
3181
3276
  function resolveRoutePlaceholders(route, params) {
3182
3277
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
3183
3278
  const value = params[key];
@@ -3202,8 +3297,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3202
3297
  isActive: tab.isActive
3203
3298
  })) || [];
3204
3299
  if (mappedTabs.length === 0) return null;
3205
- return /* @__PURE__ */ jsx40("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3206
- 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(
3207
3302
  "div",
3208
3303
  {
3209
3304
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -3216,51 +3311,51 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3216
3311
  var NavigationTabsV2_default = NavigationTabsV2;
3217
3312
 
3218
3313
  // src/components/dataForm/DataList.tsx
3219
- 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";
3220
3315
  import { useRouter } from "next/navigation";
3221
3316
 
3222
3317
  // src/components/dataForm/NoContentView.tsx
3223
- import React26 from "react";
3224
- import { jsx as jsx41 } from "react/jsx-runtime";
3318
+ import React27 from "react";
3319
+ import { jsx as jsx42 } from "react/jsx-runtime";
3225
3320
  var NoContentView = (props) => {
3226
- return /* @__PURE__ */ jsx41(React26.Fragment, { children: props.isDataFound === false && props.children });
3321
+ return /* @__PURE__ */ jsx42(React27.Fragment, { children: props.isDataFound === false && props.children });
3227
3322
  };
3228
3323
  var NoContentView_default = NoContentView;
3229
3324
 
3230
3325
  // src/components/dataForm/ContentView.tsx
3231
- import React27 from "react";
3232
- 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";
3233
3328
  var ContentView = (props) => {
3234
- return /* @__PURE__ */ jsxs17(React27.Fragment, { children: [
3235
- props.isDataFound == null && /* @__PURE__ */ jsx42("div", { className: "", children: /* @__PURE__ */ jsxs17("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3236
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center mb-4", children: [
3237
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3238
- /* @__PURE__ */ jsxs17("div", { className: "ml-2", children: [
3239
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3240
- /* @__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" })
3241
3336
  ] })
3242
3337
  ] }),
3243
- /* @__PURE__ */ jsxs17("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3244
- /* @__PURE__ */ jsxs17("div", { className: "animate-pulse", children: [
3245
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3246
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3247
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3248
- /* @__PURE__ */ jsx42("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3249
- /* @__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" })
3250
3345
  ] }),
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" })
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" })
3257
3352
  ] }),
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" })
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" })
3264
3359
  ] })
3265
3360
  ] })
3266
3361
  ] }) }),
@@ -3314,7 +3409,7 @@ function FormReducer(state, action) {
3314
3409
  var FormReducer_default = FormReducer;
3315
3410
 
3316
3411
  // src/components/dataForm/DataList.tsx
3317
- 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";
3318
3413
  var DataList = (props) => {
3319
3414
  const router = useRouter();
3320
3415
  let builder = new OdataBuilder(props.path);
@@ -3322,12 +3417,12 @@ var DataList = (props) => {
3322
3417
  let activePageNumber = 0;
3323
3418
  let pages = 0;
3324
3419
  console.log(props.addLinkText);
3325
- const [isDataFound, setIsDataFound] = useState2(null);
3326
- const [searchTerm, setSearchTerm] = useState2(props.query?.searchTerm ?? "");
3327
- useEffect3(() => {
3420
+ const [isDataFound, setIsDataFound] = useState3(null);
3421
+ const [searchTerm, setSearchTerm] = useState3(props.query?.searchTerm ?? "");
3422
+ useEffect4(() => {
3328
3423
  setSearchTerm(props.query?.searchTerm ?? "");
3329
3424
  }, [props.query?.searchTerm]);
3330
- useEffect3(() => {
3425
+ useEffect4(() => {
3331
3426
  if (props?.dataset) {
3332
3427
  if (props?.dataset.result && props.dataset.result.length > 0) {
3333
3428
  setIsDataFound(true);
@@ -3336,7 +3431,7 @@ var DataList = (props) => {
3336
3431
  }
3337
3432
  }
3338
3433
  }, [props.dataset]);
3339
- useEffect3(() => {
3434
+ useEffect4(() => {
3340
3435
  if (!props.query?.["$filter"] || !props.filters) return;
3341
3436
  const filterQuery = props.query["$filter"];
3342
3437
  props.filters.forEach((filter) => {
@@ -3355,7 +3450,7 @@ var DataList = (props) => {
3355
3450
  if (path.includes(".")) {
3356
3451
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
3357
3452
  } else if (Array.isArray(obj[path])) {
3358
- 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));
3359
3454
  } else {
3360
3455
  return obj[path];
3361
3456
  }
@@ -3368,7 +3463,7 @@ var DataList = (props) => {
3368
3463
  const getSearchableColumns = () => {
3369
3464
  return props.columns?.filter((c) => c.isSearchable)?.map((c) => c.name)?.join(",");
3370
3465
  };
3371
- const handleFilterChange = useCallback2(
3466
+ const handleFilterChange = useCallback3(
3372
3467
  (updatedValues) => {
3373
3468
  dispatch({
3374
3469
  type: FORM_INPUT_UPDATE,
@@ -3399,7 +3494,7 @@ var DataList = (props) => {
3399
3494
  },
3400
3495
  [dispatch, props, router]
3401
3496
  );
3402
- useEffect3(() => {
3497
+ useEffect4(() => {
3403
3498
  if (!props.columns.some((col) => col.isSearchable)) {
3404
3499
  return;
3405
3500
  }
@@ -3437,30 +3532,30 @@ var DataList = (props) => {
3437
3532
  const renderPageNumbers = () => {
3438
3533
  if (pages <= 10) {
3439
3534
  return Array.from({ length: pages }, (_, index) => index + 1).map(
3440
- (page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3535
+ (page) => /* @__PURE__ */ jsx44(React29.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3441
3536
  Hyperlink,
3442
3537
  {
3443
3538
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3444
3539
  href: builder.getNewPageUrl(page),
3445
3540
  children: page
3446
3541
  }
3447
- ) : /* @__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)
3448
3543
  );
3449
3544
  } else {
3450
3545
  const showFirstPages = activePageNumber <= 5;
3451
3546
  const showLastPages = activePageNumber > pages - 5;
3452
3547
  if (showFirstPages) {
3453
- return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3454
- 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(
3455
3550
  Hyperlink,
3456
3551
  {
3457
3552
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3458
3553
  href: builder.getNewPageUrl(page),
3459
3554
  children: page
3460
3555
  }
3461
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3462
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3463
- /* @__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(
3464
3559
  Hyperlink,
3465
3560
  {
3466
3561
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3468,7 +3563,7 @@ var DataList = (props) => {
3468
3563
  children: pages - 1
3469
3564
  }
3470
3565
  ),
3471
- /* @__PURE__ */ jsx43(
3566
+ /* @__PURE__ */ jsx44(
3472
3567
  Hyperlink,
3473
3568
  {
3474
3569
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3476,7 +3571,7 @@ var DataList = (props) => {
3476
3571
  children: pages
3477
3572
  }
3478
3573
  ),
3479
- /* @__PURE__ */ jsx43("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs18(
3574
+ /* @__PURE__ */ jsx44("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs20(
3480
3575
  "select",
3481
3576
  {
3482
3577
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3488,18 +3583,18 @@ var DataList = (props) => {
3488
3583
  }
3489
3584
  },
3490
3585
  children: [
3491
- /* @__PURE__ */ jsx43("option", { className: "", value: "", children: "Jump to" }),
3586
+ /* @__PURE__ */ jsx44("option", { className: "", value: "", children: "Jump to" }),
3492
3587
  Array.from(
3493
3588
  { length: Math.max(0, pages - 10) },
3494
3589
  (_, index) => index + 9
3495
- ).map((page) => /* @__PURE__ */ jsx43("option", { value: page, children: page }, page))
3590
+ ).map((page) => /* @__PURE__ */ jsx44("option", { value: page, children: page }, page))
3496
3591
  ]
3497
3592
  }
3498
3593
  ) })
3499
3594
  ] });
3500
3595
  } else if (showLastPages) {
3501
- return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3502
- /* @__PURE__ */ jsx43(
3596
+ return /* @__PURE__ */ jsxs20(Fragment8, { children: [
3597
+ /* @__PURE__ */ jsx44(
3503
3598
  Hyperlink,
3504
3599
  {
3505
3600
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3507,7 +3602,7 @@ var DataList = (props) => {
3507
3602
  children: "1"
3508
3603
  }
3509
3604
  ),
3510
- /* @__PURE__ */ jsx43(
3605
+ /* @__PURE__ */ jsx44(
3511
3606
  Hyperlink,
3512
3607
  {
3513
3608
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3515,21 +3610,21 @@ var DataList = (props) => {
3515
3610
  children: "2"
3516
3611
  }
3517
3612
  ),
3518
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3613
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3519
3614
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
3520
- (page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3615
+ (page) => /* @__PURE__ */ jsx44(React29.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3521
3616
  Hyperlink,
3522
3617
  {
3523
3618
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3524
3619
  href: builder.getNewPageUrl(page),
3525
3620
  children: page
3526
3621
  }
3527
- ) : /* @__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)
3528
3623
  )
3529
3624
  ] });
3530
3625
  } else {
3531
- return /* @__PURE__ */ jsxs18(Fragment8, { children: [
3532
- /* @__PURE__ */ jsx43(
3626
+ return /* @__PURE__ */ jsxs20(Fragment8, { children: [
3627
+ /* @__PURE__ */ jsx44(
3533
3628
  Hyperlink,
3534
3629
  {
3535
3630
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3537,7 +3632,7 @@ var DataList = (props) => {
3537
3632
  children: "1"
3538
3633
  }
3539
3634
  ),
3540
- /* @__PURE__ */ jsx43(
3635
+ /* @__PURE__ */ jsx44(
3541
3636
  Hyperlink,
3542
3637
  {
3543
3638
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3545,20 +3640,20 @@ var DataList = (props) => {
3545
3640
  children: "2"
3546
3641
  }
3547
3642
  ),
3548
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3643
+ /* @__PURE__ */ jsx44("span", { className: "px-2 py-1", children: "..." }),
3549
3644
  Array.from(
3550
3645
  { length: 5 },
3551
3646
  (_, index) => activePageNumber - 2 + index
3552
- ).map((page) => /* @__PURE__ */ jsx43(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx43(
3647
+ ).map((page) => /* @__PURE__ */ jsx44(React29.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx44(
3553
3648
  Hyperlink,
3554
3649
  {
3555
3650
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3556
3651
  href: builder.getNewPageUrl(page),
3557
3652
  children: page
3558
3653
  }
3559
- ) : /* @__PURE__ */ jsx43("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3560
- /* @__PURE__ */ jsx43("span", { className: "px-2 py-1", children: "..." }),
3561
- /* @__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(
3562
3657
  Hyperlink,
3563
3658
  {
3564
3659
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3566,7 +3661,7 @@ var DataList = (props) => {
3566
3661
  children: pages - 1
3567
3662
  }
3568
3663
  ),
3569
- /* @__PURE__ */ jsx43(
3664
+ /* @__PURE__ */ jsx44(
3570
3665
  Hyperlink,
3571
3666
  {
3572
3667
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3574,7 +3669,7 @@ var DataList = (props) => {
3574
3669
  children: pages
3575
3670
  }
3576
3671
  ),
3577
- /* @__PURE__ */ jsx43("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs18(
3672
+ /* @__PURE__ */ jsx44("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs20(
3578
3673
  "select",
3579
3674
  {
3580
3675
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3586,8 +3681,8 @@ var DataList = (props) => {
3586
3681
  }
3587
3682
  },
3588
3683
  children: [
3589
- /* @__PURE__ */ jsx43("option", { value: "", children: "Jump to" }),
3590
- 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))
3591
3686
  ]
3592
3687
  }
3593
3688
  ) })
@@ -3595,16 +3690,16 @@ var DataList = (props) => {
3595
3690
  }
3596
3691
  }
3597
3692
  };
3598
- return /* @__PURE__ */ jsxs18(React28.Fragment, { children: [
3599
- /* @__PURE__ */ jsxs18(ContentView_default, { isDataFound, children: [
3600
- (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(
3601
3696
  "div",
3602
3697
  {
3603
3698
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
3604
3699
  children: [
3605
- 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", {}),
3606
- /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3", children: [
3607
- 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(
3608
3703
  InputControl_default,
3609
3704
  {
3610
3705
  name: "Search_input",
@@ -3617,7 +3712,7 @@ var DataList = (props) => {
3617
3712
  }
3618
3713
  }
3619
3714
  ),
3620
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx43(
3715
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx44(
3621
3716
  InputControl_default,
3622
3717
  {
3623
3718
  name: filter.name,
@@ -3632,15 +3727,15 @@ var DataList = (props) => {
3632
3727
  },
3633
3728
  filter.name
3634
3729
  )),
3635
- props.addLinkHref && /* @__PURE__ */ jsxs18(
3730
+ props.addLinkHref && /* @__PURE__ */ jsxs20(
3636
3731
  Hyperlink,
3637
3732
  {
3638
3733
  className: "gap-1",
3639
3734
  linkType: "Primary" /* Solid */,
3640
3735
  href: props.addLinkHref,
3641
3736
  children: [
3642
- /* @__PURE__ */ jsx43(Icon_default, { name: "plus", className: "w-4 h-4" }),
3643
- /* @__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" })
3644
3739
  ]
3645
3740
  }
3646
3741
  )
@@ -3648,8 +3743,8 @@ var DataList = (props) => {
3648
3743
  ]
3649
3744
  }
3650
3745
  ),
3651
- /* @__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: [
3652
- /* @__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: [
3653
3748
  props?.columns?.map((column) => {
3654
3749
  let url = builder.getNewOrderByUrl(column.name);
3655
3750
  let icon = "chevronUpDown";
@@ -3660,18 +3755,18 @@ var DataList = (props) => {
3660
3755
  icon = "chevronUp";
3661
3756
  url = builder.getNewOrderByUrl(column.name + " desc");
3662
3757
  }
3663
- return /* @__PURE__ */ jsx43(
3758
+ return /* @__PURE__ */ jsx44(
3664
3759
  "th",
3665
3760
  {
3666
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" : ""),
3667
- children: /* @__PURE__ */ jsx43(
3762
+ children: /* @__PURE__ */ jsx44(
3668
3763
  Hyperlink,
3669
3764
  {
3670
3765
  href: column.enableSorting ? url : void 0,
3671
3766
  className: "!text-neutral-contrast ",
3672
- children: /* @__PURE__ */ jsxs18("span", { className: "flex items-center space-x-1", children: [
3673
- /* @__PURE__ */ jsx43("span", { className: "text-black", children: column.label }),
3674
- 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 })
3675
3770
  ] })
3676
3771
  }
3677
3772
  )
@@ -3679,25 +3774,25 @@ var DataList = (props) => {
3679
3774
  column.name
3680
3775
  );
3681
3776
  }),
3682
- 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" })
3683
3778
  ] }) }),
3684
- /* @__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) => {
3685
3780
  let validityClass = "";
3686
3781
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
3687
3782
  validityClass = "bg-alert-200";
3688
3783
  }
3689
- return /* @__PURE__ */ jsxs18("tr", { className: validityClass, children: [
3784
+ return /* @__PURE__ */ jsxs20("tr", { className: validityClass, children: [
3690
3785
  props?.columns?.map((column, colindex) => {
3691
- return /* @__PURE__ */ jsx43(React28.Fragment, { children: /* @__PURE__ */ jsx43(
3786
+ return /* @__PURE__ */ jsx44(React29.Fragment, { children: /* @__PURE__ */ jsx44(
3692
3787
  "td",
3693
3788
  {
3694
3789
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
3695
- children: column.addhref === true ? /* @__PURE__ */ jsx43(
3790
+ children: column.addhref === true ? /* @__PURE__ */ jsx44(
3696
3791
  Hyperlink,
3697
3792
  {
3698
3793
  className: "",
3699
3794
  href: `https://${dataitem[column.name]}`,
3700
- children: /* @__PURE__ */ jsx43(
3795
+ children: /* @__PURE__ */ jsx44(
3701
3796
  ViewControl_default,
3702
3797
  {
3703
3798
  controlType: column.controlType,
@@ -3710,11 +3805,11 @@ var DataList = (props) => {
3710
3805
  }
3711
3806
  )
3712
3807
  }
3713
- ) : column.showAsLink ? /* @__PURE__ */ jsx43(
3808
+ ) : column.showAsLink ? /* @__PURE__ */ jsx44(
3714
3809
  Hyperlink,
3715
3810
  {
3716
3811
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
3717
- children: /* @__PURE__ */ jsx43(
3812
+ children: /* @__PURE__ */ jsx44(
3718
3813
  ViewControl_default,
3719
3814
  {
3720
3815
  controlType: column.controlType,
@@ -3724,7 +3819,7 @@ var DataList = (props) => {
3724
3819
  }
3725
3820
  )
3726
3821
  }
3727
- ) : /* @__PURE__ */ jsx43(
3822
+ ) : /* @__PURE__ */ jsx44(
3728
3823
  ViewControl_default,
3729
3824
  {
3730
3825
  controlType: column.controlType,
@@ -3736,7 +3831,7 @@ var DataList = (props) => {
3736
3831
  }
3737
3832
  ) }, colindex);
3738
3833
  }),
3739
- 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(
3740
3835
  "button",
3741
3836
  {
3742
3837
  type: "button",
@@ -3746,7 +3841,7 @@ var DataList = (props) => {
3746
3841
  },
3747
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",
3748
3843
  children: [
3749
- /* @__PURE__ */ jsxs18(
3844
+ /* @__PURE__ */ jsxs20(
3750
3845
  "svg",
3751
3846
  {
3752
3847
  className: "w-3.5 h-3.5",
@@ -3757,22 +3852,22 @@ var DataList = (props) => {
3757
3852
  strokeLinecap: "round",
3758
3853
  strokeLinejoin: "round",
3759
3854
  children: [
3760
- /* @__PURE__ */ jsx43("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
3761
- /* @__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" })
3762
3857
  ]
3763
3858
  }
3764
3859
  ),
3765
- /* @__PURE__ */ jsx43("span", { children: props.quickViewLabel || "Quick View" })
3860
+ /* @__PURE__ */ jsx44("span", { children: props.quickViewLabel || "Quick View" })
3766
3861
  ]
3767
3862
  }
3768
3863
  ) })
3769
3864
  ] }, index);
3770
3865
  }) })
3771
3866
  ] }) }),
3772
- /* @__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: [
3773
- /* @__PURE__ */ jsx43("div", { className: "text-gray-700", children: label }),
3774
- /* @__PURE__ */ jsxs18("div", { className: "flex space-x-2 items-center", children: [
3775
- 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(
3776
3871
  Hyperlink,
3777
3872
  {
3778
3873
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3780,9 +3875,9 @@ var DataList = (props) => {
3780
3875
  children: "Prev"
3781
3876
  }
3782
3877
  ),
3783
- 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" }),
3784
3879
  renderPageNumbers(),
3785
- activePageNumber < pages && /* @__PURE__ */ jsx43(
3880
+ activePageNumber < pages && /* @__PURE__ */ jsx44(
3786
3881
  Hyperlink,
3787
3882
  {
3788
3883
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3790,19 +3885,19 @@ var DataList = (props) => {
3790
3885
  children: "Next"
3791
3886
  }
3792
3887
  ),
3793
- 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" })
3794
3889
  ] })
3795
3890
  ] }) })
3796
3891
  ] }),
3797
- /* @__PURE__ */ jsxs18(NoContentView_default, { isDataFound, children: [
3798
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs18(
3892
+ /* @__PURE__ */ jsxs20(NoContentView_default, { isDataFound, children: [
3893
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs20(
3799
3894
  "div",
3800
3895
  {
3801
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`,
3802
3897
  children: [
3803
- 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", {}),
3804
- /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3", children: [
3805
- 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(
3806
3901
  InputControl_default,
3807
3902
  {
3808
3903
  name: "Search_input",
@@ -3815,7 +3910,7 @@ var DataList = (props) => {
3815
3910
  }
3816
3911
  }
3817
3912
  ),
3818
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx43(
3913
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx44(
3819
3914
  InputControl_default,
3820
3915
  {
3821
3916
  name: filter.name,
@@ -3830,15 +3925,15 @@ var DataList = (props) => {
3830
3925
  },
3831
3926
  filter.name
3832
3927
  )),
3833
- props.addLinkHref && /* @__PURE__ */ jsxs18(
3928
+ props.addLinkHref && /* @__PURE__ */ jsxs20(
3834
3929
  Hyperlink,
3835
3930
  {
3836
3931
  className: "gap-1",
3837
3932
  linkType: "Primary" /* Solid */,
3838
3933
  href: props.addLinkHref,
3839
3934
  children: [
3840
- /* @__PURE__ */ jsx43(Icon_default, { name: "plus", className: "w-4 h-4" }),
3841
- /* @__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" })
3842
3937
  ]
3843
3938
  }
3844
3939
  )
@@ -3846,8 +3941,8 @@ var DataList = (props) => {
3846
3941
  ]
3847
3942
  }
3848
3943
  ),
3849
- /* @__PURE__ */ jsxs18("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3850
- /* @__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) => {
3851
3946
  let url = builder.getNewOrderByUrl(column.name);
3852
3947
  let icon = "chevronUpDown";
3853
3948
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3857,18 +3952,18 @@ var DataList = (props) => {
3857
3952
  icon = "chevronUp";
3858
3953
  url = builder.getNewOrderByUrl(column.name + " desc");
3859
3954
  }
3860
- return /* @__PURE__ */ jsx43(
3955
+ return /* @__PURE__ */ jsx44(
3861
3956
  "th",
3862
3957
  {
3863
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" : ""),
3864
- children: /* @__PURE__ */ jsx43(
3959
+ children: /* @__PURE__ */ jsx44(
3865
3960
  Hyperlink,
3866
3961
  {
3867
3962
  href: column.enableSorting ? url : void 0,
3868
3963
  className: "text-body-950",
3869
- children: /* @__PURE__ */ jsxs18("span", { className: "flex items-center space-x-1", children: [
3870
- /* @__PURE__ */ jsx43("span", { children: column.label }),
3871
- 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 })
3872
3967
  ] })
3873
3968
  }
3874
3969
  )
@@ -3876,7 +3971,7 @@ var DataList = (props) => {
3876
3971
  column.name
3877
3972
  );
3878
3973
  }) }) }) }) }),
3879
- /* @__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." })
3880
3975
  ] })
3881
3976
  ] })
3882
3977
  ] });
@@ -3884,9 +3979,9 @@ var DataList = (props) => {
3884
3979
  var DataList_default = DataList;
3885
3980
 
3886
3981
  // src/components/dataForm/DataListRenderer.tsx
3887
- import React29, { useState as useState3, useEffect as useEffect4 } from "react";
3982
+ import React30, { useState as useState4, useEffect as useEffect5 } from "react";
3888
3983
  import { usePathname as usePathname2 } from "next/navigation";
3889
- import { jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
3984
+ import { jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
3890
3985
  var viewControlMap = {
3891
3986
  number: ViewControlTypes.number,
3892
3987
  lineText: ViewControlTypes.lineText,
@@ -3941,14 +4036,14 @@ var DataListRenderer = ({
3941
4036
  widgetProps
3942
4037
  }) => {
3943
4038
  const serviceClient = new ServiceClient_default(apiBaseUrl, session);
3944
- const [columns, setColumns] = useState3([]);
3945
- const [dataset, setDataset] = useState3();
3946
- const [filter, setFilters] = useState3([]);
3947
- const [addLinkHref, setAddLinkHref] = useState3("");
3948
- const [addLinkText, setAddLinkText] = useState3("");
3949
- 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("");
3950
4045
  const pathname = usePathname2();
3951
- useEffect4(() => {
4046
+ useEffect5(() => {
3952
4047
  if (!formDefinition) return;
3953
4048
  setColumns(mapApiToColumns(formDefinition));
3954
4049
  setFilters(mapApiToFilters(formDefinition));
@@ -3961,7 +4056,7 @@ var DataListRenderer = ({
3961
4056
  setAddLinkHref(resolvedAddLinkHref);
3962
4057
  setAddLinkText(formDefinition?.siteFormDataList?.addLinkText ?? "");
3963
4058
  }, [formDefinition, params]);
3964
- useEffect4(() => {
4059
+ useEffect5(() => {
3965
4060
  const fetchData = async () => {
3966
4061
  if (!serviceRoute) return;
3967
4062
  const resolvedRoute = resolveRoutePlaceholders2(serviceRoute, params);
@@ -3981,13 +4076,13 @@ var DataListRenderer = ({
3981
4076
  isActive: landingPageUrl === pathname
3982
4077
  };
3983
4078
  });
3984
- return /* @__PURE__ */ jsxs19(React29.Fragment, { children: [
4079
+ return /* @__PURE__ */ jsxs21(React30.Fragment, { children: [
3985
4080
  resolvedTabs.length > 0 && // <NavigationTabsV2
3986
4081
  // tabs={resolvedTabs}
3987
4082
  // params={(widgetProps?.params ?? params) as Record<string, any>}
3988
4083
  // />
3989
- /* @__PURE__ */ jsx44(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3990
- /* @__PURE__ */ jsx44(
4084
+ /* @__PURE__ */ jsx45(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4085
+ /* @__PURE__ */ jsx45(
3991
4086
  DataList_default,
3992
4087
  {
3993
4088
  addLinkHref,
@@ -4006,10 +4101,10 @@ var DataListRenderer = ({
4006
4101
  var DataListRenderer_default = DataListRenderer;
4007
4102
 
4008
4103
  // src/components/dataForm/DataForm.tsx
4009
- 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";
4010
4105
 
4011
4106
  // src/components/dataForm/DataFormChildSection.tsx
4012
- import React30, { useCallback as useCallback3 } from "react";
4107
+ import React31, { useCallback as useCallback4 } from "react";
4013
4108
 
4014
4109
  // src/components/dataForm/StyleTypes.tsx
4015
4110
  var StyleTypes2 = /* @__PURE__ */ ((StyleTypes3) => {
@@ -4032,7 +4127,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
4032
4127
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
4033
4128
 
4034
4129
  // src/components/dataForm/DataFormChildSection.tsx
4035
- import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
4130
+ import { jsx as jsx46, jsxs as jsxs22 } from "react/jsx-runtime";
4036
4131
  var DataFormChildSection = (props) => {
4037
4132
  const { section } = props;
4038
4133
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -4044,7 +4139,7 @@ var DataFormChildSection = (props) => {
4044
4139
  return childItems.map((item, originalIndex) => ({ item, originalIndex })).filter((x) => !x.item.isDeleted) || [];
4045
4140
  };
4046
4141
  const childItemsToRender = getChildItemsForRendering();
4047
- const handleChildInputChange = useCallback3(
4142
+ const handleChildInputChange = useCallback4(
4048
4143
  (updatedValues) => {
4049
4144
  if (isOneToOne) {
4050
4145
  props.callback({
@@ -4071,7 +4166,7 @@ var DataFormChildSection = (props) => {
4071
4166
  },
4072
4167
  [props, isOneToOne, childItemsToRender]
4073
4168
  );
4074
- const onAddRow = useCallback3(() => {
4169
+ const onAddRow = useCallback4(() => {
4075
4170
  props.callback({
4076
4171
  sectionName: props.section.name,
4077
4172
  actionType: FORM_CHILD_ROW_ADD,
@@ -4080,7 +4175,7 @@ var DataFormChildSection = (props) => {
4080
4175
  rowIndex: -1
4081
4176
  });
4082
4177
  }, [props]);
4083
- const onDeleteRow = useCallback3(
4178
+ const onDeleteRow = useCallback4(
4084
4179
  (filteredIndex) => {
4085
4180
  const visibleItem = childItemsToRender[filteredIndex];
4086
4181
  if (visibleItem) {
@@ -4100,14 +4195,14 @@ var DataFormChildSection = (props) => {
4100
4195
  childItemsToRender,
4101
4196
  allChildItems: childItems
4102
4197
  });
4103
- return /* @__PURE__ */ jsx45(React30.Fragment, { children: /* @__PURE__ */ jsxs20("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
4104
- section.sectionTitle && /* @__PURE__ */ jsx45("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
4105
- /* @__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: [
4106
- /* @__PURE__ */ jsx45("div", { children: /* @__PURE__ */ jsxs20("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
4107
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx45("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
4108
- 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: [
4109
4204
  sectionRow.elements.map((field, index) => {
4110
- return /* @__PURE__ */ jsx45(
4205
+ return /* @__PURE__ */ jsx46(
4111
4206
  "th",
4112
4207
  {
4113
4208
  className: "py-3 font-normal text-left",
@@ -4116,21 +4211,21 @@ var DataFormChildSection = (props) => {
4116
4211
  field.name
4117
4212
  );
4118
4213
  }),
4119
- !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" })
4120
4215
  ] }, sectionRowIndex);
4121
4216
  }) }),
4122
- /* @__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) => {
4123
4218
  const { item, originalIndex } = visibleItem;
4124
4219
  const rowKey = originalIndex;
4125
- return /* @__PURE__ */ jsx45(React30.Fragment, { children: section.sectionRows.map(
4220
+ return /* @__PURE__ */ jsx46(React31.Fragment, { children: section.sectionRows.map(
4126
4221
  (sectionRow, sectionRowIndex) => {
4127
- return /* @__PURE__ */ jsxs20(
4222
+ return /* @__PURE__ */ jsxs22(
4128
4223
  "tr",
4129
4224
  {
4130
4225
  className: "",
4131
4226
  children: [
4132
4227
  sectionRow.elements.map((field, index) => {
4133
- 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(
4134
4229
  InputControl_default,
4135
4230
  {
4136
4231
  index: filteredIndex,
@@ -4150,7 +4245,7 @@ var DataFormChildSection = (props) => {
4150
4245
  }
4151
4246
  ) }) }) }, field.name);
4152
4247
  }),
4153
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx45("td", { children: /* @__PURE__ */ jsx45(
4248
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx46("td", { children: /* @__PURE__ */ jsx46(
4154
4249
  ClientButton_default,
4155
4250
  {
4156
4251
  ButtonType: StyleTypes2.Hollow,
@@ -4159,7 +4254,7 @@ var DataFormChildSection = (props) => {
4159
4254
  },
4160
4255
  dataRole: "delete",
4161
4256
  tabIndex: -1,
4162
- children: /* @__PURE__ */ jsx45(
4257
+ children: /* @__PURE__ */ jsx46(
4163
4258
  Icon_default,
4164
4259
  {
4165
4260
  className: "w-4 h-4",
@@ -4176,7 +4271,7 @@ var DataFormChildSection = (props) => {
4176
4271
  ) }, rowKey);
4177
4272
  }) })
4178
4273
  ] }) }),
4179
- !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(
4180
4275
  ClientButton_default,
4181
4276
  {
4182
4277
  ButtonType: "Link" /* Link */,
@@ -4191,9 +4286,9 @@ var DataFormChildSection = (props) => {
4191
4286
  var DataFormChildSection_default = DataFormChildSection;
4192
4287
 
4193
4288
  // src/components/dataForm/DataForm.tsx
4194
- import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4289
+ import { jsx as jsx47, jsxs as jsxs23 } from "react/jsx-runtime";
4195
4290
  var DataForm = (props) => {
4196
- const formRef = useRef2(null);
4291
+ const formRef = useRef3(null);
4197
4292
  console.log(props.dataItem, "dssads");
4198
4293
  const initialState = {
4199
4294
  inputValues: {},
@@ -4204,7 +4299,7 @@ var DataForm = (props) => {
4204
4299
  };
4205
4300
  const [formState, dispatch] = useReducer2(FormReducer_default, initialState);
4206
4301
  console.log(props.sections, "sections");
4207
- const clearHiddenChildSections = useCallback4(
4302
+ const clearHiddenChildSections = useCallback5(
4208
4303
  (changedProperty, newValues) => {
4209
4304
  if (!props.sections) return;
4210
4305
  const allChildSections = [];
@@ -4242,7 +4337,7 @@ var DataForm = (props) => {
4242
4337
  },
4243
4338
  [props.sections, formState.inputValues]
4244
4339
  );
4245
- const handleInputChange = useCallback4(
4340
+ const handleInputChange = useCallback5(
4246
4341
  async (updatedValues) => {
4247
4342
  dispatch({
4248
4343
  type: FORM_INPUT_UPDATE,
@@ -4257,7 +4352,7 @@ var DataForm = (props) => {
4257
4352
  },
4258
4353
  [dispatch, formState.inputValues, clearHiddenChildSections]
4259
4354
  );
4260
- const fetchData = useCallback4(async () => {
4355
+ const fetchData = useCallback5(async () => {
4261
4356
  if (!props.rules) return;
4262
4357
  if (Object.keys(formState.inputValues).length === 0) {
4263
4358
  return;
@@ -4288,7 +4383,7 @@ var DataForm = (props) => {
4288
4383
  console.error("Error fetching data:", error);
4289
4384
  }
4290
4385
  }, [formState.lastPropertyChanged, formState.inputValues]);
4291
- useEffect5(() => {
4386
+ useEffect6(() => {
4292
4387
  fetchData();
4293
4388
  }, [formState.inputValues, formState.lastPropertyChanged]);
4294
4389
  function replacePlaceholders(template, context, params) {
@@ -4308,7 +4403,7 @@ var DataForm = (props) => {
4308
4403
  }
4309
4404
  );
4310
4405
  }
4311
- const handleChildSectionChangeCallback = useCallback4(
4406
+ const handleChildSectionChangeCallback = useCallback5(
4312
4407
  (params) => {
4313
4408
  dispatch({
4314
4409
  type: params.actionType,
@@ -4353,7 +4448,7 @@ var DataForm = (props) => {
4353
4448
  });
4354
4449
  return cloned;
4355
4450
  }
4356
- const onClick = useCallback4(async () => {
4451
+ const onClick = useCallback5(async () => {
4357
4452
  if (props.onClick) {
4358
4453
  const isEdit = props.dataItem && Object.keys(props.dataItem).length > 0;
4359
4454
  const normalizedValues = normalizeChildSections(
@@ -4369,21 +4464,21 @@ var DataForm = (props) => {
4369
4464
  return { isSuccessful: true };
4370
4465
  }
4371
4466
  }, [formState, props]);
4372
- const handleAdditionalOnClick = useCallback4(async () => {
4467
+ const handleAdditionalOnClick = useCallback5(async () => {
4373
4468
  if (props.additionalActions?.onClick) {
4374
4469
  return await props.additionalActions.onClick(formState);
4375
4470
  } else {
4376
4471
  return { isSuccessful: true, message: "Action completed successfully" };
4377
4472
  }
4378
4473
  }, [formState, props]);
4379
- const onDelete = useCallback4(async () => {
4474
+ const onDelete = useCallback5(async () => {
4380
4475
  if (props.onDelete) {
4381
4476
  return await props.onDelete(formState);
4382
4477
  } else {
4383
4478
  return { isSuccessful: true };
4384
4479
  }
4385
4480
  }, [formState, props]);
4386
- useEffect5(() => {
4481
+ useEffect6(() => {
4387
4482
  if (props.dataItem) {
4388
4483
  dispatch({
4389
4484
  type: FORM_INITIAL_UPDATE,
@@ -4411,19 +4506,19 @@ var DataForm = (props) => {
4411
4506
  return false;
4412
4507
  }
4413
4508
  }
4414
- return /* @__PURE__ */ jsx46(React31.Fragment, { children: /* @__PURE__ */ jsxs21("div", { className: "flex-grow flex flex-col", children: [
4415
- 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(
4416
4511
  "div",
4417
4512
  {
4418
4513
  className: "inline-flex items-center gap-2 cursor-pointer",
4419
4514
  onClick: () => window.history.back(),
4420
4515
  children: [
4421
- /* @__PURE__ */ jsx46(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4422
- /* @__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 })
4423
4518
  ]
4424
4519
  }
4425
4520
  ) }),
4426
- /* @__PURE__ */ jsx46(
4521
+ /* @__PURE__ */ jsx47(
4427
4522
  "form",
4428
4523
  {
4429
4524
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -4444,8 +4539,8 @@ var DataForm = (props) => {
4444
4539
  }
4445
4540
  }
4446
4541
  },
4447
- children: /* @__PURE__ */ jsx46("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4448
- 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: [
4449
4544
  section.sectionRows?.map(
4450
4545
  (sectionRow, sectionRowIndex) => {
4451
4546
  const elementsCount = sectionRow.elements.length;
@@ -4456,14 +4551,14 @@ var DataForm = (props) => {
4456
4551
  sectionRow.visible
4457
4552
  );
4458
4553
  }
4459
- 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) => {
4460
- 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(
4461
4556
  "div",
4462
4557
  {
4463
4558
  className: sectionRow.grow ? "grow" : "",
4464
4559
  children: [
4465
- /* @__PURE__ */ jsx46("div", { children: field.controlType }),
4466
- /* @__PURE__ */ jsx46(
4560
+ /* @__PURE__ */ jsx47("div", { children: field.controlType }),
4561
+ /* @__PURE__ */ jsx47(
4467
4562
  InputControl_default,
4468
4563
  {
4469
4564
  name: field.name,
@@ -4493,12 +4588,12 @@ var DataForm = (props) => {
4493
4588
  }) }) }, sectionRowIndex);
4494
4589
  }
4495
4590
  ),
4496
- /* @__PURE__ */ jsx46("div", { children: section.childSections?.map(
4591
+ /* @__PURE__ */ jsx47("div", { children: section.childSections?.map(
4497
4592
  (childSection, childSectionIndex) => {
4498
- return /* @__PURE__ */ jsx46("div", { children: childSection.name && evalutateCondition(
4593
+ return /* @__PURE__ */ jsx47("div", { children: childSection.name && evalutateCondition(
4499
4594
  formState.inputValues,
4500
4595
  childSection.visible
4501
- ) && /* @__PURE__ */ jsx46(
4596
+ ) && /* @__PURE__ */ jsx47(
4502
4597
  DataFormChildSection_default,
4503
4598
  {
4504
4599
  section: childSection,
@@ -4513,8 +4608,8 @@ var DataForm = (props) => {
4513
4608
  }) })
4514
4609
  }
4515
4610
  ),
4516
- /* @__PURE__ */ jsxs21("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4517
- /* @__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(
4518
4613
  Button_default,
4519
4614
  {
4520
4615
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4522,7 +4617,7 @@ var DataForm = (props) => {
4522
4617
  children: props.additionalActions.title
4523
4618
  }
4524
4619
  ) }),
4525
- /* @__PURE__ */ jsx46("div", { children: props.onDelete && /* @__PURE__ */ jsx46(
4620
+ /* @__PURE__ */ jsx47("div", { children: props.onDelete && /* @__PURE__ */ jsx47(
4526
4621
  Button_default,
4527
4622
  {
4528
4623
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4533,7 +4628,7 @@ var DataForm = (props) => {
4533
4628
  children: "Delete"
4534
4629
  }
4535
4630
  ) }),
4536
- /* @__PURE__ */ jsx46("div", { children: props.onClick && /* @__PURE__ */ jsx46(
4631
+ /* @__PURE__ */ jsx47("div", { children: props.onClick && /* @__PURE__ */ jsx47(
4537
4632
  Button_default,
4538
4633
  {
4539
4634
  onValidate,
@@ -4550,7 +4645,7 @@ var DataForm = (props) => {
4550
4645
  var DataForm_default = DataForm;
4551
4646
 
4552
4647
  // src/components/dataForm/DataFormRenderer.tsx
4553
- import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
4648
+ import { jsx as jsx48, jsxs as jsxs24 } from "react/jsx-runtime";
4554
4649
  function getAction(actions, code) {
4555
4650
  return actions?.find((a) => a.actionCode === code);
4556
4651
  }
@@ -4576,9 +4671,9 @@ var DataFormRenderer = ({
4576
4671
  "Delete"
4577
4672
  );
4578
4673
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
4579
- return /* @__PURE__ */ jsxs22("div", { className: "flex-grow flex flex-col", children: [
4580
- widgetProps && /* @__PURE__ */ jsx47(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4581
- /* @__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(
4582
4677
  DataForm_default,
4583
4678
  {
4584
4679
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",
@@ -4599,6 +4694,7 @@ var DataFormRenderer = ({
4599
4694
  var DataFormRenderer_default = DataFormRenderer;
4600
4695
  export {
4601
4696
  Button_default as Button,
4697
+ COUNTRY_CODES,
4602
4698
  CheckboxInput_default as CheckboxInput,
4603
4699
  ColorInput_default as ColorInput,
4604
4700
  DataFormRenderer_default as DataFormRenderer,
@@ -4625,5 +4721,11 @@ export {
4625
4721
  Toast_default as Toast,
4626
4722
  ToastService_default as ToastService,
4627
4723
  ViewControl_default as ViewControl,
4628
- ViewControlTypes_default as ViewControlTypes
4724
+ ViewControlTypes_default as ViewControlTypes,
4725
+ findCountryByDialCode,
4726
+ findCountryByIso2,
4727
+ getCountryFlag,
4728
+ getDialCodeByCountryCode,
4729
+ resolveCountry,
4730
+ splitPhoneNumber
4629
4731
  };