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