@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260930101733 → 0.8.1-dev.20261001021620
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/CounterNodeClient-LNVEXZQE.mjs +87 -0
- package/dist/CounterNodeClient-ULMKR64R.mjs +85 -0
- package/dist/{InputControlClient-QMFSUGTK.mjs → InputControlClient-6MTR5RJ6.mjs} +1 -0
- package/dist/index.js +634 -611
- package/dist/index.mjs +185 -255
- package/dist/server.js +482 -460
- package/dist/server.mjs +80 -150
- package/package.json +1 -1
package/dist/server.mjs
CHANGED
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-TQ6BXQ3A.mjs";
|
|
13
13
|
|
|
14
14
|
// src/components/pageRenderingEngine/PageBodyRenderer.tsx
|
|
15
|
-
import
|
|
15
|
+
import React24 from "react";
|
|
16
16
|
|
|
17
17
|
// src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
|
|
18
|
-
import
|
|
18
|
+
import React16 from "react";
|
|
19
19
|
|
|
20
20
|
// src/components/pageRenderingEngine/nodes/TextNode.tsx
|
|
21
21
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -247,7 +247,7 @@ var ImageNode = (props) => {
|
|
|
247
247
|
...props.node.borderRadius && { borderRadius: props.node.borderRadius },
|
|
248
248
|
...props.node.width && { width: props.node.width }
|
|
249
249
|
};
|
|
250
|
-
const
|
|
250
|
+
const FORMAT_CLASSES2 = {
|
|
251
251
|
center: "justify-center",
|
|
252
252
|
left: "justify-start",
|
|
253
253
|
right: "justify-end"
|
|
@@ -279,7 +279,7 @@ var ImageNode = (props) => {
|
|
|
279
279
|
}
|
|
280
280
|
);
|
|
281
281
|
if (props.node.width) {
|
|
282
|
-
return /* @__PURE__ */ jsx4("div", { className: `flex ${
|
|
282
|
+
return /* @__PURE__ */ jsx4("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
|
|
283
283
|
}
|
|
284
284
|
return renderMedia();
|
|
285
285
|
};
|
|
@@ -906,88 +906,18 @@ var DatafieldNode = (props) => {
|
|
|
906
906
|
var DatafieldNode_default = DatafieldNode;
|
|
907
907
|
|
|
908
908
|
// src/components/pageRenderingEngine/nodes/CounterNode.tsx
|
|
909
|
-
import
|
|
910
|
-
import { jsx as jsx23
|
|
911
|
-
var
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
};
|
|
917
|
-
var CounterNode = ({ node }) => {
|
|
918
|
-
const ref = useRef(null);
|
|
919
|
-
const startValue = typeof node?.startValue === "number" ? node.startValue : Number(node?.startValue) || 0;
|
|
920
|
-
const endValue = typeof node?.endValue === "number" ? node.endValue : Number(node?.endValue) || 0;
|
|
921
|
-
const duration = Math.max(Number(node?.duration) || 2e3, 300);
|
|
922
|
-
const prefix = node?.prefix ?? "";
|
|
923
|
-
const suffix = node?.suffix ?? "";
|
|
924
|
-
const format = node?.format;
|
|
925
|
-
const [displayValue, setDisplayValue] = useState(startValue);
|
|
926
|
-
const hasAnimatedRef = useRef(false);
|
|
927
|
-
const runAnimation = useCallback(() => {
|
|
928
|
-
let startTime = null;
|
|
929
|
-
let animationFrameId;
|
|
930
|
-
const step = (timestamp) => {
|
|
931
|
-
if (!startTime) startTime = timestamp;
|
|
932
|
-
const progress = Math.min((timestamp - startTime) / duration, 1);
|
|
933
|
-
const easeOutProgress = 1 - Math.pow(1 - progress, 3);
|
|
934
|
-
const currentVal = Math.round(startValue + (endValue - startValue) * easeOutProgress);
|
|
935
|
-
setDisplayValue(currentVal);
|
|
936
|
-
if (progress < 1) {
|
|
937
|
-
animationFrameId = requestAnimationFrame(step);
|
|
938
|
-
} else {
|
|
939
|
-
setDisplayValue(endValue);
|
|
940
|
-
}
|
|
941
|
-
};
|
|
942
|
-
animationFrameId = requestAnimationFrame(step);
|
|
943
|
-
return () => {
|
|
944
|
-
if (animationFrameId) {
|
|
945
|
-
cancelAnimationFrame(animationFrameId);
|
|
946
|
-
}
|
|
947
|
-
};
|
|
948
|
-
}, [startValue, endValue, duration]);
|
|
949
|
-
useEffect(() => {
|
|
950
|
-
const currentRef = ref.current;
|
|
951
|
-
if (!currentRef) return;
|
|
952
|
-
if (typeof IntersectionObserver === "undefined") {
|
|
953
|
-
return runAnimation();
|
|
954
|
-
}
|
|
955
|
-
const observer = new IntersectionObserver(
|
|
956
|
-
(entries) => {
|
|
957
|
-
entries.forEach((entry) => {
|
|
958
|
-
if (entry.isIntersecting && !hasAnimatedRef.current) {
|
|
959
|
-
hasAnimatedRef.current = true;
|
|
960
|
-
runAnimation();
|
|
961
|
-
observer.unobserve(entry.target);
|
|
962
|
-
}
|
|
963
|
-
});
|
|
964
|
-
},
|
|
965
|
-
{ threshold: 0.1 }
|
|
966
|
-
);
|
|
967
|
-
observer.observe(currentRef);
|
|
968
|
-
return () => {
|
|
969
|
-
observer.disconnect();
|
|
970
|
-
};
|
|
971
|
-
}, [runAnimation]);
|
|
972
|
-
if (!node) return null;
|
|
973
|
-
const alignClass = format && FORMAT_CLASSES2[format] || "justify-center text-center";
|
|
974
|
-
return /* @__PURE__ */ jsx23(
|
|
975
|
-
"div",
|
|
976
|
-
{
|
|
977
|
-
ref,
|
|
978
|
-
className: `counter-node inline-flex items-center ${alignClass}`,
|
|
979
|
-
children: /* @__PURE__ */ jsxs8("span", { className: "counter-display text-3xl font-bold tracking-tight", children: [
|
|
980
|
-
prefix,
|
|
981
|
-
displayValue.toLocaleString(),
|
|
982
|
-
suffix
|
|
983
|
-
] })
|
|
984
|
-
}
|
|
985
|
-
);
|
|
909
|
+
import dynamic9 from "next/dynamic";
|
|
910
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
911
|
+
var CounterNodeClient = dynamic9(() => import("./CounterNodeClient-ULMKR64R.mjs"), {
|
|
912
|
+
ssr: false
|
|
913
|
+
});
|
|
914
|
+
var CounterNode = (props) => {
|
|
915
|
+
return /* @__PURE__ */ jsx23(CounterNodeClient, { node: props.node });
|
|
986
916
|
};
|
|
987
917
|
var CounterNode_default = CounterNode;
|
|
988
918
|
|
|
989
919
|
// src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
|
|
990
|
-
import { Fragment as Fragment2, jsx as jsx24, jsxs as
|
|
920
|
+
import { Fragment as Fragment2, jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
991
921
|
var ParagraphNode = (props) => {
|
|
992
922
|
const NodeTypes2 = {
|
|
993
923
|
["text"]: TextNode_default,
|
|
@@ -1010,7 +940,7 @@ var ParagraphNode = (props) => {
|
|
|
1010
940
|
if (isInlineOnlyParent) {
|
|
1011
941
|
return /* @__PURE__ */ jsx24(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
|
|
1012
942
|
const SelectedNode = NodeTypes2[node.type];
|
|
1013
|
-
return /* @__PURE__ */ jsx24(
|
|
943
|
+
return /* @__PURE__ */ jsx24(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
|
|
1014
944
|
SelectedNode,
|
|
1015
945
|
{
|
|
1016
946
|
node,
|
|
@@ -1023,10 +953,10 @@ var ParagraphNode = (props) => {
|
|
|
1023
953
|
) }, index);
|
|
1024
954
|
}) });
|
|
1025
955
|
}
|
|
1026
|
-
return /* @__PURE__ */
|
|
956
|
+
return /* @__PURE__ */ jsxs8("div", { className: " " + formatClasses, children: [
|
|
1027
957
|
hasChildren && props.node.children.map((node, index) => {
|
|
1028
958
|
const SelectedNode = NodeTypes2[node.type];
|
|
1029
|
-
return /* @__PURE__ */ jsx24(
|
|
959
|
+
return /* @__PURE__ */ jsx24(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
|
|
1030
960
|
SelectedNode,
|
|
1031
961
|
{
|
|
1032
962
|
node,
|
|
@@ -1044,7 +974,7 @@ var ParagraphNode = (props) => {
|
|
|
1044
974
|
var ParagraphNode_default = ParagraphNode;
|
|
1045
975
|
|
|
1046
976
|
// src/components/pageRenderingEngine/nodes/HeadingNode.tsx
|
|
1047
|
-
import
|
|
977
|
+
import React17 from "react";
|
|
1048
978
|
import { Fragment as Fragment3, jsx as jsx25 } from "react/jsx-runtime";
|
|
1049
979
|
var HeadingNode = (props) => {
|
|
1050
980
|
const NodeTypes2 = {
|
|
@@ -1062,22 +992,22 @@ var HeadingNode = (props) => {
|
|
|
1062
992
|
{
|
|
1063
993
|
}
|
|
1064
994
|
const formatClasses = FormatClass[props.node.format] || "";
|
|
1065
|
-
return /* @__PURE__ */ jsx25(Fragment3, { children:
|
|
995
|
+
return /* @__PURE__ */ jsx25(Fragment3, { children: React17.createElement(
|
|
1066
996
|
HeadingTag,
|
|
1067
997
|
{ className: formatClasses },
|
|
1068
998
|
props.node.children && props.node.children.map((childNode, index) => {
|
|
1069
999
|
const SelectedNode = NodeTypes2[childNode.type];
|
|
1070
|
-
return /* @__PURE__ */ jsx25(
|
|
1000
|
+
return /* @__PURE__ */ jsx25(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
|
|
1071
1001
|
})
|
|
1072
1002
|
) });
|
|
1073
1003
|
};
|
|
1074
1004
|
var HeadingNode_default = HeadingNode;
|
|
1075
1005
|
|
|
1076
1006
|
// src/components/pageRenderingEngine/nodes/ListNode.tsx
|
|
1077
|
-
import
|
|
1007
|
+
import React19 from "react";
|
|
1078
1008
|
|
|
1079
1009
|
// src/components/pageRenderingEngine/nodes/ListItemNode.tsx
|
|
1080
|
-
import
|
|
1010
|
+
import React18 from "react";
|
|
1081
1011
|
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
1082
1012
|
var ListItemNode = (props) => {
|
|
1083
1013
|
const NodeTypes2 = {
|
|
@@ -1106,33 +1036,33 @@ var ListItemNode = (props) => {
|
|
|
1106
1036
|
}
|
|
1107
1037
|
} else {
|
|
1108
1038
|
foundFirstBreak = false;
|
|
1109
|
-
return /* @__PURE__ */ jsx26(
|
|
1039
|
+
return /* @__PURE__ */ jsx26(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
|
|
1110
1040
|
}
|
|
1111
1041
|
}) });
|
|
1112
1042
|
};
|
|
1113
1043
|
var ListItemNode_default = ListItemNode;
|
|
1114
1044
|
|
|
1115
1045
|
// src/components/pageRenderingEngine/nodes/ListNode.tsx
|
|
1116
|
-
import { jsx as jsx27, jsxs as
|
|
1046
|
+
import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1117
1047
|
var ListNode = (props) => {
|
|
1118
1048
|
const NodeTypes2 = {
|
|
1119
1049
|
listitem: ListItemNode_default
|
|
1120
1050
|
};
|
|
1121
|
-
return /* @__PURE__ */
|
|
1051
|
+
return /* @__PURE__ */ jsxs9(React19.Fragment, { children: [
|
|
1122
1052
|
props.node.listType == "bullet" && /* @__PURE__ */ jsx27("ul", { children: props.node.children && props.node.children.map((node, index) => {
|
|
1123
1053
|
const SelectedNode = NodeTypes2[node.type];
|
|
1124
|
-
return /* @__PURE__ */ jsx27(
|
|
1054
|
+
return /* @__PURE__ */ jsx27(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
|
|
1125
1055
|
}) }),
|
|
1126
1056
|
props.node.listType == "number" && /* @__PURE__ */ jsx27("ol", { children: props.node.children && props.node.children.map((node, index) => {
|
|
1127
1057
|
const SelectedNode = NodeTypes2[node.type];
|
|
1128
|
-
return /* @__PURE__ */ jsx27(
|
|
1058
|
+
return /* @__PURE__ */ jsx27(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
|
|
1129
1059
|
}) })
|
|
1130
1060
|
] });
|
|
1131
1061
|
};
|
|
1132
1062
|
var ListNode_default = ListNode;
|
|
1133
1063
|
|
|
1134
1064
|
// src/components/pageRenderingEngine/nodes/QuoteNode.tsx
|
|
1135
|
-
import
|
|
1065
|
+
import React20 from "react";
|
|
1136
1066
|
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
1137
1067
|
var QuoteNode = (props) => {
|
|
1138
1068
|
const NodeTypes2 = {
|
|
@@ -1142,16 +1072,16 @@ var QuoteNode = (props) => {
|
|
|
1142
1072
|
};
|
|
1143
1073
|
return /* @__PURE__ */ jsx28("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
|
|
1144
1074
|
const SelectedNode = NodeTypes2[node.type];
|
|
1145
|
-
return /* @__PURE__ */ jsx28(
|
|
1075
|
+
return /* @__PURE__ */ jsx28(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx28(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
|
|
1146
1076
|
}) });
|
|
1147
1077
|
};
|
|
1148
1078
|
var QuoteNode_default = QuoteNode;
|
|
1149
1079
|
|
|
1150
1080
|
// src/components/pageRenderingEngine/nodes/CodeNode.tsx
|
|
1151
|
-
import
|
|
1152
|
-
import
|
|
1153
|
-
import { jsx as jsx29, jsxs as
|
|
1154
|
-
var CopyButton =
|
|
1081
|
+
import React21 from "react";
|
|
1082
|
+
import dynamic10 from "next/dynamic";
|
|
1083
|
+
import { jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1084
|
+
var CopyButton = dynamic10(() => import("./CopyButton-XONTQQW7.mjs"), {
|
|
1155
1085
|
ssr: false,
|
|
1156
1086
|
// optional: fallback UI while loading
|
|
1157
1087
|
loading: () => /* @__PURE__ */ jsx29("span", { className: "text-gray-400 text-xs", children: "Copy" })
|
|
@@ -1168,14 +1098,14 @@ var CodeNode = (props) => {
|
|
|
1168
1098
|
if (node.type === "link") return node.text || node.url || "";
|
|
1169
1099
|
return "";
|
|
1170
1100
|
}).join("") ?? "";
|
|
1171
|
-
return /* @__PURE__ */
|
|
1172
|
-
/* @__PURE__ */
|
|
1101
|
+
return /* @__PURE__ */ jsxs10("div", { children: [
|
|
1102
|
+
/* @__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: [
|
|
1173
1103
|
/* @__PURE__ */ jsx29("span", { children: "Code Snippet" }),
|
|
1174
1104
|
/* @__PURE__ */ jsx29(CopyButton, { text: textContent })
|
|
1175
1105
|
] }),
|
|
1176
1106
|
/* @__PURE__ */ jsx29("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
|
|
1177
1107
|
const SelectedNode = NodeTypes2[node.type];
|
|
1178
|
-
return /* @__PURE__ */ jsx29(
|
|
1108
|
+
return /* @__PURE__ */ jsx29(React21.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx29(
|
|
1179
1109
|
SelectedNode,
|
|
1180
1110
|
{
|
|
1181
1111
|
node,
|
|
@@ -1197,7 +1127,7 @@ var HorizontalRuleNode = () => {
|
|
|
1197
1127
|
var HorizontalRuleNode_default = HorizontalRuleNode;
|
|
1198
1128
|
|
|
1199
1129
|
// src/components/pageRenderingEngine/nodes/WidgetNode.tsx
|
|
1200
|
-
import
|
|
1130
|
+
import React22 from "react";
|
|
1201
1131
|
import { Fragment as Fragment4, jsx as jsx31 } from "react/jsx-runtime";
|
|
1202
1132
|
var WidgetNode = (props) => {
|
|
1203
1133
|
const getWidgetParameters = () => {
|
|
@@ -1271,7 +1201,7 @@ var WidgetNode = (props) => {
|
|
|
1271
1201
|
}
|
|
1272
1202
|
return (
|
|
1273
1203
|
// eslint-disable-next-line react-hooks/static-components
|
|
1274
|
-
/* @__PURE__ */ jsx31(
|
|
1204
|
+
/* @__PURE__ */ jsx31(React22.Fragment, { children: /* @__PURE__ */ jsx31(
|
|
1275
1205
|
WidgetRenderer,
|
|
1276
1206
|
{
|
|
1277
1207
|
params: widgetParams,
|
|
@@ -1288,13 +1218,13 @@ var WidgetNode = (props) => {
|
|
|
1288
1218
|
var WidgetNode_default = WidgetNode;
|
|
1289
1219
|
|
|
1290
1220
|
// src/components/pageRenderingEngine/nodes/DivContainer.tsx
|
|
1291
|
-
import
|
|
1292
|
-
import
|
|
1221
|
+
import dynamic14 from "next/dynamic";
|
|
1222
|
+
import React23 from "react";
|
|
1293
1223
|
|
|
1294
1224
|
// src/components/pageRenderingEngine/nodes/EmbedNode.tsx
|
|
1295
|
-
import
|
|
1225
|
+
import dynamic11 from "next/dynamic";
|
|
1296
1226
|
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
1297
|
-
var IframeClient =
|
|
1227
|
+
var IframeClient = dynamic11(() => import("./IframeClient-XEWQLGUQ.mjs"), {
|
|
1298
1228
|
ssr: false
|
|
1299
1229
|
});
|
|
1300
1230
|
var EmbedNode = (props) => {
|
|
@@ -1542,9 +1472,9 @@ var PathUtility = class {
|
|
|
1542
1472
|
var PathUtility_default = new PathUtility();
|
|
1543
1473
|
|
|
1544
1474
|
// src/components/NoDataFound.tsx
|
|
1545
|
-
import { jsx as jsx33, jsxs as
|
|
1475
|
+
import { jsx as jsx33, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1546
1476
|
var NoDataFound = () => {
|
|
1547
|
-
return /* @__PURE__ */
|
|
1477
|
+
return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
|
|
1548
1478
|
/* @__PURE__ */ jsx33("div", { className: "mb-5", children: /* @__PURE__ */ jsx33("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
|
|
1549
1479
|
"svg",
|
|
1550
1480
|
{
|
|
@@ -1571,9 +1501,9 @@ var NoDataFound = () => {
|
|
|
1571
1501
|
var NoDataFound_default = NoDataFound;
|
|
1572
1502
|
|
|
1573
1503
|
// src/components/NoFilterResultsFound.tsx
|
|
1574
|
-
import { jsx as jsx34, jsxs as
|
|
1504
|
+
import { jsx as jsx34, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1575
1505
|
var NoFilterResultsFound = () => {
|
|
1576
|
-
return /* @__PURE__ */
|
|
1506
|
+
return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
|
|
1577
1507
|
/* @__PURE__ */ jsx34("div", { className: "mb-5", children: /* @__PURE__ */ jsx34("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx34(
|
|
1578
1508
|
"svg",
|
|
1579
1509
|
{
|
|
@@ -1600,9 +1530,9 @@ var NoFilterResultsFound = () => {
|
|
|
1600
1530
|
var NoFilterResultsFound_default = NoFilterResultsFound;
|
|
1601
1531
|
|
|
1602
1532
|
// src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
|
|
1603
|
-
import
|
|
1604
|
-
import { Fragment as Fragment5, jsx as jsx35, jsxs as
|
|
1605
|
-
var HlsPlayer3 =
|
|
1533
|
+
import dynamic12 from "next/dynamic";
|
|
1534
|
+
import { Fragment as Fragment5, jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1535
|
+
var HlsPlayer3 = dynamic12(() => import("./HlsPlayer-ZGFEVSKL.mjs"), { ssr: false });
|
|
1606
1536
|
var deviceToMediaQuery = (device) => {
|
|
1607
1537
|
switch (device) {
|
|
1608
1538
|
case "lg":
|
|
@@ -1757,7 +1687,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1757
1687
|
right: "justify-end"
|
|
1758
1688
|
};
|
|
1759
1689
|
const formatClasses = FormatClass[props.node.format || ""] || "";
|
|
1760
|
-
return /* @__PURE__ */
|
|
1690
|
+
return /* @__PURE__ */ jsxs13(Fragment5, { children: [
|
|
1761
1691
|
hlsSources.length > 0 && /* @__PURE__ */ jsx35(Fragment5, { children: /* @__PURE__ */ jsx35(
|
|
1762
1692
|
HlsPlayer3,
|
|
1763
1693
|
{
|
|
@@ -1773,7 +1703,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1773
1703
|
styles: hlsStyles
|
|
1774
1704
|
}
|
|
1775
1705
|
) }),
|
|
1776
|
-
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(Fragment5, { children: staticFallback ? /* @__PURE__ */
|
|
1706
|
+
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
|
|
1777
1707
|
DEVICE_ORDER.map((deviceKey) => {
|
|
1778
1708
|
const match = staticSources.find(
|
|
1779
1709
|
(img) => img.device === deviceKey
|
|
@@ -1996,7 +1926,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
|
|
|
1996
1926
|
};
|
|
1997
1927
|
|
|
1998
1928
|
// src/components/pageRenderingEngine/nodes/DocumentNode.tsx
|
|
1999
|
-
import { Fragment as Fragment6, jsx as jsx36, jsxs as
|
|
1929
|
+
import { Fragment as Fragment6, jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2000
1930
|
var getNestedValue5 = (obj, path) => {
|
|
2001
1931
|
if (!obj || !path) return void 0;
|
|
2002
1932
|
return path.split(".").reduce((current, key) => {
|
|
@@ -2027,7 +1957,7 @@ var parseDocuments = (value) => {
|
|
|
2027
1957
|
}
|
|
2028
1958
|
return [];
|
|
2029
1959
|
};
|
|
2030
|
-
var PdfIcon = () => /* @__PURE__ */
|
|
1960
|
+
var PdfIcon = () => /* @__PURE__ */ jsxs14(
|
|
2031
1961
|
"svg",
|
|
2032
1962
|
{
|
|
2033
1963
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2051,7 +1981,7 @@ var PdfIcon = () => /* @__PURE__ */ jsxs15(
|
|
|
2051
1981
|
]
|
|
2052
1982
|
}
|
|
2053
1983
|
);
|
|
2054
|
-
var ExcelIcon = () => /* @__PURE__ */
|
|
1984
|
+
var ExcelIcon = () => /* @__PURE__ */ jsxs14(
|
|
2055
1985
|
"svg",
|
|
2056
1986
|
{
|
|
2057
1987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2074,7 +2004,7 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs15(
|
|
|
2074
2004
|
),
|
|
2075
2005
|
/* @__PURE__ */ jsx36("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
|
|
2076
2006
|
/* @__PURE__ */ jsx36("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
|
|
2077
|
-
/* @__PURE__ */
|
|
2007
|
+
/* @__PURE__ */ jsxs14("g", { children: [
|
|
2078
2008
|
/* @__PURE__ */ jsx36(
|
|
2079
2009
|
"path",
|
|
2080
2010
|
{
|
|
@@ -2109,7 +2039,7 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs15(
|
|
|
2109
2039
|
]
|
|
2110
2040
|
}
|
|
2111
2041
|
);
|
|
2112
|
-
var WordIcon = () => /* @__PURE__ */
|
|
2042
|
+
var WordIcon = () => /* @__PURE__ */ jsxs14(
|
|
2113
2043
|
"svg",
|
|
2114
2044
|
{
|
|
2115
2045
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2124,7 +2054,7 @@ var WordIcon = () => /* @__PURE__ */ jsxs15(
|
|
|
2124
2054
|
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"
|
|
2125
2055
|
}
|
|
2126
2056
|
),
|
|
2127
|
-
/* @__PURE__ */
|
|
2057
|
+
/* @__PURE__ */ jsxs14(
|
|
2128
2058
|
"linearGradient",
|
|
2129
2059
|
{
|
|
2130
2060
|
id: "qh2LT5tehRDFkLLfb-odWa",
|
|
@@ -2179,7 +2109,7 @@ var WordIcon = () => /* @__PURE__ */ jsxs15(
|
|
|
2179
2109
|
]
|
|
2180
2110
|
}
|
|
2181
2111
|
);
|
|
2182
|
-
var StandardIcon = () => /* @__PURE__ */
|
|
2112
|
+
var StandardIcon = () => /* @__PURE__ */ jsxs14(
|
|
2183
2113
|
"svg",
|
|
2184
2114
|
{
|
|
2185
2115
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2191,7 +2121,7 @@ var StandardIcon = () => /* @__PURE__ */ jsxs15(
|
|
|
2191
2121
|
]
|
|
2192
2122
|
}
|
|
2193
2123
|
);
|
|
2194
|
-
var PowerPointIcon = () => /* @__PURE__ */
|
|
2124
|
+
var PowerPointIcon = () => /* @__PURE__ */ jsxs14(
|
|
2195
2125
|
"svg",
|
|
2196
2126
|
{
|
|
2197
2127
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2224,7 +2154,7 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs15(
|
|
|
2224
2154
|
]
|
|
2225
2155
|
}
|
|
2226
2156
|
);
|
|
2227
|
-
var TextIcon = () => /* @__PURE__ */
|
|
2157
|
+
var TextIcon = () => /* @__PURE__ */ jsxs14(
|
|
2228
2158
|
"svg",
|
|
2229
2159
|
{
|
|
2230
2160
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2243,7 +2173,7 @@ var TextIcon = () => /* @__PURE__ */ jsxs15(
|
|
|
2243
2173
|
]
|
|
2244
2174
|
}
|
|
2245
2175
|
);
|
|
2246
|
-
var ArchiveIcon = () => /* @__PURE__ */
|
|
2176
|
+
var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
|
|
2247
2177
|
"svg",
|
|
2248
2178
|
{
|
|
2249
2179
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2346,7 +2276,7 @@ var DocumentNode = (props) => {
|
|
|
2346
2276
|
documents = parseDocuments(props.node.documentAsset);
|
|
2347
2277
|
}
|
|
2348
2278
|
if (documents.length === 0) {
|
|
2349
|
-
return /* @__PURE__ */ jsx36(Fragment6, { children: /* @__PURE__ */
|
|
2279
|
+
return /* @__PURE__ */ jsx36(Fragment6, { children: /* @__PURE__ */ jsxs14("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
|
|
2350
2280
|
/* @__PURE__ */ jsx36("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx36(
|
|
2351
2281
|
"svg",
|
|
2352
2282
|
{
|
|
@@ -2388,16 +2318,16 @@ var DocumentNode = (props) => {
|
|
|
2388
2318
|
}
|
|
2389
2319
|
}
|
|
2390
2320
|
const { Icon, extLabel } = getFileDetails(documentUrl);
|
|
2391
|
-
return /* @__PURE__ */
|
|
2321
|
+
return /* @__PURE__ */ jsxs14(
|
|
2392
2322
|
"div",
|
|
2393
2323
|
{
|
|
2394
2324
|
className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
|
|
2395
2325
|
children: [
|
|
2396
|
-
/* @__PURE__ */
|
|
2326
|
+
/* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-4 min-w-0", children: [
|
|
2397
2327
|
/* @__PURE__ */ jsx36("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft shrink-0", children: /* @__PURE__ */ jsx36(Icon, {}) }),
|
|
2398
2328
|
/* @__PURE__ */ jsx36("div", { className: "flex items-baseline space-x-2 min-w-0", children: /* @__PURE__ */ jsx36("h4", { className: "text-base font-semibold truncate", title: documentTitle, children: documentTitle }) })
|
|
2399
2329
|
] }),
|
|
2400
|
-
/* @__PURE__ */
|
|
2330
|
+
/* @__PURE__ */ jsxs14(
|
|
2401
2331
|
"a",
|
|
2402
2332
|
{
|
|
2403
2333
|
href: documentUrl,
|
|
@@ -2405,7 +2335,7 @@ var DocumentNode = (props) => {
|
|
|
2405
2335
|
rel: "noopener noreferrer",
|
|
2406
2336
|
className: "inline-flex items-center px-4 py-2 text-sm font-medium bg-default border rounded focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors shrink-0",
|
|
2407
2337
|
children: [
|
|
2408
|
-
/* @__PURE__ */
|
|
2338
|
+
/* @__PURE__ */ jsxs14(
|
|
2409
2339
|
"svg",
|
|
2410
2340
|
{
|
|
2411
2341
|
className: "w-4 h-4 mr-2",
|
|
@@ -2447,9 +2377,9 @@ var DocumentNode = (props) => {
|
|
|
2447
2377
|
var DocumentNode_default = DocumentNode;
|
|
2448
2378
|
|
|
2449
2379
|
// src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
|
|
2450
|
-
import
|
|
2380
|
+
import dynamic13 from "next/dynamic";
|
|
2451
2381
|
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
2452
|
-
var IframeClient2 =
|
|
2382
|
+
var IframeClient2 = dynamic13(() => import("./IframeClient-XEWQLGUQ.mjs"), {
|
|
2453
2383
|
ssr: false
|
|
2454
2384
|
});
|
|
2455
2385
|
var GoogleMapNode = (props) => {
|
|
@@ -2466,12 +2396,12 @@ var GoogleMapNode = (props) => {
|
|
|
2466
2396
|
var GoogleMapNode_default = GoogleMapNode;
|
|
2467
2397
|
|
|
2468
2398
|
// src/components/pageRenderingEngine/nodes/DivContainer.tsx
|
|
2469
|
-
import { jsx as jsx38, jsxs as
|
|
2470
|
-
var Pagination =
|
|
2471
|
-
var DataBindingControls =
|
|
2399
|
+
import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2400
|
+
var Pagination = dynamic14(() => import("./Pagination-RMAXCIL7.mjs"), { ssr: true });
|
|
2401
|
+
var DataBindingControls = dynamic14(() => import("./DataBindingControls-Z2AHWFYX.mjs"), {
|
|
2472
2402
|
ssr: true
|
|
2473
2403
|
});
|
|
2474
|
-
var Slider =
|
|
2404
|
+
var Slider = dynamic14(() => import("./Slider-UNNVADVP.mjs"), {
|
|
2475
2405
|
ssr: false
|
|
2476
2406
|
});
|
|
2477
2407
|
function toCamelCase(str) {
|
|
@@ -2752,7 +2682,7 @@ var DivContainer = async (props) => {
|
|
|
2752
2682
|
}
|
|
2753
2683
|
const SelectedNode = NodeTypes2[node.type];
|
|
2754
2684
|
if (!SelectedNode) return null;
|
|
2755
|
-
return /* @__PURE__ */ jsx38(
|
|
2685
|
+
return /* @__PURE__ */ jsx38(React23.Fragment, { children: /* @__PURE__ */ jsx38(
|
|
2756
2686
|
SelectedNode,
|
|
2757
2687
|
{
|
|
2758
2688
|
node,
|
|
@@ -2844,7 +2774,7 @@ var DivContainer = async (props) => {
|
|
|
2844
2774
|
item,
|
|
2845
2775
|
idx,
|
|
2846
2776
|
props.href ? void 0 : item?.links?.view
|
|
2847
|
-
)?.map((child, i) => /* @__PURE__ */ jsx38(
|
|
2777
|
+
)?.map((child, i) => /* @__PURE__ */ jsx38(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
|
|
2848
2778
|
);
|
|
2849
2779
|
}
|
|
2850
2780
|
return props.node.children.flatMap((node, childIndex) => {
|
|
@@ -2980,14 +2910,14 @@ var DivContainer = async (props) => {
|
|
|
2980
2910
|
dataset: response
|
|
2981
2911
|
}
|
|
2982
2912
|
) : null;
|
|
2983
|
-
return /* @__PURE__ */
|
|
2913
|
+
return /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
|
|
2984
2914
|
/* @__PURE__ */ jsx38(
|
|
2985
2915
|
"style",
|
|
2986
2916
|
{
|
|
2987
2917
|
dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
|
|
2988
2918
|
}
|
|
2989
2919
|
),
|
|
2990
|
-
showDataBindingControls ? /* @__PURE__ */
|
|
2920
|
+
showDataBindingControls ? /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
|
|
2991
2921
|
/* @__PURE__ */ jsx38(
|
|
2992
2922
|
DataBindingControls,
|
|
2993
2923
|
{
|
|
@@ -3001,12 +2931,12 @@ var DivContainer = async (props) => {
|
|
|
3001
2931
|
showSearchBar: dataBindingProperties?.showSearchBar
|
|
3002
2932
|
}
|
|
3003
2933
|
),
|
|
3004
|
-
/* @__PURE__ */
|
|
2934
|
+
/* @__PURE__ */ jsxs15(
|
|
3005
2935
|
"div",
|
|
3006
2936
|
{
|
|
3007
2937
|
className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
|
|
3008
2938
|
children: [
|
|
3009
|
-
/* @__PURE__ */
|
|
2939
|
+
/* @__PURE__ */ jsxs15("div", { className: "min-w-0", children: [
|
|
3010
2940
|
renderedContainer,
|
|
3011
2941
|
paginationControl
|
|
3012
2942
|
] }),
|
|
@@ -3023,7 +2953,7 @@ var DivContainer = async (props) => {
|
|
|
3023
2953
|
]
|
|
3024
2954
|
}
|
|
3025
2955
|
)
|
|
3026
|
-
] }) : /* @__PURE__ */
|
|
2956
|
+
] }) : /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
|
|
3027
2957
|
renderedContainer,
|
|
3028
2958
|
paginationControl && /* @__PURE__ */ jsx38("div", { children: paginationControl })
|
|
3029
2959
|
] })
|
|
@@ -3071,14 +3001,14 @@ var PageBodyRenderer = (props) => {
|
|
|
3071
3001
|
}
|
|
3072
3002
|
return true;
|
|
3073
3003
|
};
|
|
3074
|
-
return /* @__PURE__ */ jsx39(
|
|
3004
|
+
return /* @__PURE__ */ jsx39(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
|
|
3075
3005
|
{
|
|
3076
3006
|
}
|
|
3077
3007
|
const SelectedNode = NodeTypes[node.type];
|
|
3078
3008
|
if (!shouldRenderNode(node)) {
|
|
3079
3009
|
return null;
|
|
3080
3010
|
}
|
|
3081
|
-
return /* @__PURE__ */ jsx39(
|
|
3011
|
+
return /* @__PURE__ */ jsx39(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx39(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx39(React24.Fragment, { children: /* @__PURE__ */ jsx39(
|
|
3082
3012
|
SelectedNode,
|
|
3083
3013
|
{
|
|
3084
3014
|
node,
|
|
@@ -3094,7 +3024,7 @@ var PageBodyRenderer = (props) => {
|
|
|
3094
3024
|
device: props.device,
|
|
3095
3025
|
widgetRenderer: props.widgetRenderer
|
|
3096
3026
|
}
|
|
3097
|
-
) }) : /* @__PURE__ */ jsx39(
|
|
3027
|
+
) }) : /* @__PURE__ */ jsx39(React24.Fragment, { children: /* @__PURE__ */ jsx39(
|
|
3098
3028
|
SelectedNode,
|
|
3099
3029
|
{
|
|
3100
3030
|
node,
|