@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.js CHANGED
@@ -1766,7 +1766,11 @@ var init_IframeClient = __esm({
1766
1766
  import_react31 = __toESM(require("react"));
1767
1767
  init_IFrameLoaderView();
1768
1768
  import_jsx_runtime42 = require("react/jsx-runtime");
1769
- IframeClient = ({ src }) => {
1769
+ IframeClient = ({
1770
+ src,
1771
+ width,
1772
+ height
1773
+ }) => {
1770
1774
  const iframeRef = (0, import_react31.useRef)(null);
1771
1775
  const [iframeHeight, setIframeHeight] = (0, import_react31.useState)("100%");
1772
1776
  const [isDataFound, setIsDataFound] = (0, import_react31.useState)(null);
@@ -1775,11 +1779,11 @@ var init_IframeClient = __esm({
1775
1779
  const eventName = event?.data?.eventName;
1776
1780
  const payload = event?.data?.payload;
1777
1781
  if (eventName === "SET_HEIGHT" && payload?.height) {
1778
- let height = 500;
1782
+ let height2 = 500;
1779
1783
  if (payload.height > 500) {
1780
- height = payload.height + 50;
1784
+ height2 = payload.height + 50;
1781
1785
  }
1782
- setIframeHeight(`${height}px`);
1786
+ setIframeHeight(`${height2}px`);
1783
1787
  }
1784
1788
  };
1785
1789
  window.addEventListener("message", handleReceiveMessage);
@@ -1788,7 +1792,10 @@ var init_IframeClient = __esm({
1788
1792
  (0, import_react31.useEffect)(() => {
1789
1793
  const handleResize = () => {
1790
1794
  if (iframeRef.current) {
1791
- iframeRef.current.contentWindow?.postMessage({ eventName: "RESIZE" }, "*");
1795
+ iframeRef.current.contentWindow?.postMessage(
1796
+ { eventName: "RESIZE" },
1797
+ "*"
1798
+ );
1792
1799
  }
1793
1800
  };
1794
1801
  window.addEventListener("resize", handleResize);
@@ -1804,7 +1811,10 @@ var init_IframeClient = __esm({
1804
1811
  src,
1805
1812
  className: "w-full h-full border-none",
1806
1813
  scrolling: "no",
1807
- style: { height: iframeHeight },
1814
+ style: {
1815
+ width: width != null ? `${width}px` : "100%",
1816
+ height: height != null ? `${height}px` : iframeHeight
1817
+ },
1808
1818
  onLoad: handleIframeLoad
1809
1819
  }
1810
1820
  ) }) });
@@ -2024,52 +2034,52 @@ var init_OdataBuilder = __esm({
2024
2034
  });
2025
2035
 
2026
2036
  // src/svg/chevron-updown.tsx
2027
- var import_jsx_runtime47, ChevronUpDown, chevron_updown_default;
2037
+ var import_jsx_runtime48, ChevronUpDown, chevron_updown_default;
2028
2038
  var init_chevron_updown = __esm({
2029
2039
  "src/svg/chevron-updown.tsx"() {
2030
2040
  "use strict";
2031
- import_jsx_runtime47 = require("react/jsx-runtime");
2041
+ import_jsx_runtime48 = require("react/jsx-runtime");
2032
2042
  ChevronUpDown = (props) => {
2033
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" }) });
2043
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" }) });
2034
2044
  };
2035
2045
  chevron_updown_default = ChevronUpDown;
2036
2046
  }
2037
2047
  });
2038
2048
 
2039
2049
  // src/svg/chevron-down.tsx
2040
- var import_jsx_runtime48, ChevronDown, chevron_down_default;
2050
+ var import_jsx_runtime49, ChevronDown, chevron_down_default;
2041
2051
  var init_chevron_down = __esm({
2042
2052
  "src/svg/chevron-down.tsx"() {
2043
2053
  "use strict";
2044
- import_jsx_runtime48 = require("react/jsx-runtime");
2054
+ import_jsx_runtime49 = require("react/jsx-runtime");
2045
2055
  ChevronDown = (props) => {
2046
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19.5 8.25l-7.5 7.5-7.5-7.5" }) });
2056
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19.5 8.25l-7.5 7.5-7.5-7.5" }) });
2047
2057
  };
2048
2058
  chevron_down_default = ChevronDown;
2049
2059
  }
2050
2060
  });
2051
2061
 
2052
2062
  // src/svg/chevron-up.tsx
2053
- var import_jsx_runtime49, ChevronUp, chevron_up_default;
2063
+ var import_jsx_runtime50, ChevronUp, chevron_up_default;
2054
2064
  var init_chevron_up = __esm({
2055
2065
  "src/svg/chevron-up.tsx"() {
2056
2066
  "use strict";
2057
- import_jsx_runtime49 = require("react/jsx-runtime");
2067
+ import_jsx_runtime50 = require("react/jsx-runtime");
2058
2068
  ChevronUp = (props) => {
2059
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 15.75l7.5-7.5 7.5 7.5" }) });
2069
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 15.75l7.5-7.5 7.5 7.5" }) });
2060
2070
  };
2061
2071
  chevron_up_default = ChevronUp;
2062
2072
  }
2063
2073
  });
2064
2074
 
2065
2075
  // src/svg/plus.tsx
2066
- var import_jsx_runtime50, Plus, plus_default;
2076
+ var import_jsx_runtime51, Plus, plus_default;
2067
2077
  var init_plus = __esm({
2068
2078
  "src/svg/plus.tsx"() {
2069
2079
  "use strict";
2070
- import_jsx_runtime50 = require("react/jsx-runtime");
2080
+ import_jsx_runtime51 = require("react/jsx-runtime");
2071
2081
  Plus = (props) => {
2072
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 4.5v15m7.5-7.5h-15" }) });
2082
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 4.5v15m7.5-7.5h-15" }) });
2073
2083
  };
2074
2084
  plus_default = Plus;
2075
2085
  }
@@ -2095,19 +2105,19 @@ var init_Icons = __esm({
2095
2105
  });
2096
2106
 
2097
2107
  // src/svg/Icon.tsx
2098
- var import_jsx_runtime51, Icon, Icon_default;
2108
+ var import_jsx_runtime52, Icon, Icon_default;
2099
2109
  var init_Icon = __esm({
2100
2110
  "src/svg/Icon.tsx"() {
2101
2111
  "use strict";
2102
2112
  init_Icons();
2103
- import_jsx_runtime51 = require("react/jsx-runtime");
2113
+ import_jsx_runtime52 = require("react/jsx-runtime");
2104
2114
  Icon = ({ name, className, ...props }) => {
2105
2115
  const IconComponent = Icons_default[name];
2106
2116
  if (!IconComponent) {
2107
2117
  console.error(`Icon "${name}" not found.`);
2108
2118
  return null;
2109
2119
  }
2110
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(IconComponent, { ...props, className });
2120
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(IconComponent, { ...props, className });
2111
2121
  };
2112
2122
  Icon_default = Icon;
2113
2123
  }
@@ -2118,7 +2128,7 @@ var Pagination_exports = {};
2118
2128
  __export(Pagination_exports, {
2119
2129
  default: () => Pagination_default
2120
2130
  });
2121
- var import_react32, import_jsx_runtime52, Pagination, Pagination_default;
2131
+ var import_react32, import_jsx_runtime53, Pagination, Pagination_default;
2122
2132
  var init_Pagination = __esm({
2123
2133
  "src/components/Pagination.tsx"() {
2124
2134
  "use strict";
@@ -2129,7 +2139,7 @@ var init_Pagination = __esm({
2129
2139
  init_StyleTypes();
2130
2140
  init_InputControlType();
2131
2141
  init_Hyperlink();
2132
- import_jsx_runtime52 = require("react/jsx-runtime");
2142
+ import_jsx_runtime53 = require("react/jsx-runtime");
2133
2143
  Pagination = (props) => {
2134
2144
  const { dataset, path, query, showPageSizeSelector = false, showJumpToPage = false } = props;
2135
2145
  const builder = (0, import_react32.useMemo)(() => {
@@ -2173,7 +2183,7 @@ var init_Pagination = __esm({
2173
2183
  return range;
2174
2184
  };
2175
2185
  const paginationRange = getPaginationRange();
2176
- const PageButton = ({ page, children }) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2186
+ const PageButton = ({ page, children }) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2177
2187
  Hyperlink,
2178
2188
  {
2179
2189
  linkType: "Link" /* Link */,
@@ -2188,9 +2198,9 @@ var init_Pagination = __esm({
2188
2198
  );
2189
2199
  const NavigationButton = ({ page, disabled, children }) => {
2190
2200
  if (disabled) {
2191
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("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 });
2201
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("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 });
2192
2202
  }
2193
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2203
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2194
2204
  Hyperlink,
2195
2205
  {
2196
2206
  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",
@@ -2200,35 +2210,35 @@ var init_Pagination = __esm({
2200
2210
  );
2201
2211
  };
2202
2212
  if (totalPages <= 1 && totalItems === 0) return null;
2203
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "py-6 border-t bg-default", children: [
2204
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
2205
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "text-sm", children: [
2213
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "py-6 border-t bg-default", children: [
2214
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
2215
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "text-sm", children: [
2206
2216
  "Showing ",
2207
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "font-semibold", children: [
2217
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className: "font-semibold", children: [
2208
2218
  startItem,
2209
2219
  "-",
2210
2220
  endItem
2211
2221
  ] }),
2212
2222
  " ",
2213
2223
  "out of ",
2214
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
2224
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
2215
2225
  " results"
2216
2226
  ] }),
2217
- totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex items-center space-x-1", children: [
2218
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2227
+ totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-center space-x-1", children: [
2228
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2219
2229
  NavigationButton,
2220
2230
  {
2221
2231
  page: activePageNumber - 1,
2222
2232
  disabled: activePageNumber === 1,
2223
2233
  children: [
2224
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
2225
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-sm", children: "Prev" })
2234
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
2235
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-sm", children: "Prev" })
2226
2236
  ]
2227
2237
  }
2228
2238
  ),
2229
2239
  paginationRange.map((item, index) => {
2230
2240
  if (item === "...") {
2231
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2241
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2232
2242
  "span",
2233
2243
  {
2234
2244
  className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center text-gray-500",
@@ -2238,23 +2248,23 @@ var init_Pagination = __esm({
2238
2248
  );
2239
2249
  }
2240
2250
  const page = item;
2241
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(PageButton, { page, children: page }, page);
2251
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(PageButton, { page, children: page }, page);
2242
2252
  }),
2243
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2253
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2244
2254
  NavigationButton,
2245
2255
  {
2246
2256
  page: activePageNumber + 1,
2247
2257
  disabled: activePageNumber === totalPages,
2248
2258
  children: [
2249
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-sm", children: "Next" }),
2250
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
2259
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-sm", children: "Next" }),
2260
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
2251
2261
  ]
2252
2262
  }
2253
2263
  )
2254
2264
  ] }),
2255
- showJumpToPage && totalPages > 5 && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex items-center space-x-2", children: [
2256
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-sm", children: "Go to:" }),
2257
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2265
+ showJumpToPage && totalPages > 5 && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-center space-x-2", children: [
2266
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-sm", children: "Go to:" }),
2267
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2258
2268
  "input",
2259
2269
  {
2260
2270
  type: "number",
@@ -2275,9 +2285,9 @@ var init_Pagination = __esm({
2275
2285
  ) })
2276
2286
  ] })
2277
2287
  ] }),
2278
- showPageSizeSelector && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex items-center justify-center space-x-2", children: [
2279
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-sm", children: "Show:" }),
2280
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2288
+ showPageSizeSelector && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-center justify-center space-x-2", children: [
2289
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-sm", children: "Show:" }),
2290
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2281
2291
  Hyperlink,
2282
2292
  {
2283
2293
  className: `
@@ -2289,7 +2299,7 @@ var init_Pagination = __esm({
2289
2299
  },
2290
2300
  size
2291
2301
  )) }),
2292
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-sm", children: "per page" })
2302
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-sm", children: "per page" })
2293
2303
  ] }) })
2294
2304
  ] });
2295
2305
  };
@@ -2302,13 +2312,13 @@ var Slider_exports = {};
2302
2312
  __export(Slider_exports, {
2303
2313
  default: () => Slider_default
2304
2314
  });
2305
- var import_react33, import_jsx_runtime53, Slider, ArrowButton, ProgressPill, Slider_default;
2315
+ var import_react33, import_jsx_runtime54, Slider, ArrowButton, ProgressPill, Slider_default;
2306
2316
  var init_Slider = __esm({
2307
2317
  "src/components/Slider.tsx"() {
2308
2318
  "use strict";
2309
2319
  "use client";
2310
2320
  import_react33 = __toESM(require("react"));
2311
- import_jsx_runtime53 = require("react/jsx-runtime");
2321
+ import_jsx_runtime54 = require("react/jsx-runtime");
2312
2322
  Slider = ({
2313
2323
  children,
2314
2324
  slidesToShow = 4,
@@ -2405,7 +2415,7 @@ var init_Slider = __esm({
2405
2415
  if (!import_react33.default.isValidElement(child)) return null;
2406
2416
  const childProps = child.props;
2407
2417
  const mergedClassName = `${childProps.className ?? ""} w-full`.trim();
2408
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2418
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2409
2419
  "div",
2410
2420
  {
2411
2421
  className: `flex-none ${scaleOnHover ? "group hover:z-50" : ""} relative`,
@@ -2428,14 +2438,14 @@ var init_Slider = __esm({
2428
2438
  return "bottom-4";
2429
2439
  }
2430
2440
  };
2431
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2441
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2432
2442
  "div",
2433
2443
  {
2434
2444
  className: `relative w-full overflow-hidden ${className}`,
2435
2445
  onMouseEnter: handleMouseEnter,
2436
2446
  onMouseLeave: handleMouseLeave,
2437
2447
  children: [
2438
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2448
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2439
2449
  "div",
2440
2450
  {
2441
2451
  className: "flex h-full",
@@ -2446,18 +2456,18 @@ var init_Slider = __esm({
2446
2456
  children: slides
2447
2457
  }
2448
2458
  ),
2449
- show_arrows && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
2450
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2459
+ show_arrows && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
2460
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2451
2461
  ArrowButton,
2452
2462
  {
2453
2463
  direction: "left",
2454
2464
  onClick: prevSlide,
2455
2465
  visible: infinite_scroll || currentSlide > 0,
2456
2466
  className: arrowClassName,
2457
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("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__ */ (0, import_jsx_runtime53.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
2467
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("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__ */ (0, import_jsx_runtime54.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
2458
2468
  }
2459
2469
  ),
2460
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2470
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2461
2471
  ArrowButton,
2462
2472
  {
2463
2473
  direction: "right",
@@ -2465,13 +2475,13 @@ var init_Slider = __esm({
2465
2475
  visible: infinite_scroll || currentSlide < maxSlide,
2466
2476
  className: arrowClassName,
2467
2477
  children: [
2468
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("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__ */ (0, import_jsx_runtime53.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) }),
2478
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("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__ */ (0, import_jsx_runtime54.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) }),
2469
2479
  " "
2470
2480
  ]
2471
2481
  }
2472
2482
  )
2473
2483
  ] }),
2474
- show_dots && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("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__ */ (0, import_jsx_runtime53.jsx)(
2484
+ show_dots && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("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__ */ (0, import_jsx_runtime54.jsx)(
2475
2485
  ProgressPill,
2476
2486
  {
2477
2487
  active: index === currentSlide,
@@ -2497,7 +2507,7 @@ var init_Slider = __esm({
2497
2507
  visible,
2498
2508
  children,
2499
2509
  className = ""
2500
- }) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2510
+ }) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2501
2511
  "button",
2502
2512
  {
2503
2513
  className: `
@@ -2584,7 +2594,7 @@ var init_Slider = __esm({
2584
2594
  const renderProgressBar = () => {
2585
2595
  if (style === "modern" && isActive || style === "cumulative" && shouldShowProgress) {
2586
2596
  const displayProgress = style === "cumulative" && isFilled ? 100 : progress;
2587
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2597
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2588
2598
  "div",
2589
2599
  {
2590
2600
  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`,
@@ -2596,7 +2606,7 @@ var init_Slider = __esm({
2596
2606
  };
2597
2607
  const renderCumulativeFill = () => {
2598
2608
  if (style === "cumulative" && isFilled && !isActive) {
2599
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2609
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2600
2610
  "div",
2601
2611
  {
2602
2612
  className: `absolute top-0 left-0 h-full rounded-full ${activeClassName || "bg-white"} transition-all duration-300`,
@@ -2606,7 +2616,7 @@ var init_Slider = __esm({
2606
2616
  }
2607
2617
  return null;
2608
2618
  };
2609
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2619
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2610
2620
  "button",
2611
2621
  {
2612
2622
  className: `${baseClasses} ${getStyleClasses()}`,
@@ -3805,7 +3815,7 @@ var WidgetNode = (props) => {
3805
3815
  var WidgetNode_default = WidgetNode;
3806
3816
 
3807
3817
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
3808
- var import_dynamic10 = __toESM(require("next/dynamic"));
3818
+ var import_dynamic11 = __toESM(require("next/dynamic"));
3809
3819
  var import_react34 = __toESM(require("react"));
3810
3820
 
3811
3821
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
@@ -4899,10 +4909,29 @@ var DocumentNode = (props) => {
4899
4909
  };
4900
4910
  var DocumentNode_default = DocumentNode;
4901
4911
 
4912
+ // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
4913
+ var import_dynamic10 = __toESM(require("next/dynamic"));
4914
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4915
+ var IframeClient3 = (0, import_dynamic10.default)(() => Promise.resolve().then(() => (init_IframeClient(), IframeClient_exports)), {
4916
+ ssr: false
4917
+ });
4918
+ var GoogleMapNode = (props) => {
4919
+ let src = props.node.embedUrl;
4920
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "google-map-container", children: src && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4921
+ IframeClient3,
4922
+ {
4923
+ src,
4924
+ width: props.node.width,
4925
+ height: props.node.height
4926
+ }
4927
+ ) });
4928
+ };
4929
+ var GoogleMapNode_default = GoogleMapNode;
4930
+
4902
4931
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
4903
- var import_jsx_runtime54 = require("react/jsx-runtime");
4904
- var Pagination2 = (0, import_dynamic10.default)(() => Promise.resolve().then(() => (init_Pagination(), Pagination_exports)), { ssr: true });
4905
- var Slider2 = (0, import_dynamic10.default)(() => Promise.resolve().then(() => (init_Slider(), Slider_exports)), {
4932
+ var import_jsx_runtime55 = require("react/jsx-runtime");
4933
+ var Pagination2 = (0, import_dynamic11.default)(() => Promise.resolve().then(() => (init_Pagination(), Pagination_exports)), { ssr: true });
4934
+ var Slider2 = (0, import_dynamic11.default)(() => Promise.resolve().then(() => (init_Slider(), Slider_exports)), {
4906
4935
  ssr: false
4907
4936
  });
4908
4937
  function toCamelCase(str) {
@@ -5083,7 +5112,8 @@ var DivContainer = async (props) => {
5083
5112
  text: TextNode_default,
5084
5113
  datafield: DatafieldNode_default,
5085
5114
  "svg-icon": SVGIconNode_default,
5086
- document: DocumentNode_default
5115
+ document: DocumentNode_default,
5116
+ "google-map": GoogleMapNode_default
5087
5117
  };
5088
5118
  const styles = props.node.cssProperties;
5089
5119
  const mobileStyles = props.node.mobileCssProperties;
@@ -5155,7 +5185,7 @@ var DivContainer = async (props) => {
5155
5185
  response = await serviceClient.get(endpoint);
5156
5186
  result = response?.result;
5157
5187
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
5158
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(NoDataFound_default, {});
5188
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(NoDataFound_default, {});
5159
5189
  }
5160
5190
  if (dataBindingProperties.childCollectionName && props.dataitem) {
5161
5191
  childCollectionData = getNestedValue6(
@@ -5175,7 +5205,7 @@ var DivContainer = async (props) => {
5175
5205
  }
5176
5206
  const SelectedNode = NodeTypes2[node.type];
5177
5207
  if (!SelectedNode) return null;
5178
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react34.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5208
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react34.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5179
5209
  SelectedNode,
5180
5210
  {
5181
5211
  node,
@@ -5308,14 +5338,14 @@ var DivContainer = async (props) => {
5308
5338
  noLinkColor && "no-link-color",
5309
5339
  !!props.node.enterAnimation && "enter-animation"
5310
5340
  ].filter(Boolean).join(" ");
5311
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_react34.default.Fragment, { children: [
5312
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5341
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_react34.default.Fragment, { children: [
5342
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5313
5343
  "style",
5314
5344
  {
5315
5345
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
5316
5346
  }
5317
5347
  ),
5318
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5348
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5319
5349
  Wrapper,
5320
5350
  {
5321
5351
  id: guid,
@@ -5329,11 +5359,11 @@ var DivContainer = async (props) => {
5329
5359
  item,
5330
5360
  idx,
5331
5361
  props.href ? void 0 : item?.links?.view
5332
- )?.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react34.default.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
5362
+ )?.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react34.default.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
5333
5363
  )
5334
5364
  }
5335
5365
  ),
5336
- dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5366
+ dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5337
5367
  Pagination2,
5338
5368
  {
5339
5369
  path: props.path,
@@ -5346,7 +5376,7 @@ var DivContainer = async (props) => {
5346
5376
  var DivContainer_default = DivContainer;
5347
5377
 
5348
5378
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
5349
- var import_jsx_runtime55 = require("react/jsx-runtime");
5379
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5350
5380
  var NodeTypes = {
5351
5381
  ["paragraph"]: ParagraphNode_default,
5352
5382
  ["heading"]: HeadingNode_default,
@@ -5361,7 +5391,8 @@ var NodeTypes = {
5361
5391
  ["div-container"]: DivContainer_default,
5362
5392
  ["svg-icon"]: SVGIconNode_default,
5363
5393
  ["embed"]: EmbedNode_default,
5364
- ["document"]: DocumentNode_default
5394
+ ["document"]: DocumentNode_default,
5395
+ ["google-map"]: GoogleMapNode_default
5365
5396
  };
5366
5397
  var PageBodyRenderer = (props) => {
5367
5398
  let pageBodyTree;
@@ -5383,14 +5414,14 @@ var PageBodyRenderer = (props) => {
5383
5414
  }
5384
5415
  return true;
5385
5416
  };
5386
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react35.default.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
5417
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react35.default.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
5387
5418
  {
5388
5419
  }
5389
5420
  const SelectedNode = NodeTypes[node.type];
5390
5421
  if (!shouldRenderNode(node)) {
5391
5422
  return null;
5392
5423
  }
5393
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react35.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react35.default.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react35.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5424
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react35.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react35.default.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react35.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5394
5425
  SelectedNode,
5395
5426
  {
5396
5427
  node,
@@ -5406,7 +5437,7 @@ var PageBodyRenderer = (props) => {
5406
5437
  device: props.device,
5407
5438
  widgetRenderer: props.widgetRenderer
5408
5439
  }
5409
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react35.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5440
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react35.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5410
5441
  SelectedNode,
5411
5442
  {
5412
5443
  node,