@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260824114331 → 0.8.1-dev.20260825114921
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +901 -874
- package/dist/index.mjs +391 -364
- package/dist/server.d.mts +1 -0
- package/dist/server.d.ts +1 -0
- package/dist/server.js +623 -596
- package/dist/server.mjs +200 -173
- package/package.json +1 -1
package/dist/server.mjs
CHANGED
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
import "./chunk-56HSDML5.mjs";
|
|
15
15
|
|
|
16
16
|
// src/components/pageRenderingEngine/PageBodyRenderer.tsx
|
|
17
|
-
import
|
|
17
|
+
import React24 from "react";
|
|
18
18
|
|
|
19
19
|
// src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
|
|
20
|
-
import
|
|
20
|
+
import React16 from "react";
|
|
21
21
|
|
|
22
22
|
// src/components/pageRenderingEngine/nodes/TextNode.tsx
|
|
23
23
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -457,7 +457,7 @@ var EquationNode = ({ node }) => {
|
|
|
457
457
|
var EquationNode_default = EquationNode;
|
|
458
458
|
|
|
459
459
|
// src/components/controls/view/ViewControl.tsx
|
|
460
|
-
import
|
|
460
|
+
import React15 from "react";
|
|
461
461
|
|
|
462
462
|
// src/components/controls/view/ViewControlTypes.tsx
|
|
463
463
|
var ViewControlTypes = {
|
|
@@ -466,6 +466,7 @@ var ViewControlTypes = {
|
|
|
466
466
|
asset: "asset",
|
|
467
467
|
video: "video",
|
|
468
468
|
multilineTextBullets: "multilineTextBullets",
|
|
469
|
+
tagsBullets: "tagsBullets",
|
|
469
470
|
boolean: "boolean",
|
|
470
471
|
checkboxInput: "boolean",
|
|
471
472
|
money: "money",
|
|
@@ -647,19 +648,41 @@ var MultilineTextBullets = (props) => {
|
|
|
647
648
|
};
|
|
648
649
|
var MultilineTextBulletsView_default = MultilineTextBullets;
|
|
649
650
|
|
|
650
|
-
// src/components/controls/view/
|
|
651
|
+
// src/components/controls/view/TagsBulletsView.tsx
|
|
651
652
|
import React11 from "react";
|
|
652
|
-
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
653
|
+
import { jsx as jsx17, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
654
|
+
var getText = (node) => {
|
|
655
|
+
if (node === null || node === void 0 || typeof node === "boolean") return "";
|
|
656
|
+
if (typeof node === "string" || typeof node === "number") return String(node);
|
|
657
|
+
if (Array.isArray(node)) return node.map(getText).join("");
|
|
658
|
+
if (React11.isValidElement(node)) return getText(node.props.children);
|
|
659
|
+
return "";
|
|
660
|
+
};
|
|
661
|
+
var TagsBulletsView = (props) => {
|
|
662
|
+
const rawTags = Array.isArray(props.value) ? props.value : typeof props.value === "string" ? props.value.split(",") : [];
|
|
663
|
+
const tags = rawTags.map((tag) => getText(tag).trim()).filter((tag) => tag);
|
|
664
|
+
return /* @__PURE__ */ jsx17(React11.Fragment, { children: tags && tags.map((tag, index) => {
|
|
665
|
+
return /* @__PURE__ */ jsxs4("span", { children: [
|
|
666
|
+
index > 0 && /* @__PURE__ */ jsx17("span", { children: " \u2022 " }),
|
|
667
|
+
tag
|
|
668
|
+
] }, index);
|
|
669
|
+
}) });
|
|
670
|
+
};
|
|
671
|
+
var TagsBulletsView_default = TagsBulletsView;
|
|
672
|
+
|
|
673
|
+
// src/components/controls/view/MultilineTextView.tsx
|
|
674
|
+
import React12 from "react";
|
|
675
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
653
676
|
var MultilineText = (props) => {
|
|
654
|
-
return /* @__PURE__ */
|
|
677
|
+
return /* @__PURE__ */ jsx18(React12.Fragment, { children: /* @__PURE__ */ jsx18("span", { className: "break-all whitespace-pre-line", children: props.value }) });
|
|
655
678
|
};
|
|
656
679
|
var MultilineTextView_default = MultilineText;
|
|
657
680
|
|
|
658
681
|
// src/components/controls/view/PercentageView.tsx
|
|
659
|
-
import
|
|
660
|
-
import { jsxs as
|
|
682
|
+
import React13 from "react";
|
|
683
|
+
import { jsxs as jsxs5 } from "react/jsx-runtime";
|
|
661
684
|
var PercentageView = (props) => {
|
|
662
|
-
return /* @__PURE__ */
|
|
685
|
+
return /* @__PURE__ */ jsxs5(React13.Fragment, { children: [
|
|
663
686
|
props.value,
|
|
664
687
|
"%"
|
|
665
688
|
] });
|
|
@@ -667,16 +690,16 @@ var PercentageView = (props) => {
|
|
|
667
690
|
var PercentageView_default = PercentageView;
|
|
668
691
|
|
|
669
692
|
// src/components/controls/view/ProgressIndicator.tsx
|
|
670
|
-
import
|
|
671
|
-
import { jsx as
|
|
693
|
+
import React14 from "react";
|
|
694
|
+
import { jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
672
695
|
var ProgressIndicator = (props) => {
|
|
673
696
|
const percentage = 100;
|
|
674
697
|
const circumference = Math.PI * 56;
|
|
675
698
|
const offset = circumference * (1 - percentage / 100);
|
|
676
|
-
return /* @__PURE__ */
|
|
677
|
-
/* @__PURE__ */
|
|
678
|
-
/* @__PURE__ */
|
|
679
|
-
/* @__PURE__ */
|
|
699
|
+
return /* @__PURE__ */ jsx19(React14.Fragment, { children: /* @__PURE__ */ jsxs6("div", { className: "relative w-48 h-48", children: [
|
|
700
|
+
/* @__PURE__ */ jsx19("div", { className: "absolute top-0 left-0 w-full h-full rounded-full border border-gray-200" }),
|
|
701
|
+
/* @__PURE__ */ jsx19("div", { className: "absolute top-0 left-0 w-full h-full rounded-full overflow-hidden", children: /* @__PURE__ */ jsx19("div", { className: "w-full h-full rounded-full border-t-8 border-green-500", style: { transform: `rotate(-90deg)`, clipPath: `inset(0px ${offset}px 0px 0px)` } }) }),
|
|
702
|
+
/* @__PURE__ */ jsx19("div", { className: "absolute top-0 left-0 w-full h-full flex items-center justify-center text-lg font-bold text-gray-800", children: /* @__PURE__ */ jsxs6("span", { children: [
|
|
680
703
|
percentage,
|
|
681
704
|
"%"
|
|
682
705
|
] }) })
|
|
@@ -685,18 +708,18 @@ var ProgressIndicator = (props) => {
|
|
|
685
708
|
var ProgressIndicator_default = ProgressIndicator;
|
|
686
709
|
|
|
687
710
|
// src/components/controls/view/AiGeneratedSummary.tsx
|
|
688
|
-
import { jsx as
|
|
711
|
+
import { jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
689
712
|
var AiGeneratedSummary = (props) => {
|
|
690
713
|
const lines = props.value?.split("\n").filter((line) => line.trim() !== "") || [];
|
|
691
|
-
return /* @__PURE__ */
|
|
692
|
-
/* @__PURE__ */
|
|
693
|
-
/* @__PURE__ */
|
|
694
|
-
/* @__PURE__ */
|
|
695
|
-
/* @__PURE__ */
|
|
696
|
-
/* @__PURE__ */
|
|
714
|
+
return /* @__PURE__ */ jsxs7("details", { className: "group rounded-xl border-2 bg-white shadow-sm border-p overflow-hidden", children: [
|
|
715
|
+
/* @__PURE__ */ jsx20("summary", { className: "flex items-start justify-between cursor-pointer list-none", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-start gap-3 ", children: [
|
|
716
|
+
/* @__PURE__ */ jsx20("div", { className: "bg-primary-base bg-transparent rounded mt-1 p-1", children: /* @__PURE__ */ jsx20("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", className: "w-5", children: /* @__PURE__ */ jsx20("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z" }) }) }),
|
|
717
|
+
/* @__PURE__ */ jsxs7("div", { children: [
|
|
718
|
+
/* @__PURE__ */ jsx20("h3", { className: "text-lg font-semibold ", children: "Quick Read" }),
|
|
719
|
+
/* @__PURE__ */ jsx20("p", { className: "text-sm text-gray-500 mb-0", children: "Summary is AI-generated, author-reviewed" })
|
|
697
720
|
] })
|
|
698
721
|
] }) }),
|
|
699
|
-
/* @__PURE__ */
|
|
722
|
+
/* @__PURE__ */ jsx20("div", { children: /* @__PURE__ */ jsx20("ul", { className: "list-disc pl-6 space-y-3 text-gray-700 ps-4 pl-4", children: lines.map((line, index) => /* @__PURE__ */ jsx20("li", { className: "m-0", children: line }, index)) }) })
|
|
700
723
|
] });
|
|
701
724
|
};
|
|
702
725
|
var AiGeneratedSummary_default = AiGeneratedSummary;
|
|
@@ -716,13 +739,14 @@ var TimeUntilStarts = dynamic6(() => import("./TimeUntilStartsClient-4C7NDEAD.mj
|
|
|
716
739
|
var TimeUntilStarts_default = TimeUntilStarts;
|
|
717
740
|
|
|
718
741
|
// src/components/controls/view/ViewControl.tsx
|
|
719
|
-
import { jsx as
|
|
742
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
720
743
|
var ViewControl = (props) => {
|
|
721
744
|
const ControlComponents = {
|
|
722
745
|
[ViewControlTypes_default.lineText]: LineTextView_default,
|
|
723
746
|
[ViewControlTypes_default.emailText]: EmailTextView_default,
|
|
724
747
|
[ViewControlTypes_default.asset]: Asset_default,
|
|
725
748
|
[ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
|
|
749
|
+
[ViewControlTypes_default.tagsBullets]: TagsBulletsView_default,
|
|
726
750
|
[ViewControlTypes_default.boolean]: BooleanView_default,
|
|
727
751
|
[ViewControlTypes_default.checkboxInput]: BooleanView_default,
|
|
728
752
|
[ViewControlTypes_default.timeUntilStarts]: TimeUntilStarts_default,
|
|
@@ -745,12 +769,12 @@ var ViewControl = (props) => {
|
|
|
745
769
|
[ViewControlTypes_default.text]: LineTextView_default
|
|
746
770
|
};
|
|
747
771
|
const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
|
|
748
|
-
return /* @__PURE__ */
|
|
772
|
+
return /* @__PURE__ */ jsx21(React15.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx21(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
|
|
749
773
|
};
|
|
750
774
|
var ViewControl_default = ViewControl;
|
|
751
775
|
|
|
752
776
|
// src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
|
|
753
|
-
import { jsx as
|
|
777
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
754
778
|
function getNestedProperty(obj, path) {
|
|
755
779
|
if (!obj || !path) return null;
|
|
756
780
|
if (path.includes(".")) {
|
|
@@ -763,7 +787,7 @@ function getNestedProperty(obj, path) {
|
|
|
763
787
|
}
|
|
764
788
|
const value = obj[path];
|
|
765
789
|
if (Array.isArray(value)) {
|
|
766
|
-
return value.map((item, index) => /* @__PURE__ */
|
|
790
|
+
return value.map((item, index) => /* @__PURE__ */ jsx22("div", { children: String(item) }, index));
|
|
767
791
|
}
|
|
768
792
|
return value;
|
|
769
793
|
}
|
|
@@ -813,7 +837,8 @@ var DatafieldNode = (props) => {
|
|
|
813
837
|
const value = props.dataitem ? getNestedProperty(props.dataitem, fieldName) : null;
|
|
814
838
|
const isEmptyValue = value === null || value === void 0 || value === "" || Array.isArray(value) && value.length === 0 || typeof value === "object" && value !== null && Object.keys(value).length === 0;
|
|
815
839
|
const maxLines = props.node.maxLines;
|
|
816
|
-
|
|
840
|
+
const hasMaxLines = Boolean(maxLines && Number(maxLines) > 0);
|
|
841
|
+
if (hasMaxLines) {
|
|
817
842
|
Object.assign(styles, {
|
|
818
843
|
display: "-webkit-box",
|
|
819
844
|
overflow: "hidden",
|
|
@@ -821,10 +846,11 @@ var DatafieldNode = (props) => {
|
|
|
821
846
|
WebkitLineClamp: String(maxLines)
|
|
822
847
|
});
|
|
823
848
|
}
|
|
849
|
+
const title = hasMaxLines ? typeof value === "string" || typeof value === "number" ? String(value) : props.node.title : props.node.title;
|
|
824
850
|
const dataType = props.node.dataType;
|
|
825
851
|
if (isEmptyValue) return null;
|
|
826
852
|
if (dataType === "rawContent") {
|
|
827
|
-
return /* @__PURE__ */
|
|
853
|
+
return /* @__PURE__ */ jsx22(
|
|
828
854
|
PageBodyRenderer_default,
|
|
829
855
|
{
|
|
830
856
|
rawBody: String(value ?? `@databound[${fieldName}]`),
|
|
@@ -840,12 +866,13 @@ var DatafieldNode = (props) => {
|
|
|
840
866
|
}
|
|
841
867
|
);
|
|
842
868
|
}
|
|
843
|
-
return /* @__PURE__ */
|
|
869
|
+
return /* @__PURE__ */ jsx22(
|
|
844
870
|
"span",
|
|
845
871
|
{
|
|
846
872
|
className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
|
|
847
873
|
style: styles,
|
|
848
|
-
|
|
874
|
+
title,
|
|
875
|
+
children: /* @__PURE__ */ jsx22(
|
|
849
876
|
ViewControl_default,
|
|
850
877
|
{
|
|
851
878
|
controlType: dataType,
|
|
@@ -858,7 +885,7 @@ var DatafieldNode = (props) => {
|
|
|
858
885
|
var DatafieldNode_default = DatafieldNode;
|
|
859
886
|
|
|
860
887
|
// src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
|
|
861
|
-
import { Fragment as Fragment2, jsx as
|
|
888
|
+
import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
862
889
|
var ParagraphNode = (props) => {
|
|
863
890
|
const NodeTypes2 = {
|
|
864
891
|
["text"]: TextNode_default,
|
|
@@ -878,9 +905,9 @@ var ParagraphNode = (props) => {
|
|
|
878
905
|
const isInlineOnlyParent = props.parentTag === "summary";
|
|
879
906
|
const hasChildren = props.node.children && props.node.children.length > 0;
|
|
880
907
|
if (isInlineOnlyParent) {
|
|
881
|
-
return /* @__PURE__ */
|
|
908
|
+
return /* @__PURE__ */ jsx23(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
|
|
882
909
|
const SelectedNode = NodeTypes2[node.type];
|
|
883
|
-
return /* @__PURE__ */
|
|
910
|
+
return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
|
|
884
911
|
SelectedNode,
|
|
885
912
|
{
|
|
886
913
|
node,
|
|
@@ -892,10 +919,10 @@ var ParagraphNode = (props) => {
|
|
|
892
919
|
) }, index);
|
|
893
920
|
}) });
|
|
894
921
|
}
|
|
895
|
-
return /* @__PURE__ */
|
|
922
|
+
return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
|
|
896
923
|
hasChildren && props.node.children.map((node, index) => {
|
|
897
924
|
const SelectedNode = NodeTypes2[node.type];
|
|
898
|
-
return /* @__PURE__ */
|
|
925
|
+
return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(
|
|
899
926
|
SelectedNode,
|
|
900
927
|
{
|
|
901
928
|
node,
|
|
@@ -906,14 +933,14 @@ var ParagraphNode = (props) => {
|
|
|
906
933
|
}
|
|
907
934
|
) }, index);
|
|
908
935
|
}),
|
|
909
|
-
!hasChildren && /* @__PURE__ */
|
|
936
|
+
!hasChildren && /* @__PURE__ */ jsx23("div", { className: "py-1.5 lg:py-2" })
|
|
910
937
|
] });
|
|
911
938
|
};
|
|
912
939
|
var ParagraphNode_default = ParagraphNode;
|
|
913
940
|
|
|
914
941
|
// src/components/pageRenderingEngine/nodes/HeadingNode.tsx
|
|
915
|
-
import
|
|
916
|
-
import { Fragment as Fragment3, jsx as
|
|
942
|
+
import React17 from "react";
|
|
943
|
+
import { Fragment as Fragment3, jsx as jsx24 } from "react/jsx-runtime";
|
|
917
944
|
var HeadingNode = (props) => {
|
|
918
945
|
const NodeTypes2 = {
|
|
919
946
|
["text"]: TextNode_default,
|
|
@@ -929,23 +956,23 @@ var HeadingNode = (props) => {
|
|
|
929
956
|
{
|
|
930
957
|
}
|
|
931
958
|
const formatClasses = FormatClass[props.node.format] || "";
|
|
932
|
-
return /* @__PURE__ */
|
|
959
|
+
return /* @__PURE__ */ jsx24(Fragment3, { children: React17.createElement(
|
|
933
960
|
HeadingTag,
|
|
934
961
|
{ className: formatClasses },
|
|
935
962
|
props.node.children && props.node.children.map((childNode, index) => {
|
|
936
963
|
const SelectedNode = NodeTypes2[childNode.type];
|
|
937
|
-
return /* @__PURE__ */
|
|
964
|
+
return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
|
|
938
965
|
})
|
|
939
966
|
) });
|
|
940
967
|
};
|
|
941
968
|
var HeadingNode_default = HeadingNode;
|
|
942
969
|
|
|
943
970
|
// src/components/pageRenderingEngine/nodes/ListNode.tsx
|
|
944
|
-
import
|
|
971
|
+
import React19 from "react";
|
|
945
972
|
|
|
946
973
|
// src/components/pageRenderingEngine/nodes/ListItemNode.tsx
|
|
947
|
-
import
|
|
948
|
-
import { jsx as
|
|
974
|
+
import React18 from "react";
|
|
975
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
949
976
|
var ListItemNode = (props) => {
|
|
950
977
|
const NodeTypes2 = {
|
|
951
978
|
text: TextNode_default,
|
|
@@ -962,66 +989,66 @@ var ListItemNode = (props) => {
|
|
|
962
989
|
liStyle.fontSize = match[1].trim();
|
|
963
990
|
}
|
|
964
991
|
}
|
|
965
|
-
return /* @__PURE__ */
|
|
992
|
+
return /* @__PURE__ */ jsx25("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
|
|
966
993
|
const SelectedNode = NodeTypes2[node.type];
|
|
967
994
|
if (node.type === "linebreak") {
|
|
968
995
|
if (!foundFirstBreak) {
|
|
969
996
|
foundFirstBreak = true;
|
|
970
|
-
return /* @__PURE__ */
|
|
997
|
+
return /* @__PURE__ */ jsx25("div", {}, index);
|
|
971
998
|
} else {
|
|
972
|
-
return /* @__PURE__ */
|
|
999
|
+
return /* @__PURE__ */ jsx25("div", { className: "py-1 lg:py-2" }, index);
|
|
973
1000
|
}
|
|
974
1001
|
} else {
|
|
975
1002
|
foundFirstBreak = false;
|
|
976
|
-
return /* @__PURE__ */
|
|
1003
|
+
return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
|
|
977
1004
|
}
|
|
978
1005
|
}) });
|
|
979
1006
|
};
|
|
980
1007
|
var ListItemNode_default = ListItemNode;
|
|
981
1008
|
|
|
982
1009
|
// src/components/pageRenderingEngine/nodes/ListNode.tsx
|
|
983
|
-
import { jsx as
|
|
1010
|
+
import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
984
1011
|
var ListNode = (props) => {
|
|
985
1012
|
const NodeTypes2 = {
|
|
986
1013
|
listitem: ListItemNode_default
|
|
987
1014
|
};
|
|
988
|
-
return /* @__PURE__ */
|
|
989
|
-
props.node.listType == "bullet" && /* @__PURE__ */
|
|
1015
|
+
return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
|
|
1016
|
+
props.node.listType == "bullet" && /* @__PURE__ */ jsx26("ul", { children: props.node.children && props.node.children.map((node, index) => {
|
|
990
1017
|
const SelectedNode = NodeTypes2[node.type];
|
|
991
|
-
return /* @__PURE__ */
|
|
1018
|
+
return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
|
|
992
1019
|
}) }),
|
|
993
|
-
props.node.listType == "number" && /* @__PURE__ */
|
|
1020
|
+
props.node.listType == "number" && /* @__PURE__ */ jsx26("ol", { children: props.node.children && props.node.children.map((node, index) => {
|
|
994
1021
|
const SelectedNode = NodeTypes2[node.type];
|
|
995
|
-
return /* @__PURE__ */
|
|
1022
|
+
return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
|
|
996
1023
|
}) })
|
|
997
1024
|
] });
|
|
998
1025
|
};
|
|
999
1026
|
var ListNode_default = ListNode;
|
|
1000
1027
|
|
|
1001
1028
|
// src/components/pageRenderingEngine/nodes/QuoteNode.tsx
|
|
1002
|
-
import
|
|
1003
|
-
import { jsx as
|
|
1029
|
+
import React20 from "react";
|
|
1030
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
1004
1031
|
var QuoteNode = (props) => {
|
|
1005
1032
|
const NodeTypes2 = {
|
|
1006
1033
|
["text"]: TextNode_default,
|
|
1007
1034
|
["linebreak"]: LineBreakNode_default,
|
|
1008
1035
|
["link"]: LinkNode_default
|
|
1009
1036
|
};
|
|
1010
|
-
return /* @__PURE__ */
|
|
1037
|
+
return /* @__PURE__ */ jsx27("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
|
|
1011
1038
|
const SelectedNode = NodeTypes2[node.type];
|
|
1012
|
-
return /* @__PURE__ */
|
|
1039
|
+
return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
|
|
1013
1040
|
}) });
|
|
1014
1041
|
};
|
|
1015
1042
|
var QuoteNode_default = QuoteNode;
|
|
1016
1043
|
|
|
1017
1044
|
// src/components/pageRenderingEngine/nodes/CodeNode.tsx
|
|
1018
|
-
import
|
|
1045
|
+
import React21 from "react";
|
|
1019
1046
|
import dynamic7 from "next/dynamic";
|
|
1020
|
-
import { jsx as
|
|
1047
|
+
import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1021
1048
|
var CopyButton = dynamic7(() => import("./CopyButton-XONTQQW7.mjs"), {
|
|
1022
1049
|
ssr: false,
|
|
1023
1050
|
// optional: fallback UI while loading
|
|
1024
|
-
loading: () => /* @__PURE__ */
|
|
1051
|
+
loading: () => /* @__PURE__ */ jsx28("span", { className: "text-gray-400 text-xs", children: "Copy" })
|
|
1025
1052
|
});
|
|
1026
1053
|
var CodeNode = (props) => {
|
|
1027
1054
|
const NodeTypes2 = {
|
|
@@ -1035,14 +1062,14 @@ var CodeNode = (props) => {
|
|
|
1035
1062
|
if (node.type === "link") return node.text || node.url || "";
|
|
1036
1063
|
return "";
|
|
1037
1064
|
}).join("") ?? "";
|
|
1038
|
-
return /* @__PURE__ */
|
|
1039
|
-
/* @__PURE__ */
|
|
1040
|
-
/* @__PURE__ */
|
|
1041
|
-
/* @__PURE__ */
|
|
1065
|
+
return /* @__PURE__ */ jsxs10("div", { children: [
|
|
1066
|
+
/* @__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: [
|
|
1067
|
+
/* @__PURE__ */ jsx28("span", { children: "Code Snippet" }),
|
|
1068
|
+
/* @__PURE__ */ jsx28(CopyButton, { text: textContent })
|
|
1042
1069
|
] }),
|
|
1043
|
-
/* @__PURE__ */
|
|
1070
|
+
/* @__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) => {
|
|
1044
1071
|
const SelectedNode = NodeTypes2[node.type];
|
|
1045
|
-
return /* @__PURE__ */
|
|
1072
|
+
return /* @__PURE__ */ jsx28(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(
|
|
1046
1073
|
SelectedNode,
|
|
1047
1074
|
{
|
|
1048
1075
|
node,
|
|
@@ -1057,15 +1084,15 @@ var CodeNode = (props) => {
|
|
|
1057
1084
|
var CodeNode_default = CodeNode;
|
|
1058
1085
|
|
|
1059
1086
|
// src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
|
|
1060
|
-
import { jsx as
|
|
1087
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
1061
1088
|
var HorizontalRuleNode = () => {
|
|
1062
|
-
return /* @__PURE__ */
|
|
1089
|
+
return /* @__PURE__ */ jsx29("hr", {});
|
|
1063
1090
|
};
|
|
1064
1091
|
var HorizontalRuleNode_default = HorizontalRuleNode;
|
|
1065
1092
|
|
|
1066
1093
|
// src/components/pageRenderingEngine/nodes/WidgetNode.tsx
|
|
1067
|
-
import
|
|
1068
|
-
import { Fragment as Fragment4, jsx as
|
|
1094
|
+
import React22 from "react";
|
|
1095
|
+
import { Fragment as Fragment4, jsx as jsx30 } from "react/jsx-runtime";
|
|
1069
1096
|
var WidgetNode = (props) => {
|
|
1070
1097
|
const getWidgetParameters = () => {
|
|
1071
1098
|
const widgetInputParameters = {
|
|
@@ -1129,7 +1156,7 @@ var WidgetNode = (props) => {
|
|
|
1129
1156
|
};
|
|
1130
1157
|
const widgetCode = props.node?.widgetCode;
|
|
1131
1158
|
if (!widgetCode) {
|
|
1132
|
-
return /* @__PURE__ */
|
|
1159
|
+
return /* @__PURE__ */ jsx30(Fragment4, { children: "Invalid widget" });
|
|
1133
1160
|
}
|
|
1134
1161
|
const widgetParams = getWidgetParameters();
|
|
1135
1162
|
const WidgetRenderer = props.widgetRenderer;
|
|
@@ -1138,7 +1165,7 @@ var WidgetNode = (props) => {
|
|
|
1138
1165
|
}
|
|
1139
1166
|
return (
|
|
1140
1167
|
// eslint-disable-next-line react-hooks/static-components
|
|
1141
|
-
/* @__PURE__ */
|
|
1168
|
+
/* @__PURE__ */ jsx30(React22.Fragment, { children: /* @__PURE__ */ jsx30(
|
|
1142
1169
|
WidgetRenderer,
|
|
1143
1170
|
{
|
|
1144
1171
|
params: widgetParams,
|
|
@@ -1156,11 +1183,11 @@ var WidgetNode_default = WidgetNode;
|
|
|
1156
1183
|
|
|
1157
1184
|
// src/components/pageRenderingEngine/nodes/DivContainer.tsx
|
|
1158
1185
|
import dynamic11 from "next/dynamic";
|
|
1159
|
-
import
|
|
1186
|
+
import React23 from "react";
|
|
1160
1187
|
|
|
1161
1188
|
// src/components/pageRenderingEngine/nodes/EmbedNode.tsx
|
|
1162
1189
|
import dynamic8 from "next/dynamic";
|
|
1163
|
-
import { jsx as
|
|
1190
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
1164
1191
|
var IframeClient = dynamic8(() => import("./IframeClient-XEWQLGUQ.mjs"), {
|
|
1165
1192
|
ssr: false
|
|
1166
1193
|
});
|
|
@@ -1173,7 +1200,7 @@ var EmbedNode = (props) => {
|
|
|
1173
1200
|
} else {
|
|
1174
1201
|
src = props.node.embedSrc;
|
|
1175
1202
|
}
|
|
1176
|
-
return /* @__PURE__ */
|
|
1203
|
+
return /* @__PURE__ */ jsx31("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx31(IframeClient, { src }) });
|
|
1177
1204
|
};
|
|
1178
1205
|
var EmbedNode_default = EmbedNode;
|
|
1179
1206
|
|
|
@@ -1366,10 +1393,10 @@ var PathUtility = class {
|
|
|
1366
1393
|
var PathUtility_default = new PathUtility();
|
|
1367
1394
|
|
|
1368
1395
|
// src/components/NoDataFound.tsx
|
|
1369
|
-
import { jsx as
|
|
1396
|
+
import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1370
1397
|
var NoDataFound = () => {
|
|
1371
|
-
return /* @__PURE__ */
|
|
1372
|
-
/* @__PURE__ */
|
|
1398
|
+
return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
|
|
1399
|
+
/* @__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(
|
|
1373
1400
|
"svg",
|
|
1374
1401
|
{
|
|
1375
1402
|
className: "w-10 h-10",
|
|
@@ -1377,7 +1404,7 @@ var NoDataFound = () => {
|
|
|
1377
1404
|
stroke: "currentColor",
|
|
1378
1405
|
viewBox: "0 0 24 24",
|
|
1379
1406
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1380
|
-
children: /* @__PURE__ */
|
|
1407
|
+
children: /* @__PURE__ */ jsx32(
|
|
1381
1408
|
"path",
|
|
1382
1409
|
{
|
|
1383
1410
|
strokeLinecap: "round",
|
|
@@ -1388,15 +1415,15 @@ var NoDataFound = () => {
|
|
|
1388
1415
|
)
|
|
1389
1416
|
}
|
|
1390
1417
|
) }) }),
|
|
1391
|
-
/* @__PURE__ */
|
|
1392
|
-
/* @__PURE__ */
|
|
1418
|
+
/* @__PURE__ */ jsx32("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
|
|
1419
|
+
/* @__PURE__ */ jsx32("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
|
|
1393
1420
|
] });
|
|
1394
1421
|
};
|
|
1395
1422
|
var NoDataFound_default = NoDataFound;
|
|
1396
1423
|
|
|
1397
1424
|
// src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
|
|
1398
1425
|
import dynamic9 from "next/dynamic";
|
|
1399
|
-
import { Fragment as Fragment5, jsx as
|
|
1426
|
+
import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1400
1427
|
var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-BVS6BVF7.mjs"), { ssr: false });
|
|
1401
1428
|
var deviceToMediaQuery = (device) => {
|
|
1402
1429
|
switch (device) {
|
|
@@ -1552,8 +1579,8 @@ var ImageGalleryNode = (props) => {
|
|
|
1552
1579
|
right: "justify-end"
|
|
1553
1580
|
};
|
|
1554
1581
|
const formatClasses = FormatClass[props.node.format || ""] || "";
|
|
1555
|
-
return /* @__PURE__ */
|
|
1556
|
-
hlsSources.length > 0 && /* @__PURE__ */
|
|
1582
|
+
return /* @__PURE__ */ jsxs12(Fragment5, { children: [
|
|
1583
|
+
hlsSources.length > 0 && /* @__PURE__ */ jsx33(Fragment5, { children: /* @__PURE__ */ jsx33(
|
|
1557
1584
|
HlsPlayer3,
|
|
1558
1585
|
{
|
|
1559
1586
|
sources: hlsSources,
|
|
@@ -1568,7 +1595,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1568
1595
|
styles: hlsStyles
|
|
1569
1596
|
}
|
|
1570
1597
|
) }),
|
|
1571
|
-
(staticFallback || staticSources.length > 0) && /* @__PURE__ */
|
|
1598
|
+
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx33(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs12("picture", { children: [
|
|
1572
1599
|
DEVICE_ORDER.map((deviceKey) => {
|
|
1573
1600
|
const match = staticSources.find(
|
|
1574
1601
|
(img) => img.device === deviceKey
|
|
@@ -1584,7 +1611,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1584
1611
|
if (!srcUrl) {
|
|
1585
1612
|
return null;
|
|
1586
1613
|
}
|
|
1587
|
-
return /* @__PURE__ */
|
|
1614
|
+
return /* @__PURE__ */ jsx33(
|
|
1588
1615
|
"source",
|
|
1589
1616
|
{
|
|
1590
1617
|
media: deviceToMediaQuery(match.device),
|
|
@@ -1609,7 +1636,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1609
1636
|
if (img.borderRadius) {
|
|
1610
1637
|
styles.borderRadius = img.borderRadius;
|
|
1611
1638
|
}
|
|
1612
|
-
return /* @__PURE__ */
|
|
1639
|
+
return /* @__PURE__ */ jsx33(
|
|
1613
1640
|
"img",
|
|
1614
1641
|
{
|
|
1615
1642
|
loading: "lazy",
|
|
@@ -1624,7 +1651,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1624
1651
|
})()
|
|
1625
1652
|
] }) : (
|
|
1626
1653
|
/* Case 2: Only device-specific images exist */
|
|
1627
|
-
/* @__PURE__ */
|
|
1654
|
+
/* @__PURE__ */ jsx33(Fragment5, { children: staticSources.map((img, index) => {
|
|
1628
1655
|
const resolved = resolveImage(img);
|
|
1629
1656
|
const imageUrl = resolved?.imageUrl;
|
|
1630
1657
|
if (!imageUrl) {
|
|
@@ -1651,7 +1678,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1651
1678
|
default:
|
|
1652
1679
|
display = "block";
|
|
1653
1680
|
}
|
|
1654
|
-
return /* @__PURE__ */
|
|
1681
|
+
return /* @__PURE__ */ jsx33(
|
|
1655
1682
|
"img",
|
|
1656
1683
|
{
|
|
1657
1684
|
loading: "lazy",
|
|
@@ -1791,28 +1818,28 @@ var shouldRenderContainer = (node, dataItem, session) => {
|
|
|
1791
1818
|
};
|
|
1792
1819
|
|
|
1793
1820
|
// src/components/pageRenderingEngine/nodes/DocumentNode.tsx
|
|
1794
|
-
import { Fragment as Fragment6, jsx as
|
|
1821
|
+
import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1795
1822
|
var getNestedValue5 = (obj, path) => {
|
|
1796
1823
|
if (!obj || !path) return void 0;
|
|
1797
1824
|
return path.split(".").reduce((current, key) => {
|
|
1798
1825
|
return current && current[key] !== void 0 ? current[key] : void 0;
|
|
1799
1826
|
}, obj);
|
|
1800
1827
|
};
|
|
1801
|
-
var PdfIcon = () => /* @__PURE__ */
|
|
1828
|
+
var PdfIcon = () => /* @__PURE__ */ jsxs13(
|
|
1802
1829
|
"svg",
|
|
1803
1830
|
{
|
|
1804
1831
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1805
1832
|
viewBox: "0 0 48 48",
|
|
1806
1833
|
className: "w-10 h-10",
|
|
1807
1834
|
children: [
|
|
1808
|
-
/* @__PURE__ */
|
|
1835
|
+
/* @__PURE__ */ jsx34(
|
|
1809
1836
|
"path",
|
|
1810
1837
|
{
|
|
1811
1838
|
fill: "#e53935",
|
|
1812
1839
|
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"
|
|
1813
1840
|
}
|
|
1814
1841
|
),
|
|
1815
|
-
/* @__PURE__ */
|
|
1842
|
+
/* @__PURE__ */ jsx34(
|
|
1816
1843
|
"path",
|
|
1817
1844
|
{
|
|
1818
1845
|
fill: "#fff",
|
|
@@ -1822,55 +1849,55 @@ var PdfIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
1822
1849
|
]
|
|
1823
1850
|
}
|
|
1824
1851
|
);
|
|
1825
|
-
var ExcelIcon = () => /* @__PURE__ */
|
|
1852
|
+
var ExcelIcon = () => /* @__PURE__ */ jsxs13(
|
|
1826
1853
|
"svg",
|
|
1827
1854
|
{
|
|
1828
1855
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1829
1856
|
viewBox: "0 0 48 48",
|
|
1830
1857
|
className: "w-10 h-10",
|
|
1831
1858
|
children: [
|
|
1832
|
-
/* @__PURE__ */
|
|
1859
|
+
/* @__PURE__ */ jsx34(
|
|
1833
1860
|
"path",
|
|
1834
1861
|
{
|
|
1835
1862
|
fill: "#169154",
|
|
1836
1863
|
d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
|
|
1837
1864
|
}
|
|
1838
1865
|
),
|
|
1839
|
-
/* @__PURE__ */
|
|
1866
|
+
/* @__PURE__ */ jsx34(
|
|
1840
1867
|
"path",
|
|
1841
1868
|
{
|
|
1842
1869
|
fill: "#18482a",
|
|
1843
1870
|
d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
|
|
1844
1871
|
}
|
|
1845
1872
|
),
|
|
1846
|
-
/* @__PURE__ */
|
|
1847
|
-
/* @__PURE__ */
|
|
1848
|
-
/* @__PURE__ */
|
|
1849
|
-
/* @__PURE__ */
|
|
1873
|
+
/* @__PURE__ */ jsx34("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
|
|
1874
|
+
/* @__PURE__ */ jsx34("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
|
|
1875
|
+
/* @__PURE__ */ jsxs13("g", { children: [
|
|
1876
|
+
/* @__PURE__ */ jsx34(
|
|
1850
1877
|
"path",
|
|
1851
1878
|
{
|
|
1852
1879
|
fill: "#29c27f",
|
|
1853
1880
|
d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
|
|
1854
1881
|
}
|
|
1855
1882
|
),
|
|
1856
|
-
/* @__PURE__ */
|
|
1883
|
+
/* @__PURE__ */ jsx34(
|
|
1857
1884
|
"path",
|
|
1858
1885
|
{
|
|
1859
1886
|
fill: "#27663f",
|
|
1860
1887
|
d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
|
|
1861
1888
|
}
|
|
1862
1889
|
),
|
|
1863
|
-
/* @__PURE__ */
|
|
1864
|
-
/* @__PURE__ */
|
|
1890
|
+
/* @__PURE__ */ jsx34("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
|
|
1891
|
+
/* @__PURE__ */ jsx34("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
|
|
1865
1892
|
] }),
|
|
1866
|
-
/* @__PURE__ */
|
|
1893
|
+
/* @__PURE__ */ jsx34(
|
|
1867
1894
|
"path",
|
|
1868
1895
|
{
|
|
1869
1896
|
fill: "#0c7238",
|
|
1870
1897
|
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"
|
|
1871
1898
|
}
|
|
1872
1899
|
),
|
|
1873
|
-
/* @__PURE__ */
|
|
1900
|
+
/* @__PURE__ */ jsx34(
|
|
1874
1901
|
"path",
|
|
1875
1902
|
{
|
|
1876
1903
|
fill: "#fff",
|
|
@@ -1880,7 +1907,7 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
1880
1907
|
]
|
|
1881
1908
|
}
|
|
1882
1909
|
);
|
|
1883
|
-
var WordIcon = () => /* @__PURE__ */
|
|
1910
|
+
var WordIcon = () => /* @__PURE__ */ jsxs13(
|
|
1884
1911
|
"svg",
|
|
1885
1912
|
{
|
|
1886
1913
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1888,14 +1915,14 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
1888
1915
|
className: "w-10 h-10",
|
|
1889
1916
|
baseProfile: "basic",
|
|
1890
1917
|
children: [
|
|
1891
|
-
/* @__PURE__ */
|
|
1918
|
+
/* @__PURE__ */ jsx34(
|
|
1892
1919
|
"path",
|
|
1893
1920
|
{
|
|
1894
1921
|
fill: "#283593",
|
|
1895
1922
|
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"
|
|
1896
1923
|
}
|
|
1897
1924
|
),
|
|
1898
|
-
/* @__PURE__ */
|
|
1925
|
+
/* @__PURE__ */ jsxs13(
|
|
1899
1926
|
"linearGradient",
|
|
1900
1927
|
{
|
|
1901
1928
|
id: "qh2LT5tehRDFkLLfb-odWa",
|
|
@@ -1906,19 +1933,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
1906
1933
|
gradientTransform: "translate(0 -339.89)",
|
|
1907
1934
|
gradientUnits: "userSpaceOnUse",
|
|
1908
1935
|
children: [
|
|
1909
|
-
/* @__PURE__ */
|
|
1910
|
-
/* @__PURE__ */
|
|
1936
|
+
/* @__PURE__ */ jsx34("stop", { offset: "0", "stop-color": "#66c0ff" }),
|
|
1937
|
+
/* @__PURE__ */ jsx34("stop", { offset: ".26", "stop-color": "#0094f0" })
|
|
1911
1938
|
]
|
|
1912
1939
|
}
|
|
1913
1940
|
),
|
|
1914
|
-
/* @__PURE__ */
|
|
1941
|
+
/* @__PURE__ */ jsx34(
|
|
1915
1942
|
"path",
|
|
1916
1943
|
{
|
|
1917
1944
|
fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
|
|
1918
1945
|
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"
|
|
1919
1946
|
}
|
|
1920
1947
|
),
|
|
1921
|
-
/* @__PURE__ */
|
|
1948
|
+
/* @__PURE__ */ jsx34(
|
|
1922
1949
|
"path",
|
|
1923
1950
|
{
|
|
1924
1951
|
fill: "#1e88e5",
|
|
@@ -1926,21 +1953,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
1926
1953
|
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"
|
|
1927
1954
|
}
|
|
1928
1955
|
),
|
|
1929
|
-
/* @__PURE__ */
|
|
1956
|
+
/* @__PURE__ */ jsx34(
|
|
1930
1957
|
"path",
|
|
1931
1958
|
{
|
|
1932
1959
|
fill: "#00e5ff",
|
|
1933
1960
|
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"
|
|
1934
1961
|
}
|
|
1935
1962
|
),
|
|
1936
|
-
/* @__PURE__ */
|
|
1963
|
+
/* @__PURE__ */ jsx34(
|
|
1937
1964
|
"path",
|
|
1938
1965
|
{
|
|
1939
1966
|
fill: "#1565c0",
|
|
1940
1967
|
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"
|
|
1941
1968
|
}
|
|
1942
1969
|
),
|
|
1943
|
-
/* @__PURE__ */
|
|
1970
|
+
/* @__PURE__ */ jsx34(
|
|
1944
1971
|
"path",
|
|
1945
1972
|
{
|
|
1946
1973
|
fill: "#fff",
|
|
@@ -1950,42 +1977,42 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
1950
1977
|
]
|
|
1951
1978
|
}
|
|
1952
1979
|
);
|
|
1953
|
-
var StandardIcon = () => /* @__PURE__ */
|
|
1980
|
+
var StandardIcon = () => /* @__PURE__ */ jsxs13(
|
|
1954
1981
|
"svg",
|
|
1955
1982
|
{
|
|
1956
1983
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1957
1984
|
viewBox: "0 0 48 48",
|
|
1958
1985
|
className: "w-10 h-10",
|
|
1959
1986
|
children: [
|
|
1960
|
-
/* @__PURE__ */
|
|
1961
|
-
/* @__PURE__ */
|
|
1987
|
+
/* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
|
|
1988
|
+
/* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
|
|
1962
1989
|
]
|
|
1963
1990
|
}
|
|
1964
1991
|
);
|
|
1965
|
-
var PowerPointIcon = () => /* @__PURE__ */
|
|
1992
|
+
var PowerPointIcon = () => /* @__PURE__ */ jsxs13(
|
|
1966
1993
|
"svg",
|
|
1967
1994
|
{
|
|
1968
1995
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1969
1996
|
viewBox: "0 0 48 48",
|
|
1970
1997
|
className: "w-10 h-10",
|
|
1971
1998
|
children: [
|
|
1972
|
-
/* @__PURE__ */
|
|
1999
|
+
/* @__PURE__ */ jsx34(
|
|
1973
2000
|
"path",
|
|
1974
2001
|
{
|
|
1975
2002
|
fill: "#dc4c2c",
|
|
1976
2003
|
d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
|
|
1977
2004
|
}
|
|
1978
2005
|
),
|
|
1979
|
-
/* @__PURE__ */
|
|
1980
|
-
/* @__PURE__ */
|
|
1981
|
-
/* @__PURE__ */
|
|
2006
|
+
/* @__PURE__ */ jsx34("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
|
|
2007
|
+
/* @__PURE__ */ jsx34("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
|
|
2008
|
+
/* @__PURE__ */ jsx34(
|
|
1982
2009
|
"path",
|
|
1983
2010
|
{
|
|
1984
2011
|
fill: "#9b341f",
|
|
1985
2012
|
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"
|
|
1986
2013
|
}
|
|
1987
2014
|
),
|
|
1988
|
-
/* @__PURE__ */
|
|
2015
|
+
/* @__PURE__ */ jsx34(
|
|
1989
2016
|
"path",
|
|
1990
2017
|
{
|
|
1991
2018
|
fill: "#fff",
|
|
@@ -1995,16 +2022,16 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
1995
2022
|
]
|
|
1996
2023
|
}
|
|
1997
2024
|
);
|
|
1998
|
-
var TextIcon = () => /* @__PURE__ */
|
|
2025
|
+
var TextIcon = () => /* @__PURE__ */ jsxs13(
|
|
1999
2026
|
"svg",
|
|
2000
2027
|
{
|
|
2001
2028
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2002
2029
|
viewBox: "0 0 48 48",
|
|
2003
2030
|
className: "w-10 h-10",
|
|
2004
2031
|
children: [
|
|
2005
|
-
/* @__PURE__ */
|
|
2006
|
-
/* @__PURE__ */
|
|
2007
|
-
/* @__PURE__ */
|
|
2032
|
+
/* @__PURE__ */ jsx34("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
|
|
2033
|
+
/* @__PURE__ */ jsx34("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
|
|
2034
|
+
/* @__PURE__ */ jsx34(
|
|
2008
2035
|
"path",
|
|
2009
2036
|
{
|
|
2010
2037
|
fill: "#1976D2",
|
|
@@ -2014,7 +2041,7 @@ var TextIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
2014
2041
|
]
|
|
2015
2042
|
}
|
|
2016
2043
|
);
|
|
2017
|
-
var ArchiveIcon = () => /* @__PURE__ */
|
|
2044
|
+
var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
|
|
2018
2045
|
"svg",
|
|
2019
2046
|
{
|
|
2020
2047
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2024,14 +2051,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
2024
2051
|
version: "1.0",
|
|
2025
2052
|
className: "w-10 h-10",
|
|
2026
2053
|
children: [
|
|
2027
|
-
/* @__PURE__ */
|
|
2054
|
+
/* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsx34("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx34(
|
|
2028
2055
|
"path",
|
|
2029
2056
|
{
|
|
2030
2057
|
d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
|
|
2031
2058
|
"clip-rule": "nonzero"
|
|
2032
2059
|
}
|
|
2033
2060
|
) }) }),
|
|
2034
|
-
/* @__PURE__ */
|
|
2061
|
+
/* @__PURE__ */ jsx34("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx34(
|
|
2035
2062
|
"path",
|
|
2036
2063
|
{
|
|
2037
2064
|
fill: "#ff9100",
|
|
@@ -2040,7 +2067,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
2040
2067
|
"fill-rule": "nonzero"
|
|
2041
2068
|
}
|
|
2042
2069
|
) }),
|
|
2043
|
-
/* @__PURE__ */
|
|
2070
|
+
/* @__PURE__ */ jsx34(
|
|
2044
2071
|
"path",
|
|
2045
2072
|
{
|
|
2046
2073
|
fill: "#fbe9e7",
|
|
@@ -2049,7 +2076,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
2049
2076
|
"fill-rule": "nonzero"
|
|
2050
2077
|
}
|
|
2051
2078
|
),
|
|
2052
|
-
/* @__PURE__ */
|
|
2079
|
+
/* @__PURE__ */ jsx34(
|
|
2053
2080
|
"path",
|
|
2054
2081
|
{
|
|
2055
2082
|
fill: "#ffe0b2",
|
|
@@ -2058,7 +2085,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
2058
2085
|
"fill-rule": "nonzero"
|
|
2059
2086
|
}
|
|
2060
2087
|
),
|
|
2061
|
-
/* @__PURE__ */
|
|
2088
|
+
/* @__PURE__ */ jsx34(
|
|
2062
2089
|
"path",
|
|
2063
2090
|
{
|
|
2064
2091
|
fill: "#ffe0b2",
|
|
@@ -2067,7 +2094,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
|
|
|
2067
2094
|
"fill-rule": "nonzero"
|
|
2068
2095
|
}
|
|
2069
2096
|
),
|
|
2070
|
-
/* @__PURE__ */
|
|
2097
|
+
/* @__PURE__ */ jsx34(
|
|
2071
2098
|
"path",
|
|
2072
2099
|
{
|
|
2073
2100
|
fill: "#ffe0b2",
|
|
@@ -2142,8 +2169,8 @@ var DocumentNode = (props) => {
|
|
|
2142
2169
|
}
|
|
2143
2170
|
}
|
|
2144
2171
|
if (documents.length === 0) {
|
|
2145
|
-
return /* @__PURE__ */
|
|
2146
|
-
/* @__PURE__ */
|
|
2172
|
+
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: [
|
|
2173
|
+
/* @__PURE__ */ jsx34("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
|
|
2147
2174
|
"svg",
|
|
2148
2175
|
{
|
|
2149
2176
|
className: "w-5 h-5",
|
|
@@ -2151,7 +2178,7 @@ var DocumentNode = (props) => {
|
|
|
2151
2178
|
stroke: "currentColor",
|
|
2152
2179
|
viewBox: "0 0 24 24",
|
|
2153
2180
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2154
|
-
children: /* @__PURE__ */
|
|
2181
|
+
children: /* @__PURE__ */ jsx34(
|
|
2155
2182
|
"path",
|
|
2156
2183
|
{
|
|
2157
2184
|
strokeLinecap: "round",
|
|
@@ -2162,11 +2189,11 @@ var DocumentNode = (props) => {
|
|
|
2162
2189
|
)
|
|
2163
2190
|
}
|
|
2164
2191
|
) }),
|
|
2165
|
-
/* @__PURE__ */
|
|
2166
|
-
/* @__PURE__ */
|
|
2192
|
+
/* @__PURE__ */ jsx34("div", { className: "text-sm font-medium", children: "No documents found" }),
|
|
2193
|
+
/* @__PURE__ */ jsx34("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
|
|
2167
2194
|
] }) });
|
|
2168
2195
|
}
|
|
2169
|
-
return /* @__PURE__ */
|
|
2196
|
+
return /* @__PURE__ */ jsx34("div", { className: "", children: documents.map((doc, index) => {
|
|
2170
2197
|
const documentUrl = AssetUtility_default.resolveUrl(
|
|
2171
2198
|
props.assetBaseUrl,
|
|
2172
2199
|
doc.assetUrl
|
|
@@ -2184,16 +2211,16 @@ var DocumentNode = (props) => {
|
|
|
2184
2211
|
}
|
|
2185
2212
|
}
|
|
2186
2213
|
const { Icon, extLabel } = getFileDetails(documentUrl);
|
|
2187
|
-
return /* @__PURE__ */
|
|
2214
|
+
return /* @__PURE__ */ jsxs13(
|
|
2188
2215
|
"div",
|
|
2189
2216
|
{
|
|
2190
2217
|
className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
|
|
2191
2218
|
children: [
|
|
2192
|
-
/* @__PURE__ */
|
|
2193
|
-
/* @__PURE__ */
|
|
2194
|
-
/* @__PURE__ */
|
|
2219
|
+
/* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-4", children: [
|
|
2220
|
+
/* @__PURE__ */ jsx34("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx34(Icon, {}) }),
|
|
2221
|
+
/* @__PURE__ */ jsx34("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx34("h4", { className: "text-base font-semibold", children: documentTitle }) })
|
|
2195
2222
|
] }),
|
|
2196
|
-
/* @__PURE__ */
|
|
2223
|
+
/* @__PURE__ */ jsxs13(
|
|
2197
2224
|
"a",
|
|
2198
2225
|
{
|
|
2199
2226
|
href: documentUrl,
|
|
@@ -2201,7 +2228,7 @@ var DocumentNode = (props) => {
|
|
|
2201
2228
|
rel: "noopener noreferrer",
|
|
2202
2229
|
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",
|
|
2203
2230
|
children: [
|
|
2204
|
-
/* @__PURE__ */
|
|
2231
|
+
/* @__PURE__ */ jsxs13(
|
|
2205
2232
|
"svg",
|
|
2206
2233
|
{
|
|
2207
2234
|
className: "w-4 h-4 mr-2",
|
|
@@ -2209,7 +2236,7 @@ var DocumentNode = (props) => {
|
|
|
2209
2236
|
stroke: "currentColor",
|
|
2210
2237
|
viewBox: "0 0 24 24",
|
|
2211
2238
|
children: [
|
|
2212
|
-
/* @__PURE__ */
|
|
2239
|
+
/* @__PURE__ */ jsx34(
|
|
2213
2240
|
"path",
|
|
2214
2241
|
{
|
|
2215
2242
|
strokeLinecap: "round",
|
|
@@ -2218,7 +2245,7 @@ var DocumentNode = (props) => {
|
|
|
2218
2245
|
d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
|
|
2219
2246
|
}
|
|
2220
2247
|
),
|
|
2221
|
-
/* @__PURE__ */
|
|
2248
|
+
/* @__PURE__ */ jsx34(
|
|
2222
2249
|
"path",
|
|
2223
2250
|
{
|
|
2224
2251
|
strokeLinecap: "round",
|
|
@@ -2244,13 +2271,13 @@ var DocumentNode_default = DocumentNode;
|
|
|
2244
2271
|
|
|
2245
2272
|
// src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
|
|
2246
2273
|
import dynamic10 from "next/dynamic";
|
|
2247
|
-
import { jsx as
|
|
2274
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
2248
2275
|
var IframeClient2 = dynamic10(() => import("./IframeClient-XEWQLGUQ.mjs"), {
|
|
2249
2276
|
ssr: false
|
|
2250
2277
|
});
|
|
2251
2278
|
var GoogleMapNode = (props) => {
|
|
2252
2279
|
let src = props.node.embedUrl;
|
|
2253
|
-
return /* @__PURE__ */
|
|
2280
|
+
return /* @__PURE__ */ jsx35("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx35(
|
|
2254
2281
|
IframeClient2,
|
|
2255
2282
|
{
|
|
2256
2283
|
src,
|
|
@@ -2262,7 +2289,7 @@ var GoogleMapNode = (props) => {
|
|
|
2262
2289
|
var GoogleMapNode_default = GoogleMapNode;
|
|
2263
2290
|
|
|
2264
2291
|
// src/components/pageRenderingEngine/nodes/DivContainer.tsx
|
|
2265
|
-
import { jsx as
|
|
2292
|
+
import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2266
2293
|
var Pagination = dynamic11(() => import("./Pagination-QBPYDD66.mjs"), { ssr: true });
|
|
2267
2294
|
var DataBindingControls = dynamic11(() => import("./DataBindingControls-WJAY5HFO.mjs"), {
|
|
2268
2295
|
ssr: true
|
|
@@ -2521,7 +2548,7 @@ var DivContainer = async (props) => {
|
|
|
2521
2548
|
response = await serviceClient.get(endpoint);
|
|
2522
2549
|
result = response?.result;
|
|
2523
2550
|
if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
|
|
2524
|
-
return /* @__PURE__ */
|
|
2551
|
+
return /* @__PURE__ */ jsx36(NoDataFound_default, {});
|
|
2525
2552
|
}
|
|
2526
2553
|
if (dataBindingProperties.childCollectionName && props.dataitem) {
|
|
2527
2554
|
childCollectionData = getNestedValue6(
|
|
@@ -2541,7 +2568,7 @@ var DivContainer = async (props) => {
|
|
|
2541
2568
|
}
|
|
2542
2569
|
const SelectedNode = NodeTypes2[node.type];
|
|
2543
2570
|
if (!SelectedNode) return null;
|
|
2544
|
-
return /* @__PURE__ */
|
|
2571
|
+
return /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
|
|
2545
2572
|
SelectedNode,
|
|
2546
2573
|
{
|
|
2547
2574
|
node,
|
|
@@ -2678,7 +2705,7 @@ var DivContainer = async (props) => {
|
|
|
2678
2705
|
dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
|
|
2679
2706
|
);
|
|
2680
2707
|
const WrapperComponent = Wrapper;
|
|
2681
|
-
const renderedContainer = /* @__PURE__ */
|
|
2708
|
+
const renderedContainer = /* @__PURE__ */ jsx36(
|
|
2682
2709
|
WrapperComponent,
|
|
2683
2710
|
{
|
|
2684
2711
|
id: guid,
|
|
@@ -2692,11 +2719,11 @@ var DivContainer = async (props) => {
|
|
|
2692
2719
|
item,
|
|
2693
2720
|
idx,
|
|
2694
2721
|
props.href ? void 0 : item?.links?.view
|
|
2695
|
-
)?.map((child, i) => /* @__PURE__ */
|
|
2722
|
+
)?.map((child, i) => /* @__PURE__ */ jsx36(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
|
|
2696
2723
|
)
|
|
2697
2724
|
}
|
|
2698
2725
|
);
|
|
2699
|
-
const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */
|
|
2726
|
+
const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx36(
|
|
2700
2727
|
Pagination,
|
|
2701
2728
|
{
|
|
2702
2729
|
path: props.path,
|
|
@@ -2704,15 +2731,15 @@ var DivContainer = async (props) => {
|
|
|
2704
2731
|
dataset: response
|
|
2705
2732
|
}
|
|
2706
2733
|
) : null;
|
|
2707
|
-
return /* @__PURE__ */
|
|
2708
|
-
/* @__PURE__ */
|
|
2734
|
+
return /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
|
|
2735
|
+
/* @__PURE__ */ jsx36(
|
|
2709
2736
|
"style",
|
|
2710
2737
|
{
|
|
2711
2738
|
dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
|
|
2712
2739
|
}
|
|
2713
2740
|
),
|
|
2714
|
-
showDataBindingControls ? /* @__PURE__ */
|
|
2715
|
-
/* @__PURE__ */
|
|
2741
|
+
showDataBindingControls ? /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
|
|
2742
|
+
/* @__PURE__ */ jsx36(
|
|
2716
2743
|
DataBindingControls,
|
|
2717
2744
|
{
|
|
2718
2745
|
mode: "toolbar",
|
|
@@ -2724,18 +2751,18 @@ var DivContainer = async (props) => {
|
|
|
2724
2751
|
showSearchBar: dataBindingProperties?.showSearchBar
|
|
2725
2752
|
}
|
|
2726
2753
|
),
|
|
2727
|
-
/* @__PURE__ */
|
|
2754
|
+
/* @__PURE__ */ jsxs14(
|
|
2728
2755
|
"div",
|
|
2729
2756
|
{
|
|
2730
2757
|
className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
|
|
2731
2758
|
children: [
|
|
2732
|
-
/* @__PURE__ */
|
|
2759
|
+
/* @__PURE__ */ jsxs14("div", { className: "min-w-0", children: [
|
|
2733
2760
|
renderedContainer,
|
|
2734
2761
|
paginationControl
|
|
2735
2762
|
] }),
|
|
2736
|
-
dataBindingProperties?.showFacets && /* @__PURE__ */
|
|
2737
|
-
/* @__PURE__ */
|
|
2738
|
-
/* @__PURE__ */
|
|
2763
|
+
dataBindingProperties?.showFacets && /* @__PURE__ */ jsxs14("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
|
|
2764
|
+
/* @__PURE__ */ jsx36("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
|
|
2765
|
+
/* @__PURE__ */ jsx36(
|
|
2739
2766
|
DataBindingControls,
|
|
2740
2767
|
{
|
|
2741
2768
|
mode: "facets",
|
|
@@ -2749,16 +2776,16 @@ var DivContainer = async (props) => {
|
|
|
2749
2776
|
]
|
|
2750
2777
|
}
|
|
2751
2778
|
)
|
|
2752
|
-
] }) : /* @__PURE__ */
|
|
2779
|
+
] }) : /* @__PURE__ */ jsxs14(React23.Fragment, { children: [
|
|
2753
2780
|
renderedContainer,
|
|
2754
|
-
paginationControl && /* @__PURE__ */
|
|
2781
|
+
paginationControl && /* @__PURE__ */ jsx36("div", { children: paginationControl })
|
|
2755
2782
|
] })
|
|
2756
2783
|
] });
|
|
2757
2784
|
};
|
|
2758
2785
|
var DivContainer_default = DivContainer;
|
|
2759
2786
|
|
|
2760
2787
|
// src/components/pageRenderingEngine/PageBodyRenderer.tsx
|
|
2761
|
-
import { jsx as
|
|
2788
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
2762
2789
|
var NodeTypes = {
|
|
2763
2790
|
["paragraph"]: ParagraphNode_default,
|
|
2764
2791
|
["heading"]: HeadingNode_default,
|
|
@@ -2796,14 +2823,14 @@ var PageBodyRenderer = (props) => {
|
|
|
2796
2823
|
}
|
|
2797
2824
|
return true;
|
|
2798
2825
|
};
|
|
2799
|
-
return /* @__PURE__ */
|
|
2826
|
+
return /* @__PURE__ */ jsx37(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
|
|
2800
2827
|
{
|
|
2801
2828
|
}
|
|
2802
2829
|
const SelectedNode = NodeTypes[node.type];
|
|
2803
2830
|
if (!shouldRenderNode(node)) {
|
|
2804
2831
|
return null;
|
|
2805
2832
|
}
|
|
2806
|
-
return /* @__PURE__ */
|
|
2833
|
+
return /* @__PURE__ */ jsx37(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx37(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
|
|
2807
2834
|
SelectedNode,
|
|
2808
2835
|
{
|
|
2809
2836
|
node,
|
|
@@ -2819,7 +2846,7 @@ var PageBodyRenderer = (props) => {
|
|
|
2819
2846
|
device: props.device,
|
|
2820
2847
|
widgetRenderer: props.widgetRenderer
|
|
2821
2848
|
}
|
|
2822
|
-
) }) : /* @__PURE__ */
|
|
2849
|
+
) }) : /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
|
|
2823
2850
|
SelectedNode,
|
|
2824
2851
|
{
|
|
2825
2852
|
node,
|