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

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