@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260324172014 → 0.8.1-dev.20260325084305

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
@@ -2521,7 +2521,7 @@ var DataList = (props) => {
2521
2521
  var DataList_default = DataList;
2522
2522
 
2523
2523
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2524
- import React50 from "react";
2524
+ import React48 from "react";
2525
2525
 
2526
2526
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
2527
2527
  import React36 from "react";
@@ -2843,6 +2843,7 @@ var HeadingNode = (props) => {
2843
2843
  ["text"]: TextNode_default,
2844
2844
  ["link"]: LinkNode_default,
2845
2845
  ["svg-icon"]: SVGIconNode_default,
2846
+ ["linebreak"]: LineBreakNode_default,
2846
2847
  ["datafield"]: DatafieldNode_default
2847
2848
  };
2848
2849
  const HeadingTag = `${props.node.tag}`;
@@ -2939,67 +2940,18 @@ var QuoteNode_default = QuoteNode;
2939
2940
 
2940
2941
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
2941
2942
  import React41 from "react";
2942
-
2943
- // src/components/CopyButton.tsx
2944
- import { useState as useState8, useRef as useRef3, useEffect as useEffect7 } from "react";
2943
+ import dynamic from "next/dynamic";
2945
2944
  import { jsx as jsx52, jsxs as jsxs25 } from "react/jsx-runtime";
2946
- function CopyButton({ text }) {
2947
- const [copied, setCopied] = useState8(false);
2948
- const timeoutRef = useRef3(null);
2949
- useEffect7(() => {
2950
- return () => {
2951
- if (timeoutRef.current) clearTimeout(timeoutRef.current);
2952
- };
2953
- }, []);
2954
- const handleCopy = async () => {
2955
- try {
2956
- await navigator.clipboard.writeText(text);
2957
- setCopied(true);
2958
- if (timeoutRef.current) clearTimeout(timeoutRef.current);
2959
- timeoutRef.current = setTimeout(() => setCopied(false), 2e3);
2960
- } catch (err) {
2961
- console.error("Failed to copy: ", err);
2962
- }
2963
- };
2964
- return /* @__PURE__ */ jsxs25(
2965
- "button",
2966
- {
2967
- onClick: handleCopy,
2968
- className: "flex gap-1 items-center hover:text-white transition",
2969
- children: [
2970
- /* @__PURE__ */ jsx52(
2971
- "svg",
2972
- {
2973
- width: "16",
2974
- height: "16",
2975
- viewBox: "0 0 24 24",
2976
- className: "w-4 h-4",
2977
- fill: "currentColor",
2978
- children: /* @__PURE__ */ jsx52(
2979
- "path",
2980
- {
2981
- fillRule: "evenodd",
2982
- clipRule: "evenodd",
2983
- d: "M12 4C10.8954 4 10 4.89543 10 6H14C14 4.89543 13.1046 4 12 4ZM8.53513 4C9.22675 2.8044 10.5194 2 12 2C13.4806 2 14.7733 2.8044 15.4649 4H17C18.6569 4 20 5.34315 20 7V19C20 20.6569 18.6569 22 17 22H7C5.34315 22 4 20.6569 4 19V7C4 5.34315 5.34315 4 7 4H8.53513ZM8 6H7C6.44772 6 6 6.44772 6 7V19C6 19.5523 6.44772 20 7 20H17C17.5523 20 18 19.5523 18 19V7C18 6.44772 17.5523 6 17 6H16C16 7.10457 15.1046 8 14 8H10C8.89543 8 8 7.10457 8 6Z"
2984
- }
2985
- )
2986
- }
2987
- ),
2988
- copied ? "Copied!" : "Copy code"
2989
- ]
2990
- }
2991
- );
2992
- }
2993
-
2994
- // src/components/pageRenderingEngine/nodes/CodeNode.tsx
2995
- import { jsx as jsx53, jsxs as jsxs26 } from "react/jsx-runtime";
2945
+ var CopyButton = dynamic(() => import("./CopyButton-XONTQQW7.mjs"), {
2946
+ ssr: false,
2947
+ // optional: fallback UI while loading
2948
+ loading: () => /* @__PURE__ */ jsx52("span", { className: "text-gray-400 text-xs", children: "Copy" })
2949
+ });
2996
2950
  var CodeNode = (props) => {
2997
2951
  const NodeTypes2 = {
2998
- // @ts-expect-error custom code
2999
- ["text"]: TextNode_default,
3000
- ["linebreak"]: LineBreakNode_default,
3001
- // @ts-expect-error custom code
3002
- ["link"]: LinkNode_default
2952
+ text: TextNode_default,
2953
+ linebreak: LineBreakNode_default,
2954
+ link: LinkNode_default
3003
2955
  };
3004
2956
  const textContent = props.node?.children?.map((node) => {
3005
2957
  if (node.type === "text") return node.text || "";
@@ -3007,23 +2959,31 @@ var CodeNode = (props) => {
3007
2959
  if (node.type === "link") return node.text || node.url || "";
3008
2960
  return "";
3009
2961
  }).join("") ?? "";
3010
- return /* @__PURE__ */ jsxs26("div", { className: "code-block", children: [
3011
- /* @__PURE__ */ jsxs26("div", { className: "flex items-center relative text-gray-200 bg-gray-800 px-4 py-2.5 text-xs font-sans justify-between rounded-t-md", children: [
3012
- /* @__PURE__ */ jsx53("span", { children: "Code Snippet" }),
3013
- /* @__PURE__ */ jsx53(CopyButton, { text: textContent })
2962
+ return /* @__PURE__ */ jsxs25("div", { className: "code-block", children: [
2963
+ /* @__PURE__ */ jsxs25("div", { className: "flex items-center relative text-gray-200 bg-gray-800 px-4 py-2.5 text-xs font-sans justify-between rounded-t-md", children: [
2964
+ /* @__PURE__ */ jsx52("span", { children: "Code Snippet" }),
2965
+ /* @__PURE__ */ jsx52(CopyButton, { text: textContent })
3014
2966
  ] }),
3015
- /* @__PURE__ */ jsx53("code", { className: "block bg-gray-900 text-gray-100 p-4 rounded-b-md text-sm whitespace-pre-wrap", children: props.node.children && props.node.children.map((node, index) => {
2967
+ /* @__PURE__ */ jsx52("code", { className: "block bg-gray-900 text-gray-100 p-4 rounded-b-md text-sm whitespace-pre-wrap", children: props.node.children && props.node.children.map((node, index) => {
3016
2968
  const SelectedNode = NodeTypes2[node.type];
3017
- return /* @__PURE__ */ jsx53(React41.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx53(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
2969
+ return /* @__PURE__ */ jsx52(React41.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx52(
2970
+ SelectedNode,
2971
+ {
2972
+ node,
2973
+ session: props.session,
2974
+ apiBaseUrl: props.apiBaseUrl,
2975
+ routeParameters: props.routeParameters
2976
+ }
2977
+ ) }, index);
3018
2978
  }) })
3019
2979
  ] });
3020
2980
  };
3021
2981
  var CodeNode_default = CodeNode;
3022
2982
 
3023
2983
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
3024
- import { jsx as jsx54 } from "react/jsx-runtime";
2984
+ import { jsx as jsx53 } from "react/jsx-runtime";
3025
2985
  var HorizontalRuleNode = () => {
3026
- return /* @__PURE__ */ jsx54("hr", {});
2986
+ return /* @__PURE__ */ jsx53("hr", {});
3027
2987
  };
3028
2988
  var HorizontalRuleNode_default = HorizontalRuleNode;
3029
2989
 
@@ -3044,9 +3004,9 @@ var AssetUtility = class {
3044
3004
  var AssetUtility_default = AssetUtility;
3045
3005
 
3046
3006
  // src/components/HlsPlayer.tsx
3047
- import React42, { useRef as useRef4, useEffect as useEffect8, useState as useState9, useCallback as useCallback3 } from "react";
3007
+ import React42, { useRef as useRef3, useEffect as useEffect7, useState as useState8, useCallback as useCallback3 } from "react";
3048
3008
  import Hls from "hls.js";
3049
- import { jsx as jsx55, jsxs as jsxs27 } from "react/jsx-runtime";
3009
+ import { jsx as jsx54, jsxs as jsxs26 } from "react/jsx-runtime";
3050
3010
  var HlsPlayer = React42.memo(
3051
3011
  ({
3052
3012
  assetUrl,
@@ -3057,13 +3017,13 @@ var HlsPlayer = React42.memo(
3057
3017
  loop = false,
3058
3018
  playOptions = "autoplay"
3059
3019
  }) => {
3060
- const videoRef = useRef4(null);
3061
- const hlsRef = useRef4(null);
3062
- const [isPlaying, setIsPlaying] = useState9(playOptions === "autoplay");
3063
- const [isHovered, setIsHovered] = useState9(false);
3064
- const [isMobile, setIsMobile] = useState9(false);
3065
- const wasManuallyPausedRef = useRef4(false);
3066
- useEffect8(() => {
3020
+ const videoRef = useRef3(null);
3021
+ const hlsRef = useRef3(null);
3022
+ const [isPlaying, setIsPlaying] = useState8(playOptions === "autoplay");
3023
+ const [isHovered, setIsHovered] = useState8(false);
3024
+ const [isMobile, setIsMobile] = useState8(false);
3025
+ const wasManuallyPausedRef = useRef3(false);
3026
+ useEffect7(() => {
3067
3027
  const checkMobile = () => {
3068
3028
  const hasTouch = "ontouchstart" in window || navigator.maxTouchPoints > 0;
3069
3029
  const isSmallScreen = window.innerWidth <= 768;
@@ -3075,7 +3035,7 @@ var HlsPlayer = React42.memo(
3075
3035
  window.addEventListener("resize", checkMobile);
3076
3036
  return () => window.removeEventListener("resize", checkMobile);
3077
3037
  }, []);
3078
- useEffect8(() => {
3038
+ useEffect7(() => {
3079
3039
  const v = videoRef.current;
3080
3040
  if (!v || !assetUrl) return;
3081
3041
  if (hlsRef.current) {
@@ -3124,14 +3084,14 @@ var HlsPlayer = React42.memo(
3124
3084
  setIsPlaying(false);
3125
3085
  }
3126
3086
  }, [playOptions, isMobile]);
3127
- return /* @__PURE__ */ jsxs27(
3087
+ return /* @__PURE__ */ jsxs26(
3128
3088
  "div",
3129
3089
  {
3130
3090
  className: "relative w-full aspect-video bg-black",
3131
3091
  onMouseEnter: handleMouseEnter,
3132
3092
  onMouseLeave: handleMouseLeave,
3133
3093
  children: [
3134
- /* @__PURE__ */ jsx55(
3094
+ /* @__PURE__ */ jsx54(
3135
3095
  "video",
3136
3096
  {
3137
3097
  ref: videoRef,
@@ -3145,7 +3105,7 @@ var HlsPlayer = React42.memo(
3145
3105
  onClick: !isMobile && !isPlaying ? handlePlayPause : void 0
3146
3106
  }
3147
3107
  ),
3148
- !isMobile && playOptions === "playOnHover" && posterUrl && /* @__PURE__ */ jsx55(
3108
+ !isMobile && playOptions === "playOnHover" && posterUrl && /* @__PURE__ */ jsx54(
3149
3109
  "img",
3150
3110
  {
3151
3111
  src: posterUrl,
@@ -3155,7 +3115,7 @@ var HlsPlayer = React42.memo(
3155
3115
  className: `absolute inset-0 object-cover transition-opacity ${isHovered ? "opacity-0" : "opacity-100"}`
3156
3116
  }
3157
3117
  ),
3158
- !isMobile && !isPlaying && /* @__PURE__ */ jsx55(
3118
+ !isMobile && !isPlaying && /* @__PURE__ */ jsx54(
3159
3119
  "div",
3160
3120
  {
3161
3121
  className: "absolute inset-0 flex items-center justify-center cursor-pointer",
@@ -3172,7 +3132,7 @@ HlsPlayer.displayName = "HlsPlayer";
3172
3132
  var HlsPlayer_default = HlsPlayer;
3173
3133
 
3174
3134
  // src/components/DeviceAssetSelector.tsx
3175
- import { jsx as jsx56 } from "react/jsx-runtime";
3135
+ import { jsx as jsx55 } from "react/jsx-runtime";
3176
3136
  var DeviceAssetSelector = ({
3177
3137
  assets,
3178
3138
  apiBaseUrl,
@@ -3247,7 +3207,7 @@ var DeviceAssetSelector = ({
3247
3207
  const formatClasses = FormatClass[nodeProps?.format || ""] || "";
3248
3208
  const renderMedia = () => {
3249
3209
  if (isHls) {
3250
- return /* @__PURE__ */ jsx56(
3210
+ return /* @__PURE__ */ jsx55(
3251
3211
  HlsPlayer_default,
3252
3212
  {
3253
3213
  assetUrl: resolvedAssetUrl,
@@ -3262,7 +3222,7 @@ var DeviceAssetSelector = ({
3262
3222
  } else {
3263
3223
  return (
3264
3224
  /* eslint-disable-next-line @next/next/no-img-element */
3265
- /* @__PURE__ */ jsx56(
3225
+ /* @__PURE__ */ jsx55(
3266
3226
  "img",
3267
3227
  {
3268
3228
  style: styles,
@@ -3278,17 +3238,17 @@ var DeviceAssetSelector = ({
3278
3238
  }
3279
3239
  };
3280
3240
  if (width) {
3281
- return /* @__PURE__ */ jsx56("div", { style: { width }, children: renderMedia() });
3241
+ return /* @__PURE__ */ jsx55("div", { style: { width }, children: renderMedia() });
3282
3242
  }
3283
3243
  if (nodeProps?.format) {
3284
- return /* @__PURE__ */ jsx56("div", { className: `flex ${formatClasses}`, children: renderMedia() });
3244
+ return /* @__PURE__ */ jsx55("div", { className: `flex ${formatClasses}`, children: renderMedia() });
3285
3245
  }
3286
3246
  return renderMedia();
3287
3247
  };
3288
3248
  var DeviceAssetSelector_default = DeviceAssetSelector;
3289
3249
 
3290
3250
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
3291
- import { Fragment as Fragment6, jsx as jsx57 } from "react/jsx-runtime";
3251
+ import { Fragment as Fragment6, jsx as jsx56 } from "react/jsx-runtime";
3292
3252
  var getNestedValue = (obj, path) => {
3293
3253
  if (!obj || !path) return void 0;
3294
3254
  return path.split(".").reduce((current, key) => {
@@ -3328,7 +3288,7 @@ var ImageNode = (props) => {
3328
3288
  console.error("Error parsing assets in ImageNode:", error);
3329
3289
  }
3330
3290
  if (assets && assets.length > 0) {
3331
- return /* @__PURE__ */ jsx57(Fragment6, { children: /* @__PURE__ */ jsx57(
3291
+ return /* @__PURE__ */ jsx56(Fragment6, { children: /* @__PURE__ */ jsx56(
3332
3292
  DeviceAssetSelector_default,
3333
3293
  {
3334
3294
  device: props.device,
@@ -3377,7 +3337,7 @@ var ImageNode = (props) => {
3377
3337
  const isHls = imageUrl?.endsWith(".m3u8");
3378
3338
  const renderMedia = () => {
3379
3339
  if (isHls) {
3380
- return /* @__PURE__ */ jsx57(
3340
+ return /* @__PURE__ */ jsx56(
3381
3341
  HlsPlayer_default,
3382
3342
  {
3383
3343
  assetUrl: imageUrl,
@@ -3390,7 +3350,7 @@ var ImageNode = (props) => {
3390
3350
  }
3391
3351
  );
3392
3352
  } else {
3393
- return /* @__PURE__ */ jsx57(React43.Fragment, { children: /* @__PURE__ */ jsx57(
3353
+ return /* @__PURE__ */ jsx56(React43.Fragment, { children: /* @__PURE__ */ jsx56(
3394
3354
  "img",
3395
3355
  {
3396
3356
  style: styles,
@@ -3405,14 +3365,14 @@ var ImageNode = (props) => {
3405
3365
  }
3406
3366
  };
3407
3367
  if (props.node.width) {
3408
- return /* @__PURE__ */ jsx57("div", { className: `flex ${formatClasses}`, children: renderMedia() });
3368
+ return /* @__PURE__ */ jsx56("div", { className: `flex ${formatClasses}`, children: renderMedia() });
3409
3369
  }
3410
3370
  return renderMedia();
3411
3371
  };
3412
3372
  var ImageNode_default = ImageNode;
3413
3373
 
3414
3374
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
3415
- import { Fragment as Fragment7, jsx as jsx58, jsxs as jsxs28 } from "react/jsx-runtime";
3375
+ import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs27 } from "react/jsx-runtime";
3416
3376
  var WidgetNode = (props) => {
3417
3377
  const getWidgetParameters = () => {
3418
3378
  const widgetInputParameters = {
@@ -3469,14 +3429,14 @@ var WidgetNode = (props) => {
3469
3429
  };
3470
3430
  const widgetCode = props.node?.widgetCode;
3471
3431
  if (!widgetCode) {
3472
- return /* @__PURE__ */ jsx58(Fragment7, { children: "Invalid widget" });
3432
+ return /* @__PURE__ */ jsx57(Fragment7, { children: "Invalid widget" });
3473
3433
  }
3474
3434
  const SelectedWidget = getWidget(widgetCode);
3475
3435
  if (!SelectedWidget) {
3476
3436
  if (process.env.NODE_ENV !== "production") {
3477
3437
  console.warn("Widget not found:", widgetCode);
3478
3438
  }
3479
- return /* @__PURE__ */ jsxs28(Fragment7, { children: [
3439
+ return /* @__PURE__ */ jsxs27(Fragment7, { children: [
3480
3440
  "Widget not found: ",
3481
3441
  widgetCode
3482
3442
  ] });
@@ -3484,7 +3444,7 @@ var WidgetNode = (props) => {
3484
3444
  const widgetParams = getWidgetParameters();
3485
3445
  return (
3486
3446
  // eslint-disable-next-line react-hooks/static-components
3487
- /* @__PURE__ */ jsx58(
3447
+ /* @__PURE__ */ jsx57(
3488
3448
  SelectedWidget,
3489
3449
  {
3490
3450
  params: widgetParams,
@@ -3500,12 +3460,12 @@ var WidgetNode = (props) => {
3500
3460
  var WidgetNode_default = WidgetNode;
3501
3461
 
3502
3462
  // src/components/pageRenderingEngine/nodes/FormContainerNode.tsx
3503
- import React44, { useRef as useRef5, useReducer as useReducer2, useCallback as useCallback4, useEffect as useEffect9 } from "react";
3463
+ import React44, { useRef as useRef4, useReducer as useReducer2, useCallback as useCallback4, useEffect as useEffect8 } from "react";
3504
3464
 
3505
3465
  // src/components/pageRenderingEngine/nodes/InputControlNode.tsx
3506
- import { jsx as jsx59 } from "react/jsx-runtime";
3466
+ import { jsx as jsx58 } from "react/jsx-runtime";
3507
3467
  var InputControlNode = (props) => {
3508
- return /* @__PURE__ */ jsx59("div", { children: /* @__PURE__ */ jsx59(
3468
+ return /* @__PURE__ */ jsx58("div", { children: /* @__PURE__ */ jsx58(
3509
3469
  InputControl_default,
3510
3470
  {
3511
3471
  name: props.node.name,
@@ -3739,13 +3699,13 @@ var ServiceClient = class {
3739
3699
  var ServiceClient_default = ServiceClient;
3740
3700
 
3741
3701
  // src/components/pageRenderingEngine/nodes/FormContainerNode.tsx
3742
- import { jsx as jsx60, jsxs as jsxs29 } from "react/jsx-runtime";
3702
+ import { jsx as jsx59, jsxs as jsxs28 } from "react/jsx-runtime";
3743
3703
  var FormContainerNode = (props) => {
3744
3704
  const NodeTypes2 = {
3745
3705
  ["input-control"]: InputControlNode_default
3746
3706
  };
3747
3707
  const { node } = props;
3748
- const formRef = useRef5(null);
3708
+ const formRef = useRef4(null);
3749
3709
  const initialState = {
3750
3710
  inputValues: {},
3751
3711
  lastPropertyChanged: ""
@@ -3754,7 +3714,7 @@ var FormContainerNode = (props) => {
3754
3714
  const handleInputChange = useCallback4((updatedValues) => {
3755
3715
  dispatch({ type: FORM_INPUT_UPDATE, name: updatedValues.name, value: updatedValues.value });
3756
3716
  }, [dispatch]);
3757
- useEffect9(() => {
3717
+ useEffect8(() => {
3758
3718
  const fetchInitialData = async () => {
3759
3719
  const client = new ServiceClient_default(props.apiBaseUrl, props.session);
3760
3720
  const response = await client.getSingle(props.node.dataFetchApi, props.routeParameters);
@@ -3769,12 +3729,12 @@ var FormContainerNode = (props) => {
3769
3729
  };
3770
3730
  fetchInitialData();
3771
3731
  }, [props.apiBaseUrl, props.node, props.session, props.routeParameters]);
3772
- return /* @__PURE__ */ jsxs29("form", { className: "group space-y-6 pb-6 overflow-y-auto", noValidate: true, ref: formRef, children: [
3732
+ return /* @__PURE__ */ jsxs28("form", { className: "group space-y-6 pb-6 overflow-y-auto", noValidate: true, ref: formRef, children: [
3773
3733
  node.children && node.children.map((node2, index) => {
3774
3734
  {
3775
3735
  }
3776
3736
  const SelectedNode = NodeTypes2[node2.type];
3777
- return /* @__PURE__ */ jsx60(React44.Fragment, { children: SelectedNode && node2.type == "input-control" && /* @__PURE__ */ jsx60(
3737
+ return /* @__PURE__ */ jsx59(React44.Fragment, { children: SelectedNode && node2.type == "input-control" && /* @__PURE__ */ jsx59(
3778
3738
  InputControlNode_default,
3779
3739
  {
3780
3740
  value: formState.inputValues[node2.name],
@@ -3783,108 +3743,20 @@ var FormContainerNode = (props) => {
3783
3743
  }
3784
3744
  ) }, index);
3785
3745
  }),
3786
- node.children.length == 0 && /* @__PURE__ */ jsx60("div", { className: "py-0.5 lg:py-1.5" })
3746
+ node.children.length == 0 && /* @__PURE__ */ jsx59("div", { className: "py-0.5 lg:py-1.5" })
3787
3747
  ] });
3788
3748
  };
3789
3749
  var FormContainerNode_default = FormContainerNode;
3790
3750
 
3791
3751
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
3792
- import React49 from "react";
3793
-
3794
- // src/components/pageRenderingEngine/nodes/IframeClient.tsx
3795
- import React46, { useEffect as useEffect10, useRef as useRef6, useState as useState10 } from "react";
3796
-
3797
- // src/components/IFrameLoaderView.tsx
3798
- import React45 from "react";
3799
- import { jsx as jsx61, jsxs as jsxs30 } from "react/jsx-runtime";
3800
- var IFrameLoaderView = (props) => {
3801
- return /* @__PURE__ */ jsxs30(React45.Fragment, { children: [
3802
- props.isDataFound == null && /* @__PURE__ */ jsx61("div", { className: "", children: /* @__PURE__ */ jsxs30("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
3803
- /* @__PURE__ */ jsxs30("div", { className: "flex items-center mb-4", children: [
3804
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3805
- /* @__PURE__ */ jsxs30("div", { className: "ml-2", children: [
3806
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3807
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3808
- ] })
3809
- ] }),
3810
- /* @__PURE__ */ jsxs30("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3811
- /* @__PURE__ */ jsxs30("div", { className: "animate-pulse", children: [
3812
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3813
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3814
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3815
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3816
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3817
- ] }),
3818
- /* @__PURE__ */ jsxs30("div", { className: "animate-pulse", children: [
3819
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3820
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3821
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3822
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3823
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3824
- ] }),
3825
- /* @__PURE__ */ jsxs30("div", { className: "animate-pulse", children: [
3826
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3827
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3828
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3829
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3830
- /* @__PURE__ */ jsx61("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3831
- ] })
3832
- ] })
3833
- ] }) }),
3834
- props.children
3835
- ] });
3836
- };
3837
- var IFrameLoaderView_default = IFrameLoaderView;
3838
-
3839
- // src/components/pageRenderingEngine/nodes/IframeClient.tsx
3840
- import { jsx as jsx62 } from "react/jsx-runtime";
3841
- var IframeClient = ({ src }) => {
3842
- const iframeRef = useRef6(null);
3843
- const [iframeHeight, setIframeHeight] = useState10("100%");
3844
- const [isDataFound, setIsDataFound] = useState10(null);
3845
- useEffect10(() => {
3846
- const handleReceiveMessage = (event) => {
3847
- const eventName = event?.data?.eventName;
3848
- const payload = event?.data?.payload;
3849
- if (eventName === "SET_HEIGHT" && payload?.height) {
3850
- let height = 500;
3851
- if (payload.height > 500) {
3852
- height = payload.height + 50;
3853
- }
3854
- setIframeHeight(`${height}px`);
3855
- }
3856
- };
3857
- window.addEventListener("message", handleReceiveMessage);
3858
- return () => window.removeEventListener("message", handleReceiveMessage);
3859
- }, []);
3860
- useEffect10(() => {
3861
- const handleResize = () => {
3862
- if (iframeRef.current) {
3863
- iframeRef.current.contentWindow?.postMessage({ eventName: "RESIZE" }, "*");
3864
- }
3865
- };
3866
- window.addEventListener("resize", handleResize);
3867
- return () => window.removeEventListener("resize", handleResize);
3868
- }, []);
3869
- const handleIframeLoad = () => {
3870
- setIsDataFound(true);
3871
- };
3872
- return /* @__PURE__ */ jsx62(React46.Fragment, { children: /* @__PURE__ */ jsx62(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ jsx62(
3873
- "iframe",
3874
- {
3875
- ref: iframeRef,
3876
- src,
3877
- className: "w-full h-full border-none",
3878
- scrolling: "no",
3879
- style: { height: iframeHeight },
3880
- onLoad: handleIframeLoad
3881
- }
3882
- ) }) });
3883
- };
3884
- var IframeClient_default = IframeClient;
3752
+ import React47 from "react";
3885
3753
 
3886
3754
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
3887
- import { jsx as jsx63 } from "react/jsx-runtime";
3755
+ import dynamic2 from "next/dynamic";
3756
+ import { jsx as jsx60 } from "react/jsx-runtime";
3757
+ var IframeClient = dynamic2(() => import("./IframeClient-J22NMEVY.mjs"), {
3758
+ ssr: false
3759
+ });
3888
3760
  var EmbedNode = (props) => {
3889
3761
  let src;
3890
3762
  if (props.node.provider == "youtube") {
@@ -3894,13 +3766,13 @@ var EmbedNode = (props) => {
3894
3766
  } else {
3895
3767
  src = props.node.embedSrc;
3896
3768
  }
3897
- return /* @__PURE__ */ jsx63("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx63(IframeClient_default, { src }) });
3769
+ return /* @__PURE__ */ jsx60("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx60(IframeClient, { src }) });
3898
3770
  };
3899
3771
  var EmbedNode_default = EmbedNode;
3900
3772
 
3901
3773
  // src/components/Slider.tsx
3902
- import React47, { useState as useState11, useEffect as useEffect11, Children, cloneElement } from "react";
3903
- import { Fragment as Fragment8, jsx as jsx64, jsxs as jsxs31 } from "react/jsx-runtime";
3774
+ import React45, { useState as useState9, useEffect as useEffect9, Children, cloneElement } from "react";
3775
+ import { Fragment as Fragment8, jsx as jsx61, jsxs as jsxs29 } from "react/jsx-runtime";
3904
3776
  var Slider = ({
3905
3777
  children,
3906
3778
  slidesToShow = 4,
@@ -3918,13 +3790,13 @@ var Slider = ({
3918
3790
  pillStyle = "cumulative",
3919
3791
  progressPosition = "bottom"
3920
3792
  }) => {
3921
- const [currentSlide, setCurrentSlide] = useState11(0);
3922
- const [transition, setTransition] = useState11(true);
3923
- const [slidesToShowState, setSlidesToShowState] = useState11(
3793
+ const [currentSlide, setCurrentSlide] = useState9(0);
3794
+ const [transition, setTransition] = useState9(true);
3795
+ const [slidesToShowState, setSlidesToShowState] = useState9(
3924
3796
  typeof slidesToShow === "number" ? slidesToShow : slidesToShow.large
3925
3797
  );
3926
- const [isPlaying, setIsPlaying] = useState11(autoplay);
3927
- useEffect11(() => {
3798
+ const [isPlaying, setIsPlaying] = useState9(autoplay);
3799
+ useEffect9(() => {
3928
3800
  if (typeof slidesToShow === "number") return;
3929
3801
  const handleResize = () => {
3930
3802
  if (window.innerWidth >= 1024) {
@@ -3939,7 +3811,7 @@ var Slider = ({
3939
3811
  window.addEventListener("resize", handleResize);
3940
3812
  return () => window.removeEventListener("resize", handleResize);
3941
3813
  }, [slidesToShow]);
3942
- useEffect11(() => {
3814
+ useEffect9(() => {
3943
3815
  if (!autoplay) return;
3944
3816
  const timer = setInterval(() => {
3945
3817
  if (isPlaying) {
@@ -3994,10 +3866,10 @@ var Slider = ({
3994
3866
  };
3995
3867
  const translateX = -currentSlide * (100 / slidesToShowState);
3996
3868
  const slides = Children.map(children, (child, index) => {
3997
- if (!React47.isValidElement(child)) return null;
3869
+ if (!React45.isValidElement(child)) return null;
3998
3870
  const childProps = child.props;
3999
3871
  const mergedClassName = `${childProps.className ?? ""} w-full`.trim();
4000
- return /* @__PURE__ */ jsx64(
3872
+ return /* @__PURE__ */ jsx61(
4001
3873
  "div",
4002
3874
  {
4003
3875
  className: `flex-none ${scaleOnHover ? "group hover:z-50" : ""} relative`,
@@ -4020,14 +3892,14 @@ var Slider = ({
4020
3892
  return "bottom-4";
4021
3893
  }
4022
3894
  };
4023
- return /* @__PURE__ */ jsxs31(
3895
+ return /* @__PURE__ */ jsxs29(
4024
3896
  "div",
4025
3897
  {
4026
3898
  className: `relative w-full overflow-hidden ${className}`,
4027
3899
  onMouseEnter: handleMouseEnter,
4028
3900
  onMouseLeave: handleMouseLeave,
4029
3901
  children: [
4030
- /* @__PURE__ */ jsx64(
3902
+ /* @__PURE__ */ jsx61(
4031
3903
  "div",
4032
3904
  {
4033
3905
  className: "flex h-full",
@@ -4038,18 +3910,18 @@ var Slider = ({
4038
3910
  children: slides
4039
3911
  }
4040
3912
  ),
4041
- show_arrows && /* @__PURE__ */ jsxs31(Fragment8, { children: [
4042
- /* @__PURE__ */ jsx64(
3913
+ show_arrows && /* @__PURE__ */ jsxs29(Fragment8, { children: [
3914
+ /* @__PURE__ */ jsx61(
4043
3915
  ArrowButton,
4044
3916
  {
4045
3917
  direction: "left",
4046
3918
  onClick: prevSlide,
4047
3919
  visible: infinite_scroll || currentSlide > 0,
4048
3920
  className: arrowClassName,
4049
- children: /* @__PURE__ */ jsx64("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ jsx64("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
3921
+ children: /* @__PURE__ */ jsx61("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ jsx61("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
4050
3922
  }
4051
3923
  ),
4052
- /* @__PURE__ */ jsxs31(
3924
+ /* @__PURE__ */ jsxs29(
4053
3925
  ArrowButton,
4054
3926
  {
4055
3927
  direction: "right",
@@ -4057,13 +3929,13 @@ var Slider = ({
4057
3929
  visible: infinite_scroll || currentSlide < maxSlide,
4058
3930
  className: arrowClassName,
4059
3931
  children: [
4060
- /* @__PURE__ */ jsx64("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ jsx64("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) }),
3932
+ /* @__PURE__ */ jsx61("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ jsx61("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) }),
4061
3933
  " "
4062
3934
  ]
4063
3935
  }
4064
3936
  )
4065
3937
  ] }),
4066
- show_dots && /* @__PURE__ */ jsx64("div", { className: `absolute left-1/2 -translate-x-1/2 flex justify-center space-x-1.5 ${getProgressPositionClass()}`, children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ jsx64(
3938
+ show_dots && /* @__PURE__ */ jsx61("div", { className: `absolute left-1/2 -translate-x-1/2 flex justify-center space-x-1.5 ${getProgressPositionClass()}`, children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ jsx61(
4067
3939
  ProgressPill,
4068
3940
  {
4069
3941
  active: index === currentSlide,
@@ -4089,7 +3961,7 @@ var ArrowButton = ({
4089
3961
  visible,
4090
3962
  children,
4091
3963
  className = ""
4092
- }) => /* @__PURE__ */ jsx64(
3964
+ }) => /* @__PURE__ */ jsx61(
4093
3965
  "button",
4094
3966
  {
4095
3967
  className: `
@@ -4115,13 +3987,13 @@ var ProgressPill = ({
4115
3987
  currentSlide,
4116
3988
  totalSlides
4117
3989
  }) => {
4118
- const [progress, setProgress] = useState11(0);
4119
- useEffect11(() => {
3990
+ const [progress, setProgress] = useState9(0);
3991
+ useEffect9(() => {
4120
3992
  if (active) {
4121
3993
  setProgress(0);
4122
3994
  }
4123
3995
  }, [active, index]);
4124
- useEffect11(() => {
3996
+ useEffect9(() => {
4125
3997
  if (!active || !isPlaying) {
4126
3998
  if (!active) {
4127
3999
  setProgress(0);
@@ -4176,7 +4048,7 @@ var ProgressPill = ({
4176
4048
  const renderProgressBar = () => {
4177
4049
  if (style === "modern" && isActive || style === "cumulative" && shouldShowProgress) {
4178
4050
  const displayProgress = style === "cumulative" && isFilled ? 100 : progress;
4179
- return /* @__PURE__ */ jsx64(
4051
+ return /* @__PURE__ */ jsx61(
4180
4052
  "div",
4181
4053
  {
4182
4054
  className: `absolute top-0 left-0 h-full rounded-full ${style === "cumulative" && isFilled ? activeClassName || "bg-white" : activeClassName || "bg-white"} transition-all duration-50 ease-linear`,
@@ -4188,7 +4060,7 @@ var ProgressPill = ({
4188
4060
  };
4189
4061
  const renderCumulativeFill = () => {
4190
4062
  if (style === "cumulative" && isFilled && !isActive) {
4191
- return /* @__PURE__ */ jsx64(
4063
+ return /* @__PURE__ */ jsx61(
4192
4064
  "div",
4193
4065
  {
4194
4066
  className: `absolute top-0 left-0 h-full rounded-full ${activeClassName || "bg-white"} transition-all duration-300`,
@@ -4198,7 +4070,7 @@ var ProgressPill = ({
4198
4070
  }
4199
4071
  return null;
4200
4072
  };
4201
- return /* @__PURE__ */ jsxs31(
4073
+ return /* @__PURE__ */ jsxs29(
4202
4074
  "button",
4203
4075
  {
4204
4076
  className: `${baseClasses} ${getStyleClasses()}`,
@@ -4374,10 +4246,10 @@ var PathUtility = class {
4374
4246
  var PathUtility_default = new PathUtility();
4375
4247
 
4376
4248
  // src/components/NoDataFound.tsx
4377
- import { jsx as jsx65, jsxs as jsxs32 } from "react/jsx-runtime";
4249
+ import { jsx as jsx62, jsxs as jsxs30 } from "react/jsx-runtime";
4378
4250
  var NoDataFound = () => {
4379
- return /* @__PURE__ */ jsxs32("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
4380
- /* @__PURE__ */ jsx65("div", { className: "mb-5", children: /* @__PURE__ */ jsx65("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx65(
4251
+ return /* @__PURE__ */ jsxs30("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
4252
+ /* @__PURE__ */ jsx62("div", { className: "mb-5", children: /* @__PURE__ */ jsx62("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx62(
4381
4253
  "svg",
4382
4254
  {
4383
4255
  className: "w-10 h-10",
@@ -4385,7 +4257,7 @@ var NoDataFound = () => {
4385
4257
  stroke: "currentColor",
4386
4258
  viewBox: "0 0 24 24",
4387
4259
  xmlns: "http://www.w3.org/2000/svg",
4388
- children: /* @__PURE__ */ jsx65(
4260
+ children: /* @__PURE__ */ jsx62(
4389
4261
  "path",
4390
4262
  {
4391
4263
  strokeLinecap: "round",
@@ -4396,15 +4268,15 @@ var NoDataFound = () => {
4396
4268
  )
4397
4269
  }
4398
4270
  ) }) }),
4399
- /* @__PURE__ */ jsx65("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
4400
- /* @__PURE__ */ jsx65("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
4271
+ /* @__PURE__ */ jsx62("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
4272
+ /* @__PURE__ */ jsx62("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
4401
4273
  ] });
4402
4274
  };
4403
4275
  var NoDataFound_default = NoDataFound;
4404
4276
 
4405
4277
  // src/components/Pagination.tsx
4406
4278
  import { useMemo } from "react";
4407
- import { jsx as jsx66, jsxs as jsxs33 } from "react/jsx-runtime";
4279
+ import { jsx as jsx63, jsxs as jsxs31 } from "react/jsx-runtime";
4408
4280
  var Pagination = (props) => {
4409
4281
  const { dataset, path, query, showPageSizeSelector = false, showJumpToPage = false } = props;
4410
4282
  const builder = useMemo(() => {
@@ -4448,7 +4320,7 @@ var Pagination = (props) => {
4448
4320
  return range;
4449
4321
  };
4450
4322
  const paginationRange = getPaginationRange();
4451
- const PageButton = ({ page, children }) => /* @__PURE__ */ jsx66(
4323
+ const PageButton = ({ page, children }) => /* @__PURE__ */ jsx63(
4452
4324
  Hyperlink,
4453
4325
  {
4454
4326
  linkType: "Link" /* Link */,
@@ -4463,9 +4335,9 @@ var Pagination = (props) => {
4463
4335
  );
4464
4336
  const NavigationButton = ({ page, disabled, children }) => {
4465
4337
  if (disabled) {
4466
- return /* @__PURE__ */ jsx66("span", { className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center px-2 md:px-3 border bg-neutral-base cursor-not-allowed", children });
4338
+ return /* @__PURE__ */ jsx63("span", { className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center px-2 md:px-3 border bg-neutral-base cursor-not-allowed", children });
4467
4339
  }
4468
- return /* @__PURE__ */ jsx66(
4340
+ return /* @__PURE__ */ jsx63(
4469
4341
  Hyperlink,
4470
4342
  {
4471
4343
  className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center px-2 md:px-3 border transition-colors duration-150",
@@ -4475,35 +4347,35 @@ var Pagination = (props) => {
4475
4347
  );
4476
4348
  };
4477
4349
  if (totalPages <= 1 && totalItems === 0) return null;
4478
- return /* @__PURE__ */ jsxs33("div", { className: "py-6 border-t bg-default", children: [
4479
- /* @__PURE__ */ jsxs33("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
4480
- /* @__PURE__ */ jsxs33("div", { className: "text-sm", children: [
4350
+ return /* @__PURE__ */ jsxs31("div", { className: "py-6 border-t bg-default", children: [
4351
+ /* @__PURE__ */ jsxs31("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
4352
+ /* @__PURE__ */ jsxs31("div", { className: "text-sm", children: [
4481
4353
  "Showing ",
4482
- /* @__PURE__ */ jsxs33("span", { className: "font-semibold", children: [
4354
+ /* @__PURE__ */ jsxs31("span", { className: "font-semibold", children: [
4483
4355
  startItem,
4484
4356
  "-",
4485
4357
  endItem
4486
4358
  ] }),
4487
4359
  " ",
4488
4360
  "out of ",
4489
- /* @__PURE__ */ jsx66("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
4361
+ /* @__PURE__ */ jsx63("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
4490
4362
  " results"
4491
4363
  ] }),
4492
- totalPages > 1 && /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-1", children: [
4493
- /* @__PURE__ */ jsxs33(
4364
+ totalPages > 1 && /* @__PURE__ */ jsxs31("div", { className: "flex items-center space-x-1", children: [
4365
+ /* @__PURE__ */ jsxs31(
4494
4366
  NavigationButton,
4495
4367
  {
4496
4368
  page: activePageNumber - 1,
4497
4369
  disabled: activePageNumber === 1,
4498
4370
  children: [
4499
- /* @__PURE__ */ jsx66("span", { children: /* @__PURE__ */ jsx66(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
4500
- /* @__PURE__ */ jsx66("span", { className: "text-sm", children: "Prev" })
4371
+ /* @__PURE__ */ jsx63("span", { children: /* @__PURE__ */ jsx63(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
4372
+ /* @__PURE__ */ jsx63("span", { className: "text-sm", children: "Prev" })
4501
4373
  ]
4502
4374
  }
4503
4375
  ),
4504
4376
  paginationRange.map((item, index) => {
4505
4377
  if (item === "...") {
4506
- return /* @__PURE__ */ jsx66(
4378
+ return /* @__PURE__ */ jsx63(
4507
4379
  "span",
4508
4380
  {
4509
4381
  className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center text-gray-500",
@@ -4513,23 +4385,23 @@ var Pagination = (props) => {
4513
4385
  );
4514
4386
  }
4515
4387
  const page = item;
4516
- return /* @__PURE__ */ jsx66(PageButton, { page, children: page }, page);
4388
+ return /* @__PURE__ */ jsx63(PageButton, { page, children: page }, page);
4517
4389
  }),
4518
- /* @__PURE__ */ jsxs33(
4390
+ /* @__PURE__ */ jsxs31(
4519
4391
  NavigationButton,
4520
4392
  {
4521
4393
  page: activePageNumber + 1,
4522
4394
  disabled: activePageNumber === totalPages,
4523
4395
  children: [
4524
- /* @__PURE__ */ jsx66("span", { className: "text-sm", children: "Next" }),
4525
- /* @__PURE__ */ jsx66("span", { children: /* @__PURE__ */ jsx66(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
4396
+ /* @__PURE__ */ jsx63("span", { className: "text-sm", children: "Next" }),
4397
+ /* @__PURE__ */ jsx63("span", { children: /* @__PURE__ */ jsx63(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
4526
4398
  ]
4527
4399
  }
4528
4400
  )
4529
4401
  ] }),
4530
- showJumpToPage && totalPages > 5 && /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-2", children: [
4531
- /* @__PURE__ */ jsx66("span", { className: "text-sm", children: "Go to:" }),
4532
- /* @__PURE__ */ jsx66("div", { className: "relative", children: /* @__PURE__ */ jsx66(
4402
+ showJumpToPage && totalPages > 5 && /* @__PURE__ */ jsxs31("div", { className: "flex items-center space-x-2", children: [
4403
+ /* @__PURE__ */ jsx63("span", { className: "text-sm", children: "Go to:" }),
4404
+ /* @__PURE__ */ jsx63("div", { className: "relative", children: /* @__PURE__ */ jsx63(
4533
4405
  "input",
4534
4406
  {
4535
4407
  type: "number",
@@ -4550,9 +4422,9 @@ var Pagination = (props) => {
4550
4422
  ) })
4551
4423
  ] })
4552
4424
  ] }),
4553
- showPageSizeSelector && /* @__PURE__ */ jsx66("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center justify-center space-x-2", children: [
4554
- /* @__PURE__ */ jsx66("span", { className: "text-sm", children: "Show:" }),
4555
- /* @__PURE__ */ jsx66("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ jsx66(
4425
+ showPageSizeSelector && /* @__PURE__ */ jsx63("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ jsxs31("div", { className: "flex items-center justify-center space-x-2", children: [
4426
+ /* @__PURE__ */ jsx63("span", { className: "text-sm", children: "Show:" }),
4427
+ /* @__PURE__ */ jsx63("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ jsx63(
4556
4428
  Hyperlink,
4557
4429
  {
4558
4430
  className: `
@@ -4564,14 +4436,14 @@ var Pagination = (props) => {
4564
4436
  },
4565
4437
  size
4566
4438
  )) }),
4567
- /* @__PURE__ */ jsx66("span", { className: "text-sm", children: "per page" })
4439
+ /* @__PURE__ */ jsx63("span", { className: "text-sm", children: "per page" })
4568
4440
  ] }) })
4569
4441
  ] });
4570
4442
  };
4571
4443
  var Pagination_default = Pagination;
4572
4444
 
4573
4445
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
4574
- import { jsx as jsx67, jsxs as jsxs34 } from "react/jsx-runtime";
4446
+ import { jsx as jsx64, jsxs as jsxs32 } from "react/jsx-runtime";
4575
4447
  function toCamelCase(str) {
4576
4448
  return str.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
4577
4449
  }
@@ -4753,7 +4625,7 @@ var DivContainer = async (props) => {
4753
4625
  response = await serviceClient.get(endpoint);
4754
4626
  result = response?.result;
4755
4627
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
4756
- return /* @__PURE__ */ jsx67(NoDataFound_default, {});
4628
+ return /* @__PURE__ */ jsx64(NoDataFound_default, {});
4757
4629
  }
4758
4630
  if (dataBindingProperties.childCollectionName && props.dataitem) {
4759
4631
  childCollectionData = getNestedValue2(props.dataitem, dataBindingProperties.childCollectionName);
@@ -4765,7 +4637,7 @@ var DivContainer = async (props) => {
4765
4637
  }
4766
4638
  const SelectedNode = NodeTypes2[node.type];
4767
4639
  if (!SelectedNode) return null;
4768
- return /* @__PURE__ */ jsx67(React49.Fragment, { children: /* @__PURE__ */ jsx67(
4640
+ return /* @__PURE__ */ jsx64(React47.Fragment, { children: /* @__PURE__ */ jsx64(
4769
4641
  SelectedNode,
4770
4642
  {
4771
4643
  node,
@@ -4865,9 +4737,9 @@ var DivContainer = async (props) => {
4865
4737
  props.node.autoFormat && "auto-format",
4866
4738
  props.node.bgClass
4867
4739
  ].filter(Boolean).join(" ");
4868
- return /* @__PURE__ */ jsxs34(React49.Fragment, { children: [
4869
- /* @__PURE__ */ jsx67("style", { dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS } }),
4870
- /* @__PURE__ */ jsx67(React49.Fragment, { children: /* @__PURE__ */ jsx67(
4740
+ return /* @__PURE__ */ jsxs32(React47.Fragment, { children: [
4741
+ /* @__PURE__ */ jsx64("style", { dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS } }),
4742
+ /* @__PURE__ */ jsx64(React47.Fragment, { children: /* @__PURE__ */ jsx64(
4871
4743
  Wrapper,
4872
4744
  {
4873
4745
  id: guid,
@@ -4876,18 +4748,18 @@ var DivContainer = async (props) => {
4876
4748
  ...wrapperProps,
4877
4749
  children: dataToRender.map(
4878
4750
  (item, idx) => item?.links?.view && renderLink ? renderChildren(props.node.children, props, item, idx, props.href ? void 0 : item?.links?.view)?.map(
4879
- (child, i) => /* @__PURE__ */ jsx67(React49.Fragment, { children: child }, i)
4751
+ (child, i) => /* @__PURE__ */ jsx64(React47.Fragment, { children: child }, i)
4880
4752
  ) : renderChildren(props.node.children, props, item, idx)
4881
4753
  )
4882
4754
  }
4883
4755
  ) }),
4884
- dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx67("div", { children: /* @__PURE__ */ jsx67(Pagination_default, { path: props.path, query: props.query, dataset: response }) })
4756
+ dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx64("div", { children: /* @__PURE__ */ jsx64(Pagination_default, { path: props.path, query: props.query, dataset: response }) })
4885
4757
  ] });
4886
4758
  };
4887
4759
  var DivContainer_default = DivContainer;
4888
4760
 
4889
4761
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
4890
- import { jsx as jsx68 } from "react/jsx-runtime";
4762
+ import { jsx as jsx65 } from "react/jsx-runtime";
4891
4763
  var NodeTypes = {
4892
4764
  ["paragraph"]: ParagraphNode_default,
4893
4765
  ["heading"]: HeadingNode_default,
@@ -4914,11 +4786,11 @@ var PageBodyRenderer = (props) => {
4914
4786
  if (pageBodyTree && pageBodyTree.root) {
4915
4787
  rootNode = pageBodyTree.root;
4916
4788
  }
4917
- return /* @__PURE__ */ jsx68(React50.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
4789
+ return /* @__PURE__ */ jsx65(React48.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
4918
4790
  {
4919
4791
  }
4920
4792
  const SelectedNode = NodeTypes[node.type];
4921
- return /* @__PURE__ */ jsx68(React50.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx68(React50.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx68(React50.Fragment, { children: /* @__PURE__ */ jsx68(
4793
+ return /* @__PURE__ */ jsx65(React48.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx65(React48.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx65(React48.Fragment, { children: /* @__PURE__ */ jsx65(
4922
4794
  SelectedNode,
4923
4795
  {
4924
4796
  node,
@@ -4933,7 +4805,7 @@ var PageBodyRenderer = (props) => {
4933
4805
  assetBaseUrl: props.assetBaseUrl,
4934
4806
  device: props.device
4935
4807
  }
4936
- ) }) : /* @__PURE__ */ jsx68(React50.Fragment, { children: /* @__PURE__ */ jsx68(
4808
+ ) }) : /* @__PURE__ */ jsx65(React48.Fragment, { children: /* @__PURE__ */ jsx65(
4937
4809
  SelectedNode,
4938
4810
  {
4939
4811
  node,