@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260808073515 → 0.8.1-dev.20260808143630

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