@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260827101734 → 0.8.1-dev.20260829044749

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
@@ -5,9 +5,9 @@ import {
5
5
  } from "./chunk-X5ERUUQV.mjs";
6
6
  import {
7
7
  InputControl_default
8
- } from "./chunk-GKI42H4B.mjs";
8
+ } from "./chunk-GGG5MJLN.mjs";
9
+ import "./chunk-JDX47MFV.mjs";
9
10
  import {
10
- AssetUtility_default,
11
11
  BooleanSelect_default,
12
12
  CheckboxInput_default,
13
13
  ColorInput_default,
@@ -26,7 +26,7 @@ import {
26
26
  Select_default,
27
27
  Switcher_default,
28
28
  TimeInput_default
29
- } from "./chunk-GJOJX2O3.mjs";
29
+ } from "./chunk-XTG4JW2O.mjs";
30
30
  import {
31
31
  Hyperlink,
32
32
  Icon_default
@@ -35,6 +35,9 @@ import {
35
35
  Constants,
36
36
  InputControlType_default
37
37
  } from "./chunk-E4VOFO5Q.mjs";
38
+ import {
39
+ AssetUtility_default
40
+ } from "./chunk-UPCAOGEY.mjs";
38
41
  import {
39
42
  ServiceClient_default
40
43
  } from "./chunk-TKDSRAM6.mjs";
@@ -46,7 +49,7 @@ import {
46
49
  import "./chunk-IMNQO57B.mjs";
47
50
 
48
51
  // src/components/controls/view/ViewControl.tsx
49
- import React16 from "react";
52
+ import React14 from "react";
50
53
 
51
54
  // src/components/controls/view/ViewControlTypes.tsx
52
55
  var ViewControlTypes = {
@@ -407,577 +410,14 @@ var TimeUntilStarts = dynamic4(() => import("./TimeUntilStartsClient-5HGQ5JKM.mj
407
410
  var TimeUntilStarts_default = TimeUntilStarts;
408
411
 
409
412
  // src/components/controls/view/Commentrenderer.tsx
410
- import React15 from "react";
411
-
412
- // src/components/controls/view/commentTypes.ts
413
- var isTextNode = (node) => {
414
- return !!node && typeof node === "object" && node.type === "text";
415
- };
416
- var asElementNode = (node) => node;
417
-
418
- // src/components/controls/view/commentParser.ts
419
- var parseSerializedContent = (raw) => {
420
- if (raw === null || raw === void 0) {
421
- return [];
422
- }
423
- let value = raw;
424
- if (typeof raw === "string") {
425
- const trimmed = raw.trim();
426
- if (!trimmed) {
427
- return [];
428
- }
429
- if (trimmed.startsWith("{") || trimmed.startsWith("[")) {
430
- try {
431
- value = JSON.parse(trimmed);
432
- } catch {
433
- return [{ type: "paragraph", children: [{ type: "text", text: raw }] }];
434
- }
435
- } else {
436
- return [{ type: "paragraph", children: [{ type: "text", text: raw }] }];
437
- }
438
- }
439
- if (Array.isArray(value)) {
440
- return value;
441
- }
442
- if (value && typeof value === "object") {
443
- const children = value.children;
444
- if (Array.isArray(children)) {
445
- return children;
446
- }
447
- }
448
- return [];
449
- };
450
-
451
- // src/components/controls/view/CommentNodeRenderer.tsx
452
- import React14 from "react";
453
-
454
- // src/components/controls/view/CommentImageNode.tsx
455
- import { jsx as jsx15 } from "react/jsx-runtime";
456
- var CommentImageNode = ({ node, assetBaseUrl }) => {
457
- const rawUrl = typeof node.url === "string" && node.url || typeof node.src === "string" && node.src || typeof node.assetUrl === "string" && node.assetUrl || "";
458
- if (!rawUrl) {
459
- return null;
460
- }
461
- const resolvedUrl = AssetUtility_default.resolveUrl(assetBaseUrl, rawUrl);
462
- if (!resolvedUrl) {
463
- return null;
464
- }
465
- console.log("resolvedUrl", resolvedUrl);
466
- const alt = typeof node.fileName === "string" && node.fileName || typeof node.altText === "string" && node.altText || typeof node.alt === "string" && node.alt || "";
467
- return /* @__PURE__ */ jsx15(
468
- "img",
469
- {
470
- className: "comment-node-image",
471
- src: resolvedUrl,
472
- alt,
473
- loading: "lazy",
474
- style: { maxWidth: "100%", height: "auto", display: "block" }
475
- }
476
- );
477
- };
478
- var CommentImageNode_default = CommentImageNode;
479
-
480
- // src/components/controls/view/FileIcon.tsx
481
- import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
482
- var PdfIcon = () => /* @__PURE__ */ jsxs6(
483
- "svg",
484
- {
485
- xmlns: "http://www.w3.org/2000/svg",
486
- viewBox: "0 0 48 48",
487
- className: "w-10 h-10",
488
- children: [
489
- /* @__PURE__ */ jsx16(
490
- "path",
491
- {
492
- fill: "#e53935",
493
- 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"
494
- }
495
- ),
496
- /* @__PURE__ */ jsx16(
497
- "path",
498
- {
499
- fill: "#fff",
500
- d: "M34.841,26.799c-1.692-1.757-6.314-1.041-7.42-0.911c-1.627-1.562-2.734-3.45-3.124-4.101 c0.586-1.757,0.976-3.515,1.041-5.402c0-1.627-0.651-3.385-2.473-3.385c-0.651,0-1.237,0.391-1.562,0.911 c-0.781,1.367-0.456,4.101,0.781,6.899c-0.716,2.018-1.367,3.97-3.189,7.42c-1.888,0.781-5.858,2.604-6.183,4.556 c-0.13,0.586,0.065,1.172,0.521,1.627C13.688,34.805,14.273,35,14.859,35c2.408,0,4.751-3.32,6.379-6.118 c1.367-0.456,3.515-1.107,5.663-1.497c2.538,2.213,4.751,2.538,5.923,2.538c1.562,0,2.148-0.651,2.343-1.237 C35.492,28.036,35.297,27.32,34.841,26.799z M33.214,27.905c-0.065,0.456-0.651,0.911-1.692,0.651 c-1.237-0.325-2.343-0.911-3.32-1.692c0.846-0.13,2.734-0.325,4.101-0.065C32.824,26.929,33.344,27.254,33.214,27.905z M22.344,14.497c0.13-0.195,0.325-0.325,0.521-0.325c0.586,0,0.716,0.716,0.716,1.302c-0.065,1.367-0.325,2.734-0.781,4.036 C21.824,16.905,22.019,15.083,22.344,14.497z M22.214,27.124c0.521-1.041,1.237-2.864,1.497-3.645 c0.586,0.976,1.562,2.148,2.083,2.669C25.794,26.213,23.776,26.604,22.214,27.124z M18.374,29.728 c-1.497,2.473-3.059,4.036-3.905,4.036c-0.13,0-0.26-0.065-0.391-0.13c-0.195-0.13-0.26-0.325-0.195-0.586 C14.078,32.136,15.77,30.899,18.374,29.728z"
501
- }
502
- )
503
- ]
504
- }
505
- );
506
- var ExcelIcon = () => /* @__PURE__ */ jsxs6(
507
- "svg",
508
- {
509
- xmlns: "http://www.w3.org/2000/svg",
510
- viewBox: "0 0 48 48",
511
- className: "w-10 h-10",
512
- children: [
513
- /* @__PURE__ */ jsx16(
514
- "path",
515
- {
516
- fill: "#169154",
517
- d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
518
- }
519
- ),
520
- /* @__PURE__ */ jsx16(
521
- "path",
522
- {
523
- fill: "#18482a",
524
- d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
525
- }
526
- ),
527
- /* @__PURE__ */ jsx16("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
528
- /* @__PURE__ */ jsx16("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
529
- /* @__PURE__ */ jsxs6("g", { children: [
530
- /* @__PURE__ */ jsx16(
531
- "path",
532
- {
533
- fill: "#29c27f",
534
- d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
535
- }
536
- ),
537
- /* @__PURE__ */ jsx16(
538
- "path",
539
- {
540
- fill: "#27663f",
541
- d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
542
- }
543
- ),
544
- /* @__PURE__ */ jsx16("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
545
- /* @__PURE__ */ jsx16("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
546
- ] }),
547
- /* @__PURE__ */ jsx16(
548
- "path",
549
- {
550
- fill: "#0c7238",
551
- 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"
552
- }
553
- ),
554
- /* @__PURE__ */ jsx16(
555
- "path",
556
- {
557
- fill: "#fff",
558
- d: "M9.807 19L12.193 19 14.129 22.754 16.175 19 18.404 19 15.333 24 18.474 29 16.123 29 14.013 25.07 11.912 29 9.526 29 12.719 23.982z"
559
- }
560
- )
561
- ]
562
- }
563
- );
564
- var WordIcon = () => /* @__PURE__ */ jsxs6(
565
- "svg",
566
- {
567
- xmlns: "http://www.w3.org/2000/svg",
568
- viewBox: "0 0 48 48",
569
- className: "w-10 h-10",
570
- baseProfile: "basic",
571
- children: [
572
- /* @__PURE__ */ jsx16(
573
- "path",
574
- {
575
- fill: "#283593",
576
- 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"
577
- }
578
- ),
579
- /* @__PURE__ */ jsxs6(
580
- "linearGradient",
581
- {
582
- id: "qh2LT5tehRDFkLLfb-odWa",
583
- x1: "9",
584
- x2: "33.506",
585
- y1: "364.445",
586
- y2: "364.445",
587
- gradientTransform: "translate(0 -339.89)",
588
- gradientUnits: "userSpaceOnUse",
589
- children: [
590
- /* @__PURE__ */ jsx16("stop", { offset: "0", "stop-color": "#66c0ff" }),
591
- /* @__PURE__ */ jsx16("stop", { offset: ".26", "stop-color": "#0094f0" })
592
- ]
593
- }
594
- ),
595
- /* @__PURE__ */ jsx16(
596
- "path",
597
- {
598
- fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
599
- 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"
600
- }
601
- ),
602
- /* @__PURE__ */ jsx16(
603
- "path",
604
- {
605
- fill: "#1e88e5",
606
- "fill-opacity": ".6",
607
- 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"
608
- }
609
- ),
610
- /* @__PURE__ */ jsx16(
611
- "path",
612
- {
613
- fill: "#00e5ff",
614
- 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"
615
- }
616
- ),
617
- /* @__PURE__ */ jsx16(
618
- "path",
619
- {
620
- fill: "#1565c0",
621
- 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"
622
- }
623
- ),
624
- /* @__PURE__ */ jsx16(
625
- "path",
626
- {
627
- fill: "#fff",
628
- d: "M18.327,26.643l-2.092,9.713l-2.501,0.002L12.5,30.529l-1.293,5.829H8.683l-2.01-9.713h2.062 l1.24,6.41l1.232-6.41h2.528l1.291,6.41l1.21-6.41L18.327,26.643L18.327,26.643z"
629
- }
630
- )
631
- ]
632
- }
633
- );
634
- var StandardIcon = () => /* @__PURE__ */ jsxs6(
635
- "svg",
636
- {
637
- xmlns: "http://www.w3.org/2000/svg",
638
- viewBox: "0 0 48 48",
639
- className: "w-10 h-10",
640
- children: [
641
- /* @__PURE__ */ jsx16("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
642
- /* @__PURE__ */ jsx16("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
643
- ]
644
- }
645
- );
646
- var PowerPointIcon = () => /* @__PURE__ */ jsxs6(
647
- "svg",
648
- {
649
- xmlns: "http://www.w3.org/2000/svg",
650
- viewBox: "0 0 48 48",
651
- className: "w-10 h-10",
652
- children: [
653
- /* @__PURE__ */ jsx16(
654
- "path",
655
- {
656
- fill: "#dc4c2c",
657
- d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
658
- }
659
- ),
660
- /* @__PURE__ */ jsx16("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
661
- /* @__PURE__ */ jsx16("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
662
- /* @__PURE__ */ jsx16(
663
- "path",
664
- {
665
- fill: "#9b341f",
666
- 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"
667
- }
668
- ),
669
- /* @__PURE__ */ jsx16(
670
- "path",
671
- {
672
- fill: "#fff",
673
- d: "M14.673,19.012H10v10h2.024v-3.521H14.3c1.876,0,3.397-1.521,3.397-3.397v-0.058 C17.697,20.366,16.343,19.012,14.673,19.012z M15.57,22.358c0,0.859-0.697,1.556-1.556,1.556h-1.99v-3.325h1.99 c0.859,0,1.556,0.697,1.556,1.556V22.358z"
674
- }
675
- )
676
- ]
677
- }
678
- );
679
- var TextIcon = () => /* @__PURE__ */ jsxs6(
680
- "svg",
681
- {
682
- xmlns: "http://www.w3.org/2000/svg",
683
- viewBox: "0 0 48 48",
684
- className: "w-10 h-10",
685
- children: [
686
- /* @__PURE__ */ jsx16("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
687
- /* @__PURE__ */ jsx16("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
688
- /* @__PURE__ */ jsx16(
689
- "path",
690
- {
691
- fill: "#1976D2",
692
- d: "M16 21H33V23H16zM16 25H29V27H16zM16 29H33V31H16zM16 33H29V35H16z"
693
- }
694
- )
695
- ]
696
- }
697
- );
698
- var ArchiveIcon = () => /* @__PURE__ */ jsxs6(
699
- "svg",
700
- {
701
- xmlns: "http://www.w3.org/2000/svg",
702
- zoomAndPan: "magnify",
703
- viewBox: "0 0 75 74.999997",
704
- preserveAspectRatio: "xMidYMid meet",
705
- version: "1.0",
706
- className: "w-10 h-10",
707
- children: [
708
- /* @__PURE__ */ jsx16("defs", { children: /* @__PURE__ */ jsx16("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx16(
709
- "path",
710
- {
711
- d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
712
- "clip-rule": "nonzero"
713
- }
714
- ) }) }),
715
- /* @__PURE__ */ jsx16("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx16(
716
- "path",
717
- {
718
- fill: "#ff9100",
719
- d: "M 65.882812 75 L 8.929688 75 L 8.929688 0 L 48.085938 0 L 65.882812 17.855469 Z M 65.882812 75 ",
720
- "fill-opacity": "1",
721
- "fill-rule": "nonzero"
722
- }
723
- ) }),
724
- /* @__PURE__ */ jsx16(
725
- "path",
726
- {
727
- fill: "#fbe9e7",
728
- d: "M 63.214844 19.644531 L 46.304688 19.644531 L 46.304688 2.679688 Z M 63.214844 19.644531 ",
729
- "fill-opacity": "1",
730
- "fill-rule": "nonzero"
731
- }
732
- ),
733
- /* @__PURE__ */ jsx16(
734
- "path",
735
- {
736
- fill: "#ffe0b2",
737
- d: "M 26.523438 50.59375 L 33.824219 50.59375 L 33.824219 53.570312 L 22.339844 53.570312 L 22.339844 51.410156 L 29.566406 38.789062 L 22.265625 38.789062 L 22.265625 35.796875 L 33.691406 35.796875 L 33.691406 37.910156 Z M 26.523438 50.59375 ",
738
- "fill-opacity": "1",
739
- "fill-rule": "nonzero"
740
- }
741
- ),
742
- /* @__PURE__ */ jsx16(
743
- "path",
744
- {
745
- fill: "#ffe0b2",
746
- d: "M 36.183594 35.796875 L 39.757812 35.796875 L 39.757812 53.570312 L 36.183594 53.570312 Z M 36.183594 35.796875 ",
747
- "fill-opacity": "1",
748
- "fill-rule": "nonzero"
749
- }
750
- ),
751
- /* @__PURE__ */ jsx16(
752
- "path",
753
- {
754
- fill: "#ffe0b2",
755
- d: "M 46.34375 47.320312 L 46.34375 53.570312 L 42.765625 53.570312 L 42.765625 35.796875 L 48.800781 35.796875 C 50.550781 35.796875 51.953125 36.34375 52.992188 37.433594 C 54.035156 38.523438 54.554688 39.9375 54.554688 41.683594 C 54.554688 43.425781 54.039062 44.796875 53.011719 45.808594 C 51.980469 46.820312 50.550781 47.320312 48.726562 47.320312 Z M 46.34375 44.332031 L 48.800781 44.332031 C 49.484375 44.332031 50.007812 44.105469 50.382812 43.660156 C 50.757812 43.210938 50.941406 42.5625 50.941406 41.707031 C 50.941406 40.816406 50.753906 40.113281 50.371094 39.585938 C 49.988281 39.0625 49.476562 38.796875 48.839844 38.789062 L 46.34375 38.789062 Z M 46.34375 44.332031 ",
756
- "fill-opacity": "1",
757
- "fill-rule": "nonzero"
758
- }
759
- )
760
- ]
761
- }
762
- );
763
- var getFileDetails = (url) => {
764
- const extMatch = url.match(/\.([a-zA-Z0-9]+)(?:[\?#]|$)/);
765
- const ext = extMatch ? extMatch[1].toLowerCase() : "";
766
- let Icon = StandardIcon;
767
- let extLabel = "FILE";
768
- if (ext === "pdf") {
769
- Icon = PdfIcon;
770
- extLabel = "PDF";
771
- } else if (["xls", "xlsx", "csv"].includes(ext)) {
772
- Icon = ExcelIcon;
773
- extLabel = "Excel";
774
- } else if (["doc", "docx"].includes(ext)) {
775
- Icon = WordIcon;
776
- extLabel = "Word";
777
- } else if (["ppt", "pptx"].includes(ext)) {
778
- Icon = PowerPointIcon;
779
- extLabel = "PowerPoint";
780
- } else if (["txt", "rtf"].includes(ext)) {
781
- Icon = TextIcon;
782
- extLabel = "Text";
783
- } else if (["zip", "rar", "7z"].includes(ext)) {
784
- Icon = ArchiveIcon;
785
- extLabel = "Archive";
786
- } else if (ext) {
787
- extLabel = ext.toUpperCase();
788
- }
789
- return { Icon, extLabel };
790
- };
791
- var FileIcon = ({ fileName, className }) => {
792
- const { Icon } = getFileDetails(fileName);
793
- return /* @__PURE__ */ jsx16("span", { className, children: /* @__PURE__ */ jsx16(Icon, {}) });
794
- };
795
- var FileIcon_default = FileIcon;
796
-
797
- // src/components/controls/view/CommentFileNode.tsx
798
- import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
799
- var formatFileSize = (sizeBytes) => {
800
- const bytes = typeof sizeBytes === "number" ? sizeBytes : Number(sizeBytes);
801
- if (!Number.isFinite(bytes) || bytes <= 0) {
802
- return "";
803
- }
804
- if (bytes < 1024) {
805
- return `${bytes} B`;
806
- }
807
- const units = ["KB", "MB", "GB"];
808
- let value = bytes / 1024;
809
- let unitIndex = 0;
810
- while (value >= 1024 && unitIndex < units.length - 1) {
811
- value /= 1024;
812
- unitIndex += 1;
813
- }
814
- return `${value.toFixed(value < 10 ? 1 : 0)} ${units[unitIndex]}`;
815
- };
816
- var CommentFileNode = ({ node, assetBaseUrl }) => {
817
- const rawUrl = typeof node.url === "string" && node.url || typeof node.src === "string" && node.src || typeof node.assetUrl === "string" && node.assetUrl || "";
818
- if (!rawUrl) {
819
- return null;
820
- }
821
- const href = AssetUtility_default.resolveUrl(assetBaseUrl, rawUrl);
822
- if (!href) {
823
- return null;
824
- }
825
- const fileName = typeof node.fileName === "string" && node.fileName || typeof node.name === "string" && node.name || rawUrl.split("/").pop() || "file";
826
- const sizeLabel = formatFileSize(node.fileSize);
827
- return /* @__PURE__ */ jsxs7(
828
- "a",
829
- {
830
- href,
831
- target: "_blank",
832
- rel: "noopener noreferrer",
833
- download: fileName,
834
- className: "comment-node-file",
835
- style: {
836
- display: "inline-flex",
837
- alignItems: "center",
838
- gap: "8px",
839
- padding: "8px 12px",
840
- border: "1px solid rgba(0,0,0,0.12)",
841
- borderRadius: "8px",
842
- textDecoration: "none",
843
- color: "inherit",
844
- maxWidth: "100%"
845
- },
846
- children: [
847
- /* @__PURE__ */ jsx17(FileIcon_default, { fileName, className: "comment-node-file-icon" }),
848
- /* @__PURE__ */ jsxs7(
849
- "span",
850
- {
851
- className: "comment-node-file-text",
852
- style: { display: "flex", flexDirection: "column", minWidth: 0 },
853
- children: [
854
- /* @__PURE__ */ jsx17(
855
- "span",
856
- {
857
- className: "comment-node-file-name",
858
- style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
859
- children: fileName
860
- }
861
- ),
862
- sizeLabel ? /* @__PURE__ */ jsx17("span", { className: "comment-node-file-size", style: { fontSize: "0.8em", opacity: 0.7 }, children: sizeLabel }) : null
863
- ]
864
- }
865
- )
866
- ]
867
- }
868
- );
869
- };
870
- var CommentFileNode_default = CommentFileNode;
871
-
872
- // src/components/controls/view/CommentNodeRenderer.tsx
873
- import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
874
- var TextLeafNode = ({ node }) => {
875
- let content = node.text;
876
- if (node.code) content = /* @__PURE__ */ jsx18("code", { className: "comment-node-code", children: content });
877
- if (node.bold) content = /* @__PURE__ */ jsx18("strong", { children: content });
878
- if (node.italic) content = /* @__PURE__ */ jsx18("em", { children: content });
879
- if (node.underline) content = /* @__PURE__ */ jsx18("u", { children: content });
880
- if (node.strikethrough) content = /* @__PURE__ */ jsx18("s", { children: content });
881
- return /* @__PURE__ */ jsx18(React14.Fragment, { children: content });
882
- };
883
- var renderChildren = (children, keyPrefix, assetBaseUrl) => {
884
- if (!children || children.length === 0) {
885
- return null;
886
- }
887
- return children.map((child, index) => {
888
- const childKey = isTextNode(child) ? void 0 : asElementNode(child).id;
889
- return /* @__PURE__ */ jsx18(
890
- CommentNodeRenderer,
891
- {
892
- node: child,
893
- assetBaseUrl
894
- },
895
- childKey ?? `${keyPrefix}-${index}`
896
- );
897
- });
898
- };
899
- var headingLevelFromTag = (tag) => {
900
- const match = typeof tag === "string" ? tag.match(/\d/) : null;
901
- const parsed = match ? Number(match[0]) : Number(tag);
902
- return Number.isFinite(parsed) && parsed >= 1 && parsed <= 6 ? parsed : 3;
903
- };
904
- var CommentNodeRenderer = ({ node, assetBaseUrl }) => {
905
- if (!node || typeof node !== "object") {
906
- return null;
907
- }
908
- if (isTextNode(node)) {
909
- return /* @__PURE__ */ jsx18(TextLeafNode, { node });
910
- }
911
- const element = asElementNode(node);
912
- const key = element.id ?? element.type;
913
- switch (element.type) {
914
- case "paragraph":
915
- return /* @__PURE__ */ jsx18("p", { className: "comment-node-paragraph", children: renderChildren(element.children, key, assetBaseUrl) ?? /* @__PURE__ */ jsx18("br", {}) });
916
- case "heading": {
917
- const level = headingLevelFromTag(element.tag ?? element.level);
918
- const HeadingTag = `h${level}`;
919
- return /* @__PURE__ */ jsx18(HeadingTag, { className: "comment-node-heading", children: renderChildren(element.children, key, assetBaseUrl) });
920
- }
921
- case "list": {
922
- const ordered = element.listType === "number" || element.ordered === true;
923
- const ListTag = ordered ? "ol" : "ul";
924
- return /* @__PURE__ */ jsx18(ListTag, { className: "comment-node-list", children: renderChildren(element.children, key, assetBaseUrl) });
925
- }
926
- case "listitem":
927
- case "list-item":
928
- return /* @__PURE__ */ jsx18("li", { className: "comment-node-listitem", children: renderChildren(element.children, key, assetBaseUrl) });
929
- case "quote":
930
- case "blockquote":
931
- return /* @__PURE__ */ jsx18("blockquote", { className: "comment-node-quote", children: renderChildren(element.children, key, assetBaseUrl) });
932
- case "code":
933
- case "code-block":
934
- return /* @__PURE__ */ jsx18("pre", { className: "comment-node-codeblock", children: /* @__PURE__ */ jsx18("code", { children: renderChildren(element.children, key, assetBaseUrl) }) });
935
- case "image":
936
- return /* @__PURE__ */ jsx18(CommentImageNode_default, { node: element, assetBaseUrl });
937
- case "file":
938
- return /* @__PURE__ */ jsx18(CommentFileNode_default, { node: element, assetBaseUrl });
939
- case "link": {
940
- const url = typeof element.url === "string" ? element.url : "#";
941
- return /* @__PURE__ */ jsx18("a", { href: url, target: "_blank", rel: "noopener noreferrer", className: "comment-node-link", children: renderChildren(element.children, key, assetBaseUrl) });
942
- }
943
- case "mention": {
944
- const label = element.label ?? element.mentionName ?? element.text ?? "";
945
- return /* @__PURE__ */ jsxs8("span", { className: "comment-node-mention", children: [
946
- "@",
947
- label
948
- ] });
949
- }
950
- case "linebreak":
951
- case "line-break":
952
- return /* @__PURE__ */ jsx18("br", {});
953
- default:
954
- return /* @__PURE__ */ jsx18(React14.Fragment, { children: renderChildren(element.children, key, assetBaseUrl) });
955
- }
956
- };
957
- var CommentNodeRenderer_default = CommentNodeRenderer;
958
-
959
- // src/components/controls/view/Commentrenderer.tsx
960
- import { jsx as jsx19 } from "react/jsx-runtime";
961
- var CommentRenderer = ({ value, className, assetBaseUrl, apiBaseUrl }) => {
962
- const nodes = React15.useMemo(() => parseSerializedContent(value), [value]);
963
- if (!nodes || nodes.length === 0) {
964
- return null;
965
- }
966
- const resolvedAssetBaseUrl = assetBaseUrl ?? apiBaseUrl;
967
- console.log(resolvedAssetBaseUrl, "resolvedAssetBaseUrl");
968
- return /* @__PURE__ */ jsx19("div", { className: className ?? "comment-renderer", children: nodes.map((node, index) => /* @__PURE__ */ jsx19(
969
- CommentNodeRenderer_default,
970
- {
971
- node,
972
- assetBaseUrl: resolvedAssetBaseUrl
973
- },
974
- node.id ?? `comment-node-${index}`
975
- )) });
976
- };
413
+ import dynamic5 from "next/dynamic";
414
+ var CommentRenderer = dynamic5(() => import("./CommentRendererClient-LO3DHVJE.mjs"), {
415
+ ssr: false
416
+ });
977
417
  var Commentrenderer_default = CommentRenderer;
978
418
 
979
419
  // src/components/controls/view/ViewControl.tsx
980
- import { jsx as jsx20 } from "react/jsx-runtime";
420
+ import { jsx as jsx15 } from "react/jsx-runtime";
981
421
  var ViewControl = (props) => {
982
422
  const ControlComponents = {
983
423
  [ViewControlTypes_default.lineText]: LineTextView_default,
@@ -1008,18 +448,18 @@ var ViewControl = (props) => {
1008
448
  [ViewControlTypes_default.commentRenderer]: Commentrenderer_default
1009
449
  };
1010
450
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
1011
- return /* @__PURE__ */ jsx20(React16.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx20(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
451
+ return /* @__PURE__ */ jsx15(React14.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx15(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
1012
452
  };
1013
453
  var ViewControl_default = ViewControl;
1014
454
 
1015
455
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
1016
- import React26 from "react";
456
+ import React24 from "react";
1017
457
 
1018
458
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
1019
- import React18 from "react";
459
+ import React16 from "react";
1020
460
 
1021
461
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
1022
- import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
462
+ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
1023
463
  var TextNode = (props) => {
1024
464
  function cssStringToJson(cssString) {
1025
465
  const styleObject = {};
@@ -1074,36 +514,36 @@ var TextNode = (props) => {
1074
514
  });
1075
515
  }
1076
516
  function renderWithLineBreaks(text) {
1077
- return text.split("\n").map((line, index, arr) => /* @__PURE__ */ jsxs9("span", { children: [
517
+ return text.split("\n").map((line, index, arr) => /* @__PURE__ */ jsxs6("span", { children: [
1078
518
  line,
1079
- index < arr.length - 1 && /* @__PURE__ */ jsx21("br", {})
519
+ index < arr.length - 1 && /* @__PURE__ */ jsx16("br", {})
1080
520
  ] }, index));
1081
521
  }
1082
522
  const displayText = props.linkText ? props.linkText : props.node.text;
1083
523
  const finalText = props.dataitem && props.linkText ? displayText : props.dataitem ? replacePlaceholders(props.node.text, props.dataitem) : props.node.text;
1084
524
  const content = typeof finalText === "string" ? renderWithLineBreaks(finalText) : finalText;
1085
- const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx21("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx21("sub", { children: content }) : content;
525
+ const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx16("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx16("sub", { children: content }) : content;
1086
526
  return (
1087
527
  // @ts-expect-error custom code
1088
- /* @__PURE__ */ jsx21("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
528
+ /* @__PURE__ */ jsx16("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
1089
529
  );
1090
530
  };
1091
531
  var TextNode_default = TextNode;
1092
532
 
1093
533
  // src/components/pageRenderingEngine/nodes/LineBreakNode.tsx
1094
- import { jsx as jsx22 } from "react/jsx-runtime";
534
+ import { jsx as jsx17 } from "react/jsx-runtime";
1095
535
  var LineBreakNode = () => {
1096
- return /* @__PURE__ */ jsx22("div", { className: "py-0.5 lg:py-1.5" });
536
+ return /* @__PURE__ */ jsx17("div", { className: "py-0.5 lg:py-1.5" });
1097
537
  };
1098
538
  var LineBreakNode_default = LineBreakNode;
1099
539
 
1100
540
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
1101
- import React17 from "react";
541
+ import React15 from "react";
1102
542
 
1103
543
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
1104
- import dynamic5 from "next/dynamic";
1105
- import { jsx as jsx23 } from "react/jsx-runtime";
1106
- var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
544
+ import dynamic6 from "next/dynamic";
545
+ import { jsx as jsx18 } from "react/jsx-runtime";
546
+ var HlsPlayer2 = dynamic6(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
1107
547
  var getNestedValue = (obj, path) => {
1108
548
  if (!obj || !path) return void 0;
1109
549
  return path.split(".").reduce((current, key) => {
@@ -1135,7 +575,7 @@ var ImageNode = (props) => {
1135
575
  assets = [image];
1136
576
  }
1137
577
  if (assets && assets.length > 0) {
1138
- return /* @__PURE__ */ jsx23(
578
+ return /* @__PURE__ */ jsx18(
1139
579
  DeviceAssetSelector_default,
1140
580
  {
1141
581
  device: props.device,
@@ -1176,7 +616,7 @@ var ImageNode = (props) => {
1176
616
  right: "justify-end"
1177
617
  };
1178
618
  const isHls = imageUrl.endsWith(".m3u8");
1179
- const renderMedia = () => isHls ? /* @__PURE__ */ jsx23(
619
+ const renderMedia = () => isHls ? /* @__PURE__ */ jsx18(
1180
620
  HlsPlayer2,
1181
621
  {
1182
622
  assetUrl: imageUrl,
@@ -1189,7 +629,7 @@ var ImageNode = (props) => {
1189
629
  apiBaseUrl: props.apiBaseUrl,
1190
630
  session: props.session
1191
631
  }
1192
- ) : /* @__PURE__ */ jsx23(
632
+ ) : /* @__PURE__ */ jsx18(
1193
633
  "img",
1194
634
  {
1195
635
  style: styles,
@@ -1202,16 +642,16 @@ var ImageNode = (props) => {
1202
642
  }
1203
643
  );
1204
644
  if (props.node.width) {
1205
- return /* @__PURE__ */ jsx23("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
645
+ return /* @__PURE__ */ jsx18("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
1206
646
  }
1207
647
  return renderMedia();
1208
648
  };
1209
649
  var ImageNode_default = ImageNode;
1210
650
 
1211
651
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
1212
- import dynamic6 from "next/dynamic";
1213
- import { Fragment, jsx as jsx24, jsxs as jsxs10 } from "react/jsx-runtime";
1214
- var LinkNodeButton = dynamic6(() => import("./LinkNodeButton-BEAX4I4C.mjs"), {
652
+ import dynamic7 from "next/dynamic";
653
+ import { Fragment, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
654
+ var LinkNodeButton = dynamic7(() => import("./LinkNodeButton-BEAX4I4C.mjs"), {
1215
655
  ssr: false
1216
656
  });
1217
657
  function getNestedValue2(obj, path) {
@@ -1261,15 +701,15 @@ var LinkNode = (props) => {
1261
701
  };
1262
702
  const linkType = node.cssClass ? getLinkTypeFromCssClass(node.cssClass) : void 0;
1263
703
  const isButton = node.isButton === true;
1264
- const renderChildren2 = () => {
704
+ const renderChildren = () => {
1265
705
  if (!node.children || node.children.length === 0) return null;
1266
- return /* @__PURE__ */ jsx24(Fragment, { children: node.children.map((childNode, index) => {
706
+ return /* @__PURE__ */ jsx19(Fragment, { children: node.children.map((childNode, index) => {
1267
707
  const SelectedNode = NodeTypes2[childNode.type];
1268
708
  if (!SelectedNode) {
1269
709
  console.warn("Unknown node type:", childNode.type);
1270
710
  return null;
1271
711
  }
1272
- return /* @__PURE__ */ jsx24(React17.Fragment, { children: /* @__PURE__ */ jsx24(
712
+ return /* @__PURE__ */ jsx19(React15.Fragment, { children: /* @__PURE__ */ jsx19(
1273
713
  SelectedNode,
1274
714
  {
1275
715
  node: childNode,
@@ -1282,15 +722,15 @@ var LinkNode = (props) => {
1282
722
  };
1283
723
  const renderFallback = () => {
1284
724
  if ((!node.children || node.children.length === 0) && linkText) {
1285
- return /* @__PURE__ */ jsx24("span", { children: linkText });
725
+ return /* @__PURE__ */ jsx19("span", { children: linkText });
1286
726
  }
1287
727
  if ((!node.children || node.children.length === 0) && !linkText) {
1288
- return /* @__PURE__ */ jsx24("br", {});
728
+ return /* @__PURE__ */ jsx19("br", {});
1289
729
  }
1290
730
  return null;
1291
731
  };
1292
732
  if (isButton) {
1293
- return /* @__PURE__ */ jsxs10(
733
+ return /* @__PURE__ */ jsxs7(
1294
734
  LinkNodeButton,
1295
735
  {
1296
736
  node,
@@ -1302,20 +742,20 @@ var LinkNode = (props) => {
1302
742
  linkType,
1303
743
  linkUrl,
1304
744
  children: [
1305
- renderChildren2(),
745
+ renderChildren(),
1306
746
  renderFallback()
1307
747
  ]
1308
748
  }
1309
749
  );
1310
750
  }
1311
- return /* @__PURE__ */ jsxs10(
751
+ return /* @__PURE__ */ jsxs7(
1312
752
  Hyperlink,
1313
753
  {
1314
754
  href: linkUrl || "#",
1315
755
  linkType,
1316
756
  alt: linkText || node.title || "",
1317
757
  children: [
1318
- renderChildren2(),
758
+ renderChildren(),
1319
759
  renderFallback()
1320
760
  ]
1321
761
  }
@@ -1324,10 +764,10 @@ var LinkNode = (props) => {
1324
764
  var LinkNode_default = LinkNode;
1325
765
 
1326
766
  // src/components/pageRenderingEngine/nodes/SVGIconNode.tsx
1327
- import { jsx as jsx25 } from "react/jsx-runtime";
767
+ import { jsx as jsx20 } from "react/jsx-runtime";
1328
768
  var SVGIconNode = ({ node }) => {
1329
769
  if (!node?.svgCode) return null;
1330
- return /* @__PURE__ */ jsx25(
770
+ return /* @__PURE__ */ jsx20(
1331
771
  "span",
1332
772
  {
1333
773
  style: {
@@ -1344,7 +784,7 @@ var SVGIconNode_default = SVGIconNode;
1344
784
 
1345
785
  // src/components/pageRenderingEngine/nodes/EquationNode.tsx
1346
786
  import katex from "katex";
1347
- import { jsx as jsx26 } from "react/jsx-runtime";
787
+ import { jsx as jsx21 } from "react/jsx-runtime";
1348
788
  var EquationNode = ({ node }) => {
1349
789
  const { equation, inline } = node;
1350
790
  let html = "";
@@ -1359,7 +799,7 @@ var EquationNode = ({ node }) => {
1359
799
  });
1360
800
  }
1361
801
  if (inline) {
1362
- return /* @__PURE__ */ jsx26(
802
+ return /* @__PURE__ */ jsx21(
1363
803
  "span",
1364
804
  {
1365
805
  className: "katex-inline",
@@ -1367,7 +807,7 @@ var EquationNode = ({ node }) => {
1367
807
  }
1368
808
  );
1369
809
  }
1370
- return /* @__PURE__ */ jsx26(
810
+ return /* @__PURE__ */ jsx21(
1371
811
  "div",
1372
812
  {
1373
813
  className: "katex-block my-3 text-center",
@@ -1378,7 +818,7 @@ var EquationNode = ({ node }) => {
1378
818
  var EquationNode_default = EquationNode;
1379
819
 
1380
820
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
1381
- import { jsx as jsx27 } from "react/jsx-runtime";
821
+ import { jsx as jsx22 } from "react/jsx-runtime";
1382
822
  function getNestedProperty(obj, path) {
1383
823
  if (!obj || !path) return null;
1384
824
  if (path.includes(".")) {
@@ -1391,7 +831,7 @@ function getNestedProperty(obj, path) {
1391
831
  }
1392
832
  const value = obj[path];
1393
833
  if (Array.isArray(value)) {
1394
- return value.map((item, index) => /* @__PURE__ */ jsx27("div", { children: String(item) }, index));
834
+ return value.map((item, index) => /* @__PURE__ */ jsx22("div", { children: String(item) }, index));
1395
835
  }
1396
836
  return value;
1397
837
  }
@@ -1454,7 +894,7 @@ var DatafieldNode = (props) => {
1454
894
  const dataType = props.node.dataType;
1455
895
  if (isEmptyValue) return null;
1456
896
  if (dataType === "rawContent") {
1457
- return /* @__PURE__ */ jsx27(
897
+ return /* @__PURE__ */ jsx22(
1458
898
  PageBodyRenderer_default,
1459
899
  {
1460
900
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -1470,13 +910,13 @@ var DatafieldNode = (props) => {
1470
910
  }
1471
911
  );
1472
912
  }
1473
- return /* @__PURE__ */ jsx27(
913
+ return /* @__PURE__ */ jsx22(
1474
914
  "span",
1475
915
  {
1476
916
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
1477
917
  style: styles,
1478
918
  title,
1479
- children: /* @__PURE__ */ jsx27(
919
+ children: /* @__PURE__ */ jsx22(
1480
920
  ViewControl_default,
1481
921
  {
1482
922
  controlType: dataType,
@@ -1491,7 +931,7 @@ var DatafieldNode = (props) => {
1491
931
  var DatafieldNode_default = DatafieldNode;
1492
932
 
1493
933
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
1494
- import { Fragment as Fragment2, jsx as jsx28, jsxs as jsxs11 } from "react/jsx-runtime";
934
+ import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
1495
935
  var ParagraphNode = (props) => {
1496
936
  const NodeTypes2 = {
1497
937
  ["text"]: TextNode_default,
@@ -1511,9 +951,9 @@ var ParagraphNode = (props) => {
1511
951
  const isInlineOnlyParent = props.parentTag === "summary";
1512
952
  const hasChildren = props.node.children && props.node.children.length > 0;
1513
953
  if (isInlineOnlyParent) {
1514
- return /* @__PURE__ */ jsx28(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
954
+ return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
1515
955
  const SelectedNode = NodeTypes2[node.type];
1516
- return /* @__PURE__ */ jsx28(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
956
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1517
957
  SelectedNode,
1518
958
  {
1519
959
  node,
@@ -1526,10 +966,10 @@ var ParagraphNode = (props) => {
1526
966
  ) }, index);
1527
967
  }) });
1528
968
  }
1529
- return /* @__PURE__ */ jsxs11("div", { className: " " + formatClasses, children: [
969
+ return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
1530
970
  hasChildren && props.node.children.map((node, index) => {
1531
971
  const SelectedNode = NodeTypes2[node.type];
1532
- return /* @__PURE__ */ jsx28(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
972
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
1533
973
  SelectedNode,
1534
974
  {
1535
975
  node,
@@ -1541,14 +981,14 @@ var ParagraphNode = (props) => {
1541
981
  }
1542
982
  ) }, index);
1543
983
  }),
1544
- !hasChildren && /* @__PURE__ */ jsx28("div", { className: "py-1.5 lg:py-2" })
984
+ !hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
1545
985
  ] });
1546
986
  };
1547
987
  var ParagraphNode_default = ParagraphNode;
1548
988
 
1549
989
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
1550
- import React19 from "react";
1551
- import { Fragment as Fragment3, jsx as jsx29 } from "react/jsx-runtime";
990
+ import React17 from "react";
991
+ import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
1552
992
  var HeadingNode = (props) => {
1553
993
  const NodeTypes2 = {
1554
994
  ["text"]: TextNode_default,
@@ -1564,23 +1004,23 @@ var HeadingNode = (props) => {
1564
1004
  {
1565
1005
  }
1566
1006
  const formatClasses = FormatClass[props.node.format] || "";
1567
- return /* @__PURE__ */ jsx29(Fragment3, { children: React19.createElement(
1007
+ return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
1568
1008
  HeadingTag,
1569
1009
  { className: formatClasses },
1570
1010
  props.node.children && props.node.children.map((childNode, index) => {
1571
1011
  const SelectedNode = NodeTypes2[childNode.type];
1572
- return /* @__PURE__ */ jsx29(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx29(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
1012
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
1573
1013
  })
1574
1014
  ) });
1575
1015
  };
1576
1016
  var HeadingNode_default = HeadingNode;
1577
1017
 
1578
1018
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1579
- import React21 from "react";
1019
+ import React19 from "react";
1580
1020
 
1581
1021
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
1582
- import React20 from "react";
1583
- import { jsx as jsx30 } from "react/jsx-runtime";
1022
+ import React18 from "react";
1023
+ import { jsx as jsx25 } from "react/jsx-runtime";
1584
1024
  var ListItemNode = (props) => {
1585
1025
  const NodeTypes2 = {
1586
1026
  text: TextNode_default,
@@ -1597,66 +1037,66 @@ var ListItemNode = (props) => {
1597
1037
  liStyle.fontSize = match[1].trim();
1598
1038
  }
1599
1039
  }
1600
- return /* @__PURE__ */ jsx30("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1040
+ return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
1601
1041
  const SelectedNode = NodeTypes2[node.type];
1602
1042
  if (node.type === "linebreak") {
1603
1043
  if (!foundFirstBreak) {
1604
1044
  foundFirstBreak = true;
1605
- return /* @__PURE__ */ jsx30("div", {}, index);
1045
+ return /* @__PURE__ */ jsx25("div", {}, index);
1606
1046
  } else {
1607
- return /* @__PURE__ */ jsx30("div", { className: "py-1 lg:py-2" }, index);
1047
+ return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
1608
1048
  }
1609
1049
  } else {
1610
1050
  foundFirstBreak = false;
1611
- return /* @__PURE__ */ jsx30(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx30(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1051
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1612
1052
  }
1613
1053
  }) });
1614
1054
  };
1615
1055
  var ListItemNode_default = ListItemNode;
1616
1056
 
1617
1057
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
1618
- import { jsx as jsx31, jsxs as jsxs12 } from "react/jsx-runtime";
1058
+ import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1619
1059
  var ListNode = (props) => {
1620
1060
  const NodeTypes2 = {
1621
1061
  listitem: ListItemNode_default
1622
1062
  };
1623
- return /* @__PURE__ */ jsxs12(React21.Fragment, { children: [
1624
- props.node.listType == "bullet" && /* @__PURE__ */ jsx31("ul", { children: props.node.children && props.node.children.map((node, index) => {
1063
+ return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
1064
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
1625
1065
  const SelectedNode = NodeTypes2[node.type];
1626
- return /* @__PURE__ */ jsx31(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx31(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1066
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1627
1067
  }) }),
1628
- props.node.listType == "number" && /* @__PURE__ */ jsx31("ol", { children: props.node.children && props.node.children.map((node, index) => {
1068
+ props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
1629
1069
  const SelectedNode = NodeTypes2[node.type];
1630
- return /* @__PURE__ */ jsx31(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx31(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1070
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1631
1071
  }) })
1632
1072
  ] });
1633
1073
  };
1634
1074
  var ListNode_default = ListNode;
1635
1075
 
1636
1076
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
1637
- import React22 from "react";
1638
- import { jsx as jsx32 } from "react/jsx-runtime";
1077
+ import React20 from "react";
1078
+ import { jsx as jsx27 } from "react/jsx-runtime";
1639
1079
  var QuoteNode = (props) => {
1640
1080
  const NodeTypes2 = {
1641
1081
  ["text"]: TextNode_default,
1642
1082
  ["linebreak"]: LineBreakNode_default,
1643
1083
  ["link"]: LinkNode_default
1644
1084
  };
1645
- return /* @__PURE__ */ jsx32("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1085
+ return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1646
1086
  const SelectedNode = NodeTypes2[node.type];
1647
- return /* @__PURE__ */ jsx32(React22.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx32(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1087
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1648
1088
  }) });
1649
1089
  };
1650
1090
  var QuoteNode_default = QuoteNode;
1651
1091
 
1652
1092
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1653
- import React23 from "react";
1654
- import dynamic7 from "next/dynamic";
1655
- import { jsx as jsx33, jsxs as jsxs13 } from "react/jsx-runtime";
1656
- var CopyButton = dynamic7(() => import("./CopyButton-UPJPMJUB.mjs"), {
1093
+ import React21 from "react";
1094
+ import dynamic8 from "next/dynamic";
1095
+ import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1096
+ var CopyButton = dynamic8(() => import("./CopyButton-UPJPMJUB.mjs"), {
1657
1097
  ssr: false,
1658
1098
  // optional: fallback UI while loading
1659
- loading: () => /* @__PURE__ */ jsx33("span", { className: "text-gray-400 text-xs", children: "Copy" })
1099
+ loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
1660
1100
  });
1661
1101
  var CodeNode = (props) => {
1662
1102
  const NodeTypes2 = {
@@ -1670,14 +1110,14 @@ var CodeNode = (props) => {
1670
1110
  if (node.type === "link") return node.text || node.url || "";
1671
1111
  return "";
1672
1112
  }).join("") ?? "";
1673
- return /* @__PURE__ */ jsxs13("div", { children: [
1674
- /* @__PURE__ */ jsxs13("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1675
- /* @__PURE__ */ jsx33("span", { children: "Code Snippet" }),
1676
- /* @__PURE__ */ jsx33(CopyButton, { text: textContent })
1113
+ return /* @__PURE__ */ jsxs10("div", { children: [
1114
+ /* @__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: [
1115
+ /* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
1116
+ /* @__PURE__ */ jsx28(CopyButton, { text: textContent })
1677
1117
  ] }),
1678
- /* @__PURE__ */ jsx33("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) => {
1118
+ /* @__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) => {
1679
1119
  const SelectedNode = NodeTypes2[node.type];
1680
- return /* @__PURE__ */ jsx33(React23.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx33(
1120
+ return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
1681
1121
  SelectedNode,
1682
1122
  {
1683
1123
  node,
@@ -1692,15 +1132,15 @@ var CodeNode = (props) => {
1692
1132
  var CodeNode_default = CodeNode;
1693
1133
 
1694
1134
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1695
- import { jsx as jsx34 } from "react/jsx-runtime";
1135
+ import { jsx as jsx29 } from "react/jsx-runtime";
1696
1136
  var HorizontalRuleNode = () => {
1697
- return /* @__PURE__ */ jsx34("hr", {});
1137
+ return /* @__PURE__ */ jsx29("hr", {});
1698
1138
  };
1699
1139
  var HorizontalRuleNode_default = HorizontalRuleNode;
1700
1140
 
1701
1141
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1702
- import React24 from "react";
1703
- import { Fragment as Fragment4, jsx as jsx35 } from "react/jsx-runtime";
1142
+ import React22 from "react";
1143
+ import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
1704
1144
  var WidgetNode = (props) => {
1705
1145
  const getWidgetParameters = () => {
1706
1146
  const widgetInputParameters = {
@@ -1764,7 +1204,7 @@ var WidgetNode = (props) => {
1764
1204
  };
1765
1205
  const widgetCode = props.node?.widgetCode;
1766
1206
  if (!widgetCode) {
1767
- return /* @__PURE__ */ jsx35(Fragment4, { children: "Invalid widget" });
1207
+ return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
1768
1208
  }
1769
1209
  const widgetParams = getWidgetParameters();
1770
1210
  const WidgetRenderer = props.widgetRenderer;
@@ -1773,7 +1213,7 @@ var WidgetNode = (props) => {
1773
1213
  }
1774
1214
  return (
1775
1215
  // eslint-disable-next-line react-hooks/static-components
1776
- /* @__PURE__ */ jsx35(React24.Fragment, { children: /* @__PURE__ */ jsx35(
1216
+ /* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
1777
1217
  WidgetRenderer,
1778
1218
  {
1779
1219
  params: widgetParams,
@@ -1790,13 +1230,13 @@ var WidgetNode = (props) => {
1790
1230
  var WidgetNode_default = WidgetNode;
1791
1231
 
1792
1232
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1793
- import dynamic11 from "next/dynamic";
1794
- import React25 from "react";
1233
+ import dynamic12 from "next/dynamic";
1234
+ import React23 from "react";
1795
1235
 
1796
1236
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1797
- import dynamic8 from "next/dynamic";
1798
- import { jsx as jsx36 } from "react/jsx-runtime";
1799
- var IframeClient = dynamic8(() => import("./IframeClient-WF2KLXZB.mjs"), {
1237
+ import dynamic9 from "next/dynamic";
1238
+ import { jsx as jsx31 } from "react/jsx-runtime";
1239
+ var IframeClient = dynamic9(() => import("./IframeClient-WF2KLXZB.mjs"), {
1800
1240
  ssr: false
1801
1241
  });
1802
1242
  var EmbedNode = (props) => {
@@ -1808,7 +1248,7 @@ var EmbedNode = (props) => {
1808
1248
  } else {
1809
1249
  src = props.node.embedSrc;
1810
1250
  }
1811
- return /* @__PURE__ */ jsx36("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx36(IframeClient, { src }) });
1251
+ return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
1812
1252
  };
1813
1253
  var EmbedNode_default = EmbedNode;
1814
1254
 
@@ -2001,10 +1441,10 @@ var PathUtility = class {
2001
1441
  var PathUtility_default = new PathUtility();
2002
1442
 
2003
1443
  // src/components/NoDataFound.tsx
2004
- import { jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
1444
+ import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
2005
1445
  var NoDataFound = () => {
2006
- return /* @__PURE__ */ jsxs14("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
2007
- /* @__PURE__ */ jsx37("div", { className: "mb-5", children: /* @__PURE__ */ jsx37("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx37(
1446
+ return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1447
+ /* @__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(
2008
1448
  "svg",
2009
1449
  {
2010
1450
  className: "w-10 h-10",
@@ -2012,7 +1452,7 @@ var NoDataFound = () => {
2012
1452
  stroke: "currentColor",
2013
1453
  viewBox: "0 0 24 24",
2014
1454
  xmlns: "http://www.w3.org/2000/svg",
2015
- children: /* @__PURE__ */ jsx37(
1455
+ children: /* @__PURE__ */ jsx32(
2016
1456
  "path",
2017
1457
  {
2018
1458
  strokeLinecap: "round",
@@ -2023,16 +1463,16 @@ var NoDataFound = () => {
2023
1463
  )
2024
1464
  }
2025
1465
  ) }) }),
2026
- /* @__PURE__ */ jsx37("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
2027
- /* @__PURE__ */ jsx37("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1466
+ /* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1467
+ /* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
2028
1468
  ] });
2029
1469
  };
2030
1470
  var NoDataFound_default = NoDataFound;
2031
1471
 
2032
1472
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
2033
- import dynamic9 from "next/dynamic";
2034
- import { Fragment as Fragment5, jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
2035
- var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
1473
+ import dynamic10 from "next/dynamic";
1474
+ import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1475
+ var HlsPlayer3 = dynamic10(() => import("./HlsPlayer-IW52N5RG.mjs"), { ssr: false });
2036
1476
  var deviceToMediaQuery = (device) => {
2037
1477
  switch (device) {
2038
1478
  case "lg":
@@ -2187,8 +1627,8 @@ var ImageGalleryNode = (props) => {
2187
1627
  right: "justify-end"
2188
1628
  };
2189
1629
  const formatClasses = FormatClass[props.node.format || ""] || "";
2190
- return /* @__PURE__ */ jsxs15(Fragment5, { children: [
2191
- hlsSources.length > 0 && /* @__PURE__ */ jsx38(Fragment5, { children: /* @__PURE__ */ jsx38(
1630
+ return /* @__PURE__ */ jsxs12(Fragment5, { children: [
1631
+ hlsSources.length > 0 && /* @__PURE__ */ jsx33(Fragment5, { children: /* @__PURE__ */ jsx33(
2192
1632
  HlsPlayer3,
2193
1633
  {
2194
1634
  sources: hlsSources,
@@ -2203,7 +1643,7 @@ var ImageGalleryNode = (props) => {
2203
1643
  styles: hlsStyles
2204
1644
  }
2205
1645
  ) }),
2206
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx38(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs15("picture", { children: [
1646
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx33(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs12("picture", { children: [
2207
1647
  DEVICE_ORDER.map((deviceKey) => {
2208
1648
  const match = staticSources.find(
2209
1649
  (img) => img.device === deviceKey
@@ -2219,7 +1659,7 @@ var ImageGalleryNode = (props) => {
2219
1659
  if (!srcUrl) {
2220
1660
  return null;
2221
1661
  }
2222
- return /* @__PURE__ */ jsx38(
1662
+ return /* @__PURE__ */ jsx33(
2223
1663
  "source",
2224
1664
  {
2225
1665
  media: deviceToMediaQuery(match.device),
@@ -2244,7 +1684,7 @@ var ImageGalleryNode = (props) => {
2244
1684
  if (img.borderRadius) {
2245
1685
  styles.borderRadius = img.borderRadius;
2246
1686
  }
2247
- return /* @__PURE__ */ jsx38(
1687
+ return /* @__PURE__ */ jsx33(
2248
1688
  "img",
2249
1689
  {
2250
1690
  loading: "lazy",
@@ -2259,7 +1699,7 @@ var ImageGalleryNode = (props) => {
2259
1699
  })()
2260
1700
  ] }) : (
2261
1701
  /* Case 2: Only device-specific images exist */
2262
- /* @__PURE__ */ jsx38(Fragment5, { children: staticSources.map((img, index) => {
1702
+ /* @__PURE__ */ jsx33(Fragment5, { children: staticSources.map((img, index) => {
2263
1703
  const resolved = resolveImage(img);
2264
1704
  const imageUrl = resolved?.imageUrl;
2265
1705
  if (!imageUrl) {
@@ -2286,7 +1726,7 @@ var ImageGalleryNode = (props) => {
2286
1726
  default:
2287
1727
  display = "block";
2288
1728
  }
2289
- return /* @__PURE__ */ jsx38(
1729
+ return /* @__PURE__ */ jsx33(
2290
1730
  "img",
2291
1731
  {
2292
1732
  loading: "lazy",
@@ -2426,28 +1866,28 @@ var shouldRenderContainer = (node, dataItem, session) => {
2426
1866
  };
2427
1867
 
2428
1868
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
2429
- import { Fragment as Fragment6, jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
1869
+ import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
2430
1870
  var getNestedValue5 = (obj, path) => {
2431
1871
  if (!obj || !path) return void 0;
2432
1872
  return path.split(".").reduce((current, key) => {
2433
1873
  return current && current[key] !== void 0 ? current[key] : void 0;
2434
1874
  }, obj);
2435
1875
  };
2436
- var PdfIcon2 = () => /* @__PURE__ */ jsxs16(
1876
+ var PdfIcon = () => /* @__PURE__ */ jsxs13(
2437
1877
  "svg",
2438
1878
  {
2439
1879
  xmlns: "http://www.w3.org/2000/svg",
2440
1880
  viewBox: "0 0 48 48",
2441
1881
  className: "w-10 h-10",
2442
1882
  children: [
2443
- /* @__PURE__ */ jsx39(
1883
+ /* @__PURE__ */ jsx34(
2444
1884
  "path",
2445
1885
  {
2446
1886
  fill: "#e53935",
2447
1887
  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"
2448
1888
  }
2449
1889
  ),
2450
- /* @__PURE__ */ jsx39(
1890
+ /* @__PURE__ */ jsx34(
2451
1891
  "path",
2452
1892
  {
2453
1893
  fill: "#fff",
@@ -2457,55 +1897,55 @@ var PdfIcon2 = () => /* @__PURE__ */ jsxs16(
2457
1897
  ]
2458
1898
  }
2459
1899
  );
2460
- var ExcelIcon2 = () => /* @__PURE__ */ jsxs16(
1900
+ var ExcelIcon = () => /* @__PURE__ */ jsxs13(
2461
1901
  "svg",
2462
1902
  {
2463
1903
  xmlns: "http://www.w3.org/2000/svg",
2464
1904
  viewBox: "0 0 48 48",
2465
1905
  className: "w-10 h-10",
2466
1906
  children: [
2467
- /* @__PURE__ */ jsx39(
1907
+ /* @__PURE__ */ jsx34(
2468
1908
  "path",
2469
1909
  {
2470
1910
  fill: "#169154",
2471
1911
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
2472
1912
  }
2473
1913
  ),
2474
- /* @__PURE__ */ jsx39(
1914
+ /* @__PURE__ */ jsx34(
2475
1915
  "path",
2476
1916
  {
2477
1917
  fill: "#18482a",
2478
1918
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
2479
1919
  }
2480
1920
  ),
2481
- /* @__PURE__ */ jsx39("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
2482
- /* @__PURE__ */ jsx39("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
2483
- /* @__PURE__ */ jsxs16("g", { children: [
2484
- /* @__PURE__ */ jsx39(
1921
+ /* @__PURE__ */ jsx34("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1922
+ /* @__PURE__ */ jsx34("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1923
+ /* @__PURE__ */ jsxs13("g", { children: [
1924
+ /* @__PURE__ */ jsx34(
2485
1925
  "path",
2486
1926
  {
2487
1927
  fill: "#29c27f",
2488
1928
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
2489
1929
  }
2490
1930
  ),
2491
- /* @__PURE__ */ jsx39(
1931
+ /* @__PURE__ */ jsx34(
2492
1932
  "path",
2493
1933
  {
2494
1934
  fill: "#27663f",
2495
1935
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
2496
1936
  }
2497
1937
  ),
2498
- /* @__PURE__ */ jsx39("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
2499
- /* @__PURE__ */ jsx39("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1938
+ /* @__PURE__ */ jsx34("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1939
+ /* @__PURE__ */ jsx34("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
2500
1940
  ] }),
2501
- /* @__PURE__ */ jsx39(
1941
+ /* @__PURE__ */ jsx34(
2502
1942
  "path",
2503
1943
  {
2504
1944
  fill: "#0c7238",
2505
1945
  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"
2506
1946
  }
2507
1947
  ),
2508
- /* @__PURE__ */ jsx39(
1948
+ /* @__PURE__ */ jsx34(
2509
1949
  "path",
2510
1950
  {
2511
1951
  fill: "#fff",
@@ -2515,7 +1955,7 @@ var ExcelIcon2 = () => /* @__PURE__ */ jsxs16(
2515
1955
  ]
2516
1956
  }
2517
1957
  );
2518
- var WordIcon2 = () => /* @__PURE__ */ jsxs16(
1958
+ var WordIcon = () => /* @__PURE__ */ jsxs13(
2519
1959
  "svg",
2520
1960
  {
2521
1961
  xmlns: "http://www.w3.org/2000/svg",
@@ -2523,14 +1963,14 @@ var WordIcon2 = () => /* @__PURE__ */ jsxs16(
2523
1963
  className: "w-10 h-10",
2524
1964
  baseProfile: "basic",
2525
1965
  children: [
2526
- /* @__PURE__ */ jsx39(
1966
+ /* @__PURE__ */ jsx34(
2527
1967
  "path",
2528
1968
  {
2529
1969
  fill: "#283593",
2530
1970
  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"
2531
1971
  }
2532
1972
  ),
2533
- /* @__PURE__ */ jsxs16(
1973
+ /* @__PURE__ */ jsxs13(
2534
1974
  "linearGradient",
2535
1975
  {
2536
1976
  id: "qh2LT5tehRDFkLLfb-odWa",
@@ -2541,19 +1981,19 @@ var WordIcon2 = () => /* @__PURE__ */ jsxs16(
2541
1981
  gradientTransform: "translate(0 -339.89)",
2542
1982
  gradientUnits: "userSpaceOnUse",
2543
1983
  children: [
2544
- /* @__PURE__ */ jsx39("stop", { offset: "0", "stop-color": "#66c0ff" }),
2545
- /* @__PURE__ */ jsx39("stop", { offset: ".26", "stop-color": "#0094f0" })
1984
+ /* @__PURE__ */ jsx34("stop", { offset: "0", "stop-color": "#66c0ff" }),
1985
+ /* @__PURE__ */ jsx34("stop", { offset: ".26", "stop-color": "#0094f0" })
2546
1986
  ]
2547
1987
  }
2548
1988
  ),
2549
- /* @__PURE__ */ jsx39(
1989
+ /* @__PURE__ */ jsx34(
2550
1990
  "path",
2551
1991
  {
2552
1992
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
2553
1993
  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"
2554
1994
  }
2555
1995
  ),
2556
- /* @__PURE__ */ jsx39(
1996
+ /* @__PURE__ */ jsx34(
2557
1997
  "path",
2558
1998
  {
2559
1999
  fill: "#1e88e5",
@@ -2561,21 +2001,21 @@ var WordIcon2 = () => /* @__PURE__ */ jsxs16(
2561
2001
  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"
2562
2002
  }
2563
2003
  ),
2564
- /* @__PURE__ */ jsx39(
2004
+ /* @__PURE__ */ jsx34(
2565
2005
  "path",
2566
2006
  {
2567
2007
  fill: "#00e5ff",
2568
2008
  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"
2569
2009
  }
2570
2010
  ),
2571
- /* @__PURE__ */ jsx39(
2011
+ /* @__PURE__ */ jsx34(
2572
2012
  "path",
2573
2013
  {
2574
2014
  fill: "#1565c0",
2575
2015
  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"
2576
2016
  }
2577
2017
  ),
2578
- /* @__PURE__ */ jsx39(
2018
+ /* @__PURE__ */ jsx34(
2579
2019
  "path",
2580
2020
  {
2581
2021
  fill: "#fff",
@@ -2585,42 +2025,42 @@ var WordIcon2 = () => /* @__PURE__ */ jsxs16(
2585
2025
  ]
2586
2026
  }
2587
2027
  );
2588
- var StandardIcon2 = () => /* @__PURE__ */ jsxs16(
2028
+ var StandardIcon = () => /* @__PURE__ */ jsxs13(
2589
2029
  "svg",
2590
2030
  {
2591
2031
  xmlns: "http://www.w3.org/2000/svg",
2592
2032
  viewBox: "0 0 48 48",
2593
2033
  className: "w-10 h-10",
2594
2034
  children: [
2595
- /* @__PURE__ */ jsx39("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2596
- /* @__PURE__ */ jsx39("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2035
+ /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2036
+ /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
2597
2037
  ]
2598
2038
  }
2599
2039
  );
2600
- var PowerPointIcon2 = () => /* @__PURE__ */ jsxs16(
2040
+ var PowerPointIcon = () => /* @__PURE__ */ jsxs13(
2601
2041
  "svg",
2602
2042
  {
2603
2043
  xmlns: "http://www.w3.org/2000/svg",
2604
2044
  viewBox: "0 0 48 48",
2605
2045
  className: "w-10 h-10",
2606
2046
  children: [
2607
- /* @__PURE__ */ jsx39(
2047
+ /* @__PURE__ */ jsx34(
2608
2048
  "path",
2609
2049
  {
2610
2050
  fill: "#dc4c2c",
2611
2051
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
2612
2052
  }
2613
2053
  ),
2614
- /* @__PURE__ */ jsx39("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2615
- /* @__PURE__ */ jsx39("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2616
- /* @__PURE__ */ jsx39(
2054
+ /* @__PURE__ */ jsx34("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
2055
+ /* @__PURE__ */ jsx34("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
2056
+ /* @__PURE__ */ jsx34(
2617
2057
  "path",
2618
2058
  {
2619
2059
  fill: "#9b341f",
2620
2060
  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"
2621
2061
  }
2622
2062
  ),
2623
- /* @__PURE__ */ jsx39(
2063
+ /* @__PURE__ */ jsx34(
2624
2064
  "path",
2625
2065
  {
2626
2066
  fill: "#fff",
@@ -2630,16 +2070,16 @@ var PowerPointIcon2 = () => /* @__PURE__ */ jsxs16(
2630
2070
  ]
2631
2071
  }
2632
2072
  );
2633
- var TextIcon2 = () => /* @__PURE__ */ jsxs16(
2073
+ var TextIcon = () => /* @__PURE__ */ jsxs13(
2634
2074
  "svg",
2635
2075
  {
2636
2076
  xmlns: "http://www.w3.org/2000/svg",
2637
2077
  viewBox: "0 0 48 48",
2638
2078
  className: "w-10 h-10",
2639
2079
  children: [
2640
- /* @__PURE__ */ jsx39("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2641
- /* @__PURE__ */ jsx39("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2642
- /* @__PURE__ */ jsx39(
2080
+ /* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
2081
+ /* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
2082
+ /* @__PURE__ */ jsx34(
2643
2083
  "path",
2644
2084
  {
2645
2085
  fill: "#1976D2",
@@ -2649,7 +2089,7 @@ var TextIcon2 = () => /* @__PURE__ */ jsxs16(
2649
2089
  ]
2650
2090
  }
2651
2091
  );
2652
- var ArchiveIcon2 = () => /* @__PURE__ */ jsxs16(
2092
+ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
2653
2093
  "svg",
2654
2094
  {
2655
2095
  xmlns: "http://www.w3.org/2000/svg",
@@ -2659,14 +2099,14 @@ var ArchiveIcon2 = () => /* @__PURE__ */ jsxs16(
2659
2099
  version: "1.0",
2660
2100
  className: "w-10 h-10",
2661
2101
  children: [
2662
- /* @__PURE__ */ jsx39("defs", { children: /* @__PURE__ */ jsx39("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx39(
2102
+ /* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsx34("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx34(
2663
2103
  "path",
2664
2104
  {
2665
2105
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
2666
2106
  "clip-rule": "nonzero"
2667
2107
  }
2668
2108
  ) }) }),
2669
- /* @__PURE__ */ jsx39("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx39(
2109
+ /* @__PURE__ */ jsx34("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx34(
2670
2110
  "path",
2671
2111
  {
2672
2112
  fill: "#ff9100",
@@ -2675,7 +2115,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ jsxs16(
2675
2115
  "fill-rule": "nonzero"
2676
2116
  }
2677
2117
  ) }),
2678
- /* @__PURE__ */ jsx39(
2118
+ /* @__PURE__ */ jsx34(
2679
2119
  "path",
2680
2120
  {
2681
2121
  fill: "#fbe9e7",
@@ -2684,7 +2124,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ jsxs16(
2684
2124
  "fill-rule": "nonzero"
2685
2125
  }
2686
2126
  ),
2687
- /* @__PURE__ */ jsx39(
2127
+ /* @__PURE__ */ jsx34(
2688
2128
  "path",
2689
2129
  {
2690
2130
  fill: "#ffe0b2",
@@ -2693,7 +2133,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ jsxs16(
2693
2133
  "fill-rule": "nonzero"
2694
2134
  }
2695
2135
  ),
2696
- /* @__PURE__ */ jsx39(
2136
+ /* @__PURE__ */ jsx34(
2697
2137
  "path",
2698
2138
  {
2699
2139
  fill: "#ffe0b2",
@@ -2702,7 +2142,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ jsxs16(
2702
2142
  "fill-rule": "nonzero"
2703
2143
  }
2704
2144
  ),
2705
- /* @__PURE__ */ jsx39(
2145
+ /* @__PURE__ */ jsx34(
2706
2146
  "path",
2707
2147
  {
2708
2148
  fill: "#ffe0b2",
@@ -2714,28 +2154,28 @@ var ArchiveIcon2 = () => /* @__PURE__ */ jsxs16(
2714
2154
  ]
2715
2155
  }
2716
2156
  );
2717
- var getFileDetails2 = (url) => {
2157
+ var getFileDetails = (url) => {
2718
2158
  const extMatch = url.match(/\.([a-zA-Z0-9]+)(?:[\?#]|$)/);
2719
2159
  const ext = extMatch ? extMatch[1].toLowerCase() : "";
2720
- let Icon = StandardIcon2;
2160
+ let Icon = StandardIcon;
2721
2161
  let extLabel = "FILE";
2722
2162
  if (ext === "pdf") {
2723
- Icon = PdfIcon2;
2163
+ Icon = PdfIcon;
2724
2164
  extLabel = "PDF";
2725
2165
  } else if (["xls", "xlsx", "csv"].includes(ext)) {
2726
- Icon = ExcelIcon2;
2166
+ Icon = ExcelIcon;
2727
2167
  extLabel = "Excel";
2728
2168
  } else if (["doc", "docx"].includes(ext)) {
2729
- Icon = WordIcon2;
2169
+ Icon = WordIcon;
2730
2170
  extLabel = "Word";
2731
2171
  } else if (["ppt", "pptx"].includes(ext)) {
2732
- Icon = PowerPointIcon2;
2172
+ Icon = PowerPointIcon;
2733
2173
  extLabel = "PowerPoint";
2734
2174
  } else if (["txt", "rtf"].includes(ext)) {
2735
- Icon = TextIcon2;
2175
+ Icon = TextIcon;
2736
2176
  extLabel = "Text";
2737
2177
  } else if (["zip", "rar", "7z"].includes(ext)) {
2738
- Icon = ArchiveIcon2;
2178
+ Icon = ArchiveIcon;
2739
2179
  extLabel = "Archive";
2740
2180
  } else if (ext) {
2741
2181
  extLabel = ext.toUpperCase();
@@ -2777,8 +2217,8 @@ var DocumentNode = (props) => {
2777
2217
  }
2778
2218
  }
2779
2219
  if (documents.length === 0) {
2780
- return /* @__PURE__ */ jsx39(Fragment6, { children: /* @__PURE__ */ jsxs16("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2781
- /* @__PURE__ */ jsx39("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx39(
2220
+ 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: [
2221
+ /* @__PURE__ */ jsx34("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
2782
2222
  "svg",
2783
2223
  {
2784
2224
  className: "w-5 h-5",
@@ -2786,7 +2226,7 @@ var DocumentNode = (props) => {
2786
2226
  stroke: "currentColor",
2787
2227
  viewBox: "0 0 24 24",
2788
2228
  xmlns: "http://www.w3.org/2000/svg",
2789
- children: /* @__PURE__ */ jsx39(
2229
+ children: /* @__PURE__ */ jsx34(
2790
2230
  "path",
2791
2231
  {
2792
2232
  strokeLinecap: "round",
@@ -2797,11 +2237,11 @@ var DocumentNode = (props) => {
2797
2237
  )
2798
2238
  }
2799
2239
  ) }),
2800
- /* @__PURE__ */ jsx39("div", { className: "text-sm font-medium", children: "No documents found" }),
2801
- /* @__PURE__ */ jsx39("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2240
+ /* @__PURE__ */ jsx34("div", { className: "text-sm font-medium", children: "No documents found" }),
2241
+ /* @__PURE__ */ jsx34("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2802
2242
  ] }) });
2803
2243
  }
2804
- return /* @__PURE__ */ jsx39("div", { className: "", children: documents.map((doc, index) => {
2244
+ return /* @__PURE__ */ jsx34("div", { className: "", children: documents.map((doc, index) => {
2805
2245
  const documentUrl = AssetUtility_default.resolveUrl(
2806
2246
  props.assetBaseUrl,
2807
2247
  doc.assetUrl
@@ -2818,17 +2258,17 @@ var DocumentNode = (props) => {
2818
2258
  documentTitle = documentUrl.split("/").pop()?.replace(/\.[^/.]+$/, "") || "Document";
2819
2259
  }
2820
2260
  }
2821
- const { Icon, extLabel } = getFileDetails2(documentUrl);
2822
- return /* @__PURE__ */ jsxs16(
2261
+ const { Icon, extLabel } = getFileDetails(documentUrl);
2262
+ return /* @__PURE__ */ jsxs13(
2823
2263
  "div",
2824
2264
  {
2825
2265
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2826
2266
  children: [
2827
- /* @__PURE__ */ jsxs16("div", { className: "flex items-center space-x-4", children: [
2828
- /* @__PURE__ */ jsx39("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx39(Icon, {}) }),
2829
- /* @__PURE__ */ jsx39("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx39("h4", { className: "text-base font-semibold", children: documentTitle }) })
2267
+ /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-4", children: [
2268
+ /* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx34(Icon, {}) }),
2269
+ /* @__PURE__ */ jsx34("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx34("h4", { className: "text-base font-semibold", children: documentTitle }) })
2830
2270
  ] }),
2831
- /* @__PURE__ */ jsxs16(
2271
+ /* @__PURE__ */ jsxs13(
2832
2272
  "a",
2833
2273
  {
2834
2274
  href: documentUrl,
@@ -2836,7 +2276,7 @@ var DocumentNode = (props) => {
2836
2276
  rel: "noopener noreferrer",
2837
2277
  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",
2838
2278
  children: [
2839
- /* @__PURE__ */ jsxs16(
2279
+ /* @__PURE__ */ jsxs13(
2840
2280
  "svg",
2841
2281
  {
2842
2282
  className: "w-4 h-4 mr-2",
@@ -2844,7 +2284,7 @@ var DocumentNode = (props) => {
2844
2284
  stroke: "currentColor",
2845
2285
  viewBox: "0 0 24 24",
2846
2286
  children: [
2847
- /* @__PURE__ */ jsx39(
2287
+ /* @__PURE__ */ jsx34(
2848
2288
  "path",
2849
2289
  {
2850
2290
  strokeLinecap: "round",
@@ -2853,7 +2293,7 @@ var DocumentNode = (props) => {
2853
2293
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2854
2294
  }
2855
2295
  ),
2856
- /* @__PURE__ */ jsx39(
2296
+ /* @__PURE__ */ jsx34(
2857
2297
  "path",
2858
2298
  {
2859
2299
  strokeLinecap: "round",
@@ -2878,14 +2318,14 @@ var DocumentNode = (props) => {
2878
2318
  var DocumentNode_default = DocumentNode;
2879
2319
 
2880
2320
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
2881
- import dynamic10 from "next/dynamic";
2882
- import { jsx as jsx40 } from "react/jsx-runtime";
2883
- var IframeClient2 = dynamic10(() => import("./IframeClient-WF2KLXZB.mjs"), {
2321
+ import dynamic11 from "next/dynamic";
2322
+ import { jsx as jsx35 } from "react/jsx-runtime";
2323
+ var IframeClient2 = dynamic11(() => import("./IframeClient-WF2KLXZB.mjs"), {
2884
2324
  ssr: false
2885
2325
  });
2886
2326
  var GoogleMapNode = (props) => {
2887
2327
  let src = props.node.embedUrl;
2888
- return /* @__PURE__ */ jsx40("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx40(
2328
+ return /* @__PURE__ */ jsx35("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx35(
2889
2329
  IframeClient2,
2890
2330
  {
2891
2331
  src,
@@ -2897,12 +2337,12 @@ var GoogleMapNode = (props) => {
2897
2337
  var GoogleMapNode_default = GoogleMapNode;
2898
2338
 
2899
2339
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2900
- import { jsx as jsx41, jsxs as jsxs17 } from "react/jsx-runtime";
2901
- var Pagination = dynamic11(() => import("./Pagination-T7Z2NXKO.mjs"), { ssr: true });
2902
- var DataBindingControls = dynamic11(() => import("./DataBindingControls-ESDLOHNB.mjs"), {
2340
+ import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2341
+ var Pagination = dynamic12(() => import("./Pagination-T7Z2NXKO.mjs"), { ssr: true });
2342
+ var DataBindingControls = dynamic12(() => import("./DataBindingControls-JLAO3NJL.mjs"), {
2903
2343
  ssr: true
2904
2344
  });
2905
- var Slider = dynamic11(() => import("./Slider-554BKC7N.mjs"), {
2345
+ var Slider = dynamic12(() => import("./Slider-554BKC7N.mjs"), {
2906
2346
  ssr: false
2907
2347
  });
2908
2348
  function toCamelCase(str) {
@@ -3156,7 +2596,7 @@ var DivContainer = async (props) => {
3156
2596
  response = await serviceClient.get(endpoint);
3157
2597
  result = response?.result;
3158
2598
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
3159
- return /* @__PURE__ */ jsx41(NoDataFound_default, {});
2599
+ return /* @__PURE__ */ jsx36(NoDataFound_default, {});
3160
2600
  }
3161
2601
  if (dataBindingProperties.childCollectionName && props.dataitem) {
3162
2602
  childCollectionData = getNestedValue6(
@@ -3176,7 +2616,7 @@ var DivContainer = async (props) => {
3176
2616
  }
3177
2617
  const SelectedNode = NodeTypes2[node.type];
3178
2618
  if (!SelectedNode) return null;
3179
- return /* @__PURE__ */ jsx41(React25.Fragment, { children: /* @__PURE__ */ jsx41(
2619
+ return /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
3180
2620
  SelectedNode,
3181
2621
  {
3182
2622
  node,
@@ -3196,7 +2636,7 @@ var DivContainer = async (props) => {
3196
2636
  }
3197
2637
  ) }, key);
3198
2638
  }
3199
- function renderChildren2(nodes, props2, data, key, href) {
2639
+ function renderChildren(nodes, props2, data, key, href) {
3200
2640
  if (!nodes) return null;
3201
2641
  const childNodes = nodes.map((node, index) => {
3202
2642
  if (
@@ -3313,7 +2753,7 @@ var DivContainer = async (props) => {
3313
2753
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
3314
2754
  );
3315
2755
  const WrapperComponent = Wrapper;
3316
- const renderedContainer = /* @__PURE__ */ jsx41(
2756
+ const renderedContainer = /* @__PURE__ */ jsx36(
3317
2757
  WrapperComponent,
3318
2758
  {
3319
2759
  id: guid,
@@ -3321,17 +2761,17 @@ var DivContainer = async (props) => {
3321
2761
  className: classNames || void 0,
3322
2762
  ...wrapperProps,
3323
2763
  children: dataToRender.map(
3324
- (item, idx) => item?.links?.view && renderLink ? renderChildren2(
2764
+ (item, idx) => item?.links?.view && renderLink ? renderChildren(
3325
2765
  props.node.children,
3326
2766
  props,
3327
2767
  item,
3328
2768
  idx,
3329
2769
  props.href ? void 0 : item?.links?.view
3330
- )?.map((child, i) => /* @__PURE__ */ jsx41(React25.Fragment, { children: child }, i)) : renderChildren2(props.node.children, props, item, idx)
2770
+ )?.map((child, i) => /* @__PURE__ */ jsx36(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
3331
2771
  )
3332
2772
  }
3333
2773
  );
3334
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx41(
2774
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx36(
3335
2775
  Pagination,
3336
2776
  {
3337
2777
  path: props.path,
@@ -3339,15 +2779,15 @@ var DivContainer = async (props) => {
3339
2779
  dataset: response
3340
2780
  }
3341
2781
  ) : null;
3342
- return /* @__PURE__ */ jsxs17(React25.Fragment, { children: [
3343
- /* @__PURE__ */ jsx41(
2782
+ return /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2783
+ /* @__PURE__ */ jsx36(
3344
2784
  "style",
3345
2785
  {
3346
2786
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
3347
2787
  }
3348
2788
  ),
3349
- showDataBindingControls ? /* @__PURE__ */ jsxs17(React25.Fragment, { children: [
3350
- /* @__PURE__ */ jsx41(
2789
+ showDataBindingControls ? /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
2790
+ /* @__PURE__ */ jsx36(
3351
2791
  DataBindingControls,
3352
2792
  {
3353
2793
  mode: "toolbar",
@@ -3359,18 +2799,18 @@ var DivContainer = async (props) => {
3359
2799
  showSearchBar: dataBindingProperties?.showSearchBar
3360
2800
  }
3361
2801
  ),
3362
- /* @__PURE__ */ jsxs17(
2802
+ /* @__PURE__ */ jsxs14(
3363
2803
  "div",
3364
2804
  {
3365
2805
  className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
3366
2806
  children: [
3367
- /* @__PURE__ */ jsxs17("div", { className: "min-w-0", children: [
2807
+ /* @__PURE__ */ jsxs14("div", { className: "min-w-0", children: [
3368
2808
  renderedContainer,
3369
2809
  paginationControl
3370
2810
  ] }),
3371
- dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs17("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
3372
- /* @__PURE__ */ jsx41("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
3373
- /* @__PURE__ */ jsx41(
2811
+ dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs14("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
2812
+ /* @__PURE__ */ jsx36("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
2813
+ /* @__PURE__ */ jsx36(
3374
2814
  DataBindingControls,
3375
2815
  {
3376
2816
  mode: "facets",
@@ -3384,16 +2824,16 @@ var DivContainer = async (props) => {
3384
2824
  ]
3385
2825
  }
3386
2826
  )
3387
- ] }) : /* @__PURE__ */ jsxs17(React25.Fragment, { children: [
2827
+ ] }) : /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
3388
2828
  renderedContainer,
3389
- paginationControl && /* @__PURE__ */ jsx41("div", { children: paginationControl })
2829
+ paginationControl && /* @__PURE__ */ jsx36("div", { children: paginationControl })
3390
2830
  ] })
3391
2831
  ] });
3392
2832
  };
3393
2833
  var DivContainer_default = DivContainer;
3394
2834
 
3395
2835
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
3396
- import { jsx as jsx42 } from "react/jsx-runtime";
2836
+ import { jsx as jsx37 } from "react/jsx-runtime";
3397
2837
  var NodeTypes = {
3398
2838
  ["paragraph"]: ParagraphNode_default,
3399
2839
  ["heading"]: HeadingNode_default,
@@ -3431,14 +2871,14 @@ var PageBodyRenderer = (props) => {
3431
2871
  }
3432
2872
  return true;
3433
2873
  };
3434
- return /* @__PURE__ */ jsx42(React26.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2874
+ return /* @__PURE__ */ jsx37(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
3435
2875
  {
3436
2876
  }
3437
2877
  const SelectedNode = NodeTypes[node.type];
3438
2878
  if (!shouldRenderNode(node)) {
3439
2879
  return null;
3440
2880
  }
3441
- return /* @__PURE__ */ jsx42(React26.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx42(React26.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx42(React26.Fragment, { children: /* @__PURE__ */ jsx42(
2881
+ return /* @__PURE__ */ jsx37(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx37(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
3442
2882
  SelectedNode,
3443
2883
  {
3444
2884
  node,
@@ -3454,7 +2894,7 @@ var PageBodyRenderer = (props) => {
3454
2894
  device: props.device,
3455
2895
  widgetRenderer: props.widgetRenderer
3456
2896
  }
3457
- ) }) : /* @__PURE__ */ jsx42(React26.Fragment, { children: /* @__PURE__ */ jsx42(
2897
+ ) }) : /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
3458
2898
  SelectedNode,
3459
2899
  {
3460
2900
  node,
@@ -3524,7 +2964,7 @@ function EnterAnimationHydrator() {
3524
2964
 
3525
2965
  // src/components/Toast.tsx
3526
2966
  import { useCallback, useEffect as useEffect2, useRef, useState } from "react";
3527
- import { Fragment as Fragment7, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
2967
+ import { Fragment as Fragment7, jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
3528
2968
  var Toast = () => {
3529
2969
  const [showToast, setShowToast] = useState(false);
3530
2970
  const [message, setMessage] = useState("");
@@ -3558,8 +2998,8 @@ var Toast = () => {
3558
2998
  });
3559
2999
  };
3560
3000
  }, [closeToast, showMessage]);
3561
- return /* @__PURE__ */ jsx43(Fragment7, { children: showToast && /* @__PURE__ */ jsx43("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs18("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
3562
- /* @__PURE__ */ jsx43(
3001
+ 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: [
3002
+ /* @__PURE__ */ jsx38(
3563
3003
  "span",
3564
3004
  {
3565
3005
  className: "font-medium text-inherit text-sm",
@@ -3567,7 +3007,7 @@ var Toast = () => {
3567
3007
  children: message
3568
3008
  }
3569
3009
  ),
3570
- /* @__PURE__ */ jsx43("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx43(
3010
+ /* @__PURE__ */ jsx38("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx38(
3571
3011
  "svg",
3572
3012
  {
3573
3013
  xmlns: "http://www.w3.org/2000/svg",
@@ -3575,7 +3015,7 @@ var Toast = () => {
3575
3015
  fill: "none",
3576
3016
  viewBox: "0 0 24 24",
3577
3017
  stroke: "currentColor",
3578
- children: /* @__PURE__ */ jsx43("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3018
+ children: /* @__PURE__ */ jsx38("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
3579
3019
  }
3580
3020
  ) })
3581
3021
  ] }) }) });
@@ -3585,7 +3025,7 @@ var Toast_default = Toast;
3585
3025
  // src/components/NavigationTabsV2.tsx
3586
3026
  import Link2 from "next/link";
3587
3027
  import { usePathname } from "next/navigation";
3588
- import { jsx as jsx44 } from "react/jsx-runtime";
3028
+ import { jsx as jsx39 } from "react/jsx-runtime";
3589
3029
  function resolveRoutePlaceholders(route, params) {
3590
3030
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
3591
3031
  const value = params[key];
@@ -3610,8 +3050,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3610
3050
  isActive: tab.isActive
3611
3051
  })) || [];
3612
3052
  if (mappedTabs.length === 0) return null;
3613
- return /* @__PURE__ */ jsx44("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3614
- return /* @__PURE__ */ jsx44(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx44(
3053
+ return /* @__PURE__ */ jsx39("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
3054
+ return /* @__PURE__ */ jsx39(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx39(
3615
3055
  "div",
3616
3056
  {
3617
3057
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -3624,51 +3064,51 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
3624
3064
  var NavigationTabsV2_default = NavigationTabsV2;
3625
3065
 
3626
3066
  // src/components/dataForm/DataList.tsx
3627
- import React30, { useEffect as useEffect3, useState as useState2, useCallback as useCallback2, useReducer } from "react";
3067
+ import React28, { useEffect as useEffect3, useState as useState2, useCallback as useCallback2, useReducer } from "react";
3628
3068
  import { useRouter } from "next/navigation";
3629
3069
 
3630
3070
  // src/components/dataForm/NoContentView.tsx
3631
- import React28 from "react";
3632
- import { jsx as jsx45 } from "react/jsx-runtime";
3071
+ import React26 from "react";
3072
+ import { jsx as jsx40 } from "react/jsx-runtime";
3633
3073
  var NoContentView = (props) => {
3634
- return /* @__PURE__ */ jsx45(React28.Fragment, { children: props.isDataFound === false && props.children });
3074
+ return /* @__PURE__ */ jsx40(React26.Fragment, { children: props.isDataFound === false && props.children });
3635
3075
  };
3636
3076
  var NoContentView_default = NoContentView;
3637
3077
 
3638
3078
  // src/components/dataForm/ContentView.tsx
3639
- import React29 from "react";
3640
- import { jsx as jsx46, jsxs as jsxs19 } from "react/jsx-runtime";
3079
+ import React27 from "react";
3080
+ import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
3641
3081
  var ContentView = (props) => {
3642
- return /* @__PURE__ */ jsxs19(React29.Fragment, { children: [
3643
- props.isDataFound == null && /* @__PURE__ */ jsx46("div", { className: "", children: /* @__PURE__ */ jsxs19("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3644
- /* @__PURE__ */ jsxs19("div", { className: "flex items-center mb-4", children: [
3645
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3646
- /* @__PURE__ */ jsxs19("div", { className: "ml-2", children: [
3647
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3648
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3082
+ return /* @__PURE__ */ jsxs16(React27.Fragment, { children: [
3083
+ props.isDataFound == null && /* @__PURE__ */ jsx41("div", { className: "", children: /* @__PURE__ */ jsxs16("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
3084
+ /* @__PURE__ */ jsxs16("div", { className: "flex items-center mb-4", children: [
3085
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3086
+ /* @__PURE__ */ jsxs16("div", { className: "ml-2", children: [
3087
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3088
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3649
3089
  ] })
3650
3090
  ] }),
3651
- /* @__PURE__ */ jsxs19("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3652
- /* @__PURE__ */ jsxs19("div", { className: "animate-pulse", children: [
3653
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3654
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3655
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3656
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3657
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3091
+ /* @__PURE__ */ jsxs16("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3092
+ /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3093
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3094
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3095
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3096
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3097
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3658
3098
  ] }),
3659
- /* @__PURE__ */ jsxs19("div", { className: "animate-pulse", children: [
3660
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3661
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3662
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3663
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3664
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3099
+ /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3100
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3101
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3102
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3103
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3104
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3665
3105
  ] }),
3666
- /* @__PURE__ */ jsxs19("div", { className: "animate-pulse", children: [
3667
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3668
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3669
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3670
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3671
- /* @__PURE__ */ jsx46("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3106
+ /* @__PURE__ */ jsxs16("div", { className: "animate-pulse", children: [
3107
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3108
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3109
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3110
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3111
+ /* @__PURE__ */ jsx41("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3672
3112
  ] })
3673
3113
  ] })
3674
3114
  ] }) }),
@@ -3722,7 +3162,7 @@ function FormReducer(state, action) {
3722
3162
  var FormReducer_default = FormReducer;
3723
3163
 
3724
3164
  // src/components/dataForm/DataList.tsx
3725
- import { Fragment as Fragment8, jsx as jsx47, jsxs as jsxs20 } from "react/jsx-runtime";
3165
+ import { Fragment as Fragment8, jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
3726
3166
  var DataList = (props) => {
3727
3167
  const router = useRouter();
3728
3168
  let builder = new OdataBuilder(props.path);
@@ -3763,7 +3203,7 @@ var DataList = (props) => {
3763
3203
  if (path.includes(".")) {
3764
3204
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
3765
3205
  } else if (Array.isArray(obj[path])) {
3766
- return obj[path].map((item, index) => /* @__PURE__ */ jsx47("div", { children: item }, index));
3206
+ return obj[path].map((item, index) => /* @__PURE__ */ jsx42("div", { children: item }, index));
3767
3207
  } else {
3768
3208
  return obj[path];
3769
3209
  }
@@ -3845,30 +3285,30 @@ var DataList = (props) => {
3845
3285
  const renderPageNumbers = () => {
3846
3286
  if (pages <= 10) {
3847
3287
  return Array.from({ length: pages }, (_, index) => index + 1).map(
3848
- (page) => /* @__PURE__ */ jsx47(React30.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx47(
3288
+ (page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3849
3289
  Hyperlink,
3850
3290
  {
3851
3291
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3852
3292
  href: builder.getNewPageUrl(page),
3853
3293
  children: page
3854
3294
  }
3855
- ) : /* @__PURE__ */ jsx47("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3295
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3856
3296
  );
3857
3297
  } else {
3858
3298
  const showFirstPages = activePageNumber <= 5;
3859
3299
  const showLastPages = activePageNumber > pages - 5;
3860
3300
  if (showFirstPages) {
3861
- return /* @__PURE__ */ jsxs20(Fragment8, { children: [
3862
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx47(React30.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx47(
3301
+ return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3302
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3863
3303
  Hyperlink,
3864
3304
  {
3865
3305
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3866
3306
  href: builder.getNewPageUrl(page),
3867
3307
  children: page
3868
3308
  }
3869
- ) : /* @__PURE__ */ jsx47("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3870
- /* @__PURE__ */ jsx47("span", { className: "px-2 py-1", children: "..." }),
3871
- /* @__PURE__ */ jsx47(
3309
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3310
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3311
+ /* @__PURE__ */ jsx42(
3872
3312
  Hyperlink,
3873
3313
  {
3874
3314
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3876,7 +3316,7 @@ var DataList = (props) => {
3876
3316
  children: pages - 1
3877
3317
  }
3878
3318
  ),
3879
- /* @__PURE__ */ jsx47(
3319
+ /* @__PURE__ */ jsx42(
3880
3320
  Hyperlink,
3881
3321
  {
3882
3322
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3884,7 +3324,7 @@ var DataList = (props) => {
3884
3324
  children: pages
3885
3325
  }
3886
3326
  ),
3887
- /* @__PURE__ */ jsx47("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs20(
3327
+ /* @__PURE__ */ jsx42("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3888
3328
  "select",
3889
3329
  {
3890
3330
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3896,18 +3336,18 @@ var DataList = (props) => {
3896
3336
  }
3897
3337
  },
3898
3338
  children: [
3899
- /* @__PURE__ */ jsx47("option", { className: "", value: "", children: "Jump to" }),
3339
+ /* @__PURE__ */ jsx42("option", { className: "", value: "", children: "Jump to" }),
3900
3340
  Array.from(
3901
3341
  { length: Math.max(0, pages - 10) },
3902
3342
  (_, index) => index + 9
3903
- ).map((page) => /* @__PURE__ */ jsx47("option", { value: page, children: page }, page))
3343
+ ).map((page) => /* @__PURE__ */ jsx42("option", { value: page, children: page }, page))
3904
3344
  ]
3905
3345
  }
3906
3346
  ) })
3907
3347
  ] });
3908
3348
  } else if (showLastPages) {
3909
- return /* @__PURE__ */ jsxs20(Fragment8, { children: [
3910
- /* @__PURE__ */ jsx47(
3349
+ return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3350
+ /* @__PURE__ */ jsx42(
3911
3351
  Hyperlink,
3912
3352
  {
3913
3353
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3915,7 +3355,7 @@ var DataList = (props) => {
3915
3355
  children: "1"
3916
3356
  }
3917
3357
  ),
3918
- /* @__PURE__ */ jsx47(
3358
+ /* @__PURE__ */ jsx42(
3919
3359
  Hyperlink,
3920
3360
  {
3921
3361
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3923,21 +3363,21 @@ var DataList = (props) => {
3923
3363
  children: "2"
3924
3364
  }
3925
3365
  ),
3926
- /* @__PURE__ */ jsx47("span", { className: "px-2 py-1", children: "..." }),
3366
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3927
3367
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
3928
- (page) => /* @__PURE__ */ jsx47(React30.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx47(
3368
+ (page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3929
3369
  Hyperlink,
3930
3370
  {
3931
3371
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3932
3372
  href: builder.getNewPageUrl(page),
3933
3373
  children: page
3934
3374
  }
3935
- ) : /* @__PURE__ */ jsx47("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3375
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3936
3376
  )
3937
3377
  ] });
3938
3378
  } else {
3939
- return /* @__PURE__ */ jsxs20(Fragment8, { children: [
3940
- /* @__PURE__ */ jsx47(
3379
+ return /* @__PURE__ */ jsxs17(Fragment8, { children: [
3380
+ /* @__PURE__ */ jsx42(
3941
3381
  Hyperlink,
3942
3382
  {
3943
3383
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3945,7 +3385,7 @@ var DataList = (props) => {
3945
3385
  children: "1"
3946
3386
  }
3947
3387
  ),
3948
- /* @__PURE__ */ jsx47(
3388
+ /* @__PURE__ */ jsx42(
3949
3389
  Hyperlink,
3950
3390
  {
3951
3391
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3953,20 +3393,20 @@ var DataList = (props) => {
3953
3393
  children: "2"
3954
3394
  }
3955
3395
  ),
3956
- /* @__PURE__ */ jsx47("span", { className: "px-2 py-1", children: "..." }),
3396
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3957
3397
  Array.from(
3958
3398
  { length: 5 },
3959
3399
  (_, index) => activePageNumber - 2 + index
3960
- ).map((page) => /* @__PURE__ */ jsx47(React30.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx47(
3400
+ ).map((page) => /* @__PURE__ */ jsx42(React28.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx42(
3961
3401
  Hyperlink,
3962
3402
  {
3963
3403
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3964
3404
  href: builder.getNewPageUrl(page),
3965
3405
  children: page
3966
3406
  }
3967
- ) : /* @__PURE__ */ jsx47("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3968
- /* @__PURE__ */ jsx47("span", { className: "px-2 py-1", children: "..." }),
3969
- /* @__PURE__ */ jsx47(
3407
+ ) : /* @__PURE__ */ jsx42("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3408
+ /* @__PURE__ */ jsx42("span", { className: "px-2 py-1", children: "..." }),
3409
+ /* @__PURE__ */ jsx42(
3970
3410
  Hyperlink,
3971
3411
  {
3972
3412
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3974,7 +3414,7 @@ var DataList = (props) => {
3974
3414
  children: pages - 1
3975
3415
  }
3976
3416
  ),
3977
- /* @__PURE__ */ jsx47(
3417
+ /* @__PURE__ */ jsx42(
3978
3418
  Hyperlink,
3979
3419
  {
3980
3420
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3982,7 +3422,7 @@ var DataList = (props) => {
3982
3422
  children: pages
3983
3423
  }
3984
3424
  ),
3985
- /* @__PURE__ */ jsx47("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs20(
3425
+ /* @__PURE__ */ jsx42("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs17(
3986
3426
  "select",
3987
3427
  {
3988
3428
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3994,8 +3434,8 @@ var DataList = (props) => {
3994
3434
  }
3995
3435
  },
3996
3436
  children: [
3997
- /* @__PURE__ */ jsx47("option", { value: "", children: "Jump to" }),
3998
- Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx47("option", { value: page, children: page }, page))
3437
+ /* @__PURE__ */ jsx42("option", { value: "", children: "Jump to" }),
3438
+ 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))
3999
3439
  ]
4000
3440
  }
4001
3441
  ) })
@@ -4003,16 +3443,16 @@ var DataList = (props) => {
4003
3443
  }
4004
3444
  }
4005
3445
  };
4006
- return /* @__PURE__ */ jsxs20(React30.Fragment, { children: [
4007
- /* @__PURE__ */ jsxs20(ContentView_default, { isDataFound, children: [
4008
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs20(
3446
+ return /* @__PURE__ */ jsxs17(React28.Fragment, { children: [
3447
+ /* @__PURE__ */ jsxs17(ContentView_default, { isDataFound, children: [
3448
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs17(
4009
3449
  "div",
4010
3450
  {
4011
3451
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
4012
3452
  children: [
4013
- props.title ? /* @__PURE__ */ jsx47("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx47("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx47("div", {}),
4014
- /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-3", children: [
4015
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx47(
3453
+ 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", {}),
3454
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3455
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx42(
4016
3456
  InputControl_default,
4017
3457
  {
4018
3458
  name: "Search_input",
@@ -4024,7 +3464,7 @@ var DataList = (props) => {
4024
3464
  }
4025
3465
  }
4026
3466
  ),
4027
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx47(
3467
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx42(
4028
3468
  InputControl_default,
4029
3469
  {
4030
3470
  name: filter.name,
@@ -4039,15 +3479,15 @@ var DataList = (props) => {
4039
3479
  },
4040
3480
  filter.name
4041
3481
  )),
4042
- props.addLinkHref && /* @__PURE__ */ jsxs20(
3482
+ props.addLinkHref && /* @__PURE__ */ jsxs17(
4043
3483
  Hyperlink,
4044
3484
  {
4045
3485
  className: "gap-1",
4046
3486
  linkType: "Primary" /* Solid */,
4047
3487
  href: props.addLinkHref,
4048
3488
  children: [
4049
- /* @__PURE__ */ jsx47(Icon_default, { name: "plus", className: "w-4 h-4" }),
4050
- /* @__PURE__ */ jsx47("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3489
+ /* @__PURE__ */ jsx42(Icon_default, { name: "plus", className: "w-4 h-4" }),
3490
+ /* @__PURE__ */ jsx42("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
4051
3491
  ]
4052
3492
  }
4053
3493
  )
@@ -4055,8 +3495,8 @@ var DataList = (props) => {
4055
3495
  ]
4056
3496
  }
4057
3497
  ),
4058
- /* @__PURE__ */ jsx47("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs20("table", { className: "w-full divide-y divide-gray-200", children: [
4059
- /* @__PURE__ */ jsx47("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsxs20("tr", { children: [
3498
+ /* @__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: [
3499
+ /* @__PURE__ */ jsx42("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsxs17("tr", { children: [
4060
3500
  props?.columns?.map((column) => {
4061
3501
  let url = builder.getNewOrderByUrl(column.name);
4062
3502
  let icon = "chevronUpDown";
@@ -4067,18 +3507,18 @@ var DataList = (props) => {
4067
3507
  icon = "chevronUp";
4068
3508
  url = builder.getNewOrderByUrl(column.name + " desc");
4069
3509
  }
4070
- return /* @__PURE__ */ jsx47(
3510
+ return /* @__PURE__ */ jsx42(
4071
3511
  "th",
4072
3512
  {
4073
3513
  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" : ""),
4074
- children: /* @__PURE__ */ jsx47(
3514
+ children: /* @__PURE__ */ jsx42(
4075
3515
  Hyperlink,
4076
3516
  {
4077
3517
  href: column.enableSorting ? url : void 0,
4078
3518
  className: "!text-neutral-contrast ",
4079
- children: /* @__PURE__ */ jsxs20("span", { className: "flex items-center space-x-1", children: [
4080
- /* @__PURE__ */ jsx47("span", { className: "text-black", children: column.label }),
4081
- column.enableSorting && /* @__PURE__ */ jsx47(Icon_default, { className: "w-4 h-4", name: icon })
3519
+ children: /* @__PURE__ */ jsxs17("span", { className: "flex items-center space-x-1", children: [
3520
+ /* @__PURE__ */ jsx42("span", { className: "text-black", children: column.label }),
3521
+ column.enableSorting && /* @__PURE__ */ jsx42(Icon_default, { className: "w-4 h-4", name: icon })
4082
3522
  ] })
4083
3523
  }
4084
3524
  )
@@ -4086,25 +3526,25 @@ var DataList = (props) => {
4086
3526
  column.name
4087
3527
  );
4088
3528
  }),
4089
- props.onQuickView && /* @__PURE__ */ jsx47("th", { className: "px-6 py-3 text-right font-medium bg-neutral-soft w-32 text-black", children: "Action" })
3529
+ props.onQuickView && /* @__PURE__ */ jsx42("th", { className: "px-6 py-3 text-right font-medium bg-neutral-soft w-32 text-black", children: "Action" })
4090
3530
  ] }) }),
4091
- /* @__PURE__ */ jsx47("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3531
+ /* @__PURE__ */ jsx42("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
4092
3532
  let validityClass = "";
4093
3533
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
4094
3534
  validityClass = "bg-alert-200";
4095
3535
  }
4096
- return /* @__PURE__ */ jsxs20("tr", { className: validityClass, children: [
3536
+ return /* @__PURE__ */ jsxs17("tr", { className: validityClass, children: [
4097
3537
  props?.columns?.map((column, colindex) => {
4098
- return /* @__PURE__ */ jsx47(React30.Fragment, { children: /* @__PURE__ */ jsx47(
3538
+ return /* @__PURE__ */ jsx42(React28.Fragment, { children: /* @__PURE__ */ jsx42(
4099
3539
  "td",
4100
3540
  {
4101
3541
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
4102
- children: column.addhref === true ? /* @__PURE__ */ jsx47(
3542
+ children: column.addhref === true ? /* @__PURE__ */ jsx42(
4103
3543
  Hyperlink,
4104
3544
  {
4105
3545
  className: "",
4106
3546
  href: `https://${dataitem[column.name]}`,
4107
- children: /* @__PURE__ */ jsx47(
3547
+ children: /* @__PURE__ */ jsx42(
4108
3548
  ViewControl_default,
4109
3549
  {
4110
3550
  controlType: column.controlType,
@@ -4117,11 +3557,11 @@ var DataList = (props) => {
4117
3557
  }
4118
3558
  )
4119
3559
  }
4120
- ) : column.showAsLink ? /* @__PURE__ */ jsx47(
3560
+ ) : column.showAsLink ? /* @__PURE__ */ jsx42(
4121
3561
  Hyperlink,
4122
3562
  {
4123
3563
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
4124
- children: /* @__PURE__ */ jsx47(
3564
+ children: /* @__PURE__ */ jsx42(
4125
3565
  ViewControl_default,
4126
3566
  {
4127
3567
  controlType: column.controlType,
@@ -4131,7 +3571,7 @@ var DataList = (props) => {
4131
3571
  }
4132
3572
  )
4133
3573
  }
4134
- ) : /* @__PURE__ */ jsx47(
3574
+ ) : /* @__PURE__ */ jsx42(
4135
3575
  ViewControl_default,
4136
3576
  {
4137
3577
  controlType: column.controlType,
@@ -4143,7 +3583,7 @@ var DataList = (props) => {
4143
3583
  }
4144
3584
  ) }, colindex);
4145
3585
  }),
4146
- props.onQuickView && /* @__PURE__ */ jsx47("td", { className: "px-6 py-2 text-right whitespace-nowrap", children: /* @__PURE__ */ jsxs20(
3586
+ props.onQuickView && /* @__PURE__ */ jsx42("td", { className: "px-6 py-2 text-right whitespace-nowrap", children: /* @__PURE__ */ jsxs17(
4147
3587
  "button",
4148
3588
  {
4149
3589
  type: "button",
@@ -4153,7 +3593,7 @@ var DataList = (props) => {
4153
3593
  },
4154
3594
  className: "inline-flex items-center gap-1.5 px-3 py-1 text-xs font-semibold rounded-md border border-neutral-300 bg-white hover:bg-neutral-100 text-neutral-800 transition-colors shadow-xs",
4155
3595
  children: [
4156
- /* @__PURE__ */ jsxs20(
3596
+ /* @__PURE__ */ jsxs17(
4157
3597
  "svg",
4158
3598
  {
4159
3599
  className: "w-3.5 h-3.5",
@@ -4164,22 +3604,22 @@ var DataList = (props) => {
4164
3604
  strokeLinecap: "round",
4165
3605
  strokeLinejoin: "round",
4166
3606
  children: [
4167
- /* @__PURE__ */ jsx47("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
4168
- /* @__PURE__ */ jsx47("circle", { cx: "12", cy: "12", r: "3" })
3607
+ /* @__PURE__ */ jsx42("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
3608
+ /* @__PURE__ */ jsx42("circle", { cx: "12", cy: "12", r: "3" })
4169
3609
  ]
4170
3610
  }
4171
3611
  ),
4172
- /* @__PURE__ */ jsx47("span", { children: props.quickViewLabel || "Quick View" })
3612
+ /* @__PURE__ */ jsx42("span", { children: props.quickViewLabel || "Quick View" })
4173
3613
  ]
4174
3614
  }
4175
3615
  ) })
4176
3616
  ] }, index);
4177
3617
  }) })
4178
3618
  ] }) }),
4179
- /* @__PURE__ */ jsx47("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs20("div", { className: "flex items-center justify-between", children: [
4180
- /* @__PURE__ */ jsx47("div", { className: "text-gray-700", children: label }),
4181
- /* @__PURE__ */ jsxs20("div", { className: "flex space-x-2 items-center", children: [
4182
- activePageNumber > 1 && /* @__PURE__ */ jsx47(
3619
+ /* @__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: [
3620
+ /* @__PURE__ */ jsx42("div", { className: "text-gray-700", children: label }),
3621
+ /* @__PURE__ */ jsxs17("div", { className: "flex space-x-2 items-center", children: [
3622
+ activePageNumber > 1 && /* @__PURE__ */ jsx42(
4183
3623
  Hyperlink,
4184
3624
  {
4185
3625
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -4187,9 +3627,9 @@ var DataList = (props) => {
4187
3627
  children: "Prev"
4188
3628
  }
4189
3629
  ),
4190
- activePageNumber <= 1 && /* @__PURE__ */ jsx47("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" }),
3630
+ 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" }),
4191
3631
  renderPageNumbers(),
4192
- activePageNumber < pages && /* @__PURE__ */ jsx47(
3632
+ activePageNumber < pages && /* @__PURE__ */ jsx42(
4193
3633
  Hyperlink,
4194
3634
  {
4195
3635
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -4197,19 +3637,19 @@ var DataList = (props) => {
4197
3637
  children: "Next"
4198
3638
  }
4199
3639
  ),
4200
- activePageNumber >= pages && /* @__PURE__ */ jsx47("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3640
+ 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" })
4201
3641
  ] })
4202
3642
  ] }) })
4203
3643
  ] }),
4204
- /* @__PURE__ */ jsxs20(NoContentView_default, { isDataFound, children: [
4205
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs20(
3644
+ /* @__PURE__ */ jsxs17(NoContentView_default, { isDataFound, children: [
3645
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs17(
4206
3646
  "div",
4207
3647
  {
4208
3648
  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`,
4209
3649
  children: [
4210
- props.title ? /* @__PURE__ */ jsx47("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx47("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx47("div", {}),
4211
- /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-3", children: [
4212
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx47(
3650
+ 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", {}),
3651
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-3", children: [
3652
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx42(
4213
3653
  InputControl_default,
4214
3654
  {
4215
3655
  name: "Search_input",
@@ -4221,7 +3661,7 @@ var DataList = (props) => {
4221
3661
  }
4222
3662
  }
4223
3663
  ),
4224
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx47(
3664
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx42(
4225
3665
  InputControl_default,
4226
3666
  {
4227
3667
  name: filter.name,
@@ -4236,15 +3676,15 @@ var DataList = (props) => {
4236
3676
  },
4237
3677
  filter.name
4238
3678
  )),
4239
- props.addLinkHref && /* @__PURE__ */ jsxs20(
3679
+ props.addLinkHref && /* @__PURE__ */ jsxs17(
4240
3680
  Hyperlink,
4241
3681
  {
4242
3682
  className: "gap-1",
4243
3683
  linkType: "Primary" /* Solid */,
4244
3684
  href: props.addLinkHref,
4245
3685
  children: [
4246
- /* @__PURE__ */ jsx47(Icon_default, { name: "plus", className: "w-4 h-4" }),
4247
- /* @__PURE__ */ jsx47("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3686
+ /* @__PURE__ */ jsx42(Icon_default, { name: "plus", className: "w-4 h-4" }),
3687
+ /* @__PURE__ */ jsx42("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
4248
3688
  ]
4249
3689
  }
4250
3690
  )
@@ -4252,8 +3692,8 @@ var DataList = (props) => {
4252
3692
  ]
4253
3693
  }
4254
3694
  ),
4255
- /* @__PURE__ */ jsxs20("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
4256
- /* @__PURE__ */ jsx47("div", { children: /* @__PURE__ */ jsx47("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx47("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx47("tr", { children: props?.columns?.map((column) => {
3695
+ /* @__PURE__ */ jsxs17("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3696
+ /* @__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) => {
4257
3697
  let url = builder.getNewOrderByUrl(column.name);
4258
3698
  let icon = "chevronUpDown";
4259
3699
  if (orderBy.includes(`${column.name} desc`)) {
@@ -4263,18 +3703,18 @@ var DataList = (props) => {
4263
3703
  icon = "chevronUp";
4264
3704
  url = builder.getNewOrderByUrl(column.name + " desc");
4265
3705
  }
4266
- return /* @__PURE__ */ jsx47(
3706
+ return /* @__PURE__ */ jsx42(
4267
3707
  "th",
4268
3708
  {
4269
3709
  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" : ""),
4270
- children: /* @__PURE__ */ jsx47(
3710
+ children: /* @__PURE__ */ jsx42(
4271
3711
  Hyperlink,
4272
3712
  {
4273
3713
  href: column.enableSorting ? url : void 0,
4274
3714
  className: "text-body-950",
4275
- children: /* @__PURE__ */ jsxs20("span", { className: "flex items-center space-x-1", children: [
4276
- /* @__PURE__ */ jsx47("span", { children: column.label }),
4277
- column.enableSorting && /* @__PURE__ */ jsx47(Icon_default, { className: "w-4 h-4", name: icon })
3715
+ children: /* @__PURE__ */ jsxs17("span", { className: "flex items-center space-x-1", children: [
3716
+ /* @__PURE__ */ jsx42("span", { children: column.label }),
3717
+ column.enableSorting && /* @__PURE__ */ jsx42(Icon_default, { className: "w-4 h-4", name: icon })
4278
3718
  ] })
4279
3719
  }
4280
3720
  )
@@ -4282,7 +3722,7 @@ var DataList = (props) => {
4282
3722
  column.name
4283
3723
  );
4284
3724
  }) }) }) }) }),
4285
- /* @__PURE__ */ jsx47("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3725
+ /* @__PURE__ */ jsx42("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
4286
3726
  ] })
4287
3727
  ] })
4288
3728
  ] });
@@ -4290,9 +3730,9 @@ var DataList = (props) => {
4290
3730
  var DataList_default = DataList;
4291
3731
 
4292
3732
  // src/components/dataForm/DataListRenderer.tsx
4293
- import React31, { useState as useState3, useEffect as useEffect4 } from "react";
3733
+ import React29, { useState as useState3, useEffect as useEffect4 } from "react";
4294
3734
  import { usePathname as usePathname2 } from "next/navigation";
4295
- import { jsx as jsx48, jsxs as jsxs21 } from "react/jsx-runtime";
3735
+ import { jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
4296
3736
  var viewControlMap = {
4297
3737
  number: ViewControlTypes.number,
4298
3738
  lineText: ViewControlTypes.lineText,
@@ -4387,13 +3827,13 @@ var DataListRenderer = ({
4387
3827
  isActive: landingPageUrl === pathname
4388
3828
  };
4389
3829
  });
4390
- return /* @__PURE__ */ jsxs21(React31.Fragment, { children: [
3830
+ return /* @__PURE__ */ jsxs18(React29.Fragment, { children: [
4391
3831
  resolvedTabs.length > 0 && // <NavigationTabsV2
4392
3832
  // tabs={resolvedTabs}
4393
3833
  // params={(widgetProps?.params ?? params) as Record<string, any>}
4394
3834
  // />
4395
- /* @__PURE__ */ jsx48(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4396
- /* @__PURE__ */ jsx48(
3835
+ /* @__PURE__ */ jsx43(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
3836
+ /* @__PURE__ */ jsx43(
4397
3837
  DataList_default,
4398
3838
  {
4399
3839
  addLinkHref,
@@ -4412,10 +3852,10 @@ var DataListRenderer = ({
4412
3852
  var DataListRenderer_default = DataListRenderer;
4413
3853
 
4414
3854
  // src/components/dataForm/DataForm.tsx
4415
- import React33, { useCallback as useCallback4, useEffect as useEffect5, useReducer as useReducer2, useRef as useRef2 } from "react";
3855
+ import React31, { useCallback as useCallback4, useEffect as useEffect5, useReducer as useReducer2, useRef as useRef2 } from "react";
4416
3856
 
4417
3857
  // src/components/dataForm/DataFormChildSection.tsx
4418
- import React32, { useCallback as useCallback3 } from "react";
3858
+ import React30, { useCallback as useCallback3 } from "react";
4419
3859
 
4420
3860
  // src/components/dataForm/StyleTypes.tsx
4421
3861
  var StyleTypes2 = /* @__PURE__ */ ((StyleTypes3) => {
@@ -4438,7 +3878,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
4438
3878
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
4439
3879
 
4440
3880
  // src/components/dataForm/DataFormChildSection.tsx
4441
- import { jsx as jsx49, jsxs as jsxs22 } from "react/jsx-runtime";
3881
+ import { jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
4442
3882
  var DataFormChildSection = (props) => {
4443
3883
  const { section } = props;
4444
3884
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -4506,14 +3946,14 @@ var DataFormChildSection = (props) => {
4506
3946
  childItemsToRender,
4507
3947
  allChildItems: childItems
4508
3948
  });
4509
- return /* @__PURE__ */ jsx49(React32.Fragment, { children: /* @__PURE__ */ jsxs22("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
4510
- section.sectionTitle && /* @__PURE__ */ jsx49("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
4511
- /* @__PURE__ */ jsx49("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs22("div", { className: "flex flex-col justify-between gap-2", children: [
4512
- /* @__PURE__ */ jsx49("div", { children: /* @__PURE__ */ jsxs22("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
4513
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx49("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
4514
- return /* @__PURE__ */ jsxs22("tr", { className: "", children: [
3949
+ return /* @__PURE__ */ jsx44(React30.Fragment, { children: /* @__PURE__ */ jsxs19("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
3950
+ section.sectionTitle && /* @__PURE__ */ jsx44("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
3951
+ /* @__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: [
3952
+ /* @__PURE__ */ jsx44("div", { children: /* @__PURE__ */ jsxs19("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
3953
+ (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx44("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
3954
+ return /* @__PURE__ */ jsxs19("tr", { className: "", children: [
4515
3955
  sectionRow.elements.map((field, index) => {
4516
- return /* @__PURE__ */ jsx49(
3956
+ return /* @__PURE__ */ jsx44(
4517
3957
  "th",
4518
3958
  {
4519
3959
  className: "py-3 font-normal text-left",
@@ -4522,21 +3962,21 @@ var DataFormChildSection = (props) => {
4522
3962
  field.name
4523
3963
  );
4524
3964
  }),
4525
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx49("th", { className: "py-3 font-normal text-left", children: "Actions" })
3965
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("th", { className: "py-3 font-normal text-left", children: "Actions" })
4526
3966
  ] }, sectionRowIndex);
4527
3967
  }) }),
4528
- /* @__PURE__ */ jsx49("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
3968
+ /* @__PURE__ */ jsx44("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
4529
3969
  const { item, originalIndex } = visibleItem;
4530
3970
  const rowKey = originalIndex;
4531
- return /* @__PURE__ */ jsx49(React32.Fragment, { children: section.sectionRows.map(
3971
+ return /* @__PURE__ */ jsx44(React30.Fragment, { children: section.sectionRows.map(
4532
3972
  (sectionRow, sectionRowIndex) => {
4533
- return /* @__PURE__ */ jsxs22(
3973
+ return /* @__PURE__ */ jsxs19(
4534
3974
  "tr",
4535
3975
  {
4536
3976
  className: "",
4537
3977
  children: [
4538
3978
  sectionRow.elements.map((field, index) => {
4539
- return /* @__PURE__ */ jsx49("td", { children: /* @__PURE__ */ jsx49("div", { className: "flex-1", children: /* @__PURE__ */ jsx49("div", { className: "w-11/12", children: /* @__PURE__ */ jsx49(
3979
+ return /* @__PURE__ */ jsx44("td", { children: /* @__PURE__ */ jsx44("div", { className: "flex-1", children: /* @__PURE__ */ jsx44("div", { className: "w-11/12", children: /* @__PURE__ */ jsx44(
4540
3980
  InputControl_default,
4541
3981
  {
4542
3982
  index: filteredIndex,
@@ -4556,7 +3996,7 @@ var DataFormChildSection = (props) => {
4556
3996
  }
4557
3997
  ) }) }) }, field.name);
4558
3998
  }),
4559
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx49("td", { children: /* @__PURE__ */ jsx49(
3999
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("td", { children: /* @__PURE__ */ jsx44(
4560
4000
  ClientButton_default,
4561
4001
  {
4562
4002
  ButtonType: StyleTypes2.Hollow,
@@ -4565,7 +4005,7 @@ var DataFormChildSection = (props) => {
4565
4005
  },
4566
4006
  dataRole: "delete",
4567
4007
  tabIndex: -1,
4568
- children: /* @__PURE__ */ jsx49(
4008
+ children: /* @__PURE__ */ jsx44(
4569
4009
  Icon_default,
4570
4010
  {
4571
4011
  className: "w-4 h-4",
@@ -4582,7 +4022,7 @@ var DataFormChildSection = (props) => {
4582
4022
  ) }, rowKey);
4583
4023
  }) })
4584
4024
  ] }) }),
4585
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx49("div", { className: "ml-1", children: /* @__PURE__ */ jsx49(
4025
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx44("div", { className: "ml-1", children: /* @__PURE__ */ jsx44(
4586
4026
  ClientButton_default,
4587
4027
  {
4588
4028
  ButtonType: "Link" /* Link */,
@@ -4597,7 +4037,7 @@ var DataFormChildSection = (props) => {
4597
4037
  var DataFormChildSection_default = DataFormChildSection;
4598
4038
 
4599
4039
  // src/components/dataForm/DataForm.tsx
4600
- import { jsx as jsx50, jsxs as jsxs23 } from "react/jsx-runtime";
4040
+ import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
4601
4041
  var DataForm = (props) => {
4602
4042
  const formRef = useRef2(null);
4603
4043
  console.log(props.dataItem, "dssads");
@@ -4817,19 +4257,19 @@ var DataForm = (props) => {
4817
4257
  return false;
4818
4258
  }
4819
4259
  }
4820
- return /* @__PURE__ */ jsx50(React33.Fragment, { children: /* @__PURE__ */ jsxs23("div", { className: "flex-grow flex flex-col", children: [
4821
- props.title && /* @__PURE__ */ jsx50("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ jsxs23(
4260
+ return /* @__PURE__ */ jsx45(React31.Fragment, { children: /* @__PURE__ */ jsxs20("div", { className: "flex-grow flex flex-col", children: [
4261
+ 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(
4822
4262
  "div",
4823
4263
  {
4824
4264
  className: "inline-flex items-center gap-2 cursor-pointer",
4825
4265
  onClick: () => window.history.back(),
4826
4266
  children: [
4827
- /* @__PURE__ */ jsx50(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4828
- /* @__PURE__ */ jsx50("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4267
+ /* @__PURE__ */ jsx45(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4268
+ /* @__PURE__ */ jsx45("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4829
4269
  ]
4830
4270
  }
4831
4271
  ) }),
4832
- /* @__PURE__ */ jsx50(
4272
+ /* @__PURE__ */ jsx45(
4833
4273
  "form",
4834
4274
  {
4835
4275
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -4850,8 +4290,8 @@ var DataForm = (props) => {
4850
4290
  }
4851
4291
  }
4852
4292
  },
4853
- children: /* @__PURE__ */ jsx50("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4854
- return /* @__PURE__ */ jsx50(React33.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs23("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4293
+ children: /* @__PURE__ */ jsx45("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4294
+ 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: [
4855
4295
  section.sectionRows?.map(
4856
4296
  (sectionRow, sectionRowIndex) => {
4857
4297
  const elementsCount = sectionRow.elements.length;
@@ -4862,14 +4302,14 @@ var DataForm = (props) => {
4862
4302
  sectionRow.visible
4863
4303
  );
4864
4304
  }
4865
- return /* @__PURE__ */ jsx50(React33.Fragment, { children: isVisible && /* @__PURE__ */ jsx50("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4866
- return /* @__PURE__ */ jsxs23(
4305
+ 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) => {
4306
+ return /* @__PURE__ */ jsxs20(
4867
4307
  "div",
4868
4308
  {
4869
4309
  className: sectionRow.grow ? "grow" : "",
4870
4310
  children: [
4871
- /* @__PURE__ */ jsx50("div", { children: field.controlType }),
4872
- /* @__PURE__ */ jsx50(
4311
+ /* @__PURE__ */ jsx45("div", { children: field.controlType }),
4312
+ /* @__PURE__ */ jsx45(
4873
4313
  InputControl_default,
4874
4314
  {
4875
4315
  name: field.name,
@@ -4899,12 +4339,12 @@ var DataForm = (props) => {
4899
4339
  }) }) }, sectionRowIndex);
4900
4340
  }
4901
4341
  ),
4902
- /* @__PURE__ */ jsx50("div", { children: section.childSections?.map(
4342
+ /* @__PURE__ */ jsx45("div", { children: section.childSections?.map(
4903
4343
  (childSection, childSectionIndex) => {
4904
- return /* @__PURE__ */ jsx50("div", { children: childSection.name && evalutateCondition(
4344
+ return /* @__PURE__ */ jsx45("div", { children: childSection.name && evalutateCondition(
4905
4345
  formState.inputValues,
4906
4346
  childSection.visible
4907
- ) && /* @__PURE__ */ jsx50(
4347
+ ) && /* @__PURE__ */ jsx45(
4908
4348
  DataFormChildSection_default,
4909
4349
  {
4910
4350
  section: childSection,
@@ -4919,8 +4359,8 @@ var DataForm = (props) => {
4919
4359
  }) })
4920
4360
  }
4921
4361
  ),
4922
- /* @__PURE__ */ jsxs23("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4923
- /* @__PURE__ */ jsx50("div", { children: props.additionalActions && /* @__PURE__ */ jsx50(
4362
+ /* @__PURE__ */ jsxs20("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4363
+ /* @__PURE__ */ jsx45("div", { children: props.additionalActions && /* @__PURE__ */ jsx45(
4924
4364
  Button_default,
4925
4365
  {
4926
4366
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4928,7 +4368,7 @@ var DataForm = (props) => {
4928
4368
  children: props.additionalActions.title
4929
4369
  }
4930
4370
  ) }),
4931
- /* @__PURE__ */ jsx50("div", { children: props.onDelete && /* @__PURE__ */ jsx50(
4371
+ /* @__PURE__ */ jsx45("div", { children: props.onDelete && /* @__PURE__ */ jsx45(
4932
4372
  Button_default,
4933
4373
  {
4934
4374
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4939,7 +4379,7 @@ var DataForm = (props) => {
4939
4379
  children: "Delete"
4940
4380
  }
4941
4381
  ) }),
4942
- /* @__PURE__ */ jsx50("div", { children: props.onClick && /* @__PURE__ */ jsx50(
4382
+ /* @__PURE__ */ jsx45("div", { children: props.onClick && /* @__PURE__ */ jsx45(
4943
4383
  Button_default,
4944
4384
  {
4945
4385
  onValidate,
@@ -4956,7 +4396,7 @@ var DataForm = (props) => {
4956
4396
  var DataForm_default = DataForm;
4957
4397
 
4958
4398
  // src/components/dataForm/DataFormRenderer.tsx
4959
- import { jsx as jsx51, jsxs as jsxs24 } from "react/jsx-runtime";
4399
+ import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4960
4400
  function getAction(actions, code) {
4961
4401
  return actions?.find((a) => a.actionCode === code);
4962
4402
  }
@@ -4982,9 +4422,9 @@ var DataFormRenderer = ({
4982
4422
  "Delete"
4983
4423
  );
4984
4424
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
4985
- return /* @__PURE__ */ jsxs24("div", { className: "flex-grow flex flex-col", children: [
4986
- widgetProps && /* @__PURE__ */ jsx51(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4987
- /* @__PURE__ */ jsx51(
4425
+ return /* @__PURE__ */ jsxs21("div", { className: "flex-grow flex flex-col", children: [
4426
+ widgetProps && /* @__PURE__ */ jsx46(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4427
+ /* @__PURE__ */ jsx46(
4988
4428
  DataForm_default,
4989
4429
  {
4990
4430
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",