@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260930111822 → 0.8.1-dev.20261001092335

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.js CHANGED
@@ -2277,7 +2277,8 @@ var init_LineTextInput = __esm({
2277
2277
  `
2278
2278
  }
2279
2279
  ),
2280
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
2280
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" }),
2281
+ props?.attributes?.hintText && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "mt-1 text-xs text-neutral-500", children: props.attributes.hintText })
2281
2282
  ] }) });
2282
2283
  };
2283
2284
  LineTextInput_default = LineTextInput;
@@ -5430,6 +5431,98 @@ var init_LinkNodeButton = __esm({
5430
5431
  }
5431
5432
  });
5432
5433
 
5434
+ // src/components/pageRenderingEngine/nodes/CounterNodeClient.tsx
5435
+ var CounterNodeClient_exports = {};
5436
+ __export(CounterNodeClient_exports, {
5437
+ default: () => CounterNodeClient_default
5438
+ });
5439
+ var import_react48, import_jsx_runtime68, FORMAT_CLASSES2, CounterNodeClient, CounterNodeClient_default;
5440
+ var init_CounterNodeClient = __esm({
5441
+ "src/components/pageRenderingEngine/nodes/CounterNodeClient.tsx"() {
5442
+ "use strict";
5443
+ "use client";
5444
+ import_react48 = require("react");
5445
+ import_jsx_runtime68 = require("react/jsx-runtime");
5446
+ FORMAT_CLASSES2 = {
5447
+ center: "justify-center text-center",
5448
+ right: "justify-end text-right",
5449
+ left: "justify-start text-left",
5450
+ justify: "justify-between text-justify"
5451
+ };
5452
+ CounterNodeClient = ({ node }) => {
5453
+ const ref = (0, import_react48.useRef)(null);
5454
+ const startValue = typeof node?.startValue === "number" ? node.startValue : Number(node?.startValue) || 0;
5455
+ const endValue = typeof node?.endValue === "number" ? node.endValue : Number(node?.endValue) || 0;
5456
+ const duration = Math.max(Number(node?.duration) || 2e3, 300);
5457
+ const prefix = node?.prefix ?? "";
5458
+ const suffix = node?.suffix ?? "";
5459
+ const format = node?.format;
5460
+ const [displayValue, setDisplayValue] = (0, import_react48.useState)(startValue);
5461
+ const hasAnimatedRef = (0, import_react48.useRef)(false);
5462
+ const runAnimation = (0, import_react48.useCallback)(() => {
5463
+ let startTime = null;
5464
+ let animationFrameId;
5465
+ const step = (timestamp) => {
5466
+ if (!startTime) startTime = timestamp;
5467
+ const progress = Math.min((timestamp - startTime) / duration, 1);
5468
+ const easeOutProgress = 1 - Math.pow(1 - progress, 3);
5469
+ const currentVal = Math.round(startValue + (endValue - startValue) * easeOutProgress);
5470
+ setDisplayValue(currentVal);
5471
+ if (progress < 1) {
5472
+ animationFrameId = requestAnimationFrame(step);
5473
+ } else {
5474
+ setDisplayValue(endValue);
5475
+ }
5476
+ };
5477
+ animationFrameId = requestAnimationFrame(step);
5478
+ return () => {
5479
+ if (animationFrameId) {
5480
+ cancelAnimationFrame(animationFrameId);
5481
+ }
5482
+ };
5483
+ }, [startValue, endValue, duration]);
5484
+ (0, import_react48.useEffect)(() => {
5485
+ const currentRef = ref.current;
5486
+ if (!currentRef) return;
5487
+ if (typeof IntersectionObserver === "undefined") {
5488
+ return runAnimation();
5489
+ }
5490
+ const observer = new IntersectionObserver(
5491
+ (entries) => {
5492
+ entries.forEach((entry) => {
5493
+ if (entry.isIntersecting && !hasAnimatedRef.current) {
5494
+ hasAnimatedRef.current = true;
5495
+ runAnimation();
5496
+ observer.unobserve(entry.target);
5497
+ }
5498
+ });
5499
+ },
5500
+ { threshold: 0.1 }
5501
+ );
5502
+ observer.observe(currentRef);
5503
+ return () => {
5504
+ observer.disconnect();
5505
+ };
5506
+ }, [runAnimation]);
5507
+ if (!node) return null;
5508
+ const alignClass = format && FORMAT_CLASSES2[format] || "justify-center text-center";
5509
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5510
+ "div",
5511
+ {
5512
+ ref,
5513
+ className: `counter-node inline-flex items-center ${alignClass}`,
5514
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { className: "counter-display text-3xl font-bold tracking-tight", children: [
5515
+ prefix,
5516
+ displayValue.toLocaleString(),
5517
+ suffix
5518
+ ] })
5519
+ }
5520
+ );
5521
+ };
5522
+ CounterNodeClient_default = CounterNodeClient;
5523
+ }
5524
+ });
5525
+
5433
5526
  // src/components/CopyButton.tsx
5434
5527
  var CopyButton_exports = {};
5435
5528
  __export(CopyButton_exports, {
@@ -5453,13 +5546,13 @@ function CopyButton({ text }) {
5453
5546
  console.error("Failed to copy: ", err);
5454
5547
  }
5455
5548
  };
5456
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
5549
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
5457
5550
  "button",
5458
5551
  {
5459
5552
  onClick: handleCopy,
5460
5553
  className: "flex gap-1 items-center hover:text-white transition",
5461
5554
  children: [
5462
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
5555
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5463
5556
  "svg",
5464
5557
  {
5465
5558
  width: "16",
@@ -5467,7 +5560,7 @@ function CopyButton({ text }) {
5467
5560
  viewBox: "0 0 24 24",
5468
5561
  className: "w-4 h-4",
5469
5562
  fill: "currentColor",
5470
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
5563
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5471
5564
  "path",
5472
5565
  {
5473
5566
  fillRule: "evenodd",
@@ -5482,54 +5575,54 @@ function CopyButton({ text }) {
5482
5575
  }
5483
5576
  );
5484
5577
  }
5485
- var import_react54, import_jsx_runtime74;
5578
+ var import_react54, import_jsx_runtime75;
5486
5579
  var init_CopyButton = __esm({
5487
5580
  "src/components/CopyButton.tsx"() {
5488
5581
  "use strict";
5489
5582
  "use client";
5490
5583
  import_react54 = require("react");
5491
- import_jsx_runtime74 = require("react/jsx-runtime");
5584
+ import_jsx_runtime75 = require("react/jsx-runtime");
5492
5585
  }
5493
5586
  });
5494
5587
 
5495
5588
  // src/components/IFrameLoaderView.tsx
5496
- var import_react57, import_jsx_runtime78, IFrameLoaderView, IFrameLoaderView_default;
5589
+ var import_react57, import_jsx_runtime79, IFrameLoaderView, IFrameLoaderView_default;
5497
5590
  var init_IFrameLoaderView = __esm({
5498
5591
  "src/components/IFrameLoaderView.tsx"() {
5499
5592
  "use strict";
5500
5593
  import_react57 = __toESM(require("react"));
5501
- import_jsx_runtime78 = require("react/jsx-runtime");
5594
+ import_jsx_runtime79 = require("react/jsx-runtime");
5502
5595
  IFrameLoaderView = (props) => {
5503
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_react57.default.Fragment, { children: [
5504
- props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
5505
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex items-center mb-4", children: [
5506
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
5507
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "ml-2", children: [
5508
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
5509
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
5596
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_react57.default.Fragment, { children: [
5597
+ props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
5598
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex items-center mb-4", children: [
5599
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
5600
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "ml-2", children: [
5601
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
5602
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
5510
5603
  ] })
5511
5604
  ] }),
5512
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
5513
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "animate-pulse", children: [
5514
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
5515
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
5516
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
5517
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
5518
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
5605
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
5606
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "animate-pulse", children: [
5607
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
5608
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
5609
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
5610
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
5611
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
5519
5612
  ] }),
5520
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "animate-pulse", children: [
5521
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
5522
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
5523
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
5524
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
5525
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
5613
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "animate-pulse", children: [
5614
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
5615
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
5616
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
5617
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
5618
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
5526
5619
  ] }),
5527
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "animate-pulse", children: [
5528
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
5529
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
5530
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
5531
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
5532
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
5620
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "animate-pulse", children: [
5621
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
5622
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
5623
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
5624
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
5625
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
5533
5626
  ] })
5534
5627
  ] })
5535
5628
  ] }) }),
@@ -5545,14 +5638,14 @@ var IframeClient_exports = {};
5545
5638
  __export(IframeClient_exports, {
5546
5639
  default: () => IframeClient_default
5547
5640
  });
5548
- var import_react58, import_jsx_runtime79, IframeClient, IframeClient_default;
5641
+ var import_react58, import_jsx_runtime80, IframeClient, IframeClient_default;
5549
5642
  var init_IframeClient = __esm({
5550
5643
  "src/components/pageRenderingEngine/nodes/IframeClient.tsx"() {
5551
5644
  "use strict";
5552
5645
  "use client";
5553
5646
  import_react58 = __toESM(require("react"));
5554
5647
  init_IFrameLoaderView();
5555
- import_jsx_runtime79 = require("react/jsx-runtime");
5648
+ import_jsx_runtime80 = require("react/jsx-runtime");
5556
5649
  IframeClient = ({
5557
5650
  src,
5558
5651
  width,
@@ -5591,7 +5684,7 @@ var init_IframeClient = __esm({
5591
5684
  const handleIframeLoad = () => {
5592
5685
  setIsDataFound(true);
5593
5686
  };
5594
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_react58.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5687
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react58.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5595
5688
  "iframe",
5596
5689
  {
5597
5690
  ref: iframeRef,
@@ -5851,7 +5944,7 @@ var Pagination_exports = {};
5851
5944
  __export(Pagination_exports, {
5852
5945
  default: () => Pagination_default
5853
5946
  });
5854
- var import_react59, import_jsx_runtime86, Pagination, Pagination_default;
5947
+ var import_react59, import_jsx_runtime87, Pagination, Pagination_default;
5855
5948
  var init_Pagination = __esm({
5856
5949
  "src/components/Pagination.tsx"() {
5857
5950
  "use strict";
@@ -5862,7 +5955,7 @@ var init_Pagination = __esm({
5862
5955
  init_StyleTypes();
5863
5956
  init_InputControlType();
5864
5957
  init_Hyperlink();
5865
- import_jsx_runtime86 = require("react/jsx-runtime");
5958
+ import_jsx_runtime87 = require("react/jsx-runtime");
5866
5959
  Pagination = (props) => {
5867
5960
  const { dataset, path, query, showPageSizeSelector = false, showJumpToPage = false } = props;
5868
5961
  const builder = (0, import_react59.useMemo)(() => {
@@ -5906,7 +5999,7 @@ var init_Pagination = __esm({
5906
5999
  return range;
5907
6000
  };
5908
6001
  const paginationRange = getPaginationRange();
5909
- const PageButton = ({ page, children }) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6002
+ const PageButton = ({ page, children }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5910
6003
  Hyperlink,
5911
6004
  {
5912
6005
  linkType: "Link" /* Link */,
@@ -5921,9 +6014,9 @@ var init_Pagination = __esm({
5921
6014
  );
5922
6015
  const NavigationButton = ({ page, disabled, children }) => {
5923
6016
  if (disabled) {
5924
- return /* @__PURE__ */ (0, import_jsx_runtime86.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 });
6017
+ return /* @__PURE__ */ (0, import_jsx_runtime87.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 });
5925
6018
  }
5926
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6019
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5927
6020
  Hyperlink,
5928
6021
  {
5929
6022
  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",
@@ -5933,35 +6026,35 @@ var init_Pagination = __esm({
5933
6026
  );
5934
6027
  };
5935
6028
  if (totalPages <= 1 && totalItems === 0) return null;
5936
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "py-6 border-t mt-6", children: [
5937
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
5938
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "text-sm", children: [
6029
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "py-6 border-t mt-6", children: [
6030
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
6031
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "text-sm", children: [
5939
6032
  "Showing ",
5940
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("span", { className: "font-semibold", children: [
6033
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("span", { className: "font-semibold", children: [
5941
6034
  startItem,
5942
6035
  "-",
5943
6036
  endItem
5944
6037
  ] }),
5945
6038
  " ",
5946
6039
  "out of ",
5947
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
6040
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
5948
6041
  " results"
5949
6042
  ] }),
5950
- totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex items-center space-x-1", children: [
5951
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
6043
+ totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center space-x-1", children: [
6044
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
5952
6045
  NavigationButton,
5953
6046
  {
5954
6047
  page: activePageNumber - 1,
5955
6048
  disabled: activePageNumber === 1,
5956
6049
  children: [
5957
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
5958
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "text-sm", children: "Prev" })
6050
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
6051
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "text-sm", children: "Prev" })
5959
6052
  ]
5960
6053
  }
5961
6054
  ),
5962
6055
  paginationRange.map((item, index) => {
5963
6056
  if (item === "...") {
5964
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6057
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5965
6058
  "span",
5966
6059
  {
5967
6060
  className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center text-gray-500",
@@ -5971,23 +6064,23 @@ var init_Pagination = __esm({
5971
6064
  );
5972
6065
  }
5973
6066
  const page = item;
5974
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(PageButton, { page, children: page }, page);
6067
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(PageButton, { page, children: page }, page);
5975
6068
  }),
5976
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
6069
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
5977
6070
  NavigationButton,
5978
6071
  {
5979
6072
  page: activePageNumber + 1,
5980
6073
  disabled: activePageNumber === totalPages,
5981
6074
  children: [
5982
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "text-sm", children: "Next" }),
5983
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
6075
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "text-sm", children: "Next" }),
6076
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
5984
6077
  ]
5985
6078
  }
5986
6079
  )
5987
6080
  ] }),
5988
- showJumpToPage && totalPages > 5 && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex items-center space-x-2", children: [
5989
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "text-sm", children: "Go to:" }),
5990
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6081
+ showJumpToPage && totalPages > 5 && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center space-x-2", children: [
6082
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "text-sm", children: "Go to:" }),
6083
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5991
6084
  "input",
5992
6085
  {
5993
6086
  type: "number",
@@ -6008,9 +6101,9 @@ var init_Pagination = __esm({
6008
6101
  ) })
6009
6102
  ] })
6010
6103
  ] }),
6011
- showPageSizeSelector && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex items-center justify-center space-x-2", children: [
6012
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "text-sm", children: "Show:" }),
6013
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6104
+ showPageSizeSelector && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center justify-center space-x-2", children: [
6105
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "text-sm", children: "Show:" }),
6106
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6014
6107
  Hyperlink,
6015
6108
  {
6016
6109
  className: `
@@ -6022,7 +6115,7 @@ var init_Pagination = __esm({
6022
6115
  },
6023
6116
  size
6024
6117
  )) }),
6025
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "text-sm", children: "per page" })
6118
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "text-sm", children: "per page" })
6026
6119
  ] }) })
6027
6120
  ] });
6028
6121
  };
@@ -6035,7 +6128,7 @@ var DataBindingControls_exports = {};
6035
6128
  __export(DataBindingControls_exports, {
6036
6129
  default: () => DataBindingControls_default
6037
6130
  });
6038
- var import_react60, import_navigation, import_jsx_runtime87, humanize, escapeODataString, parseFacetSelections, buildFacetFilter, parseODataSearch, SearchIcon, ResetIcon, FilterSlidersIcon, ChevronDownIcon, CheckIcon, CloseIcon, MapPinIcon, BriefcaseIcon, FileTextIcon, TagIcon, getCategoryIcon, normalizeSortOption, DataBindingControls, DataBindingControls_default;
6131
+ var import_react60, import_navigation, import_jsx_runtime88, humanize, escapeODataString, parseFacetSelections, buildFacetFilter, parseODataSearch, SearchIcon, ResetIcon, FilterSlidersIcon, ChevronDownIcon, CheckIcon, CloseIcon, MapPinIcon, BriefcaseIcon, FileTextIcon, TagIcon, getCategoryIcon, normalizeSortOption, DataBindingControls, DataBindingControls_default;
6039
6132
  var init_DataBindingControls = __esm({
6040
6133
  "src/components/pageRenderingEngine/nodes/DataBindingControls.tsx"() {
6041
6134
  "use strict";
@@ -6044,7 +6137,7 @@ var init_DataBindingControls = __esm({
6044
6137
  import_navigation = require("next/navigation");
6045
6138
  init_Button();
6046
6139
  init_StyleTypes();
6047
- import_jsx_runtime87 = require("react/jsx-runtime");
6140
+ import_jsx_runtime88 = require("react/jsx-runtime");
6048
6141
  humanize = (value) => value.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").trim();
6049
6142
  escapeODataString = (value) => value.replace(/'/g, "''");
6050
6143
  parseFacetSelections = (filter) => {
@@ -6067,7 +6160,7 @@ var init_DataBindingControls = __esm({
6067
6160
  }
6068
6161
  return trimmedValue;
6069
6162
  };
6070
- SearchIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6163
+ SearchIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6071
6164
  "svg",
6072
6165
  {
6073
6166
  "aria-hidden": "true",
@@ -6077,12 +6170,12 @@ var init_DataBindingControls = __esm({
6077
6170
  stroke: "currentColor",
6078
6171
  strokeWidth: "2",
6079
6172
  children: [
6080
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("circle", { cx: "11", cy: "11", r: "7" }),
6081
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { strokeLinecap: "round", d: "m20 20-4-4" })
6173
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("circle", { cx: "11", cy: "11", r: "7" }),
6174
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { strokeLinecap: "round", d: "m20 20-4-4" })
6082
6175
  ]
6083
6176
  }
6084
6177
  );
6085
- ResetIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6178
+ ResetIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6086
6179
  "svg",
6087
6180
  {
6088
6181
  "aria-hidden": "true",
@@ -6092,8 +6185,8 @@ var init_DataBindingControls = __esm({
6092
6185
  stroke: "currentColor",
6093
6186
  strokeWidth: "2",
6094
6187
  children: [
6095
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4 4v6h6" }),
6096
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6188
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4 4v6h6" }),
6189
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6097
6190
  "path",
6098
6191
  {
6099
6192
  strokeLinecap: "round",
@@ -6104,7 +6197,7 @@ var init_DataBindingControls = __esm({
6104
6197
  ]
6105
6198
  }
6106
6199
  );
6107
- FilterSlidersIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6200
+ FilterSlidersIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6108
6201
  "svg",
6109
6202
  {
6110
6203
  "aria-hidden": "true",
@@ -6114,14 +6207,14 @@ var init_DataBindingControls = __esm({
6114
6207
  stroke: "currentColor",
6115
6208
  strokeWidth: "2",
6116
6209
  children: [
6117
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M3 4h18M3 12h18M3 20h18" }),
6118
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("circle", { cx: "8", cy: "4", r: "2", fill: "currentColor" }),
6119
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("circle", { cx: "16", cy: "12", r: "2", fill: "currentColor" }),
6120
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("circle", { cx: "10", cy: "20", r: "2", fill: "currentColor" })
6210
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M3 4h18M3 12h18M3 20h18" }),
6211
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("circle", { cx: "8", cy: "4", r: "2", fill: "currentColor" }),
6212
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("circle", { cx: "16", cy: "12", r: "2", fill: "currentColor" }),
6213
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("circle", { cx: "10", cy: "20", r: "2", fill: "currentColor" })
6121
6214
  ]
6122
6215
  }
6123
6216
  );
6124
- ChevronDownIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6217
+ ChevronDownIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6125
6218
  "svg",
6126
6219
  {
6127
6220
  "aria-hidden": "true",
@@ -6130,10 +6223,10 @@ var init_DataBindingControls = __esm({
6130
6223
  viewBox: "0 0 24 24",
6131
6224
  stroke: "currentColor",
6132
6225
  strokeWidth: "2",
6133
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m19 9-7 7-7-7" })
6226
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m19 9-7 7-7-7" })
6134
6227
  }
6135
6228
  );
6136
- CheckIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6229
+ CheckIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6137
6230
  "svg",
6138
6231
  {
6139
6232
  "aria-hidden": "true",
@@ -6142,10 +6235,10 @@ var init_DataBindingControls = __esm({
6142
6235
  viewBox: "0 0 24 24",
6143
6236
  stroke: "currentColor",
6144
6237
  strokeWidth: "2.5",
6145
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5 13l4 4L19 7" })
6238
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5 13l4 4L19 7" })
6146
6239
  }
6147
6240
  );
6148
- CloseIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6241
+ CloseIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6149
6242
  "svg",
6150
6243
  {
6151
6244
  "aria-hidden": "true",
@@ -6154,10 +6247,10 @@ var init_DataBindingControls = __esm({
6154
6247
  viewBox: "0 0 24 24",
6155
6248
  stroke: "currentColor",
6156
6249
  strokeWidth: "2",
6157
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" })
6250
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" })
6158
6251
  }
6159
6252
  );
6160
- MapPinIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6253
+ MapPinIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6161
6254
  "svg",
6162
6255
  {
6163
6256
  "aria-hidden": "true",
@@ -6167,7 +6260,7 @@ var init_DataBindingControls = __esm({
6167
6260
  stroke: "currentColor",
6168
6261
  strokeWidth: "2",
6169
6262
  children: [
6170
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6263
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6171
6264
  "path",
6172
6265
  {
6173
6266
  strokeLinecap: "round",
@@ -6175,7 +6268,7 @@ var init_DataBindingControls = __esm({
6175
6268
  d: "M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"
6176
6269
  }
6177
6270
  ),
6178
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6271
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6179
6272
  "path",
6180
6273
  {
6181
6274
  strokeLinecap: "round",
@@ -6186,7 +6279,7 @@ var init_DataBindingControls = __esm({
6186
6279
  ]
6187
6280
  }
6188
6281
  );
6189
- BriefcaseIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6282
+ BriefcaseIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6190
6283
  "svg",
6191
6284
  {
6192
6285
  "aria-hidden": "true",
@@ -6195,7 +6288,7 @@ var init_DataBindingControls = __esm({
6195
6288
  viewBox: "0 0 24 24",
6196
6289
  stroke: "currentColor",
6197
6290
  strokeWidth: "2",
6198
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6291
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6199
6292
  "path",
6200
6293
  {
6201
6294
  strokeLinecap: "round",
@@ -6205,7 +6298,7 @@ var init_DataBindingControls = __esm({
6205
6298
  )
6206
6299
  }
6207
6300
  );
6208
- FileTextIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6301
+ FileTextIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6209
6302
  "svg",
6210
6303
  {
6211
6304
  "aria-hidden": "true",
@@ -6214,7 +6307,7 @@ var init_DataBindingControls = __esm({
6214
6307
  viewBox: "0 0 24 24",
6215
6308
  stroke: "currentColor",
6216
6309
  strokeWidth: "2",
6217
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6310
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6218
6311
  "path",
6219
6312
  {
6220
6313
  strokeLinecap: "round",
@@ -6224,7 +6317,7 @@ var init_DataBindingControls = __esm({
6224
6317
  )
6225
6318
  }
6226
6319
  );
6227
- TagIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6320
+ TagIcon = ({ className = "" }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6228
6321
  "svg",
6229
6322
  {
6230
6323
  "aria-hidden": "true",
@@ -6233,7 +6326,7 @@ var init_DataBindingControls = __esm({
6233
6326
  viewBox: "0 0 24 24",
6234
6327
  stroke: "currentColor",
6235
6328
  strokeWidth: "2",
6236
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6329
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6237
6330
  "path",
6238
6331
  {
6239
6332
  strokeLinecap: "round",
@@ -6246,15 +6339,15 @@ var init_DataBindingControls = __esm({
6246
6339
  getCategoryIcon = (category) => {
6247
6340
  const lower = category.toLowerCase();
6248
6341
  if (lower.includes("location") || lower.includes("city") || lower.includes("country") || lower.includes("state") || lower.includes("address")) {
6249
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(MapPinIcon, { className: "h-4 w-4" });
6342
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(MapPinIcon, { className: "h-4 w-4" });
6250
6343
  }
6251
6344
  if (lower.includes("type") || lower.includes("work") || lower.includes("employment") || lower.includes("experience")) {
6252
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(BriefcaseIcon, { className: "h-4 w-4" });
6345
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(BriefcaseIcon, { className: "h-4 w-4" });
6253
6346
  }
6254
6347
  if (lower.includes("department") || lower.includes("category") || lower.includes("role") || lower.includes("industry")) {
6255
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(FileTextIcon, { className: "h-4 w-4" });
6348
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(FileTextIcon, { className: "h-4 w-4" });
6256
6349
  }
6257
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(TagIcon, { className: "h-4 w-4" });
6350
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(TagIcon, { className: "h-4 w-4" });
6258
6351
  };
6259
6352
  normalizeSortOption = (option) => {
6260
6353
  const direction = option.direction.trim();
@@ -6469,9 +6562,9 @@ var init_DataBindingControls = __esm({
6469
6562
  if (!shouldShowToolbar && !shouldShowFacets) {
6470
6563
  return null;
6471
6564
  }
6472
- const renderFacetItems = (field, values) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-col gap-1 pt-1 pb-1", children: values.map((facet) => {
6565
+ const renderFacetItems = (field, values) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "flex flex-col gap-1 pt-1 pb-1", children: values.map((facet) => {
6473
6566
  const isSelected = selectedFacetValues.get(field) === facet.value;
6474
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6567
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6475
6568
  "button",
6476
6569
  {
6477
6570
  type: "button",
@@ -6479,17 +6572,17 @@ var init_DataBindingControls = __esm({
6479
6572
  "aria-pressed": isSelected,
6480
6573
  className: `group flex w-full cursor-pointer items-center justify-between gap-2.5 rounded-md px-2 py-1.5 text-left text-sm transition-all duration-150 ease-out focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-base ${isSelected ? "bg-neutral-soft font-medium border border-neutral-soft" : "hover:bg-neutral-weak border border-transparent"}`,
6481
6574
  children: [
6482
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex min-w-0 items-center gap-2.5", children: [
6483
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6575
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex min-w-0 items-center gap-2.5", children: [
6576
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6484
6577
  "span",
6485
6578
  {
6486
6579
  className: `flex h-4 w-4 shrink-0 items-center justify-center rounded-[3px] border transition-colors duration-150 ${isSelected ? "bg-primary-base border-primary-base" : " group-hover:border-neutral-strong bg-default border-neutral-soft"}`,
6487
- children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(CheckIcon, { className: "h-3 w-3" })
6580
+ children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CheckIcon, { className: "h-3 w-3" })
6488
6581
  }
6489
6582
  ),
6490
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "leading-snug break-words", children: facet.value })
6583
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "leading-snug break-words", children: facet.value })
6491
6584
  ] }),
6492
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6585
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6493
6586
  "span",
6494
6587
  {
6495
6588
  className: `shrink-0 rounded px-1.5 py-0.5 text-xs transition-colors ml-2 ${isSelected ? "bg-neutral-weak font-semibold" : "bg-neutral-weak font-normal"}`,
@@ -6501,14 +6594,14 @@ var init_DataBindingControls = __esm({
6501
6594
  `${field}-${facet.value}`
6502
6595
  );
6503
6596
  }) });
6504
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6597
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6505
6598
  "div",
6506
6599
  {
6507
6600
  className: mode === "toolbar" ? "my-4 sm:my-6" : "flex flex-col rounded-md border border-neutral-soft bg-default p-4 shadow-sm",
6508
6601
  children: [
6509
- shouldShowToolbar && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex flex-col gap-3", children: [
6510
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "hidden lg:flex lg:items-center lg:justify-between lg:gap-4", children: [
6511
- showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6602
+ shouldShowToolbar && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex flex-col gap-3", children: [
6603
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "hidden lg:flex lg:items-center lg:justify-between lg:gap-4", children: [
6604
+ showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6512
6605
  "form",
6513
6606
  {
6514
6607
  role: "search",
@@ -6518,9 +6611,9 @@ var init_DataBindingControls = __esm({
6518
6611
  void handleSearch();
6519
6612
  },
6520
6613
  children: [
6521
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "relative min-w-0 flex-1", children: [
6522
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SearchIcon, { className: "pointer-events-none absolute left-3.5 top-1/2 z-10 h-4 w-4 -translate-y-1/2 opacity-60" }),
6523
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6614
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "relative min-w-0 flex-1", children: [
6615
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SearchIcon, { className: "pointer-events-none absolute left-3.5 top-1/2 z-10 h-4 w-4 -translate-y-1/2 opacity-60" }),
6616
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6524
6617
  "input",
6525
6618
  {
6526
6619
  type: "text",
@@ -6532,23 +6625,23 @@ var init_DataBindingControls = __esm({
6532
6625
  }
6533
6626
  )
6534
6627
  ] }),
6535
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6628
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6536
6629
  Button_default,
6537
6630
  {
6538
6631
  ButtonType: "Primary" /* Solid */,
6539
6632
  onClick: handleSearch,
6540
6633
  className: "!h-10 !rounded-md !px-5 !py-0 flex items-center justify-center gap-1.5 shrink-0",
6541
6634
  children: [
6542
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SearchIcon, { className: "h-4 w-4" }),
6543
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { children: "Search" })
6635
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SearchIcon, { className: "h-4 w-4" }),
6636
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { children: "Search" })
6544
6637
  ]
6545
6638
  }
6546
6639
  )
6547
6640
  ]
6548
6641
  }
6549
6642
  ),
6550
- hasSortControls && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "relative shrink-0", ref: desktopSortDropdownRef, children: [
6551
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6643
+ hasSortControls && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "relative shrink-0", ref: desktopSortDropdownRef, children: [
6644
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6552
6645
  "button",
6553
6646
  {
6554
6647
  type: "button",
@@ -6556,11 +6649,11 @@ var init_DataBindingControls = __esm({
6556
6649
  "aria-expanded": isSortOpen,
6557
6650
  className: "inline-flex h-10 items-center justify-between gap-2.5 rounded-md border border-neutral-soft bg-default px-3.5 text-sm font-normal shadow-sm transition-all hover:bg-neutral-weak focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-base cursor-pointer whitespace-nowrap",
6558
6651
  children: [
6559
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("span", { className: "whitespace-nowrap", children: [
6560
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "opacity-70", children: "Sort by: " }),
6561
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "font-semibold", children: selectedSortLabel })
6652
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("span", { className: "whitespace-nowrap", children: [
6653
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "opacity-70", children: "Sort by: " }),
6654
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "font-semibold", children: selectedSortLabel })
6562
6655
  ] }),
6563
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6656
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6564
6657
  ChevronDownIcon,
6565
6658
  {
6566
6659
  className: `h-4 w-4 shrink-0 transition-transform duration-200 ${isSortOpen ? "rotate-180" : ""}`
@@ -6569,17 +6662,17 @@ var init_DataBindingControls = __esm({
6569
6662
  ]
6570
6663
  }
6571
6664
  ),
6572
- isSortOpen && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "absolute right-0 z-50 mt-1.5 w-max min-w-full max-h-80 overflow-y-auto rounded-md border border-neutral-soft bg-default p-1 shadow-lg", children: normalizedSortOptions.map((option) => {
6665
+ isSortOpen && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "absolute right-0 z-50 mt-1.5 w-max min-w-full max-h-80 overflow-y-auto rounded-md border border-neutral-soft bg-default p-1 shadow-lg", children: normalizedSortOptions.map((option) => {
6573
6666
  const isSelected = selectedSortOption?.value === option.value;
6574
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6667
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6575
6668
  "button",
6576
6669
  {
6577
6670
  type: "button",
6578
6671
  onClick: () => handleSelectSort(option.value),
6579
6672
  className: `flex w-full items-center justify-between gap-4 rounded-md px-3 py-1.5 text-left text-sm transition-colors cursor-pointer whitespace-nowrap ${isSelected ? "bg-primary-base font-semibold" : "hover:bg-neutral-soft font-normal"}`,
6580
6673
  children: [
6581
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "whitespace-nowrap", children: option.label }),
6582
- isSelected && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(CheckIcon, { className: "h-4 w-4 shrink-0" })
6674
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "whitespace-nowrap", children: option.label }),
6675
+ isSelected && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CheckIcon, { className: "h-4 w-4 shrink-0" })
6583
6676
  ]
6584
6677
  },
6585
6678
  option.value
@@ -6587,8 +6680,8 @@ var init_DataBindingControls = __esm({
6587
6680
  }) })
6588
6681
  ] })
6589
6682
  ] }),
6590
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex flex-col gap-2.5 lg:hidden", children: [
6591
- showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6683
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex flex-col gap-2.5 lg:hidden", children: [
6684
+ showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6592
6685
  "form",
6593
6686
  {
6594
6687
  role: "search",
@@ -6598,8 +6691,8 @@ var init_DataBindingControls = __esm({
6598
6691
  void handleSearch();
6599
6692
  },
6600
6693
  children: [
6601
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SearchIcon, { className: "pointer-events-none absolute left-3.5 top-1/2 z-10 h-4 w-4 -translate-y-1/2 opacity-50" }),
6602
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6694
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SearchIcon, { className: "pointer-events-none absolute left-3.5 top-1/2 z-10 h-4 w-4 -translate-y-1/2 opacity-50" }),
6695
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6603
6696
  "input",
6604
6697
  {
6605
6698
  type: "text",
@@ -6613,28 +6706,28 @@ var init_DataBindingControls = __esm({
6613
6706
  ]
6614
6707
  }
6615
6708
  ),
6616
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center justify-between gap-2.5 pt-0.5", children: [
6617
- showFacets && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6709
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center justify-between gap-2.5 pt-0.5", children: [
6710
+ showFacets && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6618
6711
  "button",
6619
6712
  {
6620
6713
  type: "button",
6621
6714
  onClick: () => setIsMobileFiltersOpen(true),
6622
6715
  className: "inline-flex h-10 items-center justify-center gap-2 rounded-md border border-neutral-soft bg-default px-3.5 text-sm font-medium shadow-sm transition-all hover:bg-neutral-weak cursor-pointer active:scale-95",
6623
6716
  children: [
6624
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(FilterSlidersIcon, { className: "h-4 w-4" }),
6625
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("span", { children: [
6717
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(FilterSlidersIcon, { className: "h-4 w-4" }),
6718
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("span", { children: [
6626
6719
  "Filters",
6627
6720
  selectedFacetCount > 0 ? ` (${selectedFacetCount})` : ""
6628
6721
  ] }),
6629
- selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("span", { className: "relative flex h-2 w-2", children: [
6630
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "animate-ping absolute inline-flex h-full w-full rounded-full bg-primary-base opacity-75" }),
6631
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "relative inline-flex rounded-full h-2 w-2 bg-primary-base" })
6722
+ selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("span", { className: "relative flex h-2 w-2", children: [
6723
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "animate-ping absolute inline-flex h-full w-full rounded-full bg-primary-base opacity-75" }),
6724
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "relative inline-flex rounded-full h-2 w-2 bg-primary-base" })
6632
6725
  ] })
6633
6726
  ]
6634
6727
  }
6635
6728
  ),
6636
- hasSortControls && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "relative shrink-0 ml-auto", ref: mobileSortDropdownRef, children: [
6637
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6729
+ hasSortControls && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "relative shrink-0 ml-auto", ref: mobileSortDropdownRef, children: [
6730
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6638
6731
  "button",
6639
6732
  {
6640
6733
  type: "button",
@@ -6642,8 +6735,8 @@ var init_DataBindingControls = __esm({
6642
6735
  "aria-expanded": isSortOpen,
6643
6736
  className: "inline-flex h-10 items-center justify-between gap-2 rounded-md border border-neutral-soft bg-default px-3.5 text-sm font-medium shadow-sm transition-all hover:bg-neutral-weak cursor-pointer whitespace-nowrap",
6644
6737
  children: [
6645
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "whitespace-nowrap font-medium", children: selectedSortLabel }),
6646
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6738
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "whitespace-nowrap font-medium", children: selectedSortLabel }),
6739
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6647
6740
  ChevronDownIcon,
6648
6741
  {
6649
6742
  className: `h-4 w-4 shrink-0 transition-transform duration-200 ${isSortOpen ? "rotate-180" : ""}`
@@ -6652,17 +6745,17 @@ var init_DataBindingControls = __esm({
6652
6745
  ]
6653
6746
  }
6654
6747
  ),
6655
- isSortOpen && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "absolute right-0 z-50 mt-1.5 w-max min-w-[160px] max-h-80 overflow-y-auto rounded-md border border-neutral-soft bg-default p-1 shadow-xl", children: normalizedSortOptions.map((option) => {
6748
+ isSortOpen && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "absolute right-0 z-50 mt-1.5 w-max min-w-[160px] max-h-80 overflow-y-auto rounded-md border border-neutral-soft bg-default p-1 shadow-xl", children: normalizedSortOptions.map((option) => {
6656
6749
  const isSelected = selectedSortOption?.value === option.value;
6657
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6750
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6658
6751
  "button",
6659
6752
  {
6660
6753
  type: "button",
6661
6754
  onClick: () => handleSelectSort(option.value),
6662
6755
  className: `flex w-full items-center justify-between gap-3 rounded-md px-3 py-2 text-left text-sm transition-colors cursor-pointer whitespace-nowrap ${isSelected ? "bg-primary-base font-semibold" : "hover:bg-neutral-soft font-normal"}`,
6663
6756
  children: [
6664
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "whitespace-nowrap", children: option.label }),
6665
- isSelected && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(CheckIcon, { className: "h-4 w-4 shrink-0" })
6757
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "whitespace-nowrap", children: option.label }),
6758
+ isSelected && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CheckIcon, { className: "h-4 w-4 shrink-0" })
6666
6759
  ]
6667
6760
  },
6668
6761
  option.value
@@ -6670,8 +6763,8 @@ var init_DataBindingControls = __esm({
6670
6763
  }) })
6671
6764
  ] })
6672
6765
  ] }),
6673
- selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex flex-wrap items-center gap-1.5 pt-1", children: [
6674
- Array.from(selectedFacetValues.entries()).map(([field, value]) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6766
+ selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex flex-wrap items-center gap-1.5 pt-1", children: [
6767
+ Array.from(selectedFacetValues.entries()).map(([field, value]) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6675
6768
  "button",
6676
6769
  {
6677
6770
  type: "button",
@@ -6679,13 +6772,13 @@ var init_DataBindingControls = __esm({
6679
6772
  className: "group inline-flex max-w-full cursor-pointer items-center gap-1.5 rounded-md border border-neutral-soft bg-neutral-weak px-2.5 py-1 text-xs transition-colors hover:bg-neutral-soft",
6680
6773
  title: `Remove filter: ${value}`,
6681
6774
  children: [
6682
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "font-medium truncate max-w-[140px]", children: value }),
6683
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(CloseIcon, { className: "h-3 w-3 shrink-0 opacity-60 group-hover:opacity-100" })
6775
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "font-medium truncate max-w-[140px]", children: value }),
6776
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CloseIcon, { className: "h-3 w-3 shrink-0 opacity-60 group-hover:opacity-100" })
6684
6777
  ]
6685
6778
  },
6686
6779
  `mobile-chip-${field}`
6687
6780
  )),
6688
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6781
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6689
6782
  "button",
6690
6783
  {
6691
6784
  type: "button",
@@ -6696,8 +6789,8 @@ var init_DataBindingControls = __esm({
6696
6789
  )
6697
6790
  ] })
6698
6791
  ] }),
6699
- isMobileFiltersOpen && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "fixed inset-0 z-50 flex flex-col justify-end lg:hidden", children: [
6700
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6792
+ isMobileFiltersOpen && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "fixed inset-0 z-50 flex flex-col justify-end lg:hidden", children: [
6793
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6701
6794
  "div",
6702
6795
  {
6703
6796
  className: "fixed inset-0 bg-neutral-stronger/60 backdrop-blur-xs transition-opacity duration-300",
@@ -6705,12 +6798,12 @@ var init_DataBindingControls = __esm({
6705
6798
  "aria-hidden": "true"
6706
6799
  }
6707
6800
  ),
6708
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "relative z-10 flex h-[85vh] max-h-[85vh] w-full flex-col rounded-t-xl border-t border-neutral-soft bg-default shadow-2xl transition-transform duration-300 animate-in slide-in-from-bottom", children: [
6709
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "pt-2.5 pb-1", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "mx-auto h-1.5 w-12 rounded-full bg-neutral-soft" }) }),
6710
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center justify-between px-5 py-3 border-b border-neutral-soft", children: [
6711
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("h2", { className: "text-lg font-bold tracking-tight", children: "Filters" }),
6712
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center gap-3", children: [
6713
- selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6801
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "relative z-10 flex h-[85vh] max-h-[85vh] w-full flex-col rounded-t-xl border-t border-neutral-soft bg-default shadow-2xl transition-transform duration-300 animate-in slide-in-from-bottom", children: [
6802
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "pt-2.5 pb-1", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "mx-auto h-1.5 w-12 rounded-full bg-neutral-soft" }) }),
6803
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center justify-between px-5 py-3 border-b border-neutral-soft", children: [
6804
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("h2", { className: "text-lg font-bold tracking-tight", children: "Filters" }),
6805
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center gap-3", children: [
6806
+ selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6714
6807
  "button",
6715
6808
  {
6716
6809
  type: "button",
@@ -6719,38 +6812,38 @@ var init_DataBindingControls = __esm({
6719
6812
  children: "Clear all"
6720
6813
  }
6721
6814
  ),
6722
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6815
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6723
6816
  "button",
6724
6817
  {
6725
6818
  type: "button",
6726
6819
  onClick: () => setIsMobileFiltersOpen(false),
6727
6820
  className: "p-1 rounded-full hover:bg-neutral-weak transition-colors cursor-pointer",
6728
6821
  "aria-label": "Close filters",
6729
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(CloseIcon, { className: "h-5 w-5 opacity-70" })
6822
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CloseIcon, { className: "h-5 w-5 opacity-70" })
6730
6823
  }
6731
6824
  )
6732
6825
  ] })
6733
6826
  ] }),
6734
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex-1 overflow-y-auto px-5 py-3 space-y-3 divide-y divide-neutral-soft", children: activeFacets.map(([field, values]) => {
6827
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "flex-1 overflow-y-auto px-5 py-3 space-y-3 divide-y divide-neutral-soft", children: activeFacets.map(([field, values]) => {
6735
6828
  const isOpen = !collapsedCategories[field];
6736
6829
  const selectedValue = selectedFacetValues.get(field);
6737
6830
  const categorySearch = facetCategorySearch[field]?.toLowerCase() || "";
6738
6831
  const filteredValues = categorySearch ? values.filter((v) => v.value.toLowerCase().includes(categorySearch)) : values;
6739
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "pt-3 first:pt-0", children: [
6740
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6832
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "pt-3 first:pt-0", children: [
6833
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6741
6834
  "button",
6742
6835
  {
6743
6836
  type: "button",
6744
6837
  onClick: () => toggleCategory(field),
6745
6838
  className: "flex w-full cursor-pointer items-center justify-between rounded-md py-2 text-left transition-colors",
6746
6839
  children: [
6747
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center gap-2.5", children: [
6748
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-md border border-neutral-soft bg-neutral-weak", children: getCategoryIcon(field) }),
6749
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "font-semibold text-sm", children: humanize(field) })
6840
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center gap-2.5", children: [
6841
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-md border border-neutral-soft bg-neutral-weak", children: getCategoryIcon(field) }),
6842
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "font-semibold text-sm", children: humanize(field) })
6750
6843
  ] }),
6751
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center gap-2", children: [
6752
- selectedValue && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-primary-base text-xs font-bold leading-none", children: "1" }),
6753
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6844
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center gap-2", children: [
6845
+ selectedValue && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-primary-base text-xs font-bold leading-none", children: "1" }),
6846
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6754
6847
  ChevronDownIcon,
6755
6848
  {
6756
6849
  className: `h-4 w-4 transition-transform duration-200 ${isOpen ? "rotate-180" : ""}`
@@ -6760,10 +6853,10 @@ var init_DataBindingControls = __esm({
6760
6853
  ]
6761
6854
  }
6762
6855
  ),
6763
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "pt-2 pb-1 pl-1 pr-1 space-y-1.5", children: [
6764
- values.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "relative mb-2", children: [
6765
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(SearchIcon, { className: "pointer-events-none absolute left-3 top-1/2 h-3.5 w-3.5 -translate-y-1/2 opacity-50" }),
6766
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6856
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "pt-2 pb-1 pl-1 pr-1 space-y-1.5", children: [
6857
+ values.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "relative mb-2", children: [
6858
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SearchIcon, { className: "pointer-events-none absolute left-3 top-1/2 h-3.5 w-3.5 -translate-y-1/2 opacity-50" }),
6859
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6767
6860
  "input",
6768
6861
  {
6769
6862
  type: "text",
@@ -6777,9 +6870,9 @@ var init_DataBindingControls = __esm({
6777
6870
  }
6778
6871
  )
6779
6872
  ] }),
6780
- filteredValues.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "py-2 text-center text-xs opacity-60", children: "No matching options" }) : filteredValues.map((facet) => {
6873
+ filteredValues.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "py-2 text-center text-xs opacity-60", children: "No matching options" }) : filteredValues.map((facet) => {
6781
6874
  const isChecked = selectedValue === facet.value;
6782
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6875
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6783
6876
  "button",
6784
6877
  {
6785
6878
  type: "button",
@@ -6789,17 +6882,17 @@ var init_DataBindingControls = __esm({
6789
6882
  "aria-pressed": isChecked,
6790
6883
  className: `flex w-full cursor-pointer items-center justify-between gap-3 rounded-md px-2.5 py-2 text-left text-sm transition-colors ${isChecked ? "bg-neutral-soft font-medium" : "hover:bg-neutral-weak"}`,
6791
6884
  children: [
6792
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex min-w-0 items-center gap-3", children: [
6793
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6885
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex min-w-0 items-center gap-3", children: [
6886
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6794
6887
  "span",
6795
6888
  {
6796
6889
  className: `flex h-5 w-5 shrink-0 items-center justify-center rounded-md border transition-colors ${isChecked ? "bg-primary-base border-primary-base" : "border-neutral-soft bg-default"}`,
6797
- children: isChecked && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(CheckIcon, { className: "h-3.5 w-3.5" })
6890
+ children: isChecked && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CheckIcon, { className: "h-3.5 w-3.5" })
6798
6891
  }
6799
6892
  ),
6800
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "leading-snug break-words", children: facet.value })
6893
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "leading-snug break-words", children: facet.value })
6801
6894
  ] }),
6802
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "shrink-0 text-xs opacity-60 ml-2", children: facet.count })
6895
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "shrink-0 text-xs opacity-60 ml-2", children: facet.count })
6803
6896
  ]
6804
6897
  },
6805
6898
  `drawer-${field}-${facet.value}`
@@ -6808,8 +6901,8 @@ var init_DataBindingControls = __esm({
6808
6901
  ] })
6809
6902
  ] }, `drawer-cat-${field}`);
6810
6903
  }) }),
6811
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center gap-3 border-t border-neutral-soft bg-default p-4", children: [
6812
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6904
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center gap-3 border-t border-neutral-soft bg-default p-4", children: [
6905
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6813
6906
  "button",
6814
6907
  {
6815
6908
  type: "button",
@@ -6818,7 +6911,7 @@ var init_DataBindingControls = __esm({
6818
6911
  children: "Close"
6819
6912
  }
6820
6913
  ),
6821
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6914
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6822
6915
  "button",
6823
6916
  {
6824
6917
  type: "button",
@@ -6834,14 +6927,14 @@ var init_DataBindingControls = __esm({
6834
6927
  ] })
6835
6928
  ] })
6836
6929
  ] }),
6837
- shouldShowFacets && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex flex-col gap-3", children: [
6838
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center justify-between border-b border-neutral-soft pb-3", children: [
6839
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center gap-2", children: [
6840
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(FilterSlidersIcon, { className: "h-4 w-4" }),
6841
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("h2", { className: "text-base font-semibold tracking-tight", children: "Filters" }),
6842
- selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "flex h-5 items-center justify-center rounded-full bg-primary-base px-2 text-xs font-semibold", children: selectedFacetCount })
6930
+ shouldShowFacets && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex flex-col gap-3", children: [
6931
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center justify-between border-b border-neutral-soft pb-3", children: [
6932
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center gap-2", children: [
6933
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(FilterSlidersIcon, { className: "h-4 w-4" }),
6934
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("h2", { className: "text-base font-semibold tracking-tight", children: "Filters" }),
6935
+ selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "flex h-5 items-center justify-center rounded-full bg-primary-base px-2 text-xs font-semibold", children: selectedFacetCount })
6843
6936
  ] }),
6844
- hasActiveFiltersOrSort && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6937
+ hasActiveFiltersOrSort && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6845
6938
  "button",
6846
6939
  {
6847
6940
  type: "button",
@@ -6849,13 +6942,13 @@ var init_DataBindingControls = __esm({
6849
6942
  className: "group inline-flex cursor-pointer items-center gap-1.5 rounded-md px-2 py-1 text-xs font-medium transition-colors duration-150 hover:bg-neutral-soft focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-base",
6850
6943
  "aria-label": "Clear all filters and sorting",
6851
6944
  children: [
6852
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ResetIcon, { className: "h-3.5 w-3.5 transition-transform duration-200 group-hover:-rotate-45" }),
6853
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { children: "Clear all" })
6945
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ResetIcon, { className: "h-3.5 w-3.5 transition-transform duration-200 group-hover:-rotate-45" }),
6946
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { children: "Clear all" })
6854
6947
  ]
6855
6948
  }
6856
6949
  )
6857
6950
  ] }),
6858
- selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-wrap gap-1.5 pb-2.5 border-b border-neutral-soft", children: Array.from(selectedFacetValues.entries()).map(([field, value]) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6951
+ selectedFacetCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "flex flex-wrap gap-1.5 pb-2.5 border-b border-neutral-soft", children: Array.from(selectedFacetValues.entries()).map(([field, value]) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6859
6952
  "button",
6860
6953
  {
6861
6954
  type: "button",
@@ -6863,35 +6956,35 @@ var init_DataBindingControls = __esm({
6863
6956
  className: "group inline-flex max-w-full cursor-pointer items-center gap-1.5 rounded-md border border-neutral-soft bg-neutral-weak px-2.5 py-1 text-xs transition-colors hover:bg-neutral-soft",
6864
6957
  title: `Remove filter: ${value}`,
6865
6958
  children: [
6866
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "font-medium truncate max-w-[150px]", children: value }),
6867
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(CloseIcon, { className: "h-3.5 w-3.5 shrink-0 opacity-60 group-hover:opacity-100" })
6959
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "font-medium truncate max-w-[150px]", children: value }),
6960
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CloseIcon, { className: "h-3.5 w-3.5 shrink-0 opacity-60 group-hover:opacity-100" })
6868
6961
  ]
6869
6962
  },
6870
6963
  `chip-${field}`
6871
6964
  )) }),
6872
- activeFacets.length === 1 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("nav", { "aria-label": `${humanize(activeFacets[0][0])} filters`, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "py-1", children: [
6873
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "px-1 pb-2 font-medium text-sm", children: humanize(activeFacets[0][0]) }),
6965
+ activeFacets.length === 1 && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("nav", { "aria-label": `${humanize(activeFacets[0][0])} filters`, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "py-1", children: [
6966
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "px-1 pb-2 font-medium text-sm", children: humanize(activeFacets[0][0]) }),
6874
6967
  renderFacetItems(activeFacets[0][0], activeFacets[0][1])
6875
6968
  ] }) }),
6876
- activeFacets.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-col divide-y divide-neutral-soft", children: activeFacets.map(([field, values]) => {
6969
+ activeFacets.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "flex flex-col divide-y divide-neutral-soft", children: activeFacets.map(([field, values]) => {
6877
6970
  const isOpen = !collapsedCategories[field];
6878
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6971
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6879
6972
  "div",
6880
6973
  {
6881
6974
  className: "py-2 first:pt-0 last:pb-0",
6882
6975
  children: [
6883
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6976
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6884
6977
  "button",
6885
6978
  {
6886
6979
  type: "button",
6887
6980
  onClick: () => toggleCategory(field),
6888
6981
  className: "flex w-full cursor-pointer items-center justify-between rounded-md px-1.5 py-1.5 text-sm font-semibold transition-colors duration-150 hover:bg-neutral-weak focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-base",
6889
6982
  children: [
6890
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center gap-2", children: [
6891
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center rounded border border-neutral-soft bg-neutral-weak", children: getCategoryIcon(field) }),
6892
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { children: humanize(field) })
6983
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-center gap-2", children: [
6984
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center rounded border border-neutral-soft bg-neutral-weak", children: getCategoryIcon(field) }),
6985
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { children: humanize(field) })
6893
6986
  ] }),
6894
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6987
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6895
6988
  ChevronDownIcon,
6896
6989
  {
6897
6990
  className: `h-4 w-4 transition-transform duration-200 ease-out ${isOpen ? "rotate-180" : ""}`
@@ -6900,7 +6993,7 @@ var init_DataBindingControls = __esm({
6900
6993
  ]
6901
6994
  }
6902
6995
  ),
6903
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "pt-1", children: renderFacetItems(field, values) })
6996
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "pt-1", children: renderFacetItems(field, values) })
6904
6997
  ]
6905
6998
  },
6906
6999
  field
@@ -6920,13 +7013,13 @@ var Slider_exports = {};
6920
7013
  __export(Slider_exports, {
6921
7014
  default: () => Slider_default
6922
7015
  });
6923
- var import_react61, import_jsx_runtime88, Slider, ArrowButton, ProgressPill, Slider_default;
7016
+ var import_react61, import_jsx_runtime89, Slider, ArrowButton, ProgressPill, Slider_default;
6924
7017
  var init_Slider = __esm({
6925
7018
  "src/components/Slider.tsx"() {
6926
7019
  "use strict";
6927
7020
  "use client";
6928
7021
  import_react61 = __toESM(require("react"));
6929
- import_jsx_runtime88 = require("react/jsx-runtime");
7022
+ import_jsx_runtime89 = require("react/jsx-runtime");
6930
7023
  Slider = ({
6931
7024
  children,
6932
7025
  columns,
@@ -7084,7 +7177,7 @@ var init_Slider = __esm({
7084
7177
  if (!import_react61.default.isValidElement(child)) return null;
7085
7178
  const childProps = child.props;
7086
7179
  const mergedClassName = `${childProps.className ?? ""} w-full`.trim();
7087
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7180
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7088
7181
  "div",
7089
7182
  {
7090
7183
  className: `flex-none ${scaleOnHover ? "group hover:z-50" : ""} relative`,
@@ -7096,8 +7189,8 @@ var init_Slider = __esm({
7096
7189
  index
7097
7190
  );
7098
7191
  });
7099
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "w-full", children: [
7100
- show_dots && progressPosition === "top" && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "flex justify-center space-x-1.5 mb-4", children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7192
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "w-full", children: [
7193
+ show_dots && progressPosition === "top" && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "flex justify-center space-x-1.5 mb-4", children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7101
7194
  ProgressPill,
7102
7195
  {
7103
7196
  active: index === currentSlide,
@@ -7114,14 +7207,14 @@ var init_Slider = __esm({
7114
7207
  },
7115
7208
  index
7116
7209
  )) }),
7117
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7210
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
7118
7211
  "div",
7119
7212
  {
7120
7213
  className: `relative w-full overflow-hidden ${className}`,
7121
7214
  onMouseEnter: handleMouseEnter,
7122
7215
  onMouseLeave: handleMouseLeave,
7123
7216
  children: [
7124
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7217
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7125
7218
  "div",
7126
7219
  {
7127
7220
  ref: trackRef,
@@ -7133,32 +7226,32 @@ var init_Slider = __esm({
7133
7226
  children: slides
7134
7227
  }
7135
7228
  ),
7136
- show_arrows && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
7137
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7229
+ show_arrows && /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
7230
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7138
7231
  ArrowButton,
7139
7232
  {
7140
7233
  direction: "left",
7141
7234
  onClick: prevSlide,
7142
7235
  visible: infinite_scroll || currentSlide > 0,
7143
7236
  className: arrowClassName,
7144
- children: /* @__PURE__ */ (0, import_jsx_runtime88.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_runtime88.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
7237
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.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_runtime89.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
7145
7238
  }
7146
7239
  ),
7147
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7240
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7148
7241
  ArrowButton,
7149
7242
  {
7150
7243
  direction: "right",
7151
7244
  onClick: nextSlide,
7152
7245
  visible: infinite_scroll || currentSlide < maxSlide,
7153
7246
  className: arrowClassName,
7154
- children: /* @__PURE__ */ (0, import_jsx_runtime88.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_runtime88.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) })
7247
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.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_runtime89.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) })
7155
7248
  }
7156
7249
  )
7157
7250
  ] })
7158
7251
  ]
7159
7252
  }
7160
7253
  ),
7161
- show_dots && progressPosition !== "top" && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "flex justify-center space-x-1.5 mt-5", children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7254
+ show_dots && progressPosition !== "top" && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "flex justify-center space-x-1.5 mt-5", children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7162
7255
  ProgressPill,
7163
7256
  {
7164
7257
  active: index === currentSlide,
@@ -7183,7 +7276,7 @@ var init_Slider = __esm({
7183
7276
  visible,
7184
7277
  children,
7185
7278
  className = ""
7186
- }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7279
+ }) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7187
7280
  "button",
7188
7281
  {
7189
7282
  className: `
@@ -7271,7 +7364,7 @@ var init_Slider = __esm({
7271
7364
  const renderProgressBar = () => {
7272
7365
  if (style === "modern" && isActive || style === "cumulative" && shouldShowProgress) {
7273
7366
  const displayProgress = style === "cumulative" && isFilled ? 100 : customProgress !== null && customProgress !== void 0 ? customProgress : progress;
7274
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7367
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7275
7368
  "div",
7276
7369
  {
7277
7370
  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`,
@@ -7283,7 +7376,7 @@ var init_Slider = __esm({
7283
7376
  };
7284
7377
  const renderCumulativeFill = () => {
7285
7378
  if (style === "cumulative" && isFilled && !isActive) {
7286
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7379
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7287
7380
  "div",
7288
7381
  {
7289
7382
  className: `absolute top-0 left-0 h-full rounded-full ${activeClassName || "bg-white"} transition-all duration-300`,
@@ -7293,7 +7386,7 @@ var init_Slider = __esm({
7293
7386
  }
7294
7387
  return null;
7295
7388
  };
7296
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7389
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
7297
7390
  "button",
7298
7391
  {
7299
7392
  className: `${baseClasses} ${getStyleClasses()}`,
@@ -8262,88 +8355,18 @@ var DatafieldNode = (props) => {
8262
8355
  var DatafieldNode_default = DatafieldNode;
8263
8356
 
8264
8357
  // src/components/pageRenderingEngine/nodes/CounterNode.tsx
8265
- var import_react48 = require("react");
8266
- var import_jsx_runtime68 = require("react/jsx-runtime");
8267
- var FORMAT_CLASSES2 = {
8268
- center: "justify-center text-center",
8269
- right: "justify-end text-right",
8270
- left: "justify-start text-left",
8271
- justify: "justify-between text-justify"
8272
- };
8273
- var CounterNode = ({ node }) => {
8274
- const ref = (0, import_react48.useRef)(null);
8275
- const startValue = typeof node?.startValue === "number" ? node.startValue : Number(node?.startValue) || 0;
8276
- const endValue = typeof node?.endValue === "number" ? node.endValue : Number(node?.endValue) || 0;
8277
- const duration = Math.max(Number(node?.duration) || 2e3, 300);
8278
- const prefix = node?.prefix ?? "";
8279
- const suffix = node?.suffix ?? "";
8280
- const format = node?.format;
8281
- const [displayValue, setDisplayValue] = (0, import_react48.useState)(startValue);
8282
- const hasAnimatedRef = (0, import_react48.useRef)(false);
8283
- const runAnimation = (0, import_react48.useCallback)(() => {
8284
- let startTime = null;
8285
- let animationFrameId;
8286
- const step = (timestamp) => {
8287
- if (!startTime) startTime = timestamp;
8288
- const progress = Math.min((timestamp - startTime) / duration, 1);
8289
- const easeOutProgress = 1 - Math.pow(1 - progress, 3);
8290
- const currentVal = Math.round(startValue + (endValue - startValue) * easeOutProgress);
8291
- setDisplayValue(currentVal);
8292
- if (progress < 1) {
8293
- animationFrameId = requestAnimationFrame(step);
8294
- } else {
8295
- setDisplayValue(endValue);
8296
- }
8297
- };
8298
- animationFrameId = requestAnimationFrame(step);
8299
- return () => {
8300
- if (animationFrameId) {
8301
- cancelAnimationFrame(animationFrameId);
8302
- }
8303
- };
8304
- }, [startValue, endValue, duration]);
8305
- (0, import_react48.useEffect)(() => {
8306
- const currentRef = ref.current;
8307
- if (!currentRef) return;
8308
- if (typeof IntersectionObserver === "undefined") {
8309
- return runAnimation();
8310
- }
8311
- const observer = new IntersectionObserver(
8312
- (entries) => {
8313
- entries.forEach((entry) => {
8314
- if (entry.isIntersecting && !hasAnimatedRef.current) {
8315
- hasAnimatedRef.current = true;
8316
- runAnimation();
8317
- observer.unobserve(entry.target);
8318
- }
8319
- });
8320
- },
8321
- { threshold: 0.1 }
8322
- );
8323
- observer.observe(currentRef);
8324
- return () => {
8325
- observer.disconnect();
8326
- };
8327
- }, [runAnimation]);
8328
- if (!node) return null;
8329
- const alignClass = format && FORMAT_CLASSES2[format] || "justify-center text-center";
8330
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
8331
- "div",
8332
- {
8333
- ref,
8334
- className: `counter-node inline-flex items-center ${alignClass}`,
8335
- children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { className: "counter-display text-3xl font-bold tracking-tight", children: [
8336
- prefix,
8337
- displayValue.toLocaleString(),
8338
- suffix
8339
- ] })
8340
- }
8341
- );
8358
+ var import_dynamic10 = __toESM(require("next/dynamic"));
8359
+ var import_jsx_runtime69 = require("react/jsx-runtime");
8360
+ var CounterNodeClient2 = (0, import_dynamic10.default)(() => Promise.resolve().then(() => (init_CounterNodeClient(), CounterNodeClient_exports)), {
8361
+ ssr: false
8362
+ });
8363
+ var CounterNode = (props) => {
8364
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(CounterNodeClient2, { node: props.node });
8342
8365
  };
8343
8366
  var CounterNode_default = CounterNode;
8344
8367
 
8345
8368
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
8346
- var import_jsx_runtime69 = require("react/jsx-runtime");
8369
+ var import_jsx_runtime70 = require("react/jsx-runtime");
8347
8370
  var ParagraphNode = (props) => {
8348
8371
  const NodeTypes2 = {
8349
8372
  ["text"]: TextNode_default,
@@ -8364,9 +8387,9 @@ var ParagraphNode = (props) => {
8364
8387
  const isInlineOnlyParent = props.parentTag === "summary";
8365
8388
  const hasChildren = props.node.children && props.node.children.length > 0;
8366
8389
  if (isInlineOnlyParent) {
8367
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_jsx_runtime69.Fragment, { children: hasChildren && props.node.children.map((node, index) => {
8390
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_jsx_runtime70.Fragment, { children: hasChildren && props.node.children.map((node, index) => {
8368
8391
  const SelectedNode = NodeTypes2[node.type];
8369
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react49.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8392
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react49.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
8370
8393
  SelectedNode,
8371
8394
  {
8372
8395
  node,
@@ -8379,10 +8402,10 @@ var ParagraphNode = (props) => {
8379
8402
  ) }, index);
8380
8403
  }) });
8381
8404
  }
8382
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: " " + formatClasses, children: [
8405
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: " " + formatClasses, children: [
8383
8406
  hasChildren && props.node.children.map((node, index) => {
8384
8407
  const SelectedNode = NodeTypes2[node.type];
8385
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react49.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8408
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react49.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
8386
8409
  SelectedNode,
8387
8410
  {
8388
8411
  node,
@@ -8394,14 +8417,14 @@ var ParagraphNode = (props) => {
8394
8417
  }
8395
8418
  ) }, index);
8396
8419
  }),
8397
- !hasChildren && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "py-1.5 lg:py-2" })
8420
+ !hasChildren && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "py-1.5 lg:py-2" })
8398
8421
  ] });
8399
8422
  };
8400
8423
  var ParagraphNode_default = ParagraphNode;
8401
8424
 
8402
8425
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
8403
8426
  var import_react50 = __toESM(require("react"));
8404
- var import_jsx_runtime70 = require("react/jsx-runtime");
8427
+ var import_jsx_runtime71 = require("react/jsx-runtime");
8405
8428
  var HeadingNode = (props) => {
8406
8429
  const NodeTypes2 = {
8407
8430
  ["text"]: TextNode_default,
@@ -8418,12 +8441,12 @@ var HeadingNode = (props) => {
8418
8441
  {
8419
8442
  }
8420
8443
  const formatClasses = FormatClass[props.node.format] || "";
8421
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_jsx_runtime70.Fragment, { children: import_react50.default.createElement(
8444
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_jsx_runtime71.Fragment, { children: import_react50.default.createElement(
8422
8445
  HeadingTag,
8423
8446
  { className: formatClasses },
8424
8447
  props.node.children && props.node.children.map((childNode, index) => {
8425
8448
  const SelectedNode = NodeTypes2[childNode.type];
8426
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react50.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
8449
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react50.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
8427
8450
  })
8428
8451
  ) });
8429
8452
  };
@@ -8434,7 +8457,7 @@ var import_react52 = __toESM(require("react"));
8434
8457
 
8435
8458
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
8436
8459
  var import_react51 = __toESM(require("react"));
8437
- var import_jsx_runtime71 = require("react/jsx-runtime");
8460
+ var import_jsx_runtime72 = require("react/jsx-runtime");
8438
8461
  var ListItemNode = (props) => {
8439
8462
  const NodeTypes2 = {
8440
8463
  text: TextNode_default,
@@ -8451,37 +8474,37 @@ var ListItemNode = (props) => {
8451
8474
  liStyle.fontSize = match[1].trim();
8452
8475
  }
8453
8476
  }
8454
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
8477
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
8455
8478
  const SelectedNode = NodeTypes2[node.type];
8456
8479
  if (node.type === "linebreak") {
8457
8480
  if (!foundFirstBreak) {
8458
8481
  foundFirstBreak = true;
8459
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", {}, index);
8482
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", {}, index);
8460
8483
  } else {
8461
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "py-1 lg:py-2" }, index);
8484
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "py-1 lg:py-2" }, index);
8462
8485
  }
8463
8486
  } else {
8464
8487
  foundFirstBreak = false;
8465
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react51.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
8488
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react51.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
8466
8489
  }
8467
8490
  }) });
8468
8491
  };
8469
8492
  var ListItemNode_default = ListItemNode;
8470
8493
 
8471
8494
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
8472
- var import_jsx_runtime72 = require("react/jsx-runtime");
8495
+ var import_jsx_runtime73 = require("react/jsx-runtime");
8473
8496
  var ListNode = (props) => {
8474
8497
  const NodeTypes2 = {
8475
8498
  listitem: ListItemNode_default
8476
8499
  };
8477
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_react52.default.Fragment, { children: [
8478
- props.node.listType == "bullet" && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("ul", { children: props.node.children && props.node.children.map((node, index) => {
8500
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_react52.default.Fragment, { children: [
8501
+ props.node.listType == "bullet" && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("ul", { children: props.node.children && props.node.children.map((node, index) => {
8479
8502
  const SelectedNode = NodeTypes2[node.type];
8480
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react52.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
8503
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_react52.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
8481
8504
  }) }),
8482
- props.node.listType == "number" && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("ol", { children: props.node.children && props.node.children.map((node, index) => {
8505
+ props.node.listType == "number" && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("ol", { children: props.node.children && props.node.children.map((node, index) => {
8483
8506
  const SelectedNode = NodeTypes2[node.type];
8484
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react52.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
8507
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_react52.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
8485
8508
  }) })
8486
8509
  ] });
8487
8510
  };
@@ -8489,28 +8512,28 @@ var ListNode_default = ListNode;
8489
8512
 
8490
8513
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
8491
8514
  var import_react53 = __toESM(require("react"));
8492
- var import_jsx_runtime73 = require("react/jsx-runtime");
8515
+ var import_jsx_runtime74 = require("react/jsx-runtime");
8493
8516
  var QuoteNode = (props) => {
8494
8517
  const NodeTypes2 = {
8495
8518
  ["text"]: TextNode_default,
8496
8519
  ["linebreak"]: LineBreakNode_default,
8497
8520
  ["link"]: LinkNode_default
8498
8521
  };
8499
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
8522
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
8500
8523
  const SelectedNode = NodeTypes2[node.type];
8501
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_react53.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
8524
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react53.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
8502
8525
  }) });
8503
8526
  };
8504
8527
  var QuoteNode_default = QuoteNode;
8505
8528
 
8506
8529
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
8507
8530
  var import_react55 = __toESM(require("react"));
8508
- var import_dynamic10 = __toESM(require("next/dynamic"));
8509
- var import_jsx_runtime75 = require("react/jsx-runtime");
8510
- var CopyButton2 = (0, import_dynamic10.default)(() => Promise.resolve().then(() => (init_CopyButton(), CopyButton_exports)), {
8531
+ var import_dynamic11 = __toESM(require("next/dynamic"));
8532
+ var import_jsx_runtime76 = require("react/jsx-runtime");
8533
+ var CopyButton2 = (0, import_dynamic11.default)(() => Promise.resolve().then(() => (init_CopyButton(), CopyButton_exports)), {
8511
8534
  ssr: false,
8512
8535
  // optional: fallback UI while loading
8513
- loading: () => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-gray-400 text-xs", children: "Copy" })
8536
+ loading: () => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "text-gray-400 text-xs", children: "Copy" })
8514
8537
  });
8515
8538
  var CodeNode = (props) => {
8516
8539
  const NodeTypes2 = {
@@ -8524,14 +8547,14 @@ var CodeNode = (props) => {
8524
8547
  if (node.type === "link") return node.text || node.url || "";
8525
8548
  return "";
8526
8549
  }).join("") ?? "";
8527
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { children: [
8528
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
8529
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { children: "Code Snippet" }),
8530
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CopyButton2, { text: textContent })
8550
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { children: [
8551
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
8552
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { children: "Code Snippet" }),
8553
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(CopyButton2, { text: textContent })
8531
8554
  ] }),
8532
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
8555
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
8533
8556
  const SelectedNode = NodeTypes2[node.type];
8534
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_react55.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8557
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_react55.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8535
8558
  SelectedNode,
8536
8559
  {
8537
8560
  node,
@@ -8546,15 +8569,15 @@ var CodeNode = (props) => {
8546
8569
  var CodeNode_default = CodeNode;
8547
8570
 
8548
8571
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
8549
- var import_jsx_runtime76 = require("react/jsx-runtime");
8572
+ var import_jsx_runtime77 = require("react/jsx-runtime");
8550
8573
  var HorizontalRuleNode = () => {
8551
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("hr", {});
8574
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("hr", {});
8552
8575
  };
8553
8576
  var HorizontalRuleNode_default = HorizontalRuleNode;
8554
8577
 
8555
8578
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
8556
8579
  var import_react56 = __toESM(require("react"));
8557
- var import_jsx_runtime77 = require("react/jsx-runtime");
8580
+ var import_jsx_runtime78 = require("react/jsx-runtime");
8558
8581
  var WidgetNode = (props) => {
8559
8582
  const getWidgetParameters = () => {
8560
8583
  const widgetInputParameters = {
@@ -8618,7 +8641,7 @@ var WidgetNode = (props) => {
8618
8641
  };
8619
8642
  const widgetCode = props.node?.widgetCode;
8620
8643
  if (!widgetCode) {
8621
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_jsx_runtime77.Fragment, { children: "Invalid widget" });
8644
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_jsx_runtime78.Fragment, { children: "Invalid widget" });
8622
8645
  }
8623
8646
  const widgetParams = getWidgetParameters();
8624
8647
  const WidgetRenderer = props.widgetRenderer;
@@ -8627,7 +8650,7 @@ var WidgetNode = (props) => {
8627
8650
  }
8628
8651
  return (
8629
8652
  // eslint-disable-next-line react-hooks/static-components
8630
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8653
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react56.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8631
8654
  WidgetRenderer,
8632
8655
  {
8633
8656
  params: widgetParams,
@@ -8644,13 +8667,13 @@ var WidgetNode = (props) => {
8644
8667
  var WidgetNode_default = WidgetNode;
8645
8668
 
8646
8669
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
8647
- var import_dynamic14 = __toESM(require("next/dynamic"));
8670
+ var import_dynamic15 = __toESM(require("next/dynamic"));
8648
8671
  var import_react62 = __toESM(require("react"));
8649
8672
 
8650
8673
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
8651
- var import_dynamic11 = __toESM(require("next/dynamic"));
8652
- var import_jsx_runtime80 = require("react/jsx-runtime");
8653
- var IframeClient2 = (0, import_dynamic11.default)(() => Promise.resolve().then(() => (init_IframeClient(), IframeClient_exports)), {
8674
+ var import_dynamic12 = __toESM(require("next/dynamic"));
8675
+ var import_jsx_runtime81 = require("react/jsx-runtime");
8676
+ var IframeClient2 = (0, import_dynamic12.default)(() => Promise.resolve().then(() => (init_IframeClient(), IframeClient_exports)), {
8654
8677
  ssr: false
8655
8678
  });
8656
8679
  var EmbedNode = (props) => {
@@ -8662,7 +8685,7 @@ var EmbedNode = (props) => {
8662
8685
  } else {
8663
8686
  src = props.node.embedSrc;
8664
8687
  }
8665
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "aspect-video", children: src && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(IframeClient2, { src }) });
8688
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "aspect-video", children: src && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(IframeClient2, { src }) });
8666
8689
  };
8667
8690
  var EmbedNode_default = EmbedNode;
8668
8691
 
@@ -8905,10 +8928,10 @@ var PathUtility = class {
8905
8928
  var PathUtility_default = new PathUtility();
8906
8929
 
8907
8930
  // src/components/NoDataFound.tsx
8908
- var import_jsx_runtime81 = require("react/jsx-runtime");
8931
+ var import_jsx_runtime82 = require("react/jsx-runtime");
8909
8932
  var NoDataFound = () => {
8910
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
8911
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "mb-5", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8933
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
8934
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "mb-5", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
8912
8935
  "svg",
8913
8936
  {
8914
8937
  className: "w-10 h-10",
@@ -8916,7 +8939,7 @@ var NoDataFound = () => {
8916
8939
  stroke: "currentColor",
8917
8940
  viewBox: "0 0 24 24",
8918
8941
  xmlns: "http://www.w3.org/2000/svg",
8919
- children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8942
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
8920
8943
  "path",
8921
8944
  {
8922
8945
  strokeLinecap: "round",
@@ -8927,17 +8950,17 @@ var NoDataFound = () => {
8927
8950
  )
8928
8951
  }
8929
8952
  ) }) }),
8930
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
8931
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
8953
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
8954
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
8932
8955
  ] });
8933
8956
  };
8934
8957
  var NoDataFound_default = NoDataFound;
8935
8958
 
8936
8959
  // src/components/NoFilterResultsFound.tsx
8937
- var import_jsx_runtime82 = require("react/jsx-runtime");
8960
+ var import_jsx_runtime83 = require("react/jsx-runtime");
8938
8961
  var NoFilterResultsFound = () => {
8939
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
8940
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "mb-5", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
8962
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
8963
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "mb-5", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
8941
8964
  "svg",
8942
8965
  {
8943
8966
  className: "w-10 h-10",
@@ -8945,7 +8968,7 @@ var NoFilterResultsFound = () => {
8945
8968
  stroke: "currentColor",
8946
8969
  viewBox: "0 0 24 24",
8947
8970
  xmlns: "http://www.w3.org/2000/svg",
8948
- children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
8971
+ children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
8949
8972
  "path",
8950
8973
  {
8951
8974
  strokeLinecap: "round",
@@ -8956,17 +8979,17 @@ var NoFilterResultsFound = () => {
8956
8979
  )
8957
8980
  }
8958
8981
  ) }) }),
8959
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("h3", { className: "text-lg font-medium mb-2", children: "No Results Found" }),
8960
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "max-w-sm mb-0", children: "No data matches the current search query and configured parameters. Try adjusting your search criteria or filters to view available results." })
8982
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("h3", { className: "text-lg font-medium mb-2", children: "No Results Found" }),
8983
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "max-w-sm mb-0", children: "No data matches the current search query and configured parameters. Try adjusting your search criteria or filters to view available results." })
8961
8984
  ] });
8962
8985
  };
8963
8986
  var NoFilterResultsFound_default = NoFilterResultsFound;
8964
8987
 
8965
8988
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
8966
8989
  init_AssetUtility();
8967
- var import_dynamic12 = __toESM(require("next/dynamic"));
8968
- var import_jsx_runtime83 = require("react/jsx-runtime");
8969
- var HlsPlayer4 = (0, import_dynamic12.default)(() => Promise.resolve().then(() => (init_HlsPlayer(), HlsPlayer_exports)), { ssr: false });
8990
+ var import_dynamic13 = __toESM(require("next/dynamic"));
8991
+ var import_jsx_runtime84 = require("react/jsx-runtime");
8992
+ var HlsPlayer4 = (0, import_dynamic13.default)(() => Promise.resolve().then(() => (init_HlsPlayer(), HlsPlayer_exports)), { ssr: false });
8970
8993
  var deviceToMediaQuery = (device) => {
8971
8994
  switch (device) {
8972
8995
  case "lg":
@@ -9121,8 +9144,8 @@ var ImageGalleryNode = (props) => {
9121
9144
  right: "justify-end"
9122
9145
  };
9123
9146
  const formatClasses = FormatClass[props.node.format || ""] || "";
9124
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx_runtime83.Fragment, { children: [
9125
- hlsSources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9147
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx_runtime84.Fragment, { children: [
9148
+ hlsSources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_jsx_runtime84.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9126
9149
  HlsPlayer4,
9127
9150
  {
9128
9151
  sources: hlsSources,
@@ -9137,7 +9160,7 @@ var ImageGalleryNode = (props) => {
9137
9160
  styles: hlsStyles
9138
9161
  }
9139
9162
  ) }),
9140
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("picture", { children: [
9163
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_jsx_runtime84.Fragment, { children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("picture", { children: [
9141
9164
  DEVICE_ORDER.map((deviceKey) => {
9142
9165
  const match = staticSources.find(
9143
9166
  (img) => img.device === deviceKey
@@ -9153,7 +9176,7 @@ var ImageGalleryNode = (props) => {
9153
9176
  if (!srcUrl) {
9154
9177
  return null;
9155
9178
  }
9156
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9179
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9157
9180
  "source",
9158
9181
  {
9159
9182
  media: deviceToMediaQuery(match.device),
@@ -9178,7 +9201,7 @@ var ImageGalleryNode = (props) => {
9178
9201
  if (img.borderRadius) {
9179
9202
  styles.borderRadius = img.borderRadius;
9180
9203
  }
9181
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9204
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9182
9205
  "img",
9183
9206
  {
9184
9207
  loading: "lazy",
@@ -9193,7 +9216,7 @@ var ImageGalleryNode = (props) => {
9193
9216
  })()
9194
9217
  ] }) : (
9195
9218
  /* Case 2: Only device-specific images exist */
9196
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: staticSources.map((img, index) => {
9219
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_jsx_runtime84.Fragment, { children: staticSources.map((img, index) => {
9197
9220
  const resolved = resolveImage(img);
9198
9221
  const imageUrl = resolved?.imageUrl;
9199
9222
  if (!imageUrl) {
@@ -9220,7 +9243,7 @@ var ImageGalleryNode = (props) => {
9220
9243
  default:
9221
9244
  display = "block";
9222
9245
  }
9223
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9246
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9224
9247
  "img",
9225
9248
  {
9226
9249
  loading: "lazy",
@@ -9361,7 +9384,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
9361
9384
 
9362
9385
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
9363
9386
  init_AssetUtility();
9364
- var import_jsx_runtime84 = require("react/jsx-runtime");
9387
+ var import_jsx_runtime85 = require("react/jsx-runtime");
9365
9388
  var getNestedValue5 = (obj, path) => {
9366
9389
  if (!obj || !path) return void 0;
9367
9390
  return path.split(".").reduce((current, key) => {
@@ -9392,21 +9415,21 @@ var parseDocuments = (value) => {
9392
9415
  }
9393
9416
  return [];
9394
9417
  };
9395
- var PdfIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9418
+ var PdfIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9396
9419
  "svg",
9397
9420
  {
9398
9421
  xmlns: "http://www.w3.org/2000/svg",
9399
9422
  viewBox: "0 0 48 48",
9400
9423
  className: "w-10 h-10",
9401
9424
  children: [
9402
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9425
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9403
9426
  "path",
9404
9427
  {
9405
9428
  fill: "#e53935",
9406
9429
  d: "M38,42H10c-2.209,0-4-1.791-4-4V10c0-2.209,1.791-4,4-4h28c2.209,0,4,1.791,4,4v28 C42,40.209,40.209,42,38,42z"
9407
9430
  }
9408
9431
  ),
9409
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9432
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9410
9433
  "path",
9411
9434
  {
9412
9435
  fill: "#fff",
@@ -9416,55 +9439,55 @@ var PdfIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9416
9439
  ]
9417
9440
  }
9418
9441
  );
9419
- var ExcelIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9442
+ var ExcelIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9420
9443
  "svg",
9421
9444
  {
9422
9445
  xmlns: "http://www.w3.org/2000/svg",
9423
9446
  viewBox: "0 0 48 48",
9424
9447
  className: "w-10 h-10",
9425
9448
  children: [
9426
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9449
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9427
9450
  "path",
9428
9451
  {
9429
9452
  fill: "#169154",
9430
9453
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
9431
9454
  }
9432
9455
  ),
9433
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9456
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9434
9457
  "path",
9435
9458
  {
9436
9459
  fill: "#18482a",
9437
9460
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
9438
9461
  }
9439
9462
  ),
9440
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
9441
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
9442
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("g", { children: [
9443
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9463
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
9464
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
9465
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("g", { children: [
9466
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9444
9467
  "path",
9445
9468
  {
9446
9469
  fill: "#29c27f",
9447
9470
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
9448
9471
  }
9449
9472
  ),
9450
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9473
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9451
9474
  "path",
9452
9475
  {
9453
9476
  fill: "#27663f",
9454
9477
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
9455
9478
  }
9456
9479
  ),
9457
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
9458
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
9480
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
9481
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
9459
9482
  ] }),
9460
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9483
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9461
9484
  "path",
9462
9485
  {
9463
9486
  fill: "#0c7238",
9464
9487
  d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
9465
9488
  }
9466
9489
  ),
9467
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9490
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9468
9491
  "path",
9469
9492
  {
9470
9493
  fill: "#fff",
@@ -9474,7 +9497,7 @@ var ExcelIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9474
9497
  ]
9475
9498
  }
9476
9499
  );
9477
- var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9500
+ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9478
9501
  "svg",
9479
9502
  {
9480
9503
  xmlns: "http://www.w3.org/2000/svg",
@@ -9482,14 +9505,14 @@ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9482
9505
  className: "w-10 h-10",
9483
9506
  baseProfile: "basic",
9484
9507
  children: [
9485
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9508
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9486
9509
  "path",
9487
9510
  {
9488
9511
  fill: "#283593",
9489
9512
  d: "M9,33.595l14.911-18.706L41,26v13.306C41,41.346,39.346,43,37.306,43H15.332 C11.835,43,9,40.164,9,36.667C9,36.667,9,33.595,9,33.595z"
9490
9513
  }
9491
9514
  ),
9492
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9515
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9493
9516
  "linearGradient",
9494
9517
  {
9495
9518
  id: "qh2LT5tehRDFkLLfb-odWa",
@@ -9500,19 +9523,19 @@ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9500
9523
  gradientTransform: "translate(0 -339.89)",
9501
9524
  gradientUnits: "userSpaceOnUse",
9502
9525
  children: [
9503
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("stop", { offset: "0", "stop-color": "#66c0ff" }),
9504
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("stop", { offset: ".26", "stop-color": "#0094f0" })
9526
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("stop", { offset: "0", "stop-color": "#66c0ff" }),
9527
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("stop", { offset: ".26", "stop-color": "#0094f0" })
9505
9528
  ]
9506
9529
  }
9507
9530
  ),
9508
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9531
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9509
9532
  "path",
9510
9533
  {
9511
9534
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
9512
9535
  d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
9513
9536
  }
9514
9537
  ),
9515
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9538
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9516
9539
  "path",
9517
9540
  {
9518
9541
  fill: "#1e88e5",
@@ -9520,21 +9543,21 @@ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9520
9543
  d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
9521
9544
  }
9522
9545
  ),
9523
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9546
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9524
9547
  "path",
9525
9548
  {
9526
9549
  fill: "#00e5ff",
9527
9550
  d: "M9,10.333C9,6.836,11.835,4,15.332,4h21.975C39.346,4,41,5.654,41,7.694v5.611 C41,15.346,39.346,17,37.306,17H15.332C11.835,17,9,19.836,9,23.333C9,23.333,9,10.333,9,10.333z"
9528
9551
  }
9529
9552
  ),
9530
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9553
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9531
9554
  "path",
9532
9555
  {
9533
9556
  fill: "#1565c0",
9534
9557
  d: "M7.5,23h10c1.933,0,3.5,1.567,3.5,3.5v10c0,1.933-1.567,3.5-3.5,3.5h-10C5.567,40,4,38.433,4,36.5 v-10C4,24.567,5.567,23,7.5,23z"
9535
9558
  }
9536
9559
  ),
9537
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9560
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9538
9561
  "path",
9539
9562
  {
9540
9563
  fill: "#fff",
@@ -9544,42 +9567,42 @@ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9544
9567
  ]
9545
9568
  }
9546
9569
  );
9547
- var StandardIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9570
+ var StandardIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9548
9571
  "svg",
9549
9572
  {
9550
9573
  xmlns: "http://www.w3.org/2000/svg",
9551
9574
  viewBox: "0 0 48 48",
9552
9575
  className: "w-10 h-10",
9553
9576
  children: [
9554
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
9555
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
9577
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
9578
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
9556
9579
  ]
9557
9580
  }
9558
9581
  );
9559
- var PowerPointIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9582
+ var PowerPointIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9560
9583
  "svg",
9561
9584
  {
9562
9585
  xmlns: "http://www.w3.org/2000/svg",
9563
9586
  viewBox: "0 0 48 48",
9564
9587
  className: "w-10 h-10",
9565
9588
  children: [
9566
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9589
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9567
9590
  "path",
9568
9591
  {
9569
9592
  fill: "#dc4c2c",
9570
9593
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
9571
9594
  }
9572
9595
  ),
9573
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
9574
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
9575
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9596
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
9597
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
9598
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9576
9599
  "path",
9577
9600
  {
9578
9601
  fill: "#9b341f",
9579
9602
  d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
9580
9603
  }
9581
9604
  ),
9582
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9605
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9583
9606
  "path",
9584
9607
  {
9585
9608
  fill: "#fff",
@@ -9589,16 +9612,16 @@ var PowerPointIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9589
9612
  ]
9590
9613
  }
9591
9614
  );
9592
- var TextIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9615
+ var TextIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9593
9616
  "svg",
9594
9617
  {
9595
9618
  xmlns: "http://www.w3.org/2000/svg",
9596
9619
  viewBox: "0 0 48 48",
9597
9620
  className: "w-10 h-10",
9598
9621
  children: [
9599
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
9600
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
9601
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9622
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
9623
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
9624
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9602
9625
  "path",
9603
9626
  {
9604
9627
  fill: "#1976D2",
@@ -9608,7 +9631,7 @@ var TextIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9608
9631
  ]
9609
9632
  }
9610
9633
  );
9611
- var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9634
+ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9612
9635
  "svg",
9613
9636
  {
9614
9637
  xmlns: "http://www.w3.org/2000/svg",
@@ -9618,14 +9641,14 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9618
9641
  version: "1.0",
9619
9642
  className: "w-10 h-10",
9620
9643
  children: [
9621
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9644
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9622
9645
  "path",
9623
9646
  {
9624
9647
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
9625
9648
  "clip-rule": "nonzero"
9626
9649
  }
9627
9650
  ) }) }),
9628
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9651
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9629
9652
  "path",
9630
9653
  {
9631
9654
  fill: "#ff9100",
@@ -9634,7 +9657,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9634
9657
  "fill-rule": "nonzero"
9635
9658
  }
9636
9659
  ) }),
9637
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9660
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9638
9661
  "path",
9639
9662
  {
9640
9663
  fill: "#fbe9e7",
@@ -9643,7 +9666,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9643
9666
  "fill-rule": "nonzero"
9644
9667
  }
9645
9668
  ),
9646
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9669
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9647
9670
  "path",
9648
9671
  {
9649
9672
  fill: "#ffe0b2",
@@ -9652,7 +9675,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9652
9675
  "fill-rule": "nonzero"
9653
9676
  }
9654
9677
  ),
9655
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9678
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9656
9679
  "path",
9657
9680
  {
9658
9681
  fill: "#ffe0b2",
@@ -9661,7 +9684,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9661
9684
  "fill-rule": "nonzero"
9662
9685
  }
9663
9686
  ),
9664
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9687
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9665
9688
  "path",
9666
9689
  {
9667
9690
  fill: "#ffe0b2",
@@ -9711,8 +9734,8 @@ var DocumentNode = (props) => {
9711
9734
  documents = parseDocuments(props.node.documentAsset);
9712
9735
  }
9713
9736
  if (documents.length === 0) {
9714
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_jsx_runtime84.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
9715
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9737
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_jsx_runtime85.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
9738
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9716
9739
  "svg",
9717
9740
  {
9718
9741
  className: "w-5 h-5",
@@ -9720,7 +9743,7 @@ var DocumentNode = (props) => {
9720
9743
  stroke: "currentColor",
9721
9744
  viewBox: "0 0 24 24",
9722
9745
  xmlns: "http://www.w3.org/2000/svg",
9723
- children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9746
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9724
9747
  "path",
9725
9748
  {
9726
9749
  strokeLinecap: "round",
@@ -9731,11 +9754,11 @@ var DocumentNode = (props) => {
9731
9754
  )
9732
9755
  }
9733
9756
  ) }),
9734
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "text-sm font-medium", children: "No documents found" }),
9735
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
9757
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "text-sm font-medium", children: "No documents found" }),
9758
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
9736
9759
  ] }) });
9737
9760
  }
9738
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "", children: documents.map((doc, index) => {
9761
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "", children: documents.map((doc, index) => {
9739
9762
  const documentUrl = AssetUtility_default.resolveUrl(
9740
9763
  props.assetBaseUrl,
9741
9764
  doc.assetUrl
@@ -9753,16 +9776,16 @@ var DocumentNode = (props) => {
9753
9776
  }
9754
9777
  }
9755
9778
  const { Icon: Icon2, extLabel } = getFileDetails2(documentUrl);
9756
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9779
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9757
9780
  "div",
9758
9781
  {
9759
9782
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
9760
9783
  children: [
9761
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "flex items-center space-x-4 min-w-0", children: [
9762
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Icon2, {}) }),
9763
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "flex items-baseline space-x-2 min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("h4", { className: "text-base font-semibold truncate", title: documentTitle, children: documentTitle }) })
9784
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex items-center space-x-4 min-w-0", children: [
9785
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Icon2, {}) }),
9786
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "flex items-baseline space-x-2 min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("h4", { className: "text-base font-semibold truncate", title: documentTitle, children: documentTitle }) })
9764
9787
  ] }),
9765
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9788
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9766
9789
  "a",
9767
9790
  {
9768
9791
  href: documentUrl,
@@ -9770,7 +9793,7 @@ var DocumentNode = (props) => {
9770
9793
  rel: "noopener noreferrer",
9771
9794
  className: "inline-flex items-center px-4 py-2 text-sm font-medium bg-default border rounded focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors shrink-0",
9772
9795
  children: [
9773
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9796
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9774
9797
  "svg",
9775
9798
  {
9776
9799
  className: "w-4 h-4 mr-2",
@@ -9778,7 +9801,7 @@ var DocumentNode = (props) => {
9778
9801
  stroke: "currentColor",
9779
9802
  viewBox: "0 0 24 24",
9780
9803
  children: [
9781
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9804
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9782
9805
  "path",
9783
9806
  {
9784
9807
  strokeLinecap: "round",
@@ -9787,7 +9810,7 @@ var DocumentNode = (props) => {
9787
9810
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
9788
9811
  }
9789
9812
  ),
9790
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9813
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9791
9814
  "path",
9792
9815
  {
9793
9816
  strokeLinecap: "round",
@@ -9812,14 +9835,14 @@ var DocumentNode = (props) => {
9812
9835
  var DocumentNode_default = DocumentNode;
9813
9836
 
9814
9837
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
9815
- var import_dynamic13 = __toESM(require("next/dynamic"));
9816
- var import_jsx_runtime85 = require("react/jsx-runtime");
9817
- var IframeClient3 = (0, import_dynamic13.default)(() => Promise.resolve().then(() => (init_IframeClient(), IframeClient_exports)), {
9838
+ var import_dynamic14 = __toESM(require("next/dynamic"));
9839
+ var import_jsx_runtime86 = require("react/jsx-runtime");
9840
+ var IframeClient3 = (0, import_dynamic14.default)(() => Promise.resolve().then(() => (init_IframeClient(), IframeClient_exports)), {
9818
9841
  ssr: false
9819
9842
  });
9820
9843
  var GoogleMapNode = (props) => {
9821
9844
  let src = props.node.embedUrl;
9822
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "google-map-container", children: src && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9845
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "google-map-container", children: src && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
9823
9846
  IframeClient3,
9824
9847
  {
9825
9848
  src,
@@ -9831,12 +9854,12 @@ var GoogleMapNode = (props) => {
9831
9854
  var GoogleMapNode_default = GoogleMapNode;
9832
9855
 
9833
9856
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
9834
- var import_jsx_runtime89 = require("react/jsx-runtime");
9835
- var Pagination2 = (0, import_dynamic14.default)(() => Promise.resolve().then(() => (init_Pagination(), Pagination_exports)), { ssr: true });
9836
- var DataBindingControls2 = (0, import_dynamic14.default)(() => Promise.resolve().then(() => (init_DataBindingControls(), DataBindingControls_exports)), {
9857
+ var import_jsx_runtime90 = require("react/jsx-runtime");
9858
+ var Pagination2 = (0, import_dynamic15.default)(() => Promise.resolve().then(() => (init_Pagination(), Pagination_exports)), { ssr: true });
9859
+ var DataBindingControls2 = (0, import_dynamic15.default)(() => Promise.resolve().then(() => (init_DataBindingControls(), DataBindingControls_exports)), {
9837
9860
  ssr: true
9838
9861
  });
9839
- var Slider2 = (0, import_dynamic14.default)(() => Promise.resolve().then(() => (init_Slider(), Slider_exports)), {
9862
+ var Slider2 = (0, import_dynamic15.default)(() => Promise.resolve().then(() => (init_Slider(), Slider_exports)), {
9840
9863
  ssr: false
9841
9864
  });
9842
9865
  function toCamelCase(str) {
@@ -10117,7 +10140,7 @@ var DivContainer = async (props) => {
10117
10140
  }
10118
10141
  const SelectedNode = NodeTypes2[node.type];
10119
10142
  if (!SelectedNode) return null;
10120
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react62.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
10143
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react62.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10121
10144
  SelectedNode,
10122
10145
  {
10123
10146
  node,
@@ -10209,7 +10232,7 @@ var DivContainer = async (props) => {
10209
10232
  item,
10210
10233
  idx,
10211
10234
  props.href ? void 0 : item?.links?.view
10212
- )?.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react62.default.Fragment, { children: child }, i)) : renderChildren2(props.node.children, props, item, idx)
10235
+ )?.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react62.default.Fragment, { children: child }, i)) : renderChildren2(props.node.children, props, item, idx)
10213
10236
  );
10214
10237
  }
10215
10238
  return props.node.children.flatMap((node, childIndex) => {
@@ -10327,17 +10350,17 @@ var DivContainer = async (props) => {
10327
10350
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
10328
10351
  );
10329
10352
  const WrapperComponent = Wrapper;
10330
- const renderedContainer = /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
10353
+ const renderedContainer = /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10331
10354
  WrapperComponent,
10332
10355
  {
10333
10356
  id: guid,
10334
10357
  style: combinedStyles,
10335
10358
  className: classNames || void 0,
10336
10359
  ...wrapperProps,
10337
- children: shouldShowNoDataMessage ? hasActiveFilter ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(NoFilterResultsFound_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(NoDataFound_default, {}) : renderContainerChildren()
10360
+ children: shouldShowNoDataMessage ? hasActiveFilter ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(NoFilterResultsFound_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(NoDataFound_default, {}) : renderContainerChildren()
10338
10361
  }
10339
10362
  );
10340
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
10363
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10341
10364
  Pagination2,
10342
10365
  {
10343
10366
  path: props.path,
@@ -10345,15 +10368,15 @@ var DivContainer = async (props) => {
10345
10368
  dataset: response
10346
10369
  }
10347
10370
  ) : null;
10348
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_react62.default.Fragment, { children: [
10349
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
10371
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_react62.default.Fragment, { children: [
10372
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10350
10373
  "style",
10351
10374
  {
10352
10375
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
10353
10376
  }
10354
10377
  ),
10355
- showDataBindingControls ? /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_react62.default.Fragment, { children: [
10356
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
10378
+ showDataBindingControls ? /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_react62.default.Fragment, { children: [
10379
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10357
10380
  DataBindingControls2,
10358
10381
  {
10359
10382
  mode: "toolbar",
@@ -10366,16 +10389,16 @@ var DivContainer = async (props) => {
10366
10389
  showSearchBar: dataBindingProperties?.showSearchBar
10367
10390
  }
10368
10391
  ),
10369
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
10392
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
10370
10393
  "div",
10371
10394
  {
10372
10395
  className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
10373
10396
  children: [
10374
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "min-w-0", children: [
10397
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "min-w-0", children: [
10375
10398
  renderedContainer,
10376
10399
  paginationControl
10377
10400
  ] }),
10378
- dataBindingProperties?.showFacets && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("aside", { className: "hidden lg:block", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
10401
+ dataBindingProperties?.showFacets && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("aside", { className: "hidden lg:block", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10379
10402
  DataBindingControls2,
10380
10403
  {
10381
10404
  mode: "facets",
@@ -10388,16 +10411,16 @@ var DivContainer = async (props) => {
10388
10411
  ]
10389
10412
  }
10390
10413
  )
10391
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_react62.default.Fragment, { children: [
10414
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_react62.default.Fragment, { children: [
10392
10415
  renderedContainer,
10393
- paginationControl && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { children: paginationControl })
10416
+ paginationControl && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { children: paginationControl })
10394
10417
  ] })
10395
10418
  ] });
10396
10419
  };
10397
10420
  var DivContainer_default = DivContainer;
10398
10421
 
10399
10422
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
10400
- var import_jsx_runtime90 = require("react/jsx-runtime");
10423
+ var import_jsx_runtime91 = require("react/jsx-runtime");
10401
10424
  var NodeTypes = {
10402
10425
  ["paragraph"]: ParagraphNode_default,
10403
10426
  ["heading"]: HeadingNode_default,
@@ -10436,14 +10459,14 @@ var PageBodyRenderer = (props) => {
10436
10459
  }
10437
10460
  return true;
10438
10461
  };
10439
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react63.default.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
10462
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react63.default.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
10440
10463
  {
10441
10464
  }
10442
10465
  const SelectedNode = NodeTypes[node.type];
10443
10466
  if (!shouldRenderNode(node)) {
10444
10467
  return null;
10445
10468
  }
10446
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react63.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react63.default.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react63.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10469
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react63.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react63.default.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react63.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
10447
10470
  SelectedNode,
10448
10471
  {
10449
10472
  node,
@@ -10459,7 +10482,7 @@ var PageBodyRenderer = (props) => {
10459
10482
  device: props.device,
10460
10483
  widgetRenderer: props.widgetRenderer
10461
10484
  }
10462
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react63.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10485
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react63.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
10463
10486
  SelectedNode,
10464
10487
  {
10465
10488
  node,
@@ -10530,7 +10553,7 @@ function EnterAnimationHydrator() {
10530
10553
  // src/components/Toast.tsx
10531
10554
  var import_react65 = require("react");
10532
10555
  init_ToastService();
10533
- var import_jsx_runtime91 = require("react/jsx-runtime");
10556
+ var import_jsx_runtime92 = require("react/jsx-runtime");
10534
10557
  var Toast = () => {
10535
10558
  const [showToast, setShowToast] = (0, import_react65.useState)(false);
10536
10559
  const [message, setMessage] = (0, import_react65.useState)("");
@@ -10564,8 +10587,8 @@ var Toast = () => {
10564
10587
  });
10565
10588
  };
10566
10589
  }, [closeToast, showMessage]);
10567
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_jsx_runtime91.Fragment, { children: showToast && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
10568
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
10590
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_jsx_runtime92.Fragment, { children: showToast && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
10591
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
10569
10592
  "span",
10570
10593
  {
10571
10594
  className: "font-medium text-inherit text-sm",
@@ -10573,7 +10596,7 @@ var Toast = () => {
10573
10596
  children: message
10574
10597
  }
10575
10598
  ),
10576
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
10599
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
10577
10600
  "svg",
10578
10601
  {
10579
10602
  xmlns: "http://www.w3.org/2000/svg",
@@ -10581,7 +10604,7 @@ var Toast = () => {
10581
10604
  fill: "none",
10582
10605
  viewBox: "0 0 24 24",
10583
10606
  stroke: "currentColor",
10584
- children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
10607
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
10585
10608
  }
10586
10609
  ) })
10587
10610
  ] }) }) });
@@ -10611,7 +10634,7 @@ init_RadioInput();
10611
10634
  // src/components/NavigationTabsV2.tsx
10612
10635
  var import_link3 = __toESM(require("next/link"));
10613
10636
  var import_navigation2 = require("next/navigation");
10614
- var import_jsx_runtime92 = require("react/jsx-runtime");
10637
+ var import_jsx_runtime93 = require("react/jsx-runtime");
10615
10638
  function resolveRoutePlaceholders(route, params) {
10616
10639
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
10617
10640
  const value = params[key];
@@ -10636,8 +10659,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
10636
10659
  isActive: tab.isActive
10637
10660
  })) || [];
10638
10661
  if (mappedTabs.length === 0) return null;
10639
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
10640
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_link3.default, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
10662
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
10663
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_link3.default, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
10641
10664
  "div",
10642
10665
  {
10643
10666
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -10655,9 +10678,9 @@ var import_navigation3 = require("next/navigation");
10655
10678
 
10656
10679
  // src/components/dataForm/NoContentView.tsx
10657
10680
  var import_react66 = __toESM(require("react"));
10658
- var import_jsx_runtime93 = require("react/jsx-runtime");
10681
+ var import_jsx_runtime94 = require("react/jsx-runtime");
10659
10682
  var NoContentView = (props) => {
10660
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react66.default.Fragment, { children: props.isDataFound === false && props.children });
10683
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react66.default.Fragment, { children: props.isDataFound === false && props.children });
10661
10684
  };
10662
10685
  var NoContentView_default = NoContentView;
10663
10686
 
@@ -10666,38 +10689,38 @@ init_InputControlType();
10666
10689
 
10667
10690
  // src/components/dataForm/ContentView.tsx
10668
10691
  var import_react67 = __toESM(require("react"));
10669
- var import_jsx_runtime94 = require("react/jsx-runtime");
10692
+ var import_jsx_runtime95 = require("react/jsx-runtime");
10670
10693
  var ContentView = (props) => {
10671
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_react67.default.Fragment, { children: [
10672
- props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
10673
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-center mb-4", children: [
10674
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
10675
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "ml-2", children: [
10676
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
10677
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
10694
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_react67.default.Fragment, { children: [
10695
+ props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
10696
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex items-center mb-4", children: [
10697
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
10698
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "ml-2", children: [
10699
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
10700
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
10678
10701
  ] })
10679
10702
  ] }),
10680
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
10681
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "animate-pulse", children: [
10682
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
10683
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
10684
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
10685
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
10686
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
10703
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
10704
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "animate-pulse", children: [
10705
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
10706
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
10707
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
10708
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
10709
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
10687
10710
  ] }),
10688
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "animate-pulse", children: [
10689
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
10690
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
10691
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
10692
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
10693
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
10711
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "animate-pulse", children: [
10712
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
10713
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
10714
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
10715
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
10716
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
10694
10717
  ] }),
10695
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "animate-pulse", children: [
10696
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
10697
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
10698
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
10699
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
10700
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
10718
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "animate-pulse", children: [
10719
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
10720
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
10721
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
10722
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
10723
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
10701
10724
  ] })
10702
10725
  ] })
10703
10726
  ] }) }),
@@ -10757,7 +10780,7 @@ function FormReducer(state, action) {
10757
10780
  var FormReducer_default = FormReducer;
10758
10781
 
10759
10782
  // src/components/dataForm/DataList.tsx
10760
- var import_jsx_runtime95 = require("react/jsx-runtime");
10783
+ var import_jsx_runtime96 = require("react/jsx-runtime");
10761
10784
  var DataList = (props) => {
10762
10785
  const router = (0, import_navigation3.useRouter)();
10763
10786
  let builder = new OdataBuilder(props.path);
@@ -10798,7 +10821,7 @@ var DataList = (props) => {
10798
10821
  if (path.includes(".")) {
10799
10822
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
10800
10823
  } else if (Array.isArray(obj[path])) {
10801
- return obj[path].map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { children: item }, index));
10824
+ return obj[path].map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { children: item }, index));
10802
10825
  } else {
10803
10826
  return obj[path];
10804
10827
  }
@@ -10880,30 +10903,30 @@ var DataList = (props) => {
10880
10903
  const renderPageNumbers = () => {
10881
10904
  if (pages <= 10) {
10882
10905
  return Array.from({ length: pages }, (_, index) => index + 1).map(
10883
- (page) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react68.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
10906
+ (page) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react68.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10884
10907
  Hyperlink,
10885
10908
  {
10886
10909
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
10887
10910
  href: builder.getNewPageUrl(page),
10888
10911
  children: page
10889
10912
  }
10890
- ) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
10913
+ ) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
10891
10914
  );
10892
10915
  } else {
10893
10916
  const showFirstPages = activePageNumber <= 5;
10894
10917
  const showLastPages = activePageNumber > pages - 5;
10895
10918
  if (showFirstPages) {
10896
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
10897
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react68.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
10919
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
10920
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react68.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10898
10921
  Hyperlink,
10899
10922
  {
10900
10923
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
10901
10924
  href: builder.getNewPageUrl(page),
10902
10925
  children: page
10903
10926
  }
10904
- ) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
10905
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "px-2 py-1", children: "..." }),
10906
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
10927
+ ) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
10928
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "px-2 py-1", children: "..." }),
10929
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10907
10930
  Hyperlink,
10908
10931
  {
10909
10932
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -10911,7 +10934,7 @@ var DataList = (props) => {
10911
10934
  children: pages - 1
10912
10935
  }
10913
10936
  ),
10914
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
10937
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10915
10938
  Hyperlink,
10916
10939
  {
10917
10940
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -10919,7 +10942,7 @@ var DataList = (props) => {
10919
10942
  children: pages
10920
10943
  }
10921
10944
  ),
10922
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "relative inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
10945
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "relative inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
10923
10946
  "select",
10924
10947
  {
10925
10948
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -10931,18 +10954,18 @@ var DataList = (props) => {
10931
10954
  }
10932
10955
  },
10933
10956
  children: [
10934
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("option", { className: "", value: "", children: "Jump to" }),
10957
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("option", { className: "", value: "", children: "Jump to" }),
10935
10958
  Array.from(
10936
10959
  { length: Math.max(0, pages - 10) },
10937
10960
  (_, index) => index + 9
10938
- ).map((page) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("option", { value: page, children: page }, page))
10961
+ ).map((page) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("option", { value: page, children: page }, page))
10939
10962
  ]
10940
10963
  }
10941
10964
  ) })
10942
10965
  ] });
10943
10966
  } else if (showLastPages) {
10944
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
10945
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
10967
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
10968
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10946
10969
  Hyperlink,
10947
10970
  {
10948
10971
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -10950,7 +10973,7 @@ var DataList = (props) => {
10950
10973
  children: "1"
10951
10974
  }
10952
10975
  ),
10953
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
10976
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10954
10977
  Hyperlink,
10955
10978
  {
10956
10979
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -10958,21 +10981,21 @@ var DataList = (props) => {
10958
10981
  children: "2"
10959
10982
  }
10960
10983
  ),
10961
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "px-2 py-1", children: "..." }),
10984
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "px-2 py-1", children: "..." }),
10962
10985
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
10963
- (page) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react68.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
10986
+ (page) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react68.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10964
10987
  Hyperlink,
10965
10988
  {
10966
10989
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
10967
10990
  href: builder.getNewPageUrl(page),
10968
10991
  children: page
10969
10992
  }
10970
- ) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
10993
+ ) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
10971
10994
  )
10972
10995
  ] });
10973
10996
  } else {
10974
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
10975
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
10997
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
10998
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10976
10999
  Hyperlink,
10977
11000
  {
10978
11001
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -10980,7 +11003,7 @@ var DataList = (props) => {
10980
11003
  children: "1"
10981
11004
  }
10982
11005
  ),
10983
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11006
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10984
11007
  Hyperlink,
10985
11008
  {
10986
11009
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -10988,20 +11011,20 @@ var DataList = (props) => {
10988
11011
  children: "2"
10989
11012
  }
10990
11013
  ),
10991
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "px-2 py-1", children: "..." }),
11014
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "px-2 py-1", children: "..." }),
10992
11015
  Array.from(
10993
11016
  { length: 5 },
10994
11017
  (_, index) => activePageNumber - 2 + index
10995
- ).map((page) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react68.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11018
+ ).map((page) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react68.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10996
11019
  Hyperlink,
10997
11020
  {
10998
11021
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
10999
11022
  href: builder.getNewPageUrl(page),
11000
11023
  children: page
11001
11024
  }
11002
- ) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
11003
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "px-2 py-1", children: "..." }),
11004
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11025
+ ) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
11026
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "px-2 py-1", children: "..." }),
11027
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11005
11028
  Hyperlink,
11006
11029
  {
11007
11030
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -11009,7 +11032,7 @@ var DataList = (props) => {
11009
11032
  children: pages - 1
11010
11033
  }
11011
11034
  ),
11012
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11035
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11013
11036
  Hyperlink,
11014
11037
  {
11015
11038
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -11017,7 +11040,7 @@ var DataList = (props) => {
11017
11040
  children: pages
11018
11041
  }
11019
11042
  ),
11020
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "relative inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
11043
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "relative inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
11021
11044
  "select",
11022
11045
  {
11023
11046
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -11029,8 +11052,8 @@ var DataList = (props) => {
11029
11052
  }
11030
11053
  },
11031
11054
  children: [
11032
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("option", { value: "", children: "Jump to" }),
11033
- Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("option", { value: page, children: page }, page))
11055
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("option", { value: "", children: "Jump to" }),
11056
+ Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("option", { value: page, children: page }, page))
11034
11057
  ]
11035
11058
  }
11036
11059
  ) })
@@ -11038,16 +11061,16 @@ var DataList = (props) => {
11038
11061
  }
11039
11062
  }
11040
11063
  };
11041
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_react68.default.Fragment, { children: [
11042
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(ContentView_default, { isDataFound, children: [
11043
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
11064
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_react68.default.Fragment, { children: [
11065
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(ContentView_default, { isDataFound, children: [
11066
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
11044
11067
  "div",
11045
11068
  {
11046
11069
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
11047
11070
  children: [
11048
- props.title ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", {}),
11049
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex items-center gap-3", children: [
11050
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11071
+ props.title ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", {}),
11072
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex items-center gap-3", children: [
11073
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11051
11074
  InputControl_default,
11052
11075
  {
11053
11076
  name: "Search_input",
@@ -11060,7 +11083,7 @@ var DataList = (props) => {
11060
11083
  }
11061
11084
  }
11062
11085
  ),
11063
- props.filters && props.filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11086
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11064
11087
  InputControl_default,
11065
11088
  {
11066
11089
  name: filter.name,
@@ -11075,15 +11098,15 @@ var DataList = (props) => {
11075
11098
  },
11076
11099
  filter.name
11077
11100
  )),
11078
- props.addLinkHref && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
11101
+ props.addLinkHref && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
11079
11102
  Hyperlink,
11080
11103
  {
11081
11104
  className: "gap-1",
11082
11105
  linkType: "Primary" /* Solid */,
11083
11106
  href: props.addLinkHref,
11084
11107
  children: [
11085
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Icon_default, { name: "plus", className: "w-4 h-4" }),
11086
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
11108
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Icon_default, { name: "plus", className: "w-4 h-4" }),
11109
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
11087
11110
  ]
11088
11111
  }
11089
11112
  )
@@ -11091,8 +11114,8 @@ var DataList = (props) => {
11091
11114
  ]
11092
11115
  }
11093
11116
  ),
11094
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("table", { className: "w-full divide-y divide-gray-200", children: [
11095
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("tr", { children: [
11117
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("table", { className: "w-full divide-y divide-gray-200", children: [
11118
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("tr", { children: [
11096
11119
  props?.columns?.map((column) => {
11097
11120
  let url = builder.getNewOrderByUrl(column.name);
11098
11121
  let icon = "chevronUpDown";
@@ -11103,18 +11126,18 @@ var DataList = (props) => {
11103
11126
  icon = "chevronUp";
11104
11127
  url = builder.getNewOrderByUrl(column.name + " desc");
11105
11128
  }
11106
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11129
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11107
11130
  "th",
11108
11131
  {
11109
11132
  className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
11110
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11133
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11111
11134
  Hyperlink,
11112
11135
  {
11113
11136
  href: column.enableSorting ? url : void 0,
11114
11137
  className: "!text-neutral-contrast ",
11115
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("span", { className: "flex items-center space-x-1", children: [
11116
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "text-black", children: column.label }),
11117
- column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
11138
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("span", { className: "flex items-center space-x-1", children: [
11139
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "text-black", children: column.label }),
11140
+ column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
11118
11141
  ] })
11119
11142
  }
11120
11143
  )
@@ -11122,25 +11145,25 @@ var DataList = (props) => {
11122
11145
  column.name
11123
11146
  );
11124
11147
  }),
11125
- props.onQuickView && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("th", { className: "px-6 py-3 text-right font-medium bg-neutral-soft w-32 text-black", children: "Action" })
11148
+ props.onQuickView && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("th", { className: "px-6 py-3 text-right font-medium bg-neutral-soft w-32 text-black", children: "Action" })
11126
11149
  ] }) }),
11127
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
11150
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
11128
11151
  let validityClass = "";
11129
11152
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
11130
11153
  validityClass = "bg-alert-200";
11131
11154
  }
11132
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("tr", { className: validityClass, children: [
11155
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("tr", { className: validityClass, children: [
11133
11156
  props?.columns?.map((column, colindex) => {
11134
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react68.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11157
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react68.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11135
11158
  "td",
11136
11159
  {
11137
11160
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
11138
- children: column.addhref === true ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11161
+ children: column.addhref === true ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11139
11162
  Hyperlink,
11140
11163
  {
11141
11164
  className: "",
11142
11165
  href: `https://${dataitem[column.name]}`,
11143
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11166
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11144
11167
  ViewControl_default,
11145
11168
  {
11146
11169
  controlType: column.controlType,
@@ -11153,11 +11176,11 @@ var DataList = (props) => {
11153
11176
  }
11154
11177
  )
11155
11178
  }
11156
- ) : column.showAsLink ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11179
+ ) : column.showAsLink ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11157
11180
  Hyperlink,
11158
11181
  {
11159
11182
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
11160
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11183
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11161
11184
  ViewControl_default,
11162
11185
  {
11163
11186
  controlType: column.controlType,
@@ -11167,7 +11190,7 @@ var DataList = (props) => {
11167
11190
  }
11168
11191
  )
11169
11192
  }
11170
- ) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11193
+ ) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11171
11194
  ViewControl_default,
11172
11195
  {
11173
11196
  controlType: column.controlType,
@@ -11179,7 +11202,7 @@ var DataList = (props) => {
11179
11202
  }
11180
11203
  ) }, colindex);
11181
11204
  }),
11182
- props.onQuickView && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("td", { className: "px-6 py-2 text-right whitespace-nowrap", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
11205
+ props.onQuickView && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("td", { className: "px-6 py-2 text-right whitespace-nowrap", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
11183
11206
  "button",
11184
11207
  {
11185
11208
  type: "button",
@@ -11189,7 +11212,7 @@ var DataList = (props) => {
11189
11212
  },
11190
11213
  className: "inline-flex items-center gap-1.5 px-3 py-1 text-xs font-semibold rounded-md border border-neutral-300 bg-white hover:bg-neutral-100 text-neutral-800 transition-colors shadow-xs",
11191
11214
  children: [
11192
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
11215
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
11193
11216
  "svg",
11194
11217
  {
11195
11218
  className: "w-3.5 h-3.5",
@@ -11200,22 +11223,22 @@ var DataList = (props) => {
11200
11223
  strokeLinecap: "round",
11201
11224
  strokeLinejoin: "round",
11202
11225
  children: [
11203
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
11204
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("circle", { cx: "12", cy: "12", r: "3" })
11226
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
11227
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("circle", { cx: "12", cy: "12", r: "3" })
11205
11228
  ]
11206
11229
  }
11207
11230
  ),
11208
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { children: props.quickViewLabel || "Quick View" })
11231
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { children: props.quickViewLabel || "Quick View" })
11209
11232
  ]
11210
11233
  }
11211
11234
  ) })
11212
11235
  ] }, index);
11213
11236
  }) })
11214
11237
  ] }) }),
11215
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex items-center justify-between", children: [
11216
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "text-gray-700", children: label }),
11217
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex space-x-2 items-center", children: [
11218
- activePageNumber > 1 && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11238
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex items-center justify-between", children: [
11239
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "text-gray-700", children: label }),
11240
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex space-x-2 items-center", children: [
11241
+ activePageNumber > 1 && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11219
11242
  Hyperlink,
11220
11243
  {
11221
11244
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -11223,9 +11246,9 @@ var DataList = (props) => {
11223
11246
  children: "Prev"
11224
11247
  }
11225
11248
  ),
11226
- activePageNumber <= 1 && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "px-3 py-1 rounded-l-md border border-gray-300 bg-gray-200 text-gray-500 hover:bg-gray-200", children: "Prev" }),
11249
+ activePageNumber <= 1 && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "px-3 py-1 rounded-l-md border border-gray-300 bg-gray-200 text-gray-500 hover:bg-gray-200", children: "Prev" }),
11227
11250
  renderPageNumbers(),
11228
- activePageNumber < pages && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11251
+ activePageNumber < pages && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11229
11252
  Hyperlink,
11230
11253
  {
11231
11254
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -11233,19 +11256,19 @@ var DataList = (props) => {
11233
11256
  children: "Next"
11234
11257
  }
11235
11258
  ),
11236
- activePageNumber >= pages && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
11259
+ activePageNumber >= pages && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
11237
11260
  ] })
11238
11261
  ] }) })
11239
11262
  ] }),
11240
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(NoContentView_default, { isDataFound, children: [
11241
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
11263
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(NoContentView_default, { isDataFound, children: [
11264
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
11242
11265
  "div",
11243
11266
  {
11244
11267
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md border-b border-neutral-200`,
11245
11268
  children: [
11246
- props.title ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", {}),
11247
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex items-center gap-3", children: [
11248
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11269
+ props.title ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", {}),
11270
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex items-center gap-3", children: [
11271
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11249
11272
  InputControl_default,
11250
11273
  {
11251
11274
  name: "Search_input",
@@ -11258,7 +11281,7 @@ var DataList = (props) => {
11258
11281
  }
11259
11282
  }
11260
11283
  ),
11261
- props.filters && props.filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11284
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11262
11285
  InputControl_default,
11263
11286
  {
11264
11287
  name: filter.name,
@@ -11273,15 +11296,15 @@ var DataList = (props) => {
11273
11296
  },
11274
11297
  filter.name
11275
11298
  )),
11276
- props.addLinkHref && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
11299
+ props.addLinkHref && /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
11277
11300
  Hyperlink,
11278
11301
  {
11279
11302
  className: "gap-1",
11280
11303
  linkType: "Primary" /* Solid */,
11281
11304
  href: props.addLinkHref,
11282
11305
  children: [
11283
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Icon_default, { name: "plus", className: "w-4 h-4" }),
11284
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
11306
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Icon_default, { name: "plus", className: "w-4 h-4" }),
11307
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
11285
11308
  ]
11286
11309
  }
11287
11310
  )
@@ -11289,8 +11312,8 @@ var DataList = (props) => {
11289
11312
  ]
11290
11313
  }
11291
11314
  ),
11292
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
11293
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("thead", { className: "bg-gray-50", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("tr", { children: props?.columns?.map((column) => {
11315
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
11316
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("thead", { className: "bg-gray-50", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("tr", { children: props?.columns?.map((column) => {
11294
11317
  let url = builder.getNewOrderByUrl(column.name);
11295
11318
  let icon = "chevronUpDown";
11296
11319
  if (orderBy.includes(`${column.name} desc`)) {
@@ -11300,18 +11323,18 @@ var DataList = (props) => {
11300
11323
  icon = "chevronUp";
11301
11324
  url = builder.getNewOrderByUrl(column.name + " desc");
11302
11325
  }
11303
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11326
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11304
11327
  "th",
11305
11328
  {
11306
11329
  className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
11307
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
11330
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11308
11331
  Hyperlink,
11309
11332
  {
11310
11333
  href: column.enableSorting ? url : void 0,
11311
11334
  className: "text-body-950",
11312
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("span", { className: "flex items-center space-x-1", children: [
11313
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { children: column.label }),
11314
- column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
11335
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("span", { className: "flex items-center space-x-1", children: [
11336
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { children: column.label }),
11337
+ column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
11315
11338
  ] })
11316
11339
  }
11317
11340
  )
@@ -11319,7 +11342,7 @@ var DataList = (props) => {
11319
11342
  column.name
11320
11343
  );
11321
11344
  }) }) }) }) }),
11322
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
11345
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
11323
11346
  ] })
11324
11347
  ] })
11325
11348
  ] });
@@ -11332,7 +11355,7 @@ init_ServiceClient();
11332
11355
  init_OdataBuilder();
11333
11356
  init_SelectWithSearchInput();
11334
11357
  var import_navigation4 = require("next/navigation");
11335
- var import_jsx_runtime96 = require("react/jsx-runtime");
11358
+ var import_jsx_runtime97 = require("react/jsx-runtime");
11336
11359
  var viewControlMap = {
11337
11360
  number: ViewControlTypes.number,
11338
11361
  lineText: ViewControlTypes.lineText,
@@ -11427,13 +11450,13 @@ var DataListRenderer = ({
11427
11450
  isActive: landingPageUrl === pathname
11428
11451
  };
11429
11452
  });
11430
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_react69.default.Fragment, { children: [
11453
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_react69.default.Fragment, { children: [
11431
11454
  resolvedTabs.length > 0 && // <NavigationTabsV2
11432
11455
  // tabs={resolvedTabs}
11433
11456
  // params={(widgetProps?.params ?? params) as Record<string, any>}
11434
11457
  // />
11435
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
11436
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
11458
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
11459
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
11437
11460
  DataList_default,
11438
11461
  {
11439
11462
  addLinkHref,
@@ -11488,7 +11511,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
11488
11511
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
11489
11512
 
11490
11513
  // src/components/dataForm/DataFormChildSection.tsx
11491
- var import_jsx_runtime97 = require("react/jsx-runtime");
11514
+ var import_jsx_runtime98 = require("react/jsx-runtime");
11492
11515
  var DataFormChildSection = (props) => {
11493
11516
  const { section } = props;
11494
11517
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -11556,14 +11579,14 @@ var DataFormChildSection = (props) => {
11556
11579
  childItemsToRender,
11557
11580
  allChildItems: childItems
11558
11581
  });
11559
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react70.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
11560
- section.sectionTitle && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
11561
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex flex-col justify-between gap-2", children: [
11562
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
11563
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
11564
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("tr", { className: "", children: [
11582
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react70.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
11583
+ section.sectionTitle && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
11584
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex flex-col justify-between gap-2", children: [
11585
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
11586
+ (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
11587
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("tr", { className: "", children: [
11565
11588
  sectionRow.elements.map((field, index) => {
11566
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
11589
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11567
11590
  "th",
11568
11591
  {
11569
11592
  className: "py-3 font-normal text-left",
@@ -11572,21 +11595,21 @@ var DataFormChildSection = (props) => {
11572
11595
  field.name
11573
11596
  );
11574
11597
  }),
11575
- !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("th", { className: "py-3 font-normal text-left", children: "Actions" })
11598
+ !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("th", { className: "py-3 font-normal text-left", children: "Actions" })
11576
11599
  ] }, sectionRowIndex);
11577
11600
  }) }),
11578
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
11601
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
11579
11602
  const { item, originalIndex } = visibleItem;
11580
11603
  const rowKey = originalIndex;
11581
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react70.default.Fragment, { children: section.sectionRows.map(
11604
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react70.default.Fragment, { children: section.sectionRows.map(
11582
11605
  (sectionRow, sectionRowIndex) => {
11583
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
11606
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
11584
11607
  "tr",
11585
11608
  {
11586
11609
  className: "",
11587
11610
  children: [
11588
11611
  sectionRow.elements.map((field, index) => {
11589
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "w-11/12", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
11612
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "w-11/12", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11590
11613
  InputControl_default,
11591
11614
  {
11592
11615
  index: filteredIndex,
@@ -11606,7 +11629,7 @@ var DataFormChildSection = (props) => {
11606
11629
  }
11607
11630
  ) }) }) }, field.name);
11608
11631
  }),
11609
- !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
11632
+ !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11610
11633
  ClientButton_default,
11611
11634
  {
11612
11635
  ButtonType: StyleTypes2.Hollow,
@@ -11615,7 +11638,7 @@ var DataFormChildSection = (props) => {
11615
11638
  },
11616
11639
  dataRole: "delete",
11617
11640
  tabIndex: -1,
11618
- children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
11641
+ children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11619
11642
  Icon_default,
11620
11643
  {
11621
11644
  className: "w-4 h-4",
@@ -11632,7 +11655,7 @@ var DataFormChildSection = (props) => {
11632
11655
  ) }, rowKey);
11633
11656
  }) })
11634
11657
  ] }) }),
11635
- !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "ml-1", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
11658
+ !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "ml-1", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11636
11659
  ClientButton_default,
11637
11660
  {
11638
11661
  ButtonType: "Link" /* Link */,
@@ -11647,7 +11670,7 @@ var DataFormChildSection = (props) => {
11647
11670
  var DataFormChildSection_default = DataFormChildSection;
11648
11671
 
11649
11672
  // src/components/dataForm/DataForm.tsx
11650
- var import_jsx_runtime98 = require("react/jsx-runtime");
11673
+ var import_jsx_runtime99 = require("react/jsx-runtime");
11651
11674
  var DataForm = (props) => {
11652
11675
  const formRef = (0, import_react71.useRef)(null);
11653
11676
  console.log(props.dataItem, "dssads");
@@ -11867,19 +11890,19 @@ var DataForm = (props) => {
11867
11890
  return false;
11868
11891
  }
11869
11892
  }
11870
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react71.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex-grow flex flex-col", children: [
11871
- props.title && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
11893
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react71.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "flex-grow flex flex-col", children: [
11894
+ props.title && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
11872
11895
  "div",
11873
11896
  {
11874
11897
  className: "inline-flex items-center gap-2 cursor-pointer",
11875
11898
  onClick: () => window.history.back(),
11876
11899
  children: [
11877
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
11878
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
11900
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
11901
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
11879
11902
  ]
11880
11903
  }
11881
11904
  ) }),
11882
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11905
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
11883
11906
  "form",
11884
11907
  {
11885
11908
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -11900,8 +11923,8 @@ var DataForm = (props) => {
11900
11923
  }
11901
11924
  }
11902
11925
  },
11903
- children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
11904
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react71.default.Fragment, { children: !section.isChildSection && /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
11926
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
11927
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react71.default.Fragment, { children: !section.isChildSection && /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
11905
11928
  section.sectionRows?.map(
11906
11929
  (sectionRow, sectionRowIndex) => {
11907
11930
  const elementsCount = sectionRow.elements.length;
@@ -11912,14 +11935,14 @@ var DataForm = (props) => {
11912
11935
  sectionRow.visible
11913
11936
  );
11914
11937
  }
11915
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react71.default.Fragment, { children: isVisible && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
11916
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
11938
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react71.default.Fragment, { children: isVisible && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
11939
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
11917
11940
  "div",
11918
11941
  {
11919
11942
  className: sectionRow.grow ? "grow" : "",
11920
11943
  children: [
11921
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { children: field.controlType }),
11922
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11944
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { children: field.controlType }),
11945
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
11923
11946
  InputControl_default,
11924
11947
  {
11925
11948
  name: field.name,
@@ -11949,12 +11972,12 @@ var DataForm = (props) => {
11949
11972
  }) }) }, sectionRowIndex);
11950
11973
  }
11951
11974
  ),
11952
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { children: section.childSections?.map(
11975
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { children: section.childSections?.map(
11953
11976
  (childSection, childSectionIndex) => {
11954
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { children: childSection.name && evalutateCondition(
11977
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { children: childSection.name && evalutateCondition(
11955
11978
  formState.inputValues,
11956
11979
  childSection.visible
11957
- ) && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11980
+ ) && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
11958
11981
  DataFormChildSection_default,
11959
11982
  {
11960
11983
  section: childSection,
@@ -11969,8 +11992,8 @@ var DataForm = (props) => {
11969
11992
  }) })
11970
11993
  }
11971
11994
  ),
11972
- /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
11973
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { children: props.additionalActions && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
11995
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
11996
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { children: props.additionalActions && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
11974
11997
  Button_default,
11975
11998
  {
11976
11999
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -11978,7 +12001,7 @@ var DataForm = (props) => {
11978
12001
  children: props.additionalActions.title
11979
12002
  }
11980
12003
  ) }),
11981
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { children: props.onDelete && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
12004
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { children: props.onDelete && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
11982
12005
  Button_default,
11983
12006
  {
11984
12007
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -11989,7 +12012,7 @@ var DataForm = (props) => {
11989
12012
  children: "Delete"
11990
12013
  }
11991
12014
  ) }),
11992
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { children: props.onClick && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
12015
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { children: props.onClick && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
11993
12016
  Button_default,
11994
12017
  {
11995
12018
  onValidate,
@@ -12007,7 +12030,7 @@ var DataForm_default = DataForm;
12007
12030
 
12008
12031
  // src/components/dataForm/DataFormRenderer.tsx
12009
12032
  init_ServiceClient();
12010
- var import_jsx_runtime99 = require("react/jsx-runtime");
12033
+ var import_jsx_runtime100 = require("react/jsx-runtime");
12011
12034
  function getAction(actions, code) {
12012
12035
  return actions?.find((a) => a.actionCode === code);
12013
12036
  }
@@ -12033,9 +12056,9 @@ var DataFormRenderer = ({
12033
12056
  "Delete"
12034
12057
  );
12035
12058
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
12036
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "flex-grow flex flex-col", children: [
12037
- widgetProps && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
12038
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
12059
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "flex-grow flex flex-col", children: [
12060
+ widgetProps && /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
12061
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
12039
12062
  DataForm_default,
12040
12063
  {
12041
12064
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",