@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260808091030 → 0.8.1-dev.20260810072737

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/server.mjs CHANGED
@@ -1177,13 +1177,13 @@ var WidgetNode = (props) => {
1177
1177
  var WidgetNode_default = WidgetNode;
1178
1178
 
1179
1179
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1180
- import dynamic10 from "next/dynamic";
1180
+ import dynamic11 from "next/dynamic";
1181
1181
  import React22 from "react";
1182
1182
 
1183
1183
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1184
1184
  import dynamic8 from "next/dynamic";
1185
1185
  import { jsx as jsx30 } from "react/jsx-runtime";
1186
- var IframeClient = dynamic8(() => import("./IframeClient-J64QAFNK.mjs"), {
1186
+ var IframeClient = dynamic8(() => import("./IframeClient-IFVYB76V.mjs"), {
1187
1187
  ssr: false
1188
1188
  });
1189
1189
  var EmbedNode = (props) => {
@@ -2265,10 +2265,30 @@ var DocumentNode = (props) => {
2265
2265
  };
2266
2266
  var DocumentNode_default = DocumentNode;
2267
2267
 
2268
+ // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
2269
+ import dynamic10 from "next/dynamic";
2270
+ import { jsx as jsx34 } from "react/jsx-runtime";
2271
+ var IframeClient2 = dynamic10(() => import("./IframeClient-IFVYB76V.mjs"), {
2272
+ ssr: false
2273
+ });
2274
+ var GoogleMapNode = (props) => {
2275
+ let src = props.node.embedUrl;
2276
+ return /* @__PURE__ */ jsx34("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx34(
2277
+ IframeClient2,
2278
+ {
2279
+ src,
2280
+ width: props.node.width,
2281
+ height: props.node.height,
2282
+ allowFullScreen: props.node.allowFullScreen
2283
+ }
2284
+ ) });
2285
+ };
2286
+ var GoogleMapNode_default = GoogleMapNode;
2287
+
2268
2288
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2269
- import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
2270
- var Pagination = dynamic10(() => import("./Pagination-6OFACRMQ.mjs"), { ssr: true });
2271
- var Slider = dynamic10(() => import("./Slider-PEIVH6A5.mjs"), {
2289
+ import { jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
2290
+ var Pagination = dynamic11(() => import("./Pagination-6OFACRMQ.mjs"), { ssr: true });
2291
+ var Slider = dynamic11(() => import("./Slider-PEIVH6A5.mjs"), {
2272
2292
  ssr: false
2273
2293
  });
2274
2294
  function toCamelCase(str) {
@@ -2449,7 +2469,8 @@ var DivContainer = async (props) => {
2449
2469
  text: TextNode_default,
2450
2470
  datafield: DatafieldNode_default,
2451
2471
  "svg-icon": SVGIconNode_default,
2452
- document: DocumentNode_default
2472
+ document: DocumentNode_default,
2473
+ "google-map": GoogleMapNode_default
2453
2474
  };
2454
2475
  const styles = props.node.cssProperties;
2455
2476
  const mobileStyles = props.node.mobileCssProperties;
@@ -2521,7 +2542,7 @@ var DivContainer = async (props) => {
2521
2542
  response = await serviceClient.get(endpoint);
2522
2543
  result = response?.result;
2523
2544
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
2524
- return /* @__PURE__ */ jsx34(NoDataFound_default, {});
2545
+ return /* @__PURE__ */ jsx35(NoDataFound_default, {});
2525
2546
  }
2526
2547
  if (dataBindingProperties.childCollectionName && props.dataitem) {
2527
2548
  childCollectionData = getNestedValue6(
@@ -2541,7 +2562,7 @@ var DivContainer = async (props) => {
2541
2562
  }
2542
2563
  const SelectedNode = NodeTypes2[node.type];
2543
2564
  if (!SelectedNode) return null;
2544
- return /* @__PURE__ */ jsx34(React22.Fragment, { children: /* @__PURE__ */ jsx34(
2565
+ return /* @__PURE__ */ jsx35(React22.Fragment, { children: /* @__PURE__ */ jsx35(
2545
2566
  SelectedNode,
2546
2567
  {
2547
2568
  node,
@@ -2675,13 +2696,13 @@ var DivContainer = async (props) => {
2675
2696
  !!props.node.enterAnimation && "enter-animation"
2676
2697
  ].filter(Boolean).join(" ");
2677
2698
  return /* @__PURE__ */ jsxs13(React22.Fragment, { children: [
2678
- /* @__PURE__ */ jsx34(
2699
+ /* @__PURE__ */ jsx35(
2679
2700
  "style",
2680
2701
  {
2681
2702
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2682
2703
  }
2683
2704
  ),
2684
- /* @__PURE__ */ jsx34(
2705
+ /* @__PURE__ */ jsx35(
2685
2706
  Wrapper,
2686
2707
  {
2687
2708
  id: guid,
@@ -2695,11 +2716,11 @@ var DivContainer = async (props) => {
2695
2716
  item,
2696
2717
  idx,
2697
2718
  props.href ? void 0 : item?.links?.view
2698
- )?.map((child, i) => /* @__PURE__ */ jsx34(React22.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2719
+ )?.map((child, i) => /* @__PURE__ */ jsx35(React22.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2699
2720
  )
2700
2721
  }
2701
2722
  ),
2702
- dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx34("div", { children: /* @__PURE__ */ jsx34(
2723
+ dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx35("div", { children: /* @__PURE__ */ jsx35(
2703
2724
  Pagination,
2704
2725
  {
2705
2726
  path: props.path,
@@ -2712,7 +2733,7 @@ var DivContainer = async (props) => {
2712
2733
  var DivContainer_default = DivContainer;
2713
2734
 
2714
2735
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2715
- import { jsx as jsx35 } from "react/jsx-runtime";
2736
+ import { jsx as jsx36 } from "react/jsx-runtime";
2716
2737
  var NodeTypes = {
2717
2738
  ["paragraph"]: ParagraphNode_default,
2718
2739
  ["heading"]: HeadingNode_default,
@@ -2727,7 +2748,8 @@ var NodeTypes = {
2727
2748
  ["div-container"]: DivContainer_default,
2728
2749
  ["svg-icon"]: SVGIconNode_default,
2729
2750
  ["embed"]: EmbedNode_default,
2730
- ["document"]: DocumentNode_default
2751
+ ["document"]: DocumentNode_default,
2752
+ ["google-map"]: GoogleMapNode_default
2731
2753
  };
2732
2754
  var PageBodyRenderer = (props) => {
2733
2755
  let pageBodyTree;
@@ -2749,14 +2771,14 @@ var PageBodyRenderer = (props) => {
2749
2771
  }
2750
2772
  return true;
2751
2773
  };
2752
- return /* @__PURE__ */ jsx35(React23.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2774
+ return /* @__PURE__ */ jsx36(React23.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2753
2775
  {
2754
2776
  }
2755
2777
  const SelectedNode = NodeTypes[node.type];
2756
2778
  if (!shouldRenderNode(node)) {
2757
2779
  return null;
2758
2780
  }
2759
- return /* @__PURE__ */ jsx35(React23.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx35(React23.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2781
+ return /* @__PURE__ */ jsx36(React23.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx36(React23.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
2760
2782
  SelectedNode,
2761
2783
  {
2762
2784
  node,
@@ -2772,7 +2794,7 @@ var PageBodyRenderer = (props) => {
2772
2794
  device: props.device,
2773
2795
  widgetRenderer: props.widgetRenderer
2774
2796
  }
2775
- ) }) : /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2797
+ ) }) : /* @__PURE__ */ jsx36(React23.Fragment, { children: /* @__PURE__ */ jsx36(
2776
2798
  SelectedNode,
2777
2799
  {
2778
2800
  node,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clyrex-digital/clyrex-controls-dev",
3
- "version": "0.8.1-dev.20260808091030",
3
+ "version": "0.8.1-dev.20260810072737",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",