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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -46,7 +46,7 @@ import {
46
46
  import "./chunk-IMNQO57B.mjs";
47
47
 
48
48
  // src/components/controls/view/ViewControl.tsx
49
- import React13 from "react";
49
+ import React14 from "react";
50
50
 
51
51
  // src/components/controls/view/ViewControlTypes.tsx
52
52
  var ViewControlTypes = {
@@ -55,6 +55,7 @@ var ViewControlTypes = {
55
55
  asset: "asset",
56
56
  video: "video",
57
57
  multilineTextBullets: "multilineTextBullets",
58
+ tagsBullets: "tagsBullets",
58
59
  boolean: "boolean",
59
60
  checkboxInput: "boolean",
60
61
  money: "money",
@@ -314,19 +315,41 @@ var MultilineTextBullets = (props) => {
314
315
  };
315
316
  var MultilineTextBulletsView_default = MultilineTextBullets;
316
317
 
317
- // src/components/controls/view/MultilineTextView.tsx
318
+ // src/components/controls/view/TagsBulletsView.tsx
318
319
  import React10 from "react";
319
- import { jsx as jsx11 } from "react/jsx-runtime";
320
+ import { jsx as jsx11, jsxs as jsxs2 } from "react/jsx-runtime";
321
+ var getText = (node) => {
322
+ if (node === null || node === void 0 || typeof node === "boolean") return "";
323
+ if (typeof node === "string" || typeof node === "number") return String(node);
324
+ if (Array.isArray(node)) return node.map(getText).join("");
325
+ if (React10.isValidElement(node)) return getText(node.props.children);
326
+ return "";
327
+ };
328
+ var TagsBulletsView = (props) => {
329
+ const rawTags = Array.isArray(props.value) ? props.value : typeof props.value === "string" ? props.value.split(",") : [];
330
+ const tags = rawTags.map((tag) => getText(tag).trim()).filter((tag) => tag);
331
+ return /* @__PURE__ */ jsx11(React10.Fragment, { children: tags && tags.map((tag, index) => {
332
+ return /* @__PURE__ */ jsxs2("span", { children: [
333
+ index > 0 && /* @__PURE__ */ jsx11("span", { children: " \u2022 " }),
334
+ tag
335
+ ] }, index);
336
+ }) });
337
+ };
338
+ var TagsBulletsView_default = TagsBulletsView;
339
+
340
+ // src/components/controls/view/MultilineTextView.tsx
341
+ import React11 from "react";
342
+ import { jsx as jsx12 } from "react/jsx-runtime";
320
343
  var MultilineText = (props) => {
321
- return /* @__PURE__ */ jsx11(React10.Fragment, { children: /* @__PURE__ */ jsx11("span", { className: "break-all whitespace-pre-line", children: props.value }) });
344
+ return /* @__PURE__ */ jsx12(React11.Fragment, { children: /* @__PURE__ */ jsx12("span", { className: "break-all whitespace-pre-line", children: props.value }) });
322
345
  };
323
346
  var MultilineTextView_default = MultilineText;
324
347
 
325
348
  // src/components/controls/view/PercentageView.tsx
326
- import React11 from "react";
327
- import { jsxs as jsxs2 } from "react/jsx-runtime";
349
+ import React12 from "react";
350
+ import { jsxs as jsxs3 } from "react/jsx-runtime";
328
351
  var PercentageView = (props) => {
329
- return /* @__PURE__ */ jsxs2(React11.Fragment, { children: [
352
+ return /* @__PURE__ */ jsxs3(React12.Fragment, { children: [
330
353
  props.value,
331
354
  "%"
332
355
  ] });
@@ -334,16 +357,16 @@ var PercentageView = (props) => {
334
357
  var PercentageView_default = PercentageView;
335
358
 
336
359
  // src/components/controls/view/ProgressIndicator.tsx
337
- import React12 from "react";
338
- import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
360
+ import React13 from "react";
361
+ import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
339
362
  var ProgressIndicator = (props) => {
340
363
  const percentage = 100;
341
364
  const circumference = Math.PI * 56;
342
365
  const offset = circumference * (1 - percentage / 100);
343
- return /* @__PURE__ */ jsx12(React12.Fragment, { children: /* @__PURE__ */ jsxs3("div", { className: "relative w-48 h-48", children: [
344
- /* @__PURE__ */ jsx12("div", { className: "absolute top-0 left-0 w-full h-full rounded-full border border-gray-200" }),
345
- /* @__PURE__ */ jsx12("div", { className: "absolute top-0 left-0 w-full h-full rounded-full overflow-hidden", children: /* @__PURE__ */ jsx12("div", { className: "w-full h-full rounded-full border-t-8 border-green-500", style: { transform: `rotate(-90deg)`, clipPath: `inset(0px ${offset}px 0px 0px)` } }) }),
346
- /* @__PURE__ */ jsx12("div", { className: "absolute top-0 left-0 w-full h-full flex items-center justify-center text-lg font-bold text-gray-800", children: /* @__PURE__ */ jsxs3("span", { children: [
366
+ return /* @__PURE__ */ jsx13(React13.Fragment, { children: /* @__PURE__ */ jsxs4("div", { className: "relative w-48 h-48", children: [
367
+ /* @__PURE__ */ jsx13("div", { className: "absolute top-0 left-0 w-full h-full rounded-full border border-gray-200" }),
368
+ /* @__PURE__ */ jsx13("div", { className: "absolute top-0 left-0 w-full h-full rounded-full overflow-hidden", children: /* @__PURE__ */ jsx13("div", { className: "w-full h-full rounded-full border-t-8 border-green-500", style: { transform: `rotate(-90deg)`, clipPath: `inset(0px ${offset}px 0px 0px)` } }) }),
369
+ /* @__PURE__ */ jsx13("div", { className: "absolute top-0 left-0 w-full h-full flex items-center justify-center text-lg font-bold text-gray-800", children: /* @__PURE__ */ jsxs4("span", { children: [
347
370
  percentage,
348
371
  "%"
349
372
  ] }) })
@@ -352,18 +375,18 @@ var ProgressIndicator = (props) => {
352
375
  var ProgressIndicator_default = ProgressIndicator;
353
376
 
354
377
  // src/components/controls/view/AiGeneratedSummary.tsx
355
- import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
378
+ import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
356
379
  var AiGeneratedSummary = (props) => {
357
380
  const lines = props.value?.split("\n").filter((line) => line.trim() !== "") || [];
358
- return /* @__PURE__ */ jsxs4("details", { className: "group rounded-xl border-2 bg-white shadow-sm border-p overflow-hidden", children: [
359
- /* @__PURE__ */ jsx13("summary", { className: "flex items-start justify-between cursor-pointer list-none", children: /* @__PURE__ */ jsxs4("div", { className: "flex items-start gap-3 ", children: [
360
- /* @__PURE__ */ jsx13("div", { className: "bg-primary-base bg-transparent rounded mt-1 p-1", children: /* @__PURE__ */ jsx13("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", className: "w-5", children: /* @__PURE__ */ jsx13("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z" }) }) }),
361
- /* @__PURE__ */ jsxs4("div", { children: [
362
- /* @__PURE__ */ jsx13("h3", { className: "text-lg font-semibold ", children: "Quick Read" }),
363
- /* @__PURE__ */ jsx13("p", { className: "text-sm text-gray-500 mb-0", children: "Summary is AI-generated, author-reviewed" })
381
+ return /* @__PURE__ */ jsxs5("details", { className: "group rounded-xl border-2 bg-white shadow-sm border-p overflow-hidden", children: [
382
+ /* @__PURE__ */ jsx14("summary", { className: "flex items-start justify-between cursor-pointer list-none", children: /* @__PURE__ */ jsxs5("div", { className: "flex items-start gap-3 ", children: [
383
+ /* @__PURE__ */ jsx14("div", { className: "bg-primary-base bg-transparent rounded mt-1 p-1", children: /* @__PURE__ */ jsx14("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", className: "w-5", children: /* @__PURE__ */ jsx14("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z" }) }) }),
384
+ /* @__PURE__ */ jsxs5("div", { children: [
385
+ /* @__PURE__ */ jsx14("h3", { className: "text-lg font-semibold ", children: "Quick Read" }),
386
+ /* @__PURE__ */ jsx14("p", { className: "text-sm text-gray-500 mb-0", children: "Summary is AI-generated, author-reviewed" })
364
387
  ] })
365
388
  ] }) }),
366
- /* @__PURE__ */ jsx13("div", { children: /* @__PURE__ */ jsx13("ul", { className: "list-disc pl-6 space-y-3 text-gray-700 ps-4 pl-4", children: lines.map((line, index) => /* @__PURE__ */ jsx13("li", { className: "m-0", children: line }, index)) }) })
389
+ /* @__PURE__ */ jsx14("div", { children: /* @__PURE__ */ jsx14("ul", { className: "list-disc pl-6 space-y-3 text-gray-700 ps-4 pl-4", children: lines.map((line, index) => /* @__PURE__ */ jsx14("li", { className: "m-0", children: line }, index)) }) })
367
390
  ] });
368
391
  };
369
392
  var AiGeneratedSummary_default = AiGeneratedSummary;
@@ -383,13 +406,14 @@ var TimeUntilStarts = dynamic4(() => import("./TimeUntilStartsClient-5HGQ5JKM.mj
383
406
  var TimeUntilStarts_default = TimeUntilStarts;
384
407
 
385
408
  // src/components/controls/view/ViewControl.tsx
386
- import { jsx as jsx14 } from "react/jsx-runtime";
409
+ import { jsx as jsx15 } from "react/jsx-runtime";
387
410
  var ViewControl = (props) => {
388
411
  const ControlComponents = {
389
412
  [ViewControlTypes_default.lineText]: LineTextView_default,
390
413
  [ViewControlTypes_default.emailText]: EmailTextView_default,
391
414
  [ViewControlTypes_default.asset]: Asset_default,
392
415
  [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
416
+ [ViewControlTypes_default.tagsBullets]: TagsBulletsView_default,
393
417
  [ViewControlTypes_default.boolean]: BooleanView_default,
394
418
  [ViewControlTypes_default.checkboxInput]: BooleanView_default,
395
419
  [ViewControlTypes_default.timeUntilStarts]: TimeUntilStarts_default,
@@ -412,18 +436,18 @@ var ViewControl = (props) => {
412
436
  [ViewControlTypes_default.text]: LineTextView_default
413
437
  };
414
438
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
415
- return /* @__PURE__ */ jsx14(React13.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx14(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
439
+ return /* @__PURE__ */ jsx15(React14.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx15(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
416
440
  };
417
441
  var ViewControl_default = ViewControl;
418
442
 
419
443
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
420
- import React23 from "react";
444
+ import React24 from "react";
421
445
 
422
446
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
423
- import React15 from "react";
447
+ import React16 from "react";
424
448
 
425
449
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
426
- import { jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
450
+ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
427
451
  var TextNode = (props) => {
428
452
  function cssStringToJson(cssString) {
429
453
  const styleObject = {};
@@ -478,35 +502,35 @@ var TextNode = (props) => {
478
502
  });
479
503
  }
480
504
  function renderWithLineBreaks(text) {
481
- return text.split("\n").map((line, index, arr) => /* @__PURE__ */ jsxs5("span", { children: [
505
+ return text.split("\n").map((line, index, arr) => /* @__PURE__ */ jsxs6("span", { children: [
482
506
  line,
483
- index < arr.length - 1 && /* @__PURE__ */ jsx15("br", {})
507
+ index < arr.length - 1 && /* @__PURE__ */ jsx16("br", {})
484
508
  ] }, index));
485
509
  }
486
510
  const displayText = props.linkText ? props.linkText : props.node.text;
487
511
  const finalText = props.dataitem && props.linkText ? displayText : props.dataitem ? replacePlaceholders(props.node.text, props.dataitem) : props.node.text;
488
512
  const content = typeof finalText === "string" ? renderWithLineBreaks(finalText) : finalText;
489
- const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx15("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx15("sub", { children: content }) : content;
513
+ const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx16("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx16("sub", { children: content }) : content;
490
514
  return (
491
515
  // @ts-expect-error custom code
492
- /* @__PURE__ */ jsx15("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
516
+ /* @__PURE__ */ jsx16("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
493
517
  );
494
518
  };
495
519
  var TextNode_default = TextNode;
496
520
 
497
521
  // src/components/pageRenderingEngine/nodes/LineBreakNode.tsx
498
- import { jsx as jsx16 } from "react/jsx-runtime";
522
+ import { jsx as jsx17 } from "react/jsx-runtime";
499
523
  var LineBreakNode = () => {
500
- return /* @__PURE__ */ jsx16("div", { className: "py-0.5 lg:py-1.5" });
524
+ return /* @__PURE__ */ jsx17("div", { className: "py-0.5 lg:py-1.5" });
501
525
  };
502
526
  var LineBreakNode_default = LineBreakNode;
503
527
 
504
528
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
505
- import React14 from "react";
529
+ import React15 from "react";
506
530
 
507
531
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
508
532
  import dynamic5 from "next/dynamic";
509
- import { jsx as jsx17 } from "react/jsx-runtime";
533
+ import { jsx as jsx18 } from "react/jsx-runtime";
510
534
  var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
511
535
  var getNestedValue = (obj, path) => {
512
536
  if (!obj || !path) return void 0;
@@ -539,7 +563,7 @@ var ImageNode = (props) => {
539
563
  assets = [image];
540
564
  }
541
565
  if (assets && assets.length > 0) {
542
- return /* @__PURE__ */ jsx17(
566
+ return /* @__PURE__ */ jsx18(
543
567
  DeviceAssetSelector_default,
544
568
  {
545
569
  device: props.device,
@@ -580,7 +604,7 @@ var ImageNode = (props) => {
580
604
  right: "justify-end"
581
605
  };
582
606
  const isHls = imageUrl.endsWith(".m3u8");
583
- const renderMedia = () => isHls ? /* @__PURE__ */ jsx17(
607
+ const renderMedia = () => isHls ? /* @__PURE__ */ jsx18(
584
608
  HlsPlayer2,
585
609
  {
586
610
  assetUrl: imageUrl,
@@ -593,7 +617,7 @@ var ImageNode = (props) => {
593
617
  apiBaseUrl: props.apiBaseUrl,
594
618
  session: props.session
595
619
  }
596
- ) : /* @__PURE__ */ jsx17(
620
+ ) : /* @__PURE__ */ jsx18(
597
621
  "img",
598
622
  {
599
623
  style: styles,
@@ -606,7 +630,7 @@ var ImageNode = (props) => {
606
630
  }
607
631
  );
608
632
  if (props.node.width) {
609
- return /* @__PURE__ */ jsx17("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
633
+ return /* @__PURE__ */ jsx18("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
610
634
  }
611
635
  return renderMedia();
612
636
  };
@@ -614,7 +638,7 @@ var ImageNode_default = ImageNode;
614
638
 
615
639
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
616
640
  import dynamic6 from "next/dynamic";
617
- import { Fragment, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
641
+ import { Fragment, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
618
642
  var LinkNodeButton = dynamic6(() => import("./LinkNodeButton-BEAX4I4C.mjs"), {
619
643
  ssr: false
620
644
  });
@@ -667,13 +691,13 @@ var LinkNode = (props) => {
667
691
  const isButton = node.isButton === true;
668
692
  const renderChildren = () => {
669
693
  if (!node.children || node.children.length === 0) return null;
670
- return /* @__PURE__ */ jsx18(Fragment, { children: node.children.map((childNode, index) => {
694
+ return /* @__PURE__ */ jsx19(Fragment, { children: node.children.map((childNode, index) => {
671
695
  const SelectedNode = NodeTypes2[childNode.type];
672
696
  if (!SelectedNode) {
673
697
  console.warn("Unknown node type:", childNode.type);
674
698
  return null;
675
699
  }
676
- return /* @__PURE__ */ jsx18(React14.Fragment, { children: /* @__PURE__ */ jsx18(
700
+ return /* @__PURE__ */ jsx19(React15.Fragment, { children: /* @__PURE__ */ jsx19(
677
701
  SelectedNode,
678
702
  {
679
703
  node: childNode,
@@ -686,15 +710,15 @@ var LinkNode = (props) => {
686
710
  };
687
711
  const renderFallback = () => {
688
712
  if ((!node.children || node.children.length === 0) && linkText) {
689
- return /* @__PURE__ */ jsx18("span", { children: linkText });
713
+ return /* @__PURE__ */ jsx19("span", { children: linkText });
690
714
  }
691
715
  if ((!node.children || node.children.length === 0) && !linkText) {
692
- return /* @__PURE__ */ jsx18("br", {});
716
+ return /* @__PURE__ */ jsx19("br", {});
693
717
  }
694
718
  return null;
695
719
  };
696
720
  if (isButton) {
697
- return /* @__PURE__ */ jsxs6(
721
+ return /* @__PURE__ */ jsxs7(
698
722
  LinkNodeButton,
699
723
  {
700
724
  node,
@@ -712,7 +736,7 @@ var LinkNode = (props) => {
712
736
  }
713
737
  );
714
738
  }
715
- return /* @__PURE__ */ jsxs6(
739
+ return /* @__PURE__ */ jsxs7(
716
740
  Hyperlink,
717
741
  {
718
742
  href: linkUrl || "#",
@@ -728,10 +752,10 @@ var LinkNode = (props) => {
728
752
  var LinkNode_default = LinkNode;
729
753
 
730
754
  // src/components/pageRenderingEngine/nodes/SVGIconNode.tsx
731
- import { jsx as jsx19 } from "react/jsx-runtime";
755
+ import { jsx as jsx20 } from "react/jsx-runtime";
732
756
  var SVGIconNode = ({ node }) => {
733
757
  if (!node?.svgCode) return null;
734
- return /* @__PURE__ */ jsx19(
758
+ return /* @__PURE__ */ jsx20(
735
759
  "span",
736
760
  {
737
761
  style: {
@@ -748,7 +772,7 @@ var SVGIconNode_default = SVGIconNode;
748
772
 
749
773
  // src/components/pageRenderingEngine/nodes/EquationNode.tsx
750
774
  import katex from "katex";
751
- import { jsx as jsx20 } from "react/jsx-runtime";
775
+ import { jsx as jsx21 } from "react/jsx-runtime";
752
776
  var EquationNode = ({ node }) => {
753
777
  const { equation, inline } = node;
754
778
  let html = "";
@@ -763,7 +787,7 @@ var EquationNode = ({ node }) => {
763
787
  });
764
788
  }
765
789
  if (inline) {
766
- return /* @__PURE__ */ jsx20(
790
+ return /* @__PURE__ */ jsx21(
767
791
  "span",
768
792
  {
769
793
  className: "katex-inline",
@@ -771,7 +795,7 @@ var EquationNode = ({ node }) => {
771
795
  }
772
796
  );
773
797
  }
774
- return /* @__PURE__ */ jsx20(
798
+ return /* @__PURE__ */ jsx21(
775
799
  "div",
776
800
  {
777
801
  className: "katex-block my-3 text-center",
@@ -782,7 +806,7 @@ var EquationNode = ({ node }) => {
782
806
  var EquationNode_default = EquationNode;
783
807
 
784
808
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
785
- import { jsx as jsx21 } from "react/jsx-runtime";
809
+ import { jsx as jsx22 } from "react/jsx-runtime";
786
810
  function getNestedProperty(obj, path) {
787
811
  if (!obj || !path) return null;
788
812
  if (path.includes(".")) {
@@ -795,7 +819,7 @@ function getNestedProperty(obj, path) {
795
819
  }
796
820
  const value = obj[path];
797
821
  if (Array.isArray(value)) {
798
- return value.map((item, index) => /* @__PURE__ */ jsx21("div", { children: String(item) }, index));
822
+ return value.map((item, index) => /* @__PURE__ */ jsx22("div", { children: String(item) }, index));
799
823
  }
800
824
  return value;
801
825
  }
@@ -845,7 +869,8 @@ var DatafieldNode = (props) => {
845
869
  const value = props.dataitem ? getNestedProperty(props.dataitem, fieldName) : null;
846
870
  const isEmptyValue = value === null || value === void 0 || value === "" || Array.isArray(value) && value.length === 0 || typeof value === "object" && value !== null && Object.keys(value).length === 0;
847
871
  const maxLines = props.node.maxLines;
848
- if (maxLines && Number(maxLines) > 0) {
872
+ const hasMaxLines = Boolean(maxLines && Number(maxLines) > 0);
873
+ if (hasMaxLines) {
849
874
  Object.assign(styles, {
850
875
  display: "-webkit-box",
851
876
  overflow: "hidden",
@@ -853,10 +878,11 @@ var DatafieldNode = (props) => {
853
878
  WebkitLineClamp: String(maxLines)
854
879
  });
855
880
  }
881
+ const title = hasMaxLines ? typeof value === "string" || typeof value === "number" ? String(value) : props.node.title : props.node.title;
856
882
  const dataType = props.node.dataType;
857
883
  if (isEmptyValue) return null;
858
884
  if (dataType === "rawContent") {
859
- return /* @__PURE__ */ jsx21(
885
+ return /* @__PURE__ */ jsx22(
860
886
  PageBodyRenderer_default,
861
887
  {
862
888
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -872,12 +898,13 @@ var DatafieldNode = (props) => {
872
898
  }
873
899
  );
874
900
  }
875
- return /* @__PURE__ */ jsx21(
901
+ return /* @__PURE__ */ jsx22(
876
902
  "span",
877
903
  {
878
904
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
879
905
  style: styles,
880
- children: /* @__PURE__ */ jsx21(
906
+ title,
907
+ children: /* @__PURE__ */ jsx22(
881
908
  ViewControl_default,
882
909
  {
883
910
  controlType: dataType,
@@ -890,7 +917,7 @@ var DatafieldNode = (props) => {
890
917
  var DatafieldNode_default = DatafieldNode;
891
918
 
892
919
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
893
- import { Fragment as Fragment2, jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
920
+ import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
894
921
  var ParagraphNode = (props) => {
895
922
  const NodeTypes2 = {
896
923
  ["text"]: TextNode_default,
@@ -910,9 +937,9 @@ var ParagraphNode = (props) => {
910
937
  const isInlineOnlyParent = props.parentTag === "summary";
911
938
  const hasChildren = props.node.children && props.node.children.length > 0;
912
939
  if (isInlineOnlyParent) {
913
- return /* @__PURE__ */ jsx22(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
940
+ return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
914
941
  const SelectedNode = NodeTypes2[node.type];
915
- return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(
942
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
916
943
  SelectedNode,
917
944
  {
918
945
  node,
@@ -924,10 +951,10 @@ var ParagraphNode = (props) => {
924
951
  ) }, index);
925
952
  }) });
926
953
  }
927
- return /* @__PURE__ */ jsxs7("div", { className: " " + formatClasses, children: [
954
+ return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
928
955
  hasChildren && props.node.children.map((node, index) => {
929
956
  const SelectedNode = NodeTypes2[node.type];
930
- return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(
957
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
931
958
  SelectedNode,
932
959
  {
933
960
  node,
@@ -938,14 +965,14 @@ var ParagraphNode = (props) => {
938
965
  }
939
966
  ) }, index);
940
967
  }),
941
- !hasChildren && /* @__PURE__ */ jsx22("div", { className: "py-1.5 lg:py-2" })
968
+ !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
942
969
  ] });
943
970
  };
944
971
  var ParagraphNode_default = ParagraphNode;
945
972
 
946
973
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
947
- import React16 from "react";
948
- import { Fragment as Fragment3, jsx as jsx23 } from "react/jsx-runtime";
974
+ import React17 from "react";
975
+ import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
949
976
  var HeadingNode = (props) => {
950
977
  const NodeTypes2 = {
951
978
  ["text"]: TextNode_default,
@@ -961,23 +988,23 @@ var HeadingNode = (props) => {
961
988
  {
962
989
  }
963
990
  const formatClasses = FormatClass[props.node.format] || "";
964
- return /* @__PURE__ */ jsx23(Fragment3, { children: React16.createElement(
991
+ return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
965
992
  HeadingTag,
966
993
  { className: formatClasses },
967
994
  props.node.children && props.node.children.map((childNode, index) => {
968
995
  const SelectedNode = NodeTypes2[childNode.type];
969
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
996
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
970
997
  })
971
998
  ) });
972
999
  };
973
1000
  var HeadingNode_default = HeadingNode;
974
1001
 
975
1002
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
976
- import React18 from "react";
1003
+ import React19 from "react";
977
1004
 
978
1005
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
979
- import React17 from "react";
980
- import { jsx as jsx24 } from "react/jsx-runtime";
1006
+ import React18 from "react";
1007
+ import { jsx as jsx25 } from "react/jsx-runtime";
981
1008
  var ListItemNode = (props) => {
982
1009
  const NodeTypes2 = {
983
1010
  text: TextNode_default,
@@ -994,66 +1021,66 @@ var ListItemNode = (props) => {
994
1021
  liStyle.fontSize = match[1].trim();
995
1022
  }
996
1023
  }
997
- return /* @__PURE__ */ jsx24("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1024
+ return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
998
1025
  const SelectedNode = NodeTypes2[node.type];
999
1026
  if (node.type === "linebreak") {
1000
1027
  if (!foundFirstBreak) {
1001
1028
  foundFirstBreak = true;
1002
- return /* @__PURE__ */ jsx24("div", {}, index);
1029
+ return /* @__PURE__ */ jsx25("div", {}, index);
1003
1030
  } else {
1004
- return /* @__PURE__ */ jsx24("div", { className: "py-1 lg:py-2" }, index);
1031
+ return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
1005
1032
  }
1006
1033
  } else {
1007
1034
  foundFirstBreak = false;
1008
- return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1035
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1009
1036
  }
1010
1037
  }) });
1011
1038
  };
1012
1039
  var ListItemNode_default = ListItemNode;
1013
1040
 
1014
1041
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1015
- import { jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
1042
+ import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1016
1043
  var ListNode = (props) => {
1017
1044
  const NodeTypes2 = {
1018
1045
  listitem: ListItemNode_default
1019
1046
  };
1020
- return /* @__PURE__ */ jsxs8(React18.Fragment, { children: [
1021
- props.node.listType == "bullet" && /* @__PURE__ */ jsx25("ul", { children: props.node.children && props.node.children.map((node, index) => {
1047
+ return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
1048
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
1022
1049
  const SelectedNode = NodeTypes2[node.type];
1023
- return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1050
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1024
1051
  }) }),
1025
- props.node.listType == "number" && /* @__PURE__ */ jsx25("ol", { children: props.node.children && props.node.children.map((node, index) => {
1052
+ props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
1026
1053
  const SelectedNode = NodeTypes2[node.type];
1027
- return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1054
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1028
1055
  }) })
1029
1056
  ] });
1030
1057
  };
1031
1058
  var ListNode_default = ListNode;
1032
1059
 
1033
1060
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1034
- import React19 from "react";
1035
- import { jsx as jsx26 } from "react/jsx-runtime";
1061
+ import React20 from "react";
1062
+ import { jsx as jsx27 } from "react/jsx-runtime";
1036
1063
  var QuoteNode = (props) => {
1037
1064
  const NodeTypes2 = {
1038
1065
  ["text"]: TextNode_default,
1039
1066
  ["linebreak"]: LineBreakNode_default,
1040
1067
  ["link"]: LinkNode_default
1041
1068
  };
1042
- return /* @__PURE__ */ jsx26("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1069
+ return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1043
1070
  const SelectedNode = NodeTypes2[node.type];
1044
- return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1071
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1045
1072
  }) });
1046
1073
  };
1047
1074
  var QuoteNode_default = QuoteNode;
1048
1075
 
1049
1076
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1050
- import React20 from "react";
1077
+ import React21 from "react";
1051
1078
  import dynamic7 from "next/dynamic";
1052
- import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
1079
+ import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1053
1080
  var CopyButton = dynamic7(() => import("./CopyButton-UPJPMJUB.mjs"), {
1054
1081
  ssr: false,
1055
1082
  // optional: fallback UI while loading
1056
- loading: () => /* @__PURE__ */ jsx27("span", { className: "text-gray-400 text-xs", children: "Copy" })
1083
+ loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
1057
1084
  });
1058
1085
  var CodeNode = (props) => {
1059
1086
  const NodeTypes2 = {
@@ -1067,14 +1094,14 @@ var CodeNode = (props) => {
1067
1094
  if (node.type === "link") return node.text || node.url || "";
1068
1095
  return "";
1069
1096
  }).join("") ?? "";
1070
- return /* @__PURE__ */ jsxs9("div", { children: [
1071
- /* @__PURE__ */ jsxs9("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1072
- /* @__PURE__ */ jsx27("span", { children: "Code Snippet" }),
1073
- /* @__PURE__ */ jsx27(CopyButton, { text: textContent })
1097
+ return /* @__PURE__ */ jsxs10("div", { children: [
1098
+ /* @__PURE__ */ jsxs10("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1099
+ /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1100
+ /* @__PURE__ */ jsx28(CopyButton, { text: textContent })
1074
1101
  ] }),
1075
- /* @__PURE__ */ jsx27("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1102
+ /* @__PURE__ */ jsx28("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1076
1103
  const SelectedNode = NodeTypes2[node.type];
1077
- return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(
1104
+ return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1078
1105
  SelectedNode,
1079
1106
  {
1080
1107
  node,
@@ -1089,15 +1116,15 @@ var CodeNode = (props) => {
1089
1116
  var CodeNode_default = CodeNode;
1090
1117
 
1091
1118
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1092
- import { jsx as jsx28 } from "react/jsx-runtime";
1119
+ import { jsx as jsx29 } from "react/jsx-runtime";
1093
1120
  var HorizontalRuleNode = () => {
1094
- return /* @__PURE__ */ jsx28("hr", {});
1121
+ return /* @__PURE__ */ jsx29("hr", {});
1095
1122
  };
1096
1123
  var HorizontalRuleNode_default = HorizontalRuleNode;
1097
1124
 
1098
1125
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1099
- import React21 from "react";
1100
- import { Fragment as Fragment4, jsx as jsx29 } from "react/jsx-runtime";
1126
+ import React22 from "react";
1127
+ import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
1101
1128
  var WidgetNode = (props) => {
1102
1129
  const getWidgetParameters = () => {
1103
1130
  const widgetInputParameters = {
@@ -1161,7 +1188,7 @@ var WidgetNode = (props) => {
1161
1188
  };
1162
1189
  const widgetCode = props.node?.widgetCode;
1163
1190
  if (!widgetCode) {
1164
- return /* @__PURE__ */ jsx29(Fragment4, { children: "Invalid widget" });
1191
+ return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1165
1192
  }
1166
1193
  const widgetParams = getWidgetParameters();
1167
1194
  const WidgetRenderer = props.widgetRenderer;
@@ -1170,7 +1197,7 @@ var WidgetNode = (props) => {
1170
1197
  }
1171
1198
  return (
1172
1199
  // eslint-disable-next-line react-hooks/static-components
1173
- /* @__PURE__ */ jsx29(React21.Fragment, { children: /* @__PURE__ */ jsx29(
1200
+ /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1174
1201
  WidgetRenderer,
1175
1202
  {
1176
1203
  params: widgetParams,
@@ -1188,11 +1215,11 @@ var WidgetNode_default = WidgetNode;
1188
1215
 
1189
1216
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1190
1217
  import dynamic11 from "next/dynamic";
1191
- import React22 from "react";
1218
+ import React23 from "react";
1192
1219
 
1193
1220
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1194
1221
  import dynamic8 from "next/dynamic";
1195
- import { jsx as jsx30 } from "react/jsx-runtime";
1222
+ import { jsx as jsx31 } from "react/jsx-runtime";
1196
1223
  var IframeClient = dynamic8(() => import("./IframeClient-WF2KLXZB.mjs"), {
1197
1224
  ssr: false
1198
1225
  });
@@ -1205,7 +1232,7 @@ var EmbedNode = (props) => {
1205
1232
  } else {
1206
1233
  src = props.node.embedSrc;
1207
1234
  }
1208
- return /* @__PURE__ */ jsx30("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx30(IframeClient, { src }) });
1235
+ return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
1209
1236
  };
1210
1237
  var EmbedNode_default = EmbedNode;
1211
1238
 
@@ -1398,10 +1425,10 @@ var PathUtility = class {
1398
1425
  var PathUtility_default = new PathUtility();
1399
1426
 
1400
1427
  // src/components/NoDataFound.tsx
1401
- import { jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
1428
+ import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1402
1429
  var NoDataFound = () => {
1403
- return /* @__PURE__ */ jsxs10("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1404
- /* @__PURE__ */ jsx31("div", { className: "mb-5", children: /* @__PURE__ */ jsx31("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx31(
1430
+ return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1431
+ /* @__PURE__ */ jsx32("div", { className: "mb-5", children: /* @__PURE__ */ jsx32("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx32(
1405
1432
  "svg",
1406
1433
  {
1407
1434
  className: "w-10 h-10",
@@ -1409,7 +1436,7 @@ var NoDataFound = () => {
1409
1436
  stroke: "currentColor",
1410
1437
  viewBox: "0 0 24 24",
1411
1438
  xmlns: "http://www.w3.org/2000/svg",
1412
- children: /* @__PURE__ */ jsx31(
1439
+ children: /* @__PURE__ */ jsx32(
1413
1440
  "path",
1414
1441
  {
1415
1442
  strokeLinecap: "round",
@@ -1420,15 +1447,15 @@ var NoDataFound = () => {
1420
1447
  )
1421
1448
  }
1422
1449
  ) }) }),
1423
- /* @__PURE__ */ jsx31("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1424
- /* @__PURE__ */ jsx31("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1450
+ /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1451
+ /* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1425
1452
  ] });
1426
1453
  };
1427
1454
  var NoDataFound_default = NoDataFound;
1428
1455
 
1429
1456
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1430
1457
  import dynamic9 from "next/dynamic";
1431
- import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1458
+ import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1432
1459
  var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
1433
1460
  var deviceToMediaQuery = (device) => {
1434
1461
  switch (device) {
@@ -1584,8 +1611,8 @@ var ImageGalleryNode = (props) => {
1584
1611
  right: "justify-end"
1585
1612
  };
1586
1613
  const formatClasses = FormatClass[props.node.format || ""] || "";
1587
- return /* @__PURE__ */ jsxs11(Fragment5, { children: [
1588
- hlsSources.length > 0 && /* @__PURE__ */ jsx32(Fragment5, { children: /* @__PURE__ */ jsx32(
1614
+ return /* @__PURE__ */ jsxs12(Fragment5, { children: [
1615
+ hlsSources.length > 0 && /* @__PURE__ */ jsx33(Fragment5, { children: /* @__PURE__ */ jsx33(
1589
1616
  HlsPlayer3,
1590
1617
  {
1591
1618
  sources: hlsSources,
@@ -1600,7 +1627,7 @@ var ImageGalleryNode = (props) => {
1600
1627
  styles: hlsStyles
1601
1628
  }
1602
1629
  ) }),
1603
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx32(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs11("picture", { children: [
1630
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx33(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs12("picture", { children: [
1604
1631
  DEVICE_ORDER.map((deviceKey) => {
1605
1632
  const match = staticSources.find(
1606
1633
  (img) => img.device === deviceKey
@@ -1616,7 +1643,7 @@ var ImageGalleryNode = (props) => {
1616
1643
  if (!srcUrl) {
1617
1644
  return null;
1618
1645
  }
1619
- return /* @__PURE__ */ jsx32(
1646
+ return /* @__PURE__ */ jsx33(
1620
1647
  "source",
1621
1648
  {
1622
1649
  media: deviceToMediaQuery(match.device),
@@ -1641,7 +1668,7 @@ var ImageGalleryNode = (props) => {
1641
1668
  if (img.borderRadius) {
1642
1669
  styles.borderRadius = img.borderRadius;
1643
1670
  }
1644
- return /* @__PURE__ */ jsx32(
1671
+ return /* @__PURE__ */ jsx33(
1645
1672
  "img",
1646
1673
  {
1647
1674
  loading: "lazy",
@@ -1656,7 +1683,7 @@ var ImageGalleryNode = (props) => {
1656
1683
  })()
1657
1684
  ] }) : (
1658
1685
  /* Case 2: Only device-specific images exist */
1659
- /* @__PURE__ */ jsx32(Fragment5, { children: staticSources.map((img, index) => {
1686
+ /* @__PURE__ */ jsx33(Fragment5, { children: staticSources.map((img, index) => {
1660
1687
  const resolved = resolveImage(img);
1661
1688
  const imageUrl = resolved?.imageUrl;
1662
1689
  if (!imageUrl) {
@@ -1683,7 +1710,7 @@ var ImageGalleryNode = (props) => {
1683
1710
  default:
1684
1711
  display = "block";
1685
1712
  }
1686
- return /* @__PURE__ */ jsx32(
1713
+ return /* @__PURE__ */ jsx33(
1687
1714
  "img",
1688
1715
  {
1689
1716
  loading: "lazy",
@@ -1823,28 +1850,28 @@ var shouldRenderContainer = (node, dataItem, session) => {
1823
1850
  };
1824
1851
 
1825
1852
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1826
- import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1853
+ import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
1827
1854
  var getNestedValue5 = (obj, path) => {
1828
1855
  if (!obj || !path) return void 0;
1829
1856
  return path.split(".").reduce((current, key) => {
1830
1857
  return current && current[key] !== void 0 ? current[key] : void 0;
1831
1858
  }, obj);
1832
1859
  };
1833
- var PdfIcon = () => /* @__PURE__ */ jsxs12(
1860
+ var PdfIcon = () => /* @__PURE__ */ jsxs13(
1834
1861
  "svg",
1835
1862
  {
1836
1863
  xmlns: "http://www.w3.org/2000/svg",
1837
1864
  viewBox: "0 0 48 48",
1838
1865
  className: "w-10 h-10",
1839
1866
  children: [
1840
- /* @__PURE__ */ jsx33(
1867
+ /* @__PURE__ */ jsx34(
1841
1868
  "path",
1842
1869
  {
1843
1870
  fill: "#e53935",
1844
1871
  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"
1845
1872
  }
1846
1873
  ),
1847
- /* @__PURE__ */ jsx33(
1874
+ /* @__PURE__ */ jsx34(
1848
1875
  "path",
1849
1876
  {
1850
1877
  fill: "#fff",
@@ -1854,55 +1881,55 @@ var PdfIcon = () => /* @__PURE__ */ jsxs12(
1854
1881
  ]
1855
1882
  }
1856
1883
  );
1857
- var ExcelIcon = () => /* @__PURE__ */ jsxs12(
1884
+ var ExcelIcon = () => /* @__PURE__ */ jsxs13(
1858
1885
  "svg",
1859
1886
  {
1860
1887
  xmlns: "http://www.w3.org/2000/svg",
1861
1888
  viewBox: "0 0 48 48",
1862
1889
  className: "w-10 h-10",
1863
1890
  children: [
1864
- /* @__PURE__ */ jsx33(
1891
+ /* @__PURE__ */ jsx34(
1865
1892
  "path",
1866
1893
  {
1867
1894
  fill: "#169154",
1868
1895
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
1869
1896
  }
1870
1897
  ),
1871
- /* @__PURE__ */ jsx33(
1898
+ /* @__PURE__ */ jsx34(
1872
1899
  "path",
1873
1900
  {
1874
1901
  fill: "#18482a",
1875
1902
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
1876
1903
  }
1877
1904
  ),
1878
- /* @__PURE__ */ jsx33("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1879
- /* @__PURE__ */ jsx33("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1880
- /* @__PURE__ */ jsxs12("g", { children: [
1881
- /* @__PURE__ */ jsx33(
1905
+ /* @__PURE__ */ jsx34("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1906
+ /* @__PURE__ */ jsx34("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1907
+ /* @__PURE__ */ jsxs13("g", { children: [
1908
+ /* @__PURE__ */ jsx34(
1882
1909
  "path",
1883
1910
  {
1884
1911
  fill: "#29c27f",
1885
1912
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
1886
1913
  }
1887
1914
  ),
1888
- /* @__PURE__ */ jsx33(
1915
+ /* @__PURE__ */ jsx34(
1889
1916
  "path",
1890
1917
  {
1891
1918
  fill: "#27663f",
1892
1919
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
1893
1920
  }
1894
1921
  ),
1895
- /* @__PURE__ */ jsx33("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1896
- /* @__PURE__ */ jsx33("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1922
+ /* @__PURE__ */ jsx34("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1923
+ /* @__PURE__ */ jsx34("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1897
1924
  ] }),
1898
- /* @__PURE__ */ jsx33(
1925
+ /* @__PURE__ */ jsx34(
1899
1926
  "path",
1900
1927
  {
1901
1928
  fill: "#0c7238",
1902
1929
  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"
1903
1930
  }
1904
1931
  ),
1905
- /* @__PURE__ */ jsx33(
1932
+ /* @__PURE__ */ jsx34(
1906
1933
  "path",
1907
1934
  {
1908
1935
  fill: "#fff",
@@ -1912,7 +1939,7 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs12(
1912
1939
  ]
1913
1940
  }
1914
1941
  );
1915
- var WordIcon = () => /* @__PURE__ */ jsxs12(
1942
+ var WordIcon = () => /* @__PURE__ */ jsxs13(
1916
1943
  "svg",
1917
1944
  {
1918
1945
  xmlns: "http://www.w3.org/2000/svg",
@@ -1920,14 +1947,14 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1920
1947
  className: "w-10 h-10",
1921
1948
  baseProfile: "basic",
1922
1949
  children: [
1923
- /* @__PURE__ */ jsx33(
1950
+ /* @__PURE__ */ jsx34(
1924
1951
  "path",
1925
1952
  {
1926
1953
  fill: "#283593",
1927
1954
  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"
1928
1955
  }
1929
1956
  ),
1930
- /* @__PURE__ */ jsxs12(
1957
+ /* @__PURE__ */ jsxs13(
1931
1958
  "linearGradient",
1932
1959
  {
1933
1960
  id: "qh2LT5tehRDFkLLfb-odWa",
@@ -1938,19 +1965,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1938
1965
  gradientTransform: "translate(0 -339.89)",
1939
1966
  gradientUnits: "userSpaceOnUse",
1940
1967
  children: [
1941
- /* @__PURE__ */ jsx33("stop", { offset: "0", "stop-color": "#66c0ff" }),
1942
- /* @__PURE__ */ jsx33("stop", { offset: ".26", "stop-color": "#0094f0" })
1968
+ /* @__PURE__ */ jsx34("stop", { offset: "0", "stop-color": "#66c0ff" }),
1969
+ /* @__PURE__ */ jsx34("stop", { offset: ".26", "stop-color": "#0094f0" })
1943
1970
  ]
1944
1971
  }
1945
1972
  ),
1946
- /* @__PURE__ */ jsx33(
1973
+ /* @__PURE__ */ jsx34(
1947
1974
  "path",
1948
1975
  {
1949
1976
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
1950
1977
  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"
1951
1978
  }
1952
1979
  ),
1953
- /* @__PURE__ */ jsx33(
1980
+ /* @__PURE__ */ jsx34(
1954
1981
  "path",
1955
1982
  {
1956
1983
  fill: "#1e88e5",
@@ -1958,21 +1985,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1958
1985
  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"
1959
1986
  }
1960
1987
  ),
1961
- /* @__PURE__ */ jsx33(
1988
+ /* @__PURE__ */ jsx34(
1962
1989
  "path",
1963
1990
  {
1964
1991
  fill: "#00e5ff",
1965
1992
  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"
1966
1993
  }
1967
1994
  ),
1968
- /* @__PURE__ */ jsx33(
1995
+ /* @__PURE__ */ jsx34(
1969
1996
  "path",
1970
1997
  {
1971
1998
  fill: "#1565c0",
1972
1999
  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"
1973
2000
  }
1974
2001
  ),
1975
- /* @__PURE__ */ jsx33(
2002
+ /* @__PURE__ */ jsx34(
1976
2003
  "path",
1977
2004
  {
1978
2005
  fill: "#fff",
@@ -1982,42 +2009,42 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1982
2009
  ]
1983
2010
  }
1984
2011
  );
1985
- var StandardIcon = () => /* @__PURE__ */ jsxs12(
2012
+ var StandardIcon = () => /* @__PURE__ */ jsxs13(
1986
2013
  "svg",
1987
2014
  {
1988
2015
  xmlns: "http://www.w3.org/2000/svg",
1989
2016
  viewBox: "0 0 48 48",
1990
2017
  className: "w-10 h-10",
1991
2018
  children: [
1992
- /* @__PURE__ */ jsx33("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
1993
- /* @__PURE__ */ jsx33("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2019
+ /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2020
+ /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
1994
2021
  ]
1995
2022
  }
1996
2023
  );
1997
- var PowerPointIcon = () => /* @__PURE__ */ jsxs12(
2024
+ var PowerPointIcon = () => /* @__PURE__ */ jsxs13(
1998
2025
  "svg",
1999
2026
  {
2000
2027
  xmlns: "http://www.w3.org/2000/svg",
2001
2028
  viewBox: "0 0 48 48",
2002
2029
  className: "w-10 h-10",
2003
2030
  children: [
2004
- /* @__PURE__ */ jsx33(
2031
+ /* @__PURE__ */ jsx34(
2005
2032
  "path",
2006
2033
  {
2007
2034
  fill: "#dc4c2c",
2008
2035
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
2009
2036
  }
2010
2037
  ),
2011
- /* @__PURE__ */ jsx33("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2012
- /* @__PURE__ */ jsx33("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2013
- /* @__PURE__ */ jsx33(
2038
+ /* @__PURE__ */ jsx34("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2039
+ /* @__PURE__ */ jsx34("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2040
+ /* @__PURE__ */ jsx34(
2014
2041
  "path",
2015
2042
  {
2016
2043
  fill: "#9b341f",
2017
2044
  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"
2018
2045
  }
2019
2046
  ),
2020
- /* @__PURE__ */ jsx33(
2047
+ /* @__PURE__ */ jsx34(
2021
2048
  "path",
2022
2049
  {
2023
2050
  fill: "#fff",
@@ -2027,16 +2054,16 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs12(
2027
2054
  ]
2028
2055
  }
2029
2056
  );
2030
- var TextIcon = () => /* @__PURE__ */ jsxs12(
2057
+ var TextIcon = () => /* @__PURE__ */ jsxs13(
2031
2058
  "svg",
2032
2059
  {
2033
2060
  xmlns: "http://www.w3.org/2000/svg",
2034
2061
  viewBox: "0 0 48 48",
2035
2062
  className: "w-10 h-10",
2036
2063
  children: [
2037
- /* @__PURE__ */ jsx33("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2038
- /* @__PURE__ */ jsx33("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2039
- /* @__PURE__ */ jsx33(
2064
+ /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2065
+ /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2066
+ /* @__PURE__ */ jsx34(
2040
2067
  "path",
2041
2068
  {
2042
2069
  fill: "#1976D2",
@@ -2046,7 +2073,7 @@ var TextIcon = () => /* @__PURE__ */ jsxs12(
2046
2073
  ]
2047
2074
  }
2048
2075
  );
2049
- var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2076
+ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2050
2077
  "svg",
2051
2078
  {
2052
2079
  xmlns: "http://www.w3.org/2000/svg",
@@ -2056,14 +2083,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2056
2083
  version: "1.0",
2057
2084
  className: "w-10 h-10",
2058
2085
  children: [
2059
- /* @__PURE__ */ jsx33("defs", { children: /* @__PURE__ */ jsx33("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx33(
2086
+ /* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsx34("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx34(
2060
2087
  "path",
2061
2088
  {
2062
2089
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2063
2090
  "clip-rule": "nonzero"
2064
2091
  }
2065
2092
  ) }) }),
2066
- /* @__PURE__ */ jsx33("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx33(
2093
+ /* @__PURE__ */ jsx34("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx34(
2067
2094
  "path",
2068
2095
  {
2069
2096
  fill: "#ff9100",
@@ -2072,7 +2099,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2072
2099
  "fill-rule": "nonzero"
2073
2100
  }
2074
2101
  ) }),
2075
- /* @__PURE__ */ jsx33(
2102
+ /* @__PURE__ */ jsx34(
2076
2103
  "path",
2077
2104
  {
2078
2105
  fill: "#fbe9e7",
@@ -2081,7 +2108,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2081
2108
  "fill-rule": "nonzero"
2082
2109
  }
2083
2110
  ),
2084
- /* @__PURE__ */ jsx33(
2111
+ /* @__PURE__ */ jsx34(
2085
2112
  "path",
2086
2113
  {
2087
2114
  fill: "#ffe0b2",
@@ -2090,7 +2117,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2090
2117
  "fill-rule": "nonzero"
2091
2118
  }
2092
2119
  ),
2093
- /* @__PURE__ */ jsx33(
2120
+ /* @__PURE__ */ jsx34(
2094
2121
  "path",
2095
2122
  {
2096
2123
  fill: "#ffe0b2",
@@ -2099,7 +2126,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2099
2126
  "fill-rule": "nonzero"
2100
2127
  }
2101
2128
  ),
2102
- /* @__PURE__ */ jsx33(
2129
+ /* @__PURE__ */ jsx34(
2103
2130
  "path",
2104
2131
  {
2105
2132
  fill: "#ffe0b2",
@@ -2174,8 +2201,8 @@ var DocumentNode = (props) => {
2174
2201
  }
2175
2202
  }
2176
2203
  if (documents.length === 0) {
2177
- return /* @__PURE__ */ jsx33(Fragment6, { children: /* @__PURE__ */ jsxs12("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2178
- /* @__PURE__ */ jsx33("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
2204
+ return /* @__PURE__ */ jsx34(Fragment6, { children: /* @__PURE__ */ jsxs13("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2205
+ /* @__PURE__ */ jsx34("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
2179
2206
  "svg",
2180
2207
  {
2181
2208
  className: "w-5 h-5",
@@ -2183,7 +2210,7 @@ var DocumentNode = (props) => {
2183
2210
  stroke: "currentColor",
2184
2211
  viewBox: "0 0 24 24",
2185
2212
  xmlns: "http://www.w3.org/2000/svg",
2186
- children: /* @__PURE__ */ jsx33(
2213
+ children: /* @__PURE__ */ jsx34(
2187
2214
  "path",
2188
2215
  {
2189
2216
  strokeLinecap: "round",
@@ -2194,11 +2221,11 @@ var DocumentNode = (props) => {
2194
2221
  )
2195
2222
  }
2196
2223
  ) }),
2197
- /* @__PURE__ */ jsx33("div", { className: "text-sm font-medium", children: "No documents found" }),
2198
- /* @__PURE__ */ jsx33("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2224
+ /* @__PURE__ */ jsx34("div", { className: "text-sm font-medium", children: "No documents found" }),
2225
+ /* @__PURE__ */ jsx34("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2199
2226
  ] }) });
2200
2227
  }
2201
- return /* @__PURE__ */ jsx33("div", { className: "", children: documents.map((doc, index) => {
2228
+ return /* @__PURE__ */ jsx34("div", { className: "", children: documents.map((doc, index) => {
2202
2229
  const documentUrl = AssetUtility_default.resolveUrl(
2203
2230
  props.assetBaseUrl,
2204
2231
  doc.assetUrl
@@ -2216,16 +2243,16 @@ var DocumentNode = (props) => {
2216
2243
  }
2217
2244
  }
2218
2245
  const { Icon, extLabel } = getFileDetails(documentUrl);
2219
- return /* @__PURE__ */ jsxs12(
2246
+ return /* @__PURE__ */ jsxs13(
2220
2247
  "div",
2221
2248
  {
2222
2249
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2223
2250
  children: [
2224
- /* @__PURE__ */ jsxs12("div", { className: "flex items-center space-x-4", children: [
2225
- /* @__PURE__ */ jsx33("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx33(Icon, {}) }),
2226
- /* @__PURE__ */ jsx33("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx33("h4", { className: "text-base font-semibold", children: documentTitle }) })
2251
+ /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-4", children: [
2252
+ /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx34(Icon, {}) }),
2253
+ /* @__PURE__ */ jsx34("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx34("h4", { className: "text-base font-semibold", children: documentTitle }) })
2227
2254
  ] }),
2228
- /* @__PURE__ */ jsxs12(
2255
+ /* @__PURE__ */ jsxs13(
2229
2256
  "a",
2230
2257
  {
2231
2258
  href: documentUrl,
@@ -2233,7 +2260,7 @@ var DocumentNode = (props) => {
2233
2260
  rel: "noopener noreferrer",
2234
2261
  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",
2235
2262
  children: [
2236
- /* @__PURE__ */ jsxs12(
2263
+ /* @__PURE__ */ jsxs13(
2237
2264
  "svg",
2238
2265
  {
2239
2266
  className: "w-4 h-4 mr-2",
@@ -2241,7 +2268,7 @@ var DocumentNode = (props) => {
2241
2268
  stroke: "currentColor",
2242
2269
  viewBox: "0 0 24 24",
2243
2270
  children: [
2244
- /* @__PURE__ */ jsx33(
2271
+ /* @__PURE__ */ jsx34(
2245
2272
  "path",
2246
2273
  {
2247
2274
  strokeLinecap: "round",
@@ -2250,7 +2277,7 @@ var DocumentNode = (props) => {
2250
2277
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2251
2278
  }
2252
2279
  ),
2253
- /* @__PURE__ */ jsx33(
2280
+ /* @__PURE__ */ jsx34(
2254
2281
  "path",
2255
2282
  {
2256
2283
  strokeLinecap: "round",
@@ -2276,13 +2303,13 @@ var DocumentNode_default = DocumentNode;
2276
2303
 
2277
2304
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
2278
2305
  import dynamic10 from "next/dynamic";
2279
- import { jsx as jsx34 } from "react/jsx-runtime";
2306
+ import { jsx as jsx35 } from "react/jsx-runtime";
2280
2307
  var IframeClient2 = dynamic10(() => import("./IframeClient-WF2KLXZB.mjs"), {
2281
2308
  ssr: false
2282
2309
  });
2283
2310
  var GoogleMapNode = (props) => {
2284
2311
  let src = props.node.embedUrl;
2285
- return /* @__PURE__ */ jsx34("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx34(
2312
+ return /* @__PURE__ */ jsx35("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx35(
2286
2313
  IframeClient2,
2287
2314
  {
2288
2315
  src,
@@ -2294,7 +2321,7 @@ var GoogleMapNode = (props) => {
2294
2321
  var GoogleMapNode_default = GoogleMapNode;
2295
2322
 
2296
2323
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2297
- import { jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
2324
+ import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2298
2325
  var Pagination = dynamic11(() => import("./Pagination-T7Z2NXKO.mjs"), { ssr: true });
2299
2326
  var DataBindingControls = dynamic11(() => import("./DataBindingControls-ESDLOHNB.mjs"), {
2300
2327
  ssr: true
@@ -2553,7 +2580,7 @@ var DivContainer = async (props) => {
2553
2580
  response = await serviceClient.get(endpoint);
2554
2581
  result = response?.result;
2555
2582
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
2556
- return /* @__PURE__ */ jsx35(NoDataFound_default, {});
2583
+ return /* @__PURE__ */ jsx36(NoDataFound_default, {});
2557
2584
  }
2558
2585
  if (dataBindingProperties.childCollectionName && props.dataitem) {
2559
2586
  childCollectionData = getNestedValue6(
@@ -2573,7 +2600,7 @@ var DivContainer = async (props) => {
2573
2600
  }
2574
2601
  const SelectedNode = NodeTypes2[node.type];
2575
2602
  if (!SelectedNode) return null;
2576
- return /* @__PURE__ */ jsx35(React22.Fragment, { children: /* @__PURE__ */ jsx35(
2603
+ return /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
2577
2604
  SelectedNode,
2578
2605
  {
2579
2606
  node,
@@ -2710,7 +2737,7 @@ var DivContainer = async (props) => {
2710
2737
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
2711
2738
  );
2712
2739
  const WrapperComponent = Wrapper;
2713
- const renderedContainer = /* @__PURE__ */ jsx35(
2740
+ const renderedContainer = /* @__PURE__ */ jsx36(
2714
2741
  WrapperComponent,
2715
2742
  {
2716
2743
  id: guid,
@@ -2724,11 +2751,11 @@ var DivContainer = async (props) => {
2724
2751
  item,
2725
2752
  idx,
2726
2753
  props.href ? void 0 : item?.links?.view
2727
- )?.map((child, i) => /* @__PURE__ */ jsx35(React22.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2754
+ )?.map((child, i) => /* @__PURE__ */ jsx36(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2728
2755
  )
2729
2756
  }
2730
2757
  );
2731
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx35(
2758
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx36(
2732
2759
  Pagination,
2733
2760
  {
2734
2761
  path: props.path,
@@ -2736,15 +2763,15 @@ var DivContainer = async (props) => {
2736
2763
  dataset: response
2737
2764
  }
2738
2765
  ) : null;
2739
- return /* @__PURE__ */ jsxs13(React22.Fragment, { children: [
2740
- /* @__PURE__ */ jsx35(
2766
+ return /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2767
+ /* @__PURE__ */ jsx36(
2741
2768
  "style",
2742
2769
  {
2743
2770
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2744
2771
  }
2745
2772
  ),
2746
- showDataBindingControls ? /* @__PURE__ */ jsxs13(React22.Fragment, { children: [
2747
- /* @__PURE__ */ jsx35(
2773
+ showDataBindingControls ? /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2774
+ /* @__PURE__ */ jsx36(
2748
2775
  DataBindingControls,
2749
2776
  {
2750
2777
  mode: "toolbar",
@@ -2756,18 +2783,18 @@ var DivContainer = async (props) => {
2756
2783
  showSearchBar: dataBindingProperties?.showSearchBar
2757
2784
  }
2758
2785
  ),
2759
- /* @__PURE__ */ jsxs13(
2786
+ /* @__PURE__ */ jsxs14(
2760
2787
  "div",
2761
2788
  {
2762
2789
  className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
2763
2790
  children: [
2764
- /* @__PURE__ */ jsxs13("div", { className: "min-w-0", children: [
2791
+ /* @__PURE__ */ jsxs14("div", { className: "min-w-0", children: [
2765
2792
  renderedContainer,
2766
2793
  paginationControl
2767
2794
  ] }),
2768
- dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs13("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
2769
- /* @__PURE__ */ jsx35("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2770
- /* @__PURE__ */ jsx35(
2795
+ dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs14("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
2796
+ /* @__PURE__ */ jsx36("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2797
+ /* @__PURE__ */ jsx36(
2771
2798
  DataBindingControls,
2772
2799
  {
2773
2800
  mode: "facets",
@@ -2781,16 +2808,16 @@ var DivContainer = async (props) => {
2781
2808
  ]
2782
2809
  }
2783
2810
  )
2784
- ] }) : /* @__PURE__ */ jsxs13(React22.Fragment, { children: [
2811
+ ] }) : /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2785
2812
  renderedContainer,
2786
- paginationControl && /* @__PURE__ */ jsx35("div", { children: paginationControl })
2813
+ paginationControl && /* @__PURE__ */ jsx36("div", { children: paginationControl })
2787
2814
  ] })
2788
2815
  ] });
2789
2816
  };
2790
2817
  var DivContainer_default = DivContainer;
2791
2818
 
2792
2819
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2793
- import { jsx as jsx36 } from "react/jsx-runtime";
2820
+ import { jsx as jsx37 } from "react/jsx-runtime";
2794
2821
  var NodeTypes = {
2795
2822
  ["paragraph"]: ParagraphNode_default,
2796
2823
  ["heading"]: HeadingNode_default,
@@ -2828,14 +2855,14 @@ var PageBodyRenderer = (props) => {
2828
2855
  }
2829
2856
  return true;
2830
2857
  };
2831
- return /* @__PURE__ */ jsx36(React23.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2858
+ return /* @__PURE__ */ jsx37(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2832
2859
  {
2833
2860
  }
2834
2861
  const SelectedNode = NodeTypes[node.type];
2835
2862
  if (!shouldRenderNode(node)) {
2836
2863
  return null;
2837
2864
  }
2838
- return /* @__PURE__ */ jsx36(React23.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx36(React23.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
2865
+ return /* @__PURE__ */ jsx37(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx37(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
2839
2866
  SelectedNode,
2840
2867
  {
2841
2868
  node,
@@ -2851,7 +2878,7 @@ var PageBodyRenderer = (props) => {
2851
2878
  device: props.device,
2852
2879
  widgetRenderer: props.widgetRenderer
2853
2880
  }
2854
- ) }) : /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
2881
+ ) }) : /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
2855
2882
  SelectedNode,
2856
2883
  {
2857
2884
  node,
@@ -2921,7 +2948,7 @@ function EnterAnimationHydrator() {
2921
2948
 
2922
2949
  // src/components/Toast.tsx
2923
2950
  import { useCallback, useEffect as useEffect2, useRef, useState } from "react";
2924
- import { Fragment as Fragment7, jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
2951
+ import { Fragment as Fragment7, jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
2925
2952
  var Toast = () => {
2926
2953
  const [showToast, setShowToast] = useState(false);
2927
2954
  const [message, setMessage] = useState("");
@@ -2955,8 +2982,8 @@ var Toast = () => {
2955
2982
  });
2956
2983
  };
2957
2984
  }, [closeToast, showMessage]);
2958
- return /* @__PURE__ */ jsx37(Fragment7, { children: showToast && /* @__PURE__ */ jsx37("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__ */ jsxs14("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
2959
- /* @__PURE__ */ jsx37(
2985
+ return /* @__PURE__ */ jsx38(Fragment7, { children: showToast && /* @__PURE__ */ jsx38("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs15("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
2986
+ /* @__PURE__ */ jsx38(
2960
2987
  "span",
2961
2988
  {
2962
2989
  className: "font-medium text-inherit text-sm",
@@ -2964,7 +2991,7 @@ var Toast = () => {
2964
2991
  children: message
2965
2992
  }
2966
2993
  ),
2967
- /* @__PURE__ */ jsx37("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx37(
2994
+ /* @__PURE__ */ jsx38("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx38(
2968
2995
  "svg",
2969
2996
  {
2970
2997
  xmlns: "http://www.w3.org/2000/svg",
@@ -2972,7 +2999,7 @@ var Toast = () => {
2972
2999
  fill: "none",
2973
3000
  viewBox: "0 0 24 24",
2974
3001
  stroke: "currentColor",
2975
- children: /* @__PURE__ */ jsx37("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3002
+ children: /* @__PURE__ */ jsx38("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
2976
3003
  }
2977
3004
  ) })
2978
3005
  ] }) }) });
@@ -2982,7 +3009,7 @@ var Toast_default = Toast;
2982
3009
  // src/components/NavigationTabsV2.tsx
2983
3010
  import Link2 from "next/link";
2984
3011
  import { usePathname } from "next/navigation";
2985
- import { jsx as jsx38 } from "react/jsx-runtime";
3012
+ import { jsx as jsx39 } from "react/jsx-runtime";
2986
3013
  function resolveRoutePlaceholders(route, params) {
2987
3014
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
2988
3015
  const value = params[key];
@@ -3007,8 +3034,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3007
3034
  isActive: tab.isActive
3008
3035
  })) || [];
3009
3036
  if (mappedTabs.length === 0) return null;
3010
- return /* @__PURE__ */ jsx38("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3011
- return /* @__PURE__ */ jsx38(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx38(
3037
+ return /* @__PURE__ */ jsx39("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3038
+ return /* @__PURE__ */ jsx39(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx39(
3012
3039
  "div",
3013
3040
  {
3014
3041
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -3021,51 +3048,51 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3021
3048
  var NavigationTabsV2_default = NavigationTabsV2;
3022
3049
 
3023
3050
  // src/components/dataForm/DataList.tsx
3024
- import React27, { useEffect as useEffect3, useState as useState2, useCallback as useCallback2, useReducer } from "react";
3051
+ import React28, { useEffect as useEffect3, useState as useState2, useCallback as useCallback2, useReducer } from "react";
3025
3052
  import { useRouter } from "next/navigation";
3026
3053
 
3027
3054
  // src/components/dataForm/NoContentView.tsx
3028
- import React25 from "react";
3029
- import { jsx as jsx39 } from "react/jsx-runtime";
3055
+ import React26 from "react";
3056
+ import { jsx as jsx40 } from "react/jsx-runtime";
3030
3057
  var NoContentView = (props) => {
3031
- return /* @__PURE__ */ jsx39(React25.Fragment, { children: props.isDataFound === false && props.children });
3058
+ return /* @__PURE__ */ jsx40(React26.Fragment, { children: props.isDataFound === false && props.children });
3032
3059
  };
3033
3060
  var NoContentView_default = NoContentView;
3034
3061
 
3035
3062
  // src/components/dataForm/ContentView.tsx
3036
- import React26 from "react";
3037
- import { jsx as jsx40, jsxs as jsxs15 } from "react/jsx-runtime";
3063
+ import React27 from "react";
3064
+ import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
3038
3065
  var ContentView = (props) => {
3039
- return /* @__PURE__ */ jsxs15(React26.Fragment, { children: [
3040
- props.isDataFound == null && /* @__PURE__ */ jsx40("div", { className: "", children: /* @__PURE__ */ jsxs15("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3041
- /* @__PURE__ */ jsxs15("div", { className: "flex items-center mb-4", children: [
3042
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3043
- /* @__PURE__ */ jsxs15("div", { className: "ml-2", children: [
3044
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3045
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3066
+ return /* @__PURE__ */ jsxs16(React27.Fragment, { children: [
3067
+ props.isDataFound == null && /* @__PURE__ */ jsx41("div", { className: "", children: /* @__PURE__ */ jsxs16("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3068
+ /* @__PURE__ */ jsxs16("div", { className: "flex items-center mb-4", children: [
3069
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3070
+ /* @__PURE__ */ jsxs16("div", { className: "ml-2", children: [
3071
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3072
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3046
3073
  ] })
3047
3074
  ] }),
3048
- /* @__PURE__ */ jsxs15("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3049
- /* @__PURE__ */ jsxs15("div", { className: "animate-pulse", children: [
3050
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3051
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3052
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3053
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3054
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3075
+ /* @__PURE__ */ jsxs16("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3076
+ /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3077
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3078
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3079
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3080
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3081
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3055
3082
  ] }),
3056
- /* @__PURE__ */ jsxs15("div", { className: "animate-pulse", children: [
3057
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3058
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3059
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3060
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3061
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3083
+ /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3084
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3085
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3086
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3087
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3088
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3062
3089
  ] }),
3063
- /* @__PURE__ */ jsxs15("div", { className: "animate-pulse", children: [
3064
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3065
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3066
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3067
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3068
- /* @__PURE__ */ jsx40("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3090
+ /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3091
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3092
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3093
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3094
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3095
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3069
3096
  ] })
3070
3097
  ] })
3071
3098
  ] }) }),
@@ -3119,7 +3146,7 @@ function FormReducer(state, action) {
3119
3146
  var FormReducer_default = FormReducer;
3120
3147
 
3121
3148
  // src/components/dataForm/DataList.tsx
3122
- import { Fragment as Fragment8, jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
3149
+ import { Fragment as Fragment8, jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
3123
3150
  var DataList = (props) => {
3124
3151
  const router = useRouter();
3125
3152
  let builder = new OdataBuilder(props.path);
@@ -3157,7 +3184,7 @@ var DataList = (props) => {
3157
3184
  if (path.includes(".")) {
3158
3185
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
3159
3186
  } else if (Array.isArray(obj[path])) {
3160
- return obj[path].map((item, index) => /* @__PURE__ */ jsx41("div", { children: item }, index));
3187
+ return obj[path].map((item, index) => /* @__PURE__ */ jsx42("div", { children: item }, index));
3161
3188
  } else {
3162
3189
  return obj[path];
3163
3190
  }
@@ -3236,30 +3263,30 @@ var DataList = (props) => {
3236
3263
  const renderPageNumbers = () => {
3237
3264
  if (pages <= 10) {
3238
3265
  return Array.from({ length: pages }, (_, index) => index + 1).map(
3239
- (page) => /* @__PURE__ */ jsx41(React27.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx41(
3266
+ (page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3240
3267
  Hyperlink,
3241
3268
  {
3242
3269
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3243
3270
  href: builder.getNewPageUrl(page),
3244
3271
  children: page
3245
3272
  }
3246
- ) : /* @__PURE__ */ jsx41("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3273
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3247
3274
  );
3248
3275
  } else {
3249
3276
  const showFirstPages = activePageNumber <= 5;
3250
3277
  const showLastPages = activePageNumber > pages - 5;
3251
3278
  if (showFirstPages) {
3252
- return /* @__PURE__ */ jsxs16(Fragment8, { children: [
3253
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx41(React27.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx41(
3279
+ return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3280
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3254
3281
  Hyperlink,
3255
3282
  {
3256
3283
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3257
3284
  href: builder.getNewPageUrl(page),
3258
3285
  children: page
3259
3286
  }
3260
- ) : /* @__PURE__ */ jsx41("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3261
- /* @__PURE__ */ jsx41("span", { className: "px-2 py-1", children: "..." }),
3262
- /* @__PURE__ */ jsx41(
3287
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3288
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3289
+ /* @__PURE__ */ jsx42(
3263
3290
  Hyperlink,
3264
3291
  {
3265
3292
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3267,7 +3294,7 @@ var DataList = (props) => {
3267
3294
  children: pages - 1
3268
3295
  }
3269
3296
  ),
3270
- /* @__PURE__ */ jsx41(
3297
+ /* @__PURE__ */ jsx42(
3271
3298
  Hyperlink,
3272
3299
  {
3273
3300
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3275,7 +3302,7 @@ var DataList = (props) => {
3275
3302
  children: pages
3276
3303
  }
3277
3304
  ),
3278
- /* @__PURE__ */ jsx41("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs16(
3305
+ /* @__PURE__ */ jsx42("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3279
3306
  "select",
3280
3307
  {
3281
3308
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3287,18 +3314,18 @@ var DataList = (props) => {
3287
3314
  }
3288
3315
  },
3289
3316
  children: [
3290
- /* @__PURE__ */ jsx41("option", { className: "", value: "", children: "Jump to" }),
3317
+ /* @__PURE__ */ jsx42("option", { className: "", value: "", children: "Jump to" }),
3291
3318
  Array.from(
3292
3319
  { length: Math.max(0, pages - 10) },
3293
3320
  (_, index) => index + 9
3294
- ).map((page) => /* @__PURE__ */ jsx41("option", { value: page, children: page }, page))
3321
+ ).map((page) => /* @__PURE__ */ jsx42("option", { value: page, children: page }, page))
3295
3322
  ]
3296
3323
  }
3297
3324
  ) })
3298
3325
  ] });
3299
3326
  } else if (showLastPages) {
3300
- return /* @__PURE__ */ jsxs16(Fragment8, { children: [
3301
- /* @__PURE__ */ jsx41(
3327
+ return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3328
+ /* @__PURE__ */ jsx42(
3302
3329
  Hyperlink,
3303
3330
  {
3304
3331
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3306,7 +3333,7 @@ var DataList = (props) => {
3306
3333
  children: "1"
3307
3334
  }
3308
3335
  ),
3309
- /* @__PURE__ */ jsx41(
3336
+ /* @__PURE__ */ jsx42(
3310
3337
  Hyperlink,
3311
3338
  {
3312
3339
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3314,21 +3341,21 @@ var DataList = (props) => {
3314
3341
  children: "2"
3315
3342
  }
3316
3343
  ),
3317
- /* @__PURE__ */ jsx41("span", { className: "px-2 py-1", children: "..." }),
3344
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3318
3345
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
3319
- (page) => /* @__PURE__ */ jsx41(React27.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx41(
3346
+ (page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3320
3347
  Hyperlink,
3321
3348
  {
3322
3349
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3323
3350
  href: builder.getNewPageUrl(page),
3324
3351
  children: page
3325
3352
  }
3326
- ) : /* @__PURE__ */ jsx41("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3353
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3327
3354
  )
3328
3355
  ] });
3329
3356
  } else {
3330
- return /* @__PURE__ */ jsxs16(Fragment8, { children: [
3331
- /* @__PURE__ */ jsx41(
3357
+ return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3358
+ /* @__PURE__ */ jsx42(
3332
3359
  Hyperlink,
3333
3360
  {
3334
3361
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3336,7 +3363,7 @@ var DataList = (props) => {
3336
3363
  children: "1"
3337
3364
  }
3338
3365
  ),
3339
- /* @__PURE__ */ jsx41(
3366
+ /* @__PURE__ */ jsx42(
3340
3367
  Hyperlink,
3341
3368
  {
3342
3369
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3344,20 +3371,20 @@ var DataList = (props) => {
3344
3371
  children: "2"
3345
3372
  }
3346
3373
  ),
3347
- /* @__PURE__ */ jsx41("span", { className: "px-2 py-1", children: "..." }),
3374
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3348
3375
  Array.from(
3349
3376
  { length: 5 },
3350
3377
  (_, index) => activePageNumber - 2 + index
3351
- ).map((page) => /* @__PURE__ */ jsx41(React27.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx41(
3378
+ ).map((page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3352
3379
  Hyperlink,
3353
3380
  {
3354
3381
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3355
3382
  href: builder.getNewPageUrl(page),
3356
3383
  children: page
3357
3384
  }
3358
- ) : /* @__PURE__ */ jsx41("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3359
- /* @__PURE__ */ jsx41("span", { className: "px-2 py-1", children: "..." }),
3360
- /* @__PURE__ */ jsx41(
3385
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3386
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3387
+ /* @__PURE__ */ jsx42(
3361
3388
  Hyperlink,
3362
3389
  {
3363
3390
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3365,7 +3392,7 @@ var DataList = (props) => {
3365
3392
  children: pages - 1
3366
3393
  }
3367
3394
  ),
3368
- /* @__PURE__ */ jsx41(
3395
+ /* @__PURE__ */ jsx42(
3369
3396
  Hyperlink,
3370
3397
  {
3371
3398
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3373,7 +3400,7 @@ var DataList = (props) => {
3373
3400
  children: pages
3374
3401
  }
3375
3402
  ),
3376
- /* @__PURE__ */ jsx41("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs16(
3403
+ /* @__PURE__ */ jsx42("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3377
3404
  "select",
3378
3405
  {
3379
3406
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3385,8 +3412,8 @@ var DataList = (props) => {
3385
3412
  }
3386
3413
  },
3387
3414
  children: [
3388
- /* @__PURE__ */ jsx41("option", { value: "", children: "Jump to" }),
3389
- Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx41("option", { value: page, children: page }, page))
3415
+ /* @__PURE__ */ jsx42("option", { value: "", children: "Jump to" }),
3416
+ Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx42("option", { value: page, children: page }, page))
3390
3417
  ]
3391
3418
  }
3392
3419
  ) })
@@ -3394,16 +3421,16 @@ var DataList = (props) => {
3394
3421
  }
3395
3422
  }
3396
3423
  };
3397
- return /* @__PURE__ */ jsxs16(React27.Fragment, { children: [
3398
- /* @__PURE__ */ jsxs16(ContentView_default, { isDataFound, children: [
3399
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs16(
3424
+ return /* @__PURE__ */ jsxs17(React28.Fragment, { children: [
3425
+ /* @__PURE__ */ jsxs17(ContentView_default, { isDataFound, children: [
3426
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs17(
3400
3427
  "div",
3401
3428
  {
3402
3429
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
3403
3430
  children: [
3404
- props.title ? /* @__PURE__ */ jsx41("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx41("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx41("div", {}),
3405
- /* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-3", children: [
3406
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx41(
3431
+ props.title ? /* @__PURE__ */ jsx42("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx42("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx42("div", {}),
3432
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3433
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx42(
3407
3434
  InputControl_default,
3408
3435
  {
3409
3436
  name: "Search_input",
@@ -3415,7 +3442,7 @@ var DataList = (props) => {
3415
3442
  }
3416
3443
  }
3417
3444
  ),
3418
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx41(
3445
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx42(
3419
3446
  InputControl_default,
3420
3447
  {
3421
3448
  name: filter.name,
@@ -3430,15 +3457,15 @@ var DataList = (props) => {
3430
3457
  },
3431
3458
  filter.name
3432
3459
  )),
3433
- props.addLinkHref && /* @__PURE__ */ jsxs16(
3460
+ props.addLinkHref && /* @__PURE__ */ jsxs17(
3434
3461
  Hyperlink,
3435
3462
  {
3436
3463
  className: "gap-1",
3437
3464
  linkType: "Primary" /* Solid */,
3438
3465
  href: props.addLinkHref,
3439
3466
  children: [
3440
- /* @__PURE__ */ jsx41(Icon_default, { name: "plus", className: "w-4 h-4" }),
3441
- /* @__PURE__ */ jsx41("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3467
+ /* @__PURE__ */ jsx42(Icon_default, { name: "plus", className: "w-4 h-4" }),
3468
+ /* @__PURE__ */ jsx42("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3442
3469
  ]
3443
3470
  }
3444
3471
  )
@@ -3446,8 +3473,8 @@ var DataList = (props) => {
3446
3473
  ]
3447
3474
  }
3448
3475
  ),
3449
- /* @__PURE__ */ jsx41("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs16("table", { className: "w-full divide-y divide-gray-200", children: [
3450
- /* @__PURE__ */ jsx41("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsx41("tr", { children: props?.columns?.map((column) => {
3476
+ /* @__PURE__ */ jsx42("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs17("table", { className: "w-full divide-y divide-gray-200", children: [
3477
+ /* @__PURE__ */ jsx42("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsx42("tr", { children: props?.columns?.map((column) => {
3451
3478
  let url = builder.getNewOrderByUrl(column.name);
3452
3479
  let icon = "chevronUpDown";
3453
3480
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3457,18 +3484,18 @@ var DataList = (props) => {
3457
3484
  icon = "chevronUp";
3458
3485
  url = builder.getNewOrderByUrl(column.name + " desc");
3459
3486
  }
3460
- return /* @__PURE__ */ jsx41(
3487
+ return /* @__PURE__ */ jsx42(
3461
3488
  "th",
3462
3489
  {
3463
3490
  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" : ""),
3464
- children: /* @__PURE__ */ jsx41(
3491
+ children: /* @__PURE__ */ jsx42(
3465
3492
  Hyperlink,
3466
3493
  {
3467
3494
  href: column.enableSorting ? url : void 0,
3468
3495
  className: "!text-neutral-contrast ",
3469
- children: /* @__PURE__ */ jsxs16("span", { className: "flex items-center space-x-1", children: [
3470
- /* @__PURE__ */ jsx41("span", { className: "text-black", children: column.label }),
3471
- column.enableSorting && /* @__PURE__ */ jsx41(Icon_default, { className: "w-4 h-4", name: icon })
3496
+ children: /* @__PURE__ */ jsxs17("span", { className: "flex items-center space-x-1", children: [
3497
+ /* @__PURE__ */ jsx42("span", { className: "text-black", children: column.label }),
3498
+ column.enableSorting && /* @__PURE__ */ jsx42(Icon_default, { className: "w-4 h-4", name: icon })
3472
3499
  ] })
3473
3500
  }
3474
3501
  )
@@ -3476,22 +3503,22 @@ var DataList = (props) => {
3476
3503
  column.name
3477
3504
  );
3478
3505
  }) }) }),
3479
- /* @__PURE__ */ jsx41("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3506
+ /* @__PURE__ */ jsx42("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3480
3507
  let validityClass = "";
3481
3508
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
3482
3509
  validityClass = "bg-alert-200";
3483
3510
  }
3484
- return /* @__PURE__ */ jsx41("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
3485
- return /* @__PURE__ */ jsx41(React27.Fragment, { children: /* @__PURE__ */ jsx41(
3511
+ return /* @__PURE__ */ jsx42("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
3512
+ return /* @__PURE__ */ jsx42(React28.Fragment, { children: /* @__PURE__ */ jsx42(
3486
3513
  "td",
3487
3514
  {
3488
3515
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
3489
- children: column.addhref === true ? /* @__PURE__ */ jsx41(
3516
+ children: column.addhref === true ? /* @__PURE__ */ jsx42(
3490
3517
  Hyperlink,
3491
3518
  {
3492
3519
  className: "",
3493
3520
  href: `https://${dataitem[column.name]}`,
3494
- children: /* @__PURE__ */ jsx41(
3521
+ children: /* @__PURE__ */ jsx42(
3495
3522
  ViewControl_default,
3496
3523
  {
3497
3524
  controlType: column.controlType,
@@ -3504,11 +3531,11 @@ var DataList = (props) => {
3504
3531
  }
3505
3532
  )
3506
3533
  }
3507
- ) : column.showAsLink ? /* @__PURE__ */ jsx41(
3534
+ ) : column.showAsLink ? /* @__PURE__ */ jsx42(
3508
3535
  Hyperlink,
3509
3536
  {
3510
3537
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
3511
- children: /* @__PURE__ */ jsx41(
3538
+ children: /* @__PURE__ */ jsx42(
3512
3539
  ViewControl_default,
3513
3540
  {
3514
3541
  controlType: column.controlType,
@@ -3518,7 +3545,7 @@ var DataList = (props) => {
3518
3545
  }
3519
3546
  )
3520
3547
  }
3521
- ) : /* @__PURE__ */ jsx41(
3548
+ ) : /* @__PURE__ */ jsx42(
3522
3549
  ViewControl_default,
3523
3550
  {
3524
3551
  controlType: column.controlType,
@@ -3532,10 +3559,10 @@ var DataList = (props) => {
3532
3559
  }) }, index);
3533
3560
  }) })
3534
3561
  ] }) }),
3535
- /* @__PURE__ */ jsx41("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs16("div", { className: "flex items-center justify-between", children: [
3536
- /* @__PURE__ */ jsx41("div", { className: "text-gray-700", children: label }),
3537
- /* @__PURE__ */ jsxs16("div", { className: "flex space-x-2 items-center", children: [
3538
- activePageNumber > 1 && /* @__PURE__ */ jsx41(
3562
+ /* @__PURE__ */ jsx42("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs17("div", { className: "flex items-center justify-between", children: [
3563
+ /* @__PURE__ */ jsx42("div", { className: "text-gray-700", children: label }),
3564
+ /* @__PURE__ */ jsxs17("div", { className: "flex space-x-2 items-center", children: [
3565
+ activePageNumber > 1 && /* @__PURE__ */ jsx42(
3539
3566
  Hyperlink,
3540
3567
  {
3541
3568
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3543,9 +3570,9 @@ var DataList = (props) => {
3543
3570
  children: "Prev"
3544
3571
  }
3545
3572
  ),
3546
- activePageNumber <= 1 && /* @__PURE__ */ jsx41("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" }),
3573
+ activePageNumber <= 1 && /* @__PURE__ */ jsx42("div", { className: "px-3 py-1 rounded-l-md border border-gray-300 bg-gray-200 text-gray-500 hover:bg-gray-200", children: "Prev" }),
3547
3574
  renderPageNumbers(),
3548
- activePageNumber < pages && /* @__PURE__ */ jsx41(
3575
+ activePageNumber < pages && /* @__PURE__ */ jsx42(
3549
3576
  Hyperlink,
3550
3577
  {
3551
3578
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3553,19 +3580,19 @@ var DataList = (props) => {
3553
3580
  children: "Next"
3554
3581
  }
3555
3582
  ),
3556
- activePageNumber >= pages && /* @__PURE__ */ jsx41("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3583
+ activePageNumber >= pages && /* @__PURE__ */ jsx42("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3557
3584
  ] })
3558
3585
  ] }) })
3559
3586
  ] }),
3560
- /* @__PURE__ */ jsxs16(NoContentView_default, { isDataFound, children: [
3561
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs16(
3587
+ /* @__PURE__ */ jsxs17(NoContentView_default, { isDataFound, children: [
3588
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs17(
3562
3589
  "div",
3563
3590
  {
3564
3591
  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`,
3565
3592
  children: [
3566
- props.title ? /* @__PURE__ */ jsx41("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx41("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx41("div", {}),
3567
- /* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-3", children: [
3568
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx41(
3593
+ props.title ? /* @__PURE__ */ jsx42("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx42("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx42("div", {}),
3594
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3595
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx42(
3569
3596
  InputControl_default,
3570
3597
  {
3571
3598
  name: "Search_input",
@@ -3577,7 +3604,7 @@ var DataList = (props) => {
3577
3604
  }
3578
3605
  }
3579
3606
  ),
3580
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx41(
3607
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx42(
3581
3608
  InputControl_default,
3582
3609
  {
3583
3610
  name: filter.name,
@@ -3592,15 +3619,15 @@ var DataList = (props) => {
3592
3619
  },
3593
3620
  filter.name
3594
3621
  )),
3595
- props.addLinkHref && /* @__PURE__ */ jsxs16(
3622
+ props.addLinkHref && /* @__PURE__ */ jsxs17(
3596
3623
  Hyperlink,
3597
3624
  {
3598
3625
  className: "gap-1",
3599
3626
  linkType: "Primary" /* Solid */,
3600
3627
  href: props.addLinkHref,
3601
3628
  children: [
3602
- /* @__PURE__ */ jsx41(Icon_default, { name: "plus", className: "w-4 h-4" }),
3603
- /* @__PURE__ */ jsx41("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3629
+ /* @__PURE__ */ jsx42(Icon_default, { name: "plus", className: "w-4 h-4" }),
3630
+ /* @__PURE__ */ jsx42("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3604
3631
  ]
3605
3632
  }
3606
3633
  )
@@ -3608,8 +3635,8 @@ var DataList = (props) => {
3608
3635
  ]
3609
3636
  }
3610
3637
  ),
3611
- /* @__PURE__ */ jsxs16("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3612
- /* @__PURE__ */ jsx41("div", { children: /* @__PURE__ */ jsx41("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx41("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx41("tr", { children: props?.columns?.map((column) => {
3638
+ /* @__PURE__ */ jsxs17("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3639
+ /* @__PURE__ */ jsx42("div", { children: /* @__PURE__ */ jsx42("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx42("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx42("tr", { children: props?.columns?.map((column) => {
3613
3640
  let url = builder.getNewOrderByUrl(column.name);
3614
3641
  let icon = "chevronUpDown";
3615
3642
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3619,18 +3646,18 @@ var DataList = (props) => {
3619
3646
  icon = "chevronUp";
3620
3647
  url = builder.getNewOrderByUrl(column.name + " desc");
3621
3648
  }
3622
- return /* @__PURE__ */ jsx41(
3649
+ return /* @__PURE__ */ jsx42(
3623
3650
  "th",
3624
3651
  {
3625
3652
  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" : ""),
3626
- children: /* @__PURE__ */ jsx41(
3653
+ children: /* @__PURE__ */ jsx42(
3627
3654
  Hyperlink,
3628
3655
  {
3629
3656
  href: column.enableSorting ? url : void 0,
3630
3657
  className: "text-body-950",
3631
- children: /* @__PURE__ */ jsxs16("span", { className: "flex items-center space-x-1", children: [
3632
- /* @__PURE__ */ jsx41("span", { children: column.label }),
3633
- column.enableSorting && /* @__PURE__ */ jsx41(Icon_default, { className: "w-4 h-4", name: icon })
3658
+ children: /* @__PURE__ */ jsxs17("span", { className: "flex items-center space-x-1", children: [
3659
+ /* @__PURE__ */ jsx42("span", { children: column.label }),
3660
+ column.enableSorting && /* @__PURE__ */ jsx42(Icon_default, { className: "w-4 h-4", name: icon })
3634
3661
  ] })
3635
3662
  }
3636
3663
  )
@@ -3638,7 +3665,7 @@ var DataList = (props) => {
3638
3665
  column.name
3639
3666
  );
3640
3667
  }) }) }) }) }),
3641
- /* @__PURE__ */ jsx41("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3668
+ /* @__PURE__ */ jsx42("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3642
3669
  ] })
3643
3670
  ] })
3644
3671
  ] });
@@ -3646,9 +3673,9 @@ var DataList = (props) => {
3646
3673
  var DataList_default = DataList;
3647
3674
 
3648
3675
  // src/components/dataForm/DataListRenderer.tsx
3649
- import React28, { useState as useState3, useEffect as useEffect4 } from "react";
3676
+ import React29, { useState as useState3, useEffect as useEffect4 } from "react";
3650
3677
  import { usePathname as usePathname2 } from "next/navigation";
3651
- import { jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
3678
+ import { jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
3652
3679
  var viewControlMap = {
3653
3680
  number: ViewControlTypes.number,
3654
3681
  lineText: ViewControlTypes.lineText,
@@ -3743,13 +3770,13 @@ var DataListRenderer = ({
3743
3770
  isActive: landingPageUrl === pathname
3744
3771
  };
3745
3772
  });
3746
- return /* @__PURE__ */ jsxs17(React28.Fragment, { children: [
3773
+ return /* @__PURE__ */ jsxs18(React29.Fragment, { children: [
3747
3774
  resolvedTabs.length > 0 && // <NavigationTabsV2
3748
3775
  // tabs={resolvedTabs}
3749
3776
  // params={(widgetProps?.params ?? params) as Record<string, any>}
3750
3777
  // />
3751
- /* @__PURE__ */ jsx42(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3752
- /* @__PURE__ */ jsx42(
3778
+ /* @__PURE__ */ jsx43(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3779
+ /* @__PURE__ */ jsx43(
3753
3780
  DataList_default,
3754
3781
  {
3755
3782
  addLinkHref,
@@ -3768,10 +3795,10 @@ var DataListRenderer = ({
3768
3795
  var DataListRenderer_default = DataListRenderer;
3769
3796
 
3770
3797
  // src/components/dataForm/DataForm.tsx
3771
- import React30, { useCallback as useCallback4, useEffect as useEffect5, useReducer as useReducer2, useRef as useRef2 } from "react";
3798
+ import React31, { useCallback as useCallback4, useEffect as useEffect5, useReducer as useReducer2, useRef as useRef2 } from "react";
3772
3799
 
3773
3800
  // src/components/dataForm/DataFormChildSection.tsx
3774
- import React29, { useCallback as useCallback3 } from "react";
3801
+ import React30, { useCallback as useCallback3 } from "react";
3775
3802
 
3776
3803
  // src/components/dataForm/StyleTypes.tsx
3777
3804
  var StyleTypes2 = /* @__PURE__ */ ((StyleTypes3) => {
@@ -3794,7 +3821,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
3794
3821
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
3795
3822
 
3796
3823
  // src/components/dataForm/DataFormChildSection.tsx
3797
- import { jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
3824
+ import { jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
3798
3825
  var DataFormChildSection = (props) => {
3799
3826
  const { section } = props;
3800
3827
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -3862,14 +3889,14 @@ var DataFormChildSection = (props) => {
3862
3889
  childItemsToRender,
3863
3890
  allChildItems: childItems
3864
3891
  });
3865
- return /* @__PURE__ */ jsx43(React29.Fragment, { children: /* @__PURE__ */ jsxs18("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
3866
- section.sectionTitle && /* @__PURE__ */ jsx43("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
3867
- /* @__PURE__ */ jsx43("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col justify-between gap-2", children: [
3868
- /* @__PURE__ */ jsx43("div", { children: /* @__PURE__ */ jsxs18("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
3869
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx43("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
3870
- return /* @__PURE__ */ jsxs18("tr", { className: "", children: [
3892
+ return /* @__PURE__ */ jsx44(React30.Fragment, { children: /* @__PURE__ */ jsxs19("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
3893
+ section.sectionTitle && /* @__PURE__ */ jsx44("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
3894
+ /* @__PURE__ */ jsx44("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs19("div", { className: "flex flex-col justify-between gap-2", children: [
3895
+ /* @__PURE__ */ jsx44("div", { children: /* @__PURE__ */ jsxs19("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
3896
+ (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx44("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
3897
+ return /* @__PURE__ */ jsxs19("tr", { className: "", children: [
3871
3898
  sectionRow.elements.map((field, index) => {
3872
- return /* @__PURE__ */ jsx43(
3899
+ return /* @__PURE__ */ jsx44(
3873
3900
  "th",
3874
3901
  {
3875
3902
  className: "py-3 font-normal text-left",
@@ -3878,21 +3905,21 @@ var DataFormChildSection = (props) => {
3878
3905
  field.name
3879
3906
  );
3880
3907
  }),
3881
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx43("th", { className: "py-3 font-normal text-left", children: "Actions" })
3908
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("th", { className: "py-3 font-normal text-left", children: "Actions" })
3882
3909
  ] }, sectionRowIndex);
3883
3910
  }) }),
3884
- /* @__PURE__ */ jsx43("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
3911
+ /* @__PURE__ */ jsx44("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
3885
3912
  const { item, originalIndex } = visibleItem;
3886
3913
  const rowKey = originalIndex;
3887
- return /* @__PURE__ */ jsx43(React29.Fragment, { children: section.sectionRows.map(
3914
+ return /* @__PURE__ */ jsx44(React30.Fragment, { children: section.sectionRows.map(
3888
3915
  (sectionRow, sectionRowIndex) => {
3889
- return /* @__PURE__ */ jsxs18(
3916
+ return /* @__PURE__ */ jsxs19(
3890
3917
  "tr",
3891
3918
  {
3892
3919
  className: "",
3893
3920
  children: [
3894
3921
  sectionRow.elements.map((field, index) => {
3895
- return /* @__PURE__ */ jsx43("td", { children: /* @__PURE__ */ jsx43("div", { className: "flex-1", children: /* @__PURE__ */ jsx43("div", { className: "w-11/12", children: /* @__PURE__ */ jsx43(
3922
+ return /* @__PURE__ */ jsx44("td", { children: /* @__PURE__ */ jsx44("div", { className: "flex-1", children: /* @__PURE__ */ jsx44("div", { className: "w-11/12", children: /* @__PURE__ */ jsx44(
3896
3923
  InputControl_default,
3897
3924
  {
3898
3925
  index: filteredIndex,
@@ -3912,7 +3939,7 @@ var DataFormChildSection = (props) => {
3912
3939
  }
3913
3940
  ) }) }) }, field.name);
3914
3941
  }),
3915
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx43("td", { children: /* @__PURE__ */ jsx43(
3942
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("td", { children: /* @__PURE__ */ jsx44(
3916
3943
  ClientButton_default,
3917
3944
  {
3918
3945
  ButtonType: StyleTypes2.Hollow,
@@ -3921,7 +3948,7 @@ var DataFormChildSection = (props) => {
3921
3948
  },
3922
3949
  dataRole: "delete",
3923
3950
  tabIndex: -1,
3924
- children: /* @__PURE__ */ jsx43(
3951
+ children: /* @__PURE__ */ jsx44(
3925
3952
  Icon_default,
3926
3953
  {
3927
3954
  className: "w-4 h-4",
@@ -3938,7 +3965,7 @@ var DataFormChildSection = (props) => {
3938
3965
  ) }, rowKey);
3939
3966
  }) })
3940
3967
  ] }) }),
3941
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx43("div", { className: "ml-1", children: /* @__PURE__ */ jsx43(
3968
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("div", { className: "ml-1", children: /* @__PURE__ */ jsx44(
3942
3969
  ClientButton_default,
3943
3970
  {
3944
3971
  ButtonType: "Link" /* Link */,
@@ -3953,7 +3980,7 @@ var DataFormChildSection = (props) => {
3953
3980
  var DataFormChildSection_default = DataFormChildSection;
3954
3981
 
3955
3982
  // src/components/dataForm/DataForm.tsx
3956
- import { jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
3983
+ import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
3957
3984
  var DataForm = (props) => {
3958
3985
  const formRef = useRef2(null);
3959
3986
  console.log(props.dataItem, "dssads");
@@ -4173,19 +4200,19 @@ var DataForm = (props) => {
4173
4200
  return false;
4174
4201
  }
4175
4202
  }
4176
- return /* @__PURE__ */ jsx44(React30.Fragment, { children: /* @__PURE__ */ jsxs19("div", { className: "flex-grow flex flex-col", children: [
4177
- props.title && /* @__PURE__ */ jsx44("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__ */ jsxs19(
4203
+ return /* @__PURE__ */ jsx45(React31.Fragment, { children: /* @__PURE__ */ jsxs20("div", { className: "flex-grow flex flex-col", children: [
4204
+ props.title && /* @__PURE__ */ jsx45("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ jsxs20(
4178
4205
  "div",
4179
4206
  {
4180
4207
  className: "inline-flex items-center gap-2 cursor-pointer",
4181
4208
  onClick: () => window.history.back(),
4182
4209
  children: [
4183
- /* @__PURE__ */ jsx44(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4184
- /* @__PURE__ */ jsx44("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4210
+ /* @__PURE__ */ jsx45(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4211
+ /* @__PURE__ */ jsx45("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4185
4212
  ]
4186
4213
  }
4187
4214
  ) }),
4188
- /* @__PURE__ */ jsx44(
4215
+ /* @__PURE__ */ jsx45(
4189
4216
  "form",
4190
4217
  {
4191
4218
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -4206,8 +4233,8 @@ var DataForm = (props) => {
4206
4233
  }
4207
4234
  }
4208
4235
  },
4209
- children: /* @__PURE__ */ jsx44("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4210
- return /* @__PURE__ */ jsx44(React30.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs19("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4236
+ children: /* @__PURE__ */ jsx45("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4237
+ return /* @__PURE__ */ jsx45(React31.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs20("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4211
4238
  section.sectionRows?.map(
4212
4239
  (sectionRow, sectionRowIndex) => {
4213
4240
  const elementsCount = sectionRow.elements.length;
@@ -4218,14 +4245,14 @@ var DataForm = (props) => {
4218
4245
  sectionRow.visible
4219
4246
  );
4220
4247
  }
4221
- return /* @__PURE__ */ jsx44(React30.Fragment, { children: isVisible && /* @__PURE__ */ jsx44("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4222
- return /* @__PURE__ */ jsxs19(
4248
+ return /* @__PURE__ */ jsx45(React31.Fragment, { children: isVisible && /* @__PURE__ */ jsx45("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4249
+ return /* @__PURE__ */ jsxs20(
4223
4250
  "div",
4224
4251
  {
4225
4252
  className: sectionRow.grow ? "grow" : "",
4226
4253
  children: [
4227
- /* @__PURE__ */ jsx44("div", { children: field.controlType }),
4228
- /* @__PURE__ */ jsx44(
4254
+ /* @__PURE__ */ jsx45("div", { children: field.controlType }),
4255
+ /* @__PURE__ */ jsx45(
4229
4256
  InputControl_default,
4230
4257
  {
4231
4258
  name: field.name,
@@ -4255,12 +4282,12 @@ var DataForm = (props) => {
4255
4282
  }) }) }, sectionRowIndex);
4256
4283
  }
4257
4284
  ),
4258
- /* @__PURE__ */ jsx44("div", { children: section.childSections?.map(
4285
+ /* @__PURE__ */ jsx45("div", { children: section.childSections?.map(
4259
4286
  (childSection, childSectionIndex) => {
4260
- return /* @__PURE__ */ jsx44("div", { children: childSection.name && evalutateCondition(
4287
+ return /* @__PURE__ */ jsx45("div", { children: childSection.name && evalutateCondition(
4261
4288
  formState.inputValues,
4262
4289
  childSection.visible
4263
- ) && /* @__PURE__ */ jsx44(
4290
+ ) && /* @__PURE__ */ jsx45(
4264
4291
  DataFormChildSection_default,
4265
4292
  {
4266
4293
  section: childSection,
@@ -4275,8 +4302,8 @@ var DataForm = (props) => {
4275
4302
  }) })
4276
4303
  }
4277
4304
  ),
4278
- /* @__PURE__ */ jsxs19("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4279
- /* @__PURE__ */ jsx44("div", { children: props.additionalActions && /* @__PURE__ */ jsx44(
4305
+ /* @__PURE__ */ jsxs20("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4306
+ /* @__PURE__ */ jsx45("div", { children: props.additionalActions && /* @__PURE__ */ jsx45(
4280
4307
  Button_default,
4281
4308
  {
4282
4309
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4284,7 +4311,7 @@ var DataForm = (props) => {
4284
4311
  children: props.additionalActions.title
4285
4312
  }
4286
4313
  ) }),
4287
- /* @__PURE__ */ jsx44("div", { children: props.onDelete && /* @__PURE__ */ jsx44(
4314
+ /* @__PURE__ */ jsx45("div", { children: props.onDelete && /* @__PURE__ */ jsx45(
4288
4315
  Button_default,
4289
4316
  {
4290
4317
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4295,7 +4322,7 @@ var DataForm = (props) => {
4295
4322
  children: "Delete"
4296
4323
  }
4297
4324
  ) }),
4298
- /* @__PURE__ */ jsx44("div", { children: props.onClick && /* @__PURE__ */ jsx44(
4325
+ /* @__PURE__ */ jsx45("div", { children: props.onClick && /* @__PURE__ */ jsx45(
4299
4326
  Button_default,
4300
4327
  {
4301
4328
  onValidate,
@@ -4312,7 +4339,7 @@ var DataForm = (props) => {
4312
4339
  var DataForm_default = DataForm;
4313
4340
 
4314
4341
  // src/components/dataForm/DataFormRenderer.tsx
4315
- import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
4342
+ import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4316
4343
  function getAction(actions, code) {
4317
4344
  return actions?.find((a) => a.actionCode === code);
4318
4345
  }
@@ -4338,9 +4365,9 @@ var DataFormRenderer = ({
4338
4365
  "Delete"
4339
4366
  );
4340
4367
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
4341
- return /* @__PURE__ */ jsxs20("div", { className: "flex-grow flex flex-col", children: [
4342
- widgetProps && /* @__PURE__ */ jsx45(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4343
- /* @__PURE__ */ jsx45(
4368
+ return /* @__PURE__ */ jsxs21("div", { className: "flex-grow flex flex-col", children: [
4369
+ widgetProps && /* @__PURE__ */ jsx46(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4370
+ /* @__PURE__ */ jsx46(
4344
4371
  DataForm_default,
4345
4372
  {
4346
4373
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",