@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260829045216 → 0.8.1-dev.20260829103635

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server.js CHANGED
@@ -2772,13 +2772,13 @@ function CopyButton({ text }) {
2772
2772
  console.error("Failed to copy: ", err);
2773
2773
  }
2774
2774
  };
2775
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
2775
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2776
2776
  "button",
2777
2777
  {
2778
2778
  onClick: handleCopy,
2779
2779
  className: "flex gap-1 items-center hover:text-white transition",
2780
2780
  children: [
2781
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2781
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2782
2782
  "svg",
2783
2783
  {
2784
2784
  width: "16",
@@ -2786,7 +2786,7 @@ function CopyButton({ text }) {
2786
2786
  viewBox: "0 0 24 24",
2787
2787
  className: "w-4 h-4",
2788
2788
  fill: "currentColor",
2789
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2789
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2790
2790
  "path",
2791
2791
  {
2792
2792
  fillRule: "evenodd",
@@ -2801,54 +2801,54 @@ function CopyButton({ text }) {
2801
2801
  }
2802
2802
  );
2803
2803
  }
2804
- var import_react32, import_jsx_runtime46;
2804
+ var import_react32, import_jsx_runtime47;
2805
2805
  var init_CopyButton = __esm({
2806
2806
  "src/components/CopyButton.tsx"() {
2807
2807
  "use strict";
2808
2808
  "use client";
2809
2809
  import_react32 = require("react");
2810
- import_jsx_runtime46 = require("react/jsx-runtime");
2810
+ import_jsx_runtime47 = require("react/jsx-runtime");
2811
2811
  }
2812
2812
  });
2813
2813
 
2814
2814
  // src/components/IFrameLoaderView.tsx
2815
- var import_react35, import_jsx_runtime50, IFrameLoaderView, IFrameLoaderView_default;
2815
+ var import_react35, import_jsx_runtime51, IFrameLoaderView, IFrameLoaderView_default;
2816
2816
  var init_IFrameLoaderView = __esm({
2817
2817
  "src/components/IFrameLoaderView.tsx"() {
2818
2818
  "use strict";
2819
2819
  import_react35 = __toESM(require("react"));
2820
- import_jsx_runtime50 = require("react/jsx-runtime");
2820
+ import_jsx_runtime51 = require("react/jsx-runtime");
2821
2821
  IFrameLoaderView = (props) => {
2822
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_react35.default.Fragment, { children: [
2823
- props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
2824
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center mb-4", children: [
2825
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
2826
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "ml-2", children: [
2827
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
2828
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
2822
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_react35.default.Fragment, { children: [
2823
+ props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
2824
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center mb-4", children: [
2825
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
2826
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "ml-2", children: [
2827
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
2828
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
2829
2829
  ] })
2830
2830
  ] }),
2831
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
2832
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "animate-pulse", children: [
2833
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2834
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2835
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2836
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2837
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2831
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
2832
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "animate-pulse", children: [
2833
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2834
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2835
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2836
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2837
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2838
2838
  ] }),
2839
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "animate-pulse", children: [
2840
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2841
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2842
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2843
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2844
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2839
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "animate-pulse", children: [
2840
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2841
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2842
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2843
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2844
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2845
2845
  ] }),
2846
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "animate-pulse", children: [
2847
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2848
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2849
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2850
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2851
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2846
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "animate-pulse", children: [
2847
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2848
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2849
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2850
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2851
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2852
2852
  ] })
2853
2853
  ] })
2854
2854
  ] }) }),
@@ -2864,14 +2864,14 @@ var IframeClient_exports = {};
2864
2864
  __export(IframeClient_exports, {
2865
2865
  default: () => IframeClient_default
2866
2866
  });
2867
- var import_react36, import_jsx_runtime51, IframeClient, IframeClient_default;
2867
+ var import_react36, import_jsx_runtime52, IframeClient, IframeClient_default;
2868
2868
  var init_IframeClient = __esm({
2869
2869
  "src/components/pageRenderingEngine/nodes/IframeClient.tsx"() {
2870
2870
  "use strict";
2871
2871
  "use client";
2872
2872
  import_react36 = __toESM(require("react"));
2873
2873
  init_IFrameLoaderView();
2874
- import_jsx_runtime51 = require("react/jsx-runtime");
2874
+ import_jsx_runtime52 = require("react/jsx-runtime");
2875
2875
  IframeClient = ({
2876
2876
  src,
2877
2877
  width,
@@ -2910,7 +2910,7 @@ var init_IframeClient = __esm({
2910
2910
  const handleIframeLoad = () => {
2911
2911
  setIsDataFound(true);
2912
2912
  };
2913
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react36.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2913
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react36.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2914
2914
  "iframe",
2915
2915
  {
2916
2916
  ref: iframeRef,
@@ -3203,52 +3203,52 @@ var init_OdataBuilder = __esm({
3203
3203
  });
3204
3204
 
3205
3205
  // src/svg/chevron-updown.tsx
3206
- var import_jsx_runtime57, ChevronUpDown, chevron_updown_default;
3206
+ var import_jsx_runtime58, ChevronUpDown, chevron_updown_default;
3207
3207
  var init_chevron_updown = __esm({
3208
3208
  "src/svg/chevron-updown.tsx"() {
3209
3209
  "use strict";
3210
- import_jsx_runtime57 = require("react/jsx-runtime");
3210
+ import_jsx_runtime58 = require("react/jsx-runtime");
3211
3211
  ChevronUpDown = (props) => {
3212
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" }) });
3212
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" }) });
3213
3213
  };
3214
3214
  chevron_updown_default = ChevronUpDown;
3215
3215
  }
3216
3216
  });
3217
3217
 
3218
3218
  // src/svg/chevron-down.tsx
3219
- var import_jsx_runtime58, ChevronDown, chevron_down_default;
3219
+ var import_jsx_runtime59, ChevronDown, chevron_down_default;
3220
3220
  var init_chevron_down = __esm({
3221
3221
  "src/svg/chevron-down.tsx"() {
3222
3222
  "use strict";
3223
- import_jsx_runtime58 = require("react/jsx-runtime");
3223
+ import_jsx_runtime59 = require("react/jsx-runtime");
3224
3224
  ChevronDown = (props) => {
3225
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19.5 8.25l-7.5 7.5-7.5-7.5" }) });
3225
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19.5 8.25l-7.5 7.5-7.5-7.5" }) });
3226
3226
  };
3227
3227
  chevron_down_default = ChevronDown;
3228
3228
  }
3229
3229
  });
3230
3230
 
3231
3231
  // src/svg/chevron-up.tsx
3232
- var import_jsx_runtime59, ChevronUp, chevron_up_default;
3232
+ var import_jsx_runtime60, ChevronUp, chevron_up_default;
3233
3233
  var init_chevron_up = __esm({
3234
3234
  "src/svg/chevron-up.tsx"() {
3235
3235
  "use strict";
3236
- import_jsx_runtime59 = require("react/jsx-runtime");
3236
+ import_jsx_runtime60 = require("react/jsx-runtime");
3237
3237
  ChevronUp = (props) => {
3238
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 15.75l7.5-7.5 7.5 7.5" }) });
3238
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 15.75l7.5-7.5 7.5 7.5" }) });
3239
3239
  };
3240
3240
  chevron_up_default = ChevronUp;
3241
3241
  }
3242
3242
  });
3243
3243
 
3244
3244
  // src/svg/plus.tsx
3245
- var import_jsx_runtime60, Plus, plus_default;
3245
+ var import_jsx_runtime61, Plus, plus_default;
3246
3246
  var init_plus = __esm({
3247
3247
  "src/svg/plus.tsx"() {
3248
3248
  "use strict";
3249
- import_jsx_runtime60 = require("react/jsx-runtime");
3249
+ import_jsx_runtime61 = require("react/jsx-runtime");
3250
3250
  Plus = (props) => {
3251
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 4.5v15m7.5-7.5h-15" }) });
3251
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 4.5v15m7.5-7.5h-15" }) });
3252
3252
  };
3253
3253
  plus_default = Plus;
3254
3254
  }
@@ -3274,19 +3274,19 @@ var init_Icons = __esm({
3274
3274
  });
3275
3275
 
3276
3276
  // src/svg/Icon.tsx
3277
- var import_jsx_runtime61, Icon, Icon_default;
3277
+ var import_jsx_runtime62, Icon, Icon_default;
3278
3278
  var init_Icon = __esm({
3279
3279
  "src/svg/Icon.tsx"() {
3280
3280
  "use strict";
3281
3281
  init_Icons();
3282
- import_jsx_runtime61 = require("react/jsx-runtime");
3282
+ import_jsx_runtime62 = require("react/jsx-runtime");
3283
3283
  Icon = ({ name, className, ...props }) => {
3284
3284
  const IconComponent = Icons_default[name];
3285
3285
  if (!IconComponent) {
3286
3286
  console.error(`Icon "${name}" not found.`);
3287
3287
  return null;
3288
3288
  }
3289
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(IconComponent, { ...props, className });
3289
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(IconComponent, { ...props, className });
3290
3290
  };
3291
3291
  Icon_default = Icon;
3292
3292
  }
@@ -3297,7 +3297,7 @@ var Pagination_exports = {};
3297
3297
  __export(Pagination_exports, {
3298
3298
  default: () => Pagination_default
3299
3299
  });
3300
- var import_react37, import_jsx_runtime62, Pagination, Pagination_default;
3300
+ var import_react37, import_jsx_runtime63, Pagination, Pagination_default;
3301
3301
  var init_Pagination = __esm({
3302
3302
  "src/components/Pagination.tsx"() {
3303
3303
  "use strict";
@@ -3308,7 +3308,7 @@ var init_Pagination = __esm({
3308
3308
  init_StyleTypes();
3309
3309
  init_InputControlType();
3310
3310
  init_Hyperlink();
3311
- import_jsx_runtime62 = require("react/jsx-runtime");
3311
+ import_jsx_runtime63 = require("react/jsx-runtime");
3312
3312
  Pagination = (props) => {
3313
3313
  const { dataset, path, query, showPageSizeSelector = false, showJumpToPage = false } = props;
3314
3314
  const builder = (0, import_react37.useMemo)(() => {
@@ -3352,7 +3352,7 @@ var init_Pagination = __esm({
3352
3352
  return range;
3353
3353
  };
3354
3354
  const paginationRange = getPaginationRange();
3355
- const PageButton = ({ page, children }) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3355
+ const PageButton = ({ page, children }) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3356
3356
  Hyperlink,
3357
3357
  {
3358
3358
  linkType: "Link" /* Link */,
@@ -3367,9 +3367,9 @@ var init_Pagination = __esm({
3367
3367
  );
3368
3368
  const NavigationButton = ({ page, disabled, children }) => {
3369
3369
  if (disabled) {
3370
- return /* @__PURE__ */ (0, import_jsx_runtime62.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 });
3370
+ return /* @__PURE__ */ (0, import_jsx_runtime63.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 });
3371
3371
  }
3372
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3372
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3373
3373
  Hyperlink,
3374
3374
  {
3375
3375
  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",
@@ -3379,35 +3379,35 @@ var init_Pagination = __esm({
3379
3379
  );
3380
3380
  };
3381
3381
  if (totalPages <= 1 && totalItems === 0) return null;
3382
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "py-6 border-t bg-default", children: [
3383
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
3384
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "text-sm", children: [
3382
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "py-6 border-t bg-default", children: [
3383
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
3384
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "text-sm", children: [
3385
3385
  "Showing ",
3386
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "font-semibold", children: [
3386
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { className: "font-semibold", children: [
3387
3387
  startItem,
3388
3388
  "-",
3389
3389
  endItem
3390
3390
  ] }),
3391
3391
  " ",
3392
3392
  "out of ",
3393
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
3393
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
3394
3394
  " results"
3395
3395
  ] }),
3396
- totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex items-center space-x-1", children: [
3397
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
3396
+ totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center space-x-1", children: [
3397
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3398
3398
  NavigationButton,
3399
3399
  {
3400
3400
  page: activePageNumber - 1,
3401
3401
  disabled: activePageNumber === 1,
3402
3402
  children: [
3403
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
3404
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-sm", children: "Prev" })
3403
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
3404
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-sm", children: "Prev" })
3405
3405
  ]
3406
3406
  }
3407
3407
  ),
3408
3408
  paginationRange.map((item, index) => {
3409
3409
  if (item === "...") {
3410
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3410
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3411
3411
  "span",
3412
3412
  {
3413
3413
  className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center text-gray-500",
@@ -3417,23 +3417,23 @@ var init_Pagination = __esm({
3417
3417
  );
3418
3418
  }
3419
3419
  const page = item;
3420
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(PageButton, { page, children: page }, page);
3420
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(PageButton, { page, children: page }, page);
3421
3421
  }),
3422
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
3422
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3423
3423
  NavigationButton,
3424
3424
  {
3425
3425
  page: activePageNumber + 1,
3426
3426
  disabled: activePageNumber === totalPages,
3427
3427
  children: [
3428
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-sm", children: "Next" }),
3429
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
3428
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-sm", children: "Next" }),
3429
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
3430
3430
  ]
3431
3431
  }
3432
3432
  )
3433
3433
  ] }),
3434
- showJumpToPage && totalPages > 5 && /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex items-center space-x-2", children: [
3435
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-sm", children: "Go to:" }),
3436
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3434
+ showJumpToPage && totalPages > 5 && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center space-x-2", children: [
3435
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-sm", children: "Go to:" }),
3436
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3437
3437
  "input",
3438
3438
  {
3439
3439
  type: "number",
@@ -3454,9 +3454,9 @@ var init_Pagination = __esm({
3454
3454
  ) })
3455
3455
  ] })
3456
3456
  ] }),
3457
- showPageSizeSelector && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex items-center justify-center space-x-2", children: [
3458
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-sm", children: "Show:" }),
3459
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3457
+ showPageSizeSelector && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center justify-center space-x-2", children: [
3458
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-sm", children: "Show:" }),
3459
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3460
3460
  Hyperlink,
3461
3461
  {
3462
3462
  className: `
@@ -3468,7 +3468,7 @@ var init_Pagination = __esm({
3468
3468
  },
3469
3469
  size
3470
3470
  )) }),
3471
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-sm", children: "per page" })
3471
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-sm", children: "per page" })
3472
3472
  ] }) })
3473
3473
  ] });
3474
3474
  };
@@ -3477,12 +3477,12 @@ var init_Pagination = __esm({
3477
3477
  });
3478
3478
 
3479
3479
  // src/components/controls/edit/MultilineTextInput.tsx
3480
- var import_react38, import_jsx_runtime63, MultilineTextInput, MultilineTextInput_default;
3480
+ var import_react38, import_jsx_runtime64, MultilineTextInput, MultilineTextInput_default;
3481
3481
  var init_MultilineTextInput = __esm({
3482
3482
  "src/components/controls/edit/MultilineTextInput.tsx"() {
3483
3483
  "use strict";
3484
3484
  import_react38 = __toESM(require("react"));
3485
- import_jsx_runtime63 = require("react/jsx-runtime");
3485
+ import_jsx_runtime64 = require("react/jsx-runtime");
3486
3486
  MultilineTextInput = (props) => {
3487
3487
  const textChangeHandler = (event) => {
3488
3488
  const text = event.target.value;
@@ -3501,11 +3501,11 @@ var init_MultilineTextInput = __esm({
3501
3501
  if (props.value !== void 0 && props.value !== null) {
3502
3502
  value = props.value;
3503
3503
  }
3504
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react38.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("label", { className: "block mb-1", children: [
3505
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
3504
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react38.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("label", { className: "block mb-1", children: [
3505
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
3506
3506
  " ",
3507
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "bg-error-weak", children: "*" }),
3508
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3507
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "bg-error-weak", children: "*" }),
3508
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3509
3509
  "textarea",
3510
3510
  {
3511
3511
  name: props.name,
@@ -3522,7 +3522,7 @@ var init_MultilineTextInput = __esm({
3522
3522
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm input"
3523
3523
  }
3524
3524
  ),
3525
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3525
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3526
3526
  ] }) });
3527
3527
  };
3528
3528
  MultilineTextInput_default = MultilineTextInput;
@@ -3530,12 +3530,12 @@ var init_MultilineTextInput = __esm({
3530
3530
  });
3531
3531
 
3532
3532
  // src/components/controls/edit/LineTextInput.tsx
3533
- var import_react39, import_jsx_runtime64, LineTextInput, LineTextInput_default;
3533
+ var import_react39, import_jsx_runtime65, LineTextInput, LineTextInput_default;
3534
3534
  var init_LineTextInput = __esm({
3535
3535
  "src/components/controls/edit/LineTextInput.tsx"() {
3536
3536
  "use strict";
3537
3537
  import_react39 = __toESM(require("react"));
3538
- import_jsx_runtime64 = require("react/jsx-runtime");
3538
+ import_jsx_runtime65 = require("react/jsx-runtime");
3539
3539
  LineTextInput = (props) => {
3540
3540
  const textChangeHandler = (event) => {
3541
3541
  const text = event.target.value;
@@ -3554,11 +3554,11 @@ var init_LineTextInput = __esm({
3554
3554
  if (props.value !== void 0 && props.value !== null) {
3555
3555
  value = props.value;
3556
3556
  }
3557
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react39.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("label", { className: "block", children: [
3558
- props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
3557
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react39.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("label", { className: "block", children: [
3558
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
3559
3559
  " ",
3560
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "bg-error-weak !bg-transparent", children: "*" }),
3561
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3560
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "bg-error-weak !bg-transparent", children: "*" }),
3561
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3562
3562
  "input",
3563
3563
  {
3564
3564
  type: "text",
@@ -3578,7 +3578,7 @@ var init_LineTextInput = __esm({
3578
3578
  `
3579
3579
  }
3580
3580
  ),
3581
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3581
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3582
3582
  ] }) });
3583
3583
  };
3584
3584
  LineTextInput_default = LineTextInput;
@@ -3586,12 +3586,12 @@ var init_LineTextInput = __esm({
3586
3586
  });
3587
3587
 
3588
3588
  // src/components/controls/edit/MoneyInput.tsx
3589
- var import_react40, import_jsx_runtime65, MoneyInput, MoneyInput_default;
3589
+ var import_react40, import_jsx_runtime66, MoneyInput, MoneyInput_default;
3590
3590
  var init_MoneyInput = __esm({
3591
3591
  "src/components/controls/edit/MoneyInput.tsx"() {
3592
3592
  "use strict";
3593
3593
  import_react40 = __toESM(require("react"));
3594
- import_jsx_runtime65 = require("react/jsx-runtime");
3594
+ import_jsx_runtime66 = require("react/jsx-runtime");
3595
3595
  MoneyInput = (props) => {
3596
3596
  const textChangeHandler = (event) => {
3597
3597
  const rawValue = event.target.value;
@@ -3620,11 +3620,11 @@ var init_MoneyInput = __esm({
3620
3620
  e.preventDefault();
3621
3621
  }
3622
3622
  };
3623
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react40.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("label", { className: "block mb-1", children: [
3624
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
3623
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react40.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("label", { className: "block mb-1", children: [
3624
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
3625
3625
  " ",
3626
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "bg-error-weak", children: "*" }),
3627
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3626
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "bg-error-weak", children: "*" }),
3627
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3628
3628
  "input",
3629
3629
  {
3630
3630
  type: "number",
@@ -3644,7 +3644,7 @@ var init_MoneyInput = __esm({
3644
3644
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
3645
3645
  }
3646
3646
  ),
3647
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3647
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3648
3648
  ] }) });
3649
3649
  };
3650
3650
  MoneyInput_default = MoneyInput;
@@ -3652,12 +3652,12 @@ var init_MoneyInput = __esm({
3652
3652
  });
3653
3653
 
3654
3654
  // src/components/controls/edit/Select.tsx
3655
- var import_react41, import_jsx_runtime66, Select, Select_default;
3655
+ var import_react41, import_jsx_runtime67, Select, Select_default;
3656
3656
  var init_Select = __esm({
3657
3657
  "src/components/controls/edit/Select.tsx"() {
3658
3658
  "use strict";
3659
3659
  import_react41 = require("react");
3660
- import_jsx_runtime66 = require("react/jsx-runtime");
3660
+ import_jsx_runtime67 = require("react/jsx-runtime");
3661
3661
  Select = (props) => {
3662
3662
  const [list, setList] = (0, import_react41.useState)();
3663
3663
  const getSafeValue = (val) => {
@@ -3729,11 +3729,11 @@ var init_Select = __esm({
3729
3729
  props.dataSourceDependsOn
3730
3730
  ]);
3731
3731
  const value = getSafeValue(props.value);
3732
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("label", { className: "block", children: [
3733
- props.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm font-medium inline-block pb-1", children: props.attributes?.label }),
3732
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("label", { className: "block", children: [
3733
+ props.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "text-sm font-medium inline-block pb-1", children: props.attributes?.label }),
3734
3734
  " ",
3735
- props.attributes?.label && props.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "bg-error-weak", children: "*" }),
3736
- list && list.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3735
+ props.attributes?.label && props.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "bg-error-weak", children: "*" }),
3736
+ list && list.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3737
3737
  "input",
3738
3738
  {
3739
3739
  type: "text",
@@ -3750,7 +3750,7 @@ var init_Select = __esm({
3750
3750
  className: `peer input select mt-1 py-1.5 block w-full rounded shadow-sm ${props.inputClasses ?? ""}`
3751
3751
  }
3752
3752
  ),
3753
- list && list.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
3753
+ list && list.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3754
3754
  "select",
3755
3755
  {
3756
3756
  name: props.name,
@@ -3763,16 +3763,16 @@ var init_Select = __esm({
3763
3763
  focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50
3764
3764
  disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none ${props.inputClasses ?? ""}`,
3765
3765
  children: [
3766
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("option", { value: "", children: props.attributes?.placeholder || "Select" }),
3766
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("option", { value: "", children: props.attributes?.placeholder || "Select" }),
3767
3767
  list.map((item, index) => {
3768
3768
  const keyField = props.dataKeyFieldName;
3769
3769
  const textField = props.dataTextFieldName;
3770
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("option", { value: item[keyField], children: item[textField] }, index);
3770
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("option", { value: item[keyField], children: item[textField] }, index);
3771
3771
  })
3772
3772
  ]
3773
3773
  }
3774
3774
  ),
3775
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 text-alert text-sm", children: props.attributes?.errorMessage || "" })
3775
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 text-alert text-sm", children: props.attributes?.errorMessage || "" })
3776
3776
  ] });
3777
3777
  };
3778
3778
  Select_default = Select;
@@ -3780,12 +3780,12 @@ var init_Select = __esm({
3780
3780
  });
3781
3781
 
3782
3782
  // src/components/controls/edit/PercentageInput.tsx
3783
- var import_react42, import_jsx_runtime67, PercentageInput, PercentageInput_default;
3783
+ var import_react42, import_jsx_runtime68, PercentageInput, PercentageInput_default;
3784
3784
  var init_PercentageInput = __esm({
3785
3785
  "src/components/controls/edit/PercentageInput.tsx"() {
3786
3786
  "use strict";
3787
3787
  import_react42 = __toESM(require("react"));
3788
- import_jsx_runtime67 = require("react/jsx-runtime");
3788
+ import_jsx_runtime68 = require("react/jsx-runtime");
3789
3789
  PercentageInput = (props) => {
3790
3790
  const textChangeHandler = (event) => {
3791
3791
  const rawValue = event.target.value;
@@ -3814,11 +3814,11 @@ var init_PercentageInput = __esm({
3814
3814
  e.preventDefault();
3815
3815
  }
3816
3816
  };
3817
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react42.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("label", { className: "block mb-1", children: [
3818
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label ? props?.attributes?.label + " %" : "" }),
3817
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react42.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("label", { className: "block mb-1", children: [
3818
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label ? props?.attributes?.label + " %" : "" }),
3819
3819
  " ",
3820
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "bg-error-weak", children: "*" }),
3821
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3820
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "bg-error-weak", children: "*" }),
3821
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3822
3822
  "input",
3823
3823
  {
3824
3824
  type: "number",
@@ -3837,7 +3837,7 @@ var init_PercentageInput = __esm({
3837
3837
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
3838
3838
  }
3839
3839
  ),
3840
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3840
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3841
3841
  ] }) });
3842
3842
  };
3843
3843
  PercentageInput_default = PercentageInput;
@@ -3845,12 +3845,12 @@ var init_PercentageInput = __esm({
3845
3845
  });
3846
3846
 
3847
3847
  // src/components/controls/edit/PhoneInput.tsx
3848
- var import_react43, import_jsx_runtime68, PhoneInput, PhoneInput_default;
3848
+ var import_react43, import_jsx_runtime69, PhoneInput, PhoneInput_default;
3849
3849
  var init_PhoneInput = __esm({
3850
3850
  "src/components/controls/edit/PhoneInput.tsx"() {
3851
3851
  "use strict";
3852
3852
  import_react43 = __toESM(require("react"));
3853
- import_jsx_runtime68 = require("react/jsx-runtime");
3853
+ import_jsx_runtime69 = require("react/jsx-runtime");
3854
3854
  PhoneInput = (props) => {
3855
3855
  const textChangeHandler = (event) => {
3856
3856
  const text = event.target.value;
@@ -3869,13 +3869,13 @@ var init_PhoneInput = __esm({
3869
3869
  if (props.value !== void 0 && props.value !== null) {
3870
3870
  value = props.value;
3871
3871
  }
3872
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react43.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("label", { className: "block mb-1", children: [
3873
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
3872
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react43.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("label", { className: "block mb-1", children: [
3873
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
3874
3874
  " ",
3875
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "bg-error-weak", children: "*" }),
3876
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "flex items-center rounded border ", children: [
3877
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "px-3", children: props.prefix }),
3878
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3875
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "bg-error-weak", children: "*" }),
3876
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex items-center rounded border ", children: [
3877
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "px-3", children: props.prefix }),
3878
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3879
3879
  "input",
3880
3880
  {
3881
3881
  type: "text",
@@ -3893,7 +3893,7 @@ var init_PhoneInput = __esm({
3893
3893
  }
3894
3894
  )
3895
3895
  ] }),
3896
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3896
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3897
3897
  ] }) });
3898
3898
  };
3899
3899
  PhoneInput_default = PhoneInput;
@@ -3901,12 +3901,12 @@ var init_PhoneInput = __esm({
3901
3901
  });
3902
3902
 
3903
3903
  // src/components/controls/edit/NumberInput.tsx
3904
- var import_react44, import_jsx_runtime69, NumberInput, NumberInput_default;
3904
+ var import_react44, import_jsx_runtime70, NumberInput, NumberInput_default;
3905
3905
  var init_NumberInput = __esm({
3906
3906
  "src/components/controls/edit/NumberInput.tsx"() {
3907
3907
  "use strict";
3908
3908
  import_react44 = __toESM(require("react"));
3909
- import_jsx_runtime69 = require("react/jsx-runtime");
3909
+ import_jsx_runtime70 = require("react/jsx-runtime");
3910
3910
  NumberInput = (props) => {
3911
3911
  const textChangeHandler = (event) => {
3912
3912
  const text = event.target.value;
@@ -3929,11 +3929,11 @@ var init_NumberInput = __esm({
3929
3929
  if (props.value !== void 0 && props.value !== null) {
3930
3930
  value = props.value;
3931
3931
  }
3932
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react44.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("label", { className: "block", children: [
3933
- props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
3932
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react44.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("label", { className: "block", children: [
3933
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
3934
3934
  " ",
3935
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "bg-error-weak", children: "*" }),
3936
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3935
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "bg-error-weak", children: "*" }),
3936
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3937
3937
  "input",
3938
3938
  {
3939
3939
  type: "number",
@@ -3952,7 +3952,7 @@ var init_NumberInput = __esm({
3952
3952
  className: "peer py-1.5 block w-full rounded shadow-sm number-input input\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
3953
3953
  }
3954
3954
  ),
3955
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3955
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
3956
3956
  ] }) });
3957
3957
  };
3958
3958
  NumberInput_default = NumberInput;
@@ -3960,12 +3960,12 @@ var init_NumberInput = __esm({
3960
3960
  });
3961
3961
 
3962
3962
  // src/components/controls/edit/CheckboxInput.tsx
3963
- var import_react45, import_jsx_runtime70, CheckboxInput, CheckboxInput_default;
3963
+ var import_react45, import_jsx_runtime71, CheckboxInput, CheckboxInput_default;
3964
3964
  var init_CheckboxInput = __esm({
3965
3965
  "src/components/controls/edit/CheckboxInput.tsx"() {
3966
3966
  "use strict";
3967
3967
  import_react45 = __toESM(require("react"));
3968
- import_jsx_runtime70 = require("react/jsx-runtime");
3968
+ import_jsx_runtime71 = require("react/jsx-runtime");
3969
3969
  CheckboxInput = (props) => {
3970
3970
  const textChangeHandler = (event) => {
3971
3971
  let text = event.target.checked;
@@ -3982,9 +3982,9 @@ var init_CheckboxInput = __esm({
3982
3982
  if (props.value != void 0 && props.value != null && props.value != "" && (props.value == "true" || props.value.toString() == "true")) {
3983
3983
  value = true;
3984
3984
  }
3985
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react45.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "mb-1", children: [
3986
- props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
3987
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3985
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react45.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "mb-1", children: [
3986
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
3987
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3988
3988
  "label",
3989
3989
  {
3990
3990
  htmlFor: props.name,
@@ -3992,9 +3992,9 @@ var init_CheckboxInput = __esm({
3992
3992
  children: props.attributes.label
3993
3993
  }
3994
3994
  ),
3995
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "bg-error-weak", children: "*" })
3995
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "bg-error-weak", children: "*" })
3996
3996
  ] }),
3997
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3997
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3998
3998
  "input",
3999
3999
  {
4000
4000
  type: "checkbox",
@@ -4011,7 +4011,7 @@ var init_CheckboxInput = __esm({
4011
4011
  className: "peer mt-1 py-1.5 block rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
4012
4012
  }
4013
4013
  ),
4014
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage || "" })
4014
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage || "" })
4015
4015
  ] }) });
4016
4016
  };
4017
4017
  CheckboxInput_default = CheckboxInput;
@@ -4019,12 +4019,12 @@ var init_CheckboxInput = __esm({
4019
4019
  });
4020
4020
 
4021
4021
  // src/components/controls/edit/OtpInput.tsx
4022
- var import_react46, import_jsx_runtime71, OtpInput, OtpInput_default;
4022
+ var import_react46, import_jsx_runtime72, OtpInput, OtpInput_default;
4023
4023
  var init_OtpInput = __esm({
4024
4024
  "src/components/controls/edit/OtpInput.tsx"() {
4025
4025
  "use strict";
4026
4026
  import_react46 = __toESM(require("react"));
4027
- import_jsx_runtime71 = require("react/jsx-runtime");
4027
+ import_jsx_runtime72 = require("react/jsx-runtime");
4028
4028
  OtpInput = (props) => {
4029
4029
  const textChangeHandler = (event) => {
4030
4030
  const text = event.target.value;
@@ -4046,11 +4046,11 @@ var init_OtpInput = __esm({
4046
4046
  if (props.value !== void 0 && props.value !== null) {
4047
4047
  value = props.value;
4048
4048
  }
4049
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react46.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("label", { htmlFor: props.name, className: "block mb-1 w-full", children: [
4050
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
4049
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react46.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("label", { htmlFor: props.name, className: "block mb-1 w-full", children: [
4050
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
4051
4051
  " ",
4052
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "bg-error-weak", children: "*" }),
4053
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4052
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "bg-error-weak", children: "*" }),
4053
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4054
4054
  "input",
4055
4055
  {
4056
4056
  type: "text",
@@ -4070,7 +4070,7 @@ var init_OtpInput = __esm({
4070
4070
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center"
4071
4071
  }
4072
4072
  ),
4073
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
4073
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
4074
4074
  ] }) });
4075
4075
  };
4076
4076
  OtpInput_default = OtpInput;
@@ -4078,12 +4078,12 @@ var init_OtpInput = __esm({
4078
4078
  });
4079
4079
 
4080
4080
  // src/components/controls/edit/DateTimeInput.tsx
4081
- var import_react47, import_jsx_runtime72, DateTimeInput, DateTimeInput_default;
4081
+ var import_react47, import_jsx_runtime73, DateTimeInput, DateTimeInput_default;
4082
4082
  var init_DateTimeInput = __esm({
4083
4083
  "src/components/controls/edit/DateTimeInput.tsx"() {
4084
4084
  "use strict";
4085
4085
  import_react47 = __toESM(require("react"));
4086
- import_jsx_runtime72 = require("react/jsx-runtime");
4086
+ import_jsx_runtime73 = require("react/jsx-runtime");
4087
4087
  DateTimeInput = (props) => {
4088
4088
  const textChangeHandler = (event) => {
4089
4089
  const localDate = new Date(event.target.value);
@@ -4115,12 +4115,12 @@ var init_DateTimeInput = __esm({
4115
4115
  e.preventDefault();
4116
4116
  }
4117
4117
  };
4118
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react47.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("label", { className: "block mb-1", children: [
4119
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
4118
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_react47.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("label", { className: "block mb-1", children: [
4119
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
4120
4120
  " ",
4121
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "bg-error-weak", children: "*" }),
4122
- /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex items-center gap-2", children: [
4123
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4121
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "bg-error-weak", children: "*" }),
4122
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex items-center gap-2", children: [
4123
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
4124
4124
  "input",
4125
4125
  {
4126
4126
  type: "datetime-local",
@@ -4138,9 +4138,9 @@ var init_DateTimeInput = __esm({
4138
4138
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
4139
4139
  }
4140
4140
  ),
4141
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { children: timeZoneAbbr })
4141
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: timeZoneAbbr })
4142
4142
  ] }),
4143
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
4143
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
4144
4144
  ] }) });
4145
4145
  };
4146
4146
  DateTimeInput_default = DateTimeInput;
@@ -4148,12 +4148,12 @@ var init_DateTimeInput = __esm({
4148
4148
  });
4149
4149
 
4150
4150
  // src/components/controls/edit/ColorInput.tsx
4151
- var import_react48, import_jsx_runtime73, ColorInput, ColorInput_default;
4151
+ var import_react48, import_jsx_runtime74, ColorInput, ColorInput_default;
4152
4152
  var init_ColorInput = __esm({
4153
4153
  "src/components/controls/edit/ColorInput.tsx"() {
4154
4154
  "use strict";
4155
4155
  import_react48 = __toESM(require("react"));
4156
- import_jsx_runtime73 = require("react/jsx-runtime");
4156
+ import_jsx_runtime74 = require("react/jsx-runtime");
4157
4157
  ColorInput = (props) => {
4158
4158
  const [color, setColor] = import_react48.default.useState("#3b82f6");
4159
4159
  (0, import_react48.useEffect)(() => {
@@ -4175,11 +4175,11 @@ var init_ColorInput = __esm({
4175
4175
  });
4176
4176
  }
4177
4177
  };
4178
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("label", { className: "block mb-1", children: [
4179
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
4178
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("label", { className: "block mb-1", children: [
4179
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
4180
4180
  " ",
4181
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "bg-error-weak", children: "*" }),
4182
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
4181
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "bg-error-weak", children: "*" }),
4182
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4183
4183
  "input",
4184
4184
  {
4185
4185
  type: "color",
@@ -4192,7 +4192,7 @@ var init_ColorInput = __esm({
4192
4192
  className: `w-[78px] h-12 block cursor-pointer`
4193
4193
  }
4194
4194
  ),
4195
- props?.attributes?.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: "mt-1 bg-error-weak text-sm", children: props.attributes.errorMessage })
4195
+ props?.attributes?.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: "mt-1 bg-error-weak text-sm", children: props.attributes.errorMessage })
4196
4196
  ] });
4197
4197
  };
4198
4198
  ColorInput_default = ColorInput;
@@ -4200,13 +4200,13 @@ var init_ColorInput = __esm({
4200
4200
  });
4201
4201
 
4202
4202
  // src/components/controls/edit/SelectWithSearchInput.tsx
4203
- var import_react49, import_jsx_runtime74, SelectWithSearchInput, SelectWithSearchInput_default;
4203
+ var import_react49, import_jsx_runtime75, SelectWithSearchInput, SelectWithSearchInput_default;
4204
4204
  var init_SelectWithSearchInput = __esm({
4205
4205
  "src/components/controls/edit/SelectWithSearchInput.tsx"() {
4206
4206
  "use strict";
4207
4207
  "use client";
4208
4208
  import_react49 = __toESM(require("react"));
4209
- import_jsx_runtime74 = require("react/jsx-runtime");
4209
+ import_jsx_runtime75 = require("react/jsx-runtime");
4210
4210
  SelectWithSearchInput = (props) => {
4211
4211
  const [isOpen, setIsOpen] = (0, import_react49.useState)(false);
4212
4212
  const [searchTerm, setSearchTerm] = (0, import_react49.useState)("");
@@ -4301,14 +4301,14 @@ var init_SelectWithSearchInput = __esm({
4301
4301
  }
4302
4302
  }, [highlightedIndex]);
4303
4303
  const isReadOnly = props.attributes?.readOnly || props.disable || props.attributes?.disable;
4304
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "relative", children: [
4305
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("label", { className: "pb-1", children: [
4304
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "relative", children: [
4305
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("label", { className: "pb-1", children: [
4306
4306
  props.attributes?.label,
4307
4307
  " ",
4308
- props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "bg-error-weak", children: "*" })
4308
+ props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "bg-error-weak", children: "*" })
4309
4309
  ] }),
4310
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "relative", children: [
4311
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4310
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "relative", children: [
4311
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4312
4312
  "input",
4313
4313
  {
4314
4314
  type: "text",
@@ -4330,7 +4330,7 @@ var init_SelectWithSearchInput = __esm({
4330
4330
  `
4331
4331
  }
4332
4332
  ),
4333
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4333
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4334
4334
  "button",
4335
4335
  {
4336
4336
  type: "button",
@@ -4341,7 +4341,7 @@ var init_SelectWithSearchInput = __esm({
4341
4341
  }
4342
4342
  },
4343
4343
  className: "absolute right-2 top-3 h-5 w-5 text-gray-500 focus:outline-none",
4344
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4344
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4345
4345
  "svg",
4346
4346
  {
4347
4347
  xmlns: "http://www.w3.org/2000/svg",
@@ -4350,7 +4350,7 @@ var init_SelectWithSearchInput = __esm({
4350
4350
  strokeWidth: 1.5,
4351
4351
  stroke: "currentColor",
4352
4352
  className: "w-full h-full",
4353
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4353
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4354
4354
  "path",
4355
4355
  {
4356
4356
  strokeLinecap: "round",
@@ -4363,12 +4363,12 @@ var init_SelectWithSearchInput = __esm({
4363
4363
  }
4364
4364
  )
4365
4365
  ] }),
4366
- !isReadOnly && isOpen && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4366
+ !isReadOnly && isOpen && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4367
4367
  "div",
4368
4368
  {
4369
4369
  ref: dropdownRef,
4370
4370
  className: "absolute z-10 w-full bg-default border border-gray-200 shadow-lg max-h-48 overflow-y-auto",
4371
- children: filteredItems.length > 0 ? filteredItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4371
+ children: filteredItems.length > 0 ? filteredItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4372
4372
  "button",
4373
4373
  {
4374
4374
  onClick: (e) => handleSelect(e, item),
@@ -4376,10 +4376,10 @@ var init_SelectWithSearchInput = __esm({
4376
4376
  role: "option",
4377
4377
  tabIndex: -1,
4378
4378
  onMouseEnter: () => setHighlightedIndex(index),
4379
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { children: item[props.dataTextFieldName] })
4379
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { children: item[props.dataTextFieldName] })
4380
4380
  },
4381
4381
  item[props.dataKeyFieldName]
4382
- )) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "px-4 py-2 text-gray-500", children: "No results found" })
4382
+ )) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "px-4 py-2 text-gray-500", children: "No results found" })
4383
4383
  }
4384
4384
  )
4385
4385
  ] });
@@ -4389,14 +4389,14 @@ var init_SelectWithSearchInput = __esm({
4389
4389
  });
4390
4390
 
4391
4391
  // src/components/controls/edit/SelectWithSearchPanel.tsx
4392
- var import_react50, import_jsx_runtime75, SelectWithSearchPanel, SelectWithSearchPanel_default;
4392
+ var import_react50, import_jsx_runtime76, SelectWithSearchPanel, SelectWithSearchPanel_default;
4393
4393
  var init_SelectWithSearchPanel = __esm({
4394
4394
  "src/components/controls/edit/SelectWithSearchPanel.tsx"() {
4395
4395
  "use strict";
4396
4396
  "use client";
4397
4397
  init_Button();
4398
4398
  import_react50 = __toESM(require("react"));
4399
- import_jsx_runtime75 = require("react/jsx-runtime");
4399
+ import_jsx_runtime76 = require("react/jsx-runtime");
4400
4400
  SelectWithSearchPanel = (props) => {
4401
4401
  const [isOpen, setIsOpen] = (0, import_react50.useState)(false);
4402
4402
  const [searchTerm, setSearchTerm] = (0, import_react50.useState)("");
@@ -4532,14 +4532,14 @@ var init_SelectWithSearchPanel = __esm({
4532
4532
  console.log("Form Data:", formData);
4533
4533
  return formData;
4534
4534
  }, []);
4535
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "relative", children: [
4536
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("label", { className: "text-sm mb-1 font-medium", children: [
4535
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "relative", children: [
4536
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("label", { className: "text-sm mb-1 font-medium", children: [
4537
4537
  props.attributes?.label,
4538
4538
  " ",
4539
4539
  " ",
4540
- props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "bg-error-weak", children: "*" })
4540
+ props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "bg-error-weak", children: "*" })
4541
4541
  ] }),
4542
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4542
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4543
4543
  "input",
4544
4544
  {
4545
4545
  type: "text",
@@ -4553,14 +4553,14 @@ var init_SelectWithSearchPanel = __esm({
4553
4553
  disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none`
4554
4554
  }
4555
4555
  ) }),
4556
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { ref: containerRef, children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_react50.default.Fragment, { children: [
4557
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "fixed z-50 right-0 bg-white top-[62px] w-1/4 border-l border-gray-200", children: [
4558
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex flex-col p-2 bg-accent-950 text-white", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("h5", { className: "text-md text-white font-medium", children: [
4556
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { ref: containerRef, children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_react50.default.Fragment, { children: [
4557
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "fixed z-50 right-0 bg-white top-[62px] w-1/4 border-l border-gray-200", children: [
4558
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "flex flex-col p-2 bg-accent-950 text-white", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("h5", { className: "text-md text-white font-medium", children: [
4559
4559
  "Select a",
4560
4560
  " ",
4561
4561
  props.attributes?.label || props.attributes?.heading
4562
4562
  ] }) }),
4563
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex justify-end px-4 border-b py-2 border-gray-200 h-10", children: props.createFields && props.createFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4563
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "flex justify-end px-4 border-b py-2 border-gray-200 h-10", children: props.createFields && props.createFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4564
4564
  "button",
4565
4565
  {
4566
4566
  type: "button",
@@ -4573,12 +4573,12 @@ var init_SelectWithSearchPanel = __esm({
4573
4573
  }
4574
4574
  ) })
4575
4575
  ] }),
4576
- isCreateOpen && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "fixed right-0 w-1/4 h-full top-[62px] bg-white shadow-lg border-l border-gray-200 z-50", children: [
4577
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex flex-col p-2 bg-accent-950", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("h5", { className: "text-md font-medium text-white", children: [
4576
+ isCreateOpen && /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "fixed right-0 w-1/4 h-full top-[62px] bg-white shadow-lg border-l border-gray-200 z-50", children: [
4577
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "flex flex-col p-2 bg-accent-950", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("h5", { className: "text-md font-medium text-white", children: [
4578
4578
  "Create New ",
4579
4579
  props.attributes?.label
4580
4580
  ] }) }),
4581
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex justify-end px-4 border-b py-2 border-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4581
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "flex justify-end px-4 border-b py-2 border-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4582
4582
  "button",
4583
4583
  {
4584
4584
  type: "button",
@@ -4587,10 +4587,10 @@ var init_SelectWithSearchPanel = __esm({
4587
4587
  children: "Close"
4588
4588
  }
4589
4589
  ) }),
4590
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "p-4", children: [
4591
- props.createFields?.map((field) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "mb-4", children: [
4592
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("label", { className: "text-sm mb-1 font-medium block", children: field.label }),
4593
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4590
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "p-4", children: [
4591
+ props.createFields?.map((field) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "mb-4", children: [
4592
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("label", { className: "text-sm mb-1 font-medium block", children: field.label }),
4593
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4594
4594
  "input",
4595
4595
  {
4596
4596
  type: field.type,
@@ -4606,7 +4606,7 @@ var init_SelectWithSearchPanel = __esm({
4606
4606
  }
4607
4607
  )
4608
4608
  ] }, field.name)),
4609
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(Button_default, { onClick: async () => {
4609
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(Button_default, { onClick: async () => {
4610
4610
  handleSaveModal();
4611
4611
  return { isSuccessful: true };
4612
4612
  }, className: "w-full", children: [
@@ -4615,13 +4615,13 @@ var init_SelectWithSearchPanel = __esm({
4615
4615
  ] })
4616
4616
  ] })
4617
4617
  ] }),
4618
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4618
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4619
4619
  "div",
4620
4620
  {
4621
4621
  ref: listRef,
4622
4622
  className: "fixed z-10 right-0 mt-[130px] top-0 w-1/4 bg-white border-l border-gray-200 shadow-lg overflow-y-auto",
4623
4623
  style: { height: "calc(100vh - 130px)" },
4624
- children: filteredItems.length > 0 ? filteredItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
4624
+ children: filteredItems.length > 0 ? filteredItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4625
4625
  "button",
4626
4626
  {
4627
4627
  onClick: (e) => {
@@ -4631,9 +4631,9 @@ var init_SelectWithSearchPanel = __esm({
4631
4631
  role: "option",
4632
4632
  tabIndex: -1,
4633
4633
  onMouseEnter: () => setHighlightedIndex(index),
4634
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { children: getNestedValue7(item, props.dataTextFieldName) })
4634
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { children: getNestedValue7(item, props.dataTextFieldName) })
4635
4635
  }
4636
- ) }, item[props.dataKeyFieldName])) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "px-4 py-2 text-gray-500", children: "No results found" })
4636
+ ) }, item[props.dataKeyFieldName])) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "px-4 py-2 text-gray-500", children: "No results found" })
4637
4637
  }
4638
4638
  )
4639
4639
  ] }) })
@@ -4644,12 +4644,12 @@ var init_SelectWithSearchPanel = __esm({
4644
4644
  });
4645
4645
 
4646
4646
  // src/components/controls/edit/BooleanSelect.tsx
4647
- var import_react51, import_jsx_runtime76, BooleanSelect, BooleanSelect_default;
4647
+ var import_react51, import_jsx_runtime77, BooleanSelect, BooleanSelect_default;
4648
4648
  var init_BooleanSelect = __esm({
4649
4649
  "src/components/controls/edit/BooleanSelect.tsx"() {
4650
4650
  "use strict";
4651
4651
  import_react51 = __toESM(require("react"));
4652
- import_jsx_runtime76 = require("react/jsx-runtime");
4652
+ import_jsx_runtime77 = require("react/jsx-runtime");
4653
4653
  BooleanSelect = (props) => {
4654
4654
  const [list, setList] = (0, import_react51.useState)();
4655
4655
  const textChangeHandler = (event) => {
@@ -4698,11 +4698,11 @@ var init_BooleanSelect = __esm({
4698
4698
  if (props.value !== void 0 && props.value !== null) {
4699
4699
  value = props.value;
4700
4700
  }
4701
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_react51.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("label", { className: "block", children: [
4702
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
4701
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react51.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("label", { className: "block", children: [
4702
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
4703
4703
  " ",
4704
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "bg-error-weak", children: "*" }),
4705
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
4704
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "bg-error-weak", children: "*" }),
4705
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
4706
4706
  "select",
4707
4707
  {
4708
4708
  name: props.name,
@@ -4714,9 +4714,9 @@ var init_BooleanSelect = __esm({
4714
4714
  disabled: props?.attributes?.readOnly,
4715
4715
  className: "peer mt-1 py-1.5 block w-full text-black rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n ",
4716
4716
  children: [
4717
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("option", { className: "", value: "", children: props.attributes?.placeholder || "Select" }),
4717
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("option", { className: "", value: "", children: props.attributes?.placeholder || "Select" }),
4718
4718
  list && list.map((item, i) => {
4719
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
4719
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
4720
4720
  "option",
4721
4721
  {
4722
4722
  className: "fac-select-option",
@@ -4729,7 +4729,7 @@ var init_BooleanSelect = __esm({
4729
4729
  ]
4730
4730
  }
4731
4731
  ),
4732
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
4732
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
4733
4733
  ] }) });
4734
4734
  };
4735
4735
  BooleanSelect_default = BooleanSelect;
@@ -4737,12 +4737,12 @@ var init_BooleanSelect = __esm({
4737
4737
  });
4738
4738
 
4739
4739
  // src/components/controls/edit/EmailInput.tsx
4740
- var import_react52, import_jsx_runtime77, EmailInput, EmailInput_default;
4740
+ var import_react52, import_jsx_runtime78, EmailInput, EmailInput_default;
4741
4741
  var init_EmailInput = __esm({
4742
4742
  "src/components/controls/edit/EmailInput.tsx"() {
4743
4743
  "use strict";
4744
4744
  import_react52 = __toESM(require("react"));
4745
- import_jsx_runtime77 = require("react/jsx-runtime");
4745
+ import_jsx_runtime78 = require("react/jsx-runtime");
4746
4746
  EmailInput = (props) => {
4747
4747
  const textChangeHandler = (event) => {
4748
4748
  const text = event.target.value;
@@ -4767,11 +4767,11 @@ var init_EmailInput = __esm({
4767
4767
  if (props.value !== void 0 && props.value !== null) {
4768
4768
  value = props.value;
4769
4769
  }
4770
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react52.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("label", { className: "block mb-1", children: [
4771
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "text-sm font-medium text-slate-700", children: props?.attributes?.label }),
4770
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react52.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("label", { className: "block mb-1", children: [
4771
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-sm font-medium text-slate-700", children: props?.attributes?.label }),
4772
4772
  " ",
4773
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "bg-error-weak", children: "*" }),
4774
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
4773
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "bg-error-weak", children: "*" }),
4774
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
4775
4775
  "input",
4776
4776
  {
4777
4777
  type: "email",
@@ -4787,7 +4787,7 @@ var init_EmailInput = __esm({
4787
4787
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n transition-all duration-500 ease-in-out"
4788
4788
  }
4789
4789
  ),
4790
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 mb-0 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
4790
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 mb-0 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
4791
4791
  ] }) });
4792
4792
  };
4793
4793
  EmailInput_default = EmailInput;
@@ -4795,13 +4795,13 @@ var init_EmailInput = __esm({
4795
4795
  });
4796
4796
 
4797
4797
  // src/components/controls/edit/TimeInput.tsx
4798
- var import_react53, import_jsx_runtime78, TimeInput, TimeInput_default;
4798
+ var import_react53, import_jsx_runtime79, TimeInput, TimeInput_default;
4799
4799
  var init_TimeInput = __esm({
4800
4800
  "src/components/controls/edit/TimeInput.tsx"() {
4801
4801
  "use strict";
4802
4802
  "use client";
4803
4803
  import_react53 = __toESM(require("react"));
4804
- import_jsx_runtime78 = require("react/jsx-runtime");
4804
+ import_jsx_runtime79 = require("react/jsx-runtime");
4805
4805
  TimeInput = (props) => {
4806
4806
  const timeChangeHandler = (event) => {
4807
4807
  const timeValue = event.target.value;
@@ -4814,11 +4814,11 @@ var init_TimeInput = __esm({
4814
4814
  });
4815
4815
  }
4816
4816
  };
4817
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react53.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("label", { className: "block mb-1", children: [
4818
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
4817
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_react53.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("label", { className: "block mb-1", children: [
4818
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
4819
4819
  " ",
4820
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "bg-error-weak", children: "*" }),
4821
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
4820
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "bg-error-weak", children: "*" }),
4821
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
4822
4822
  "input",
4823
4823
  {
4824
4824
  type: "time",
@@ -4831,7 +4831,7 @@ var init_TimeInput = __esm({
4831
4831
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
4832
4832
  }
4833
4833
  ) }),
4834
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
4834
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
4835
4835
  ] }) });
4836
4836
  };
4837
4837
  TimeInput_default = TimeInput;
@@ -4839,7 +4839,7 @@ var init_TimeInput = __esm({
4839
4839
  });
4840
4840
 
4841
4841
  // src/components/controls/edit/AssetUpload.tsx
4842
- var import_react54, import_jsx_runtime79, AssetUpload, AssetUpload_default;
4842
+ var import_react54, import_jsx_runtime80, AssetUpload, AssetUpload_default;
4843
4843
  var init_AssetUpload = __esm({
4844
4844
  "src/components/controls/edit/AssetUpload.tsx"() {
4845
4845
  "use strict";
@@ -4850,7 +4850,7 @@ var init_AssetUpload = __esm({
4850
4850
  init_AssetUtility();
4851
4851
  init_Hyperlink();
4852
4852
  init_Icon();
4853
- import_jsx_runtime79 = require("react/jsx-runtime");
4853
+ import_jsx_runtime80 = require("react/jsx-runtime");
4854
4854
  AssetUpload = (props) => {
4855
4855
  const isDisabled = props.attributes?.disable ?? false;
4856
4856
  let allValues = [];
@@ -4947,10 +4947,10 @@ var init_AssetUpload = __esm({
4947
4947
  }
4948
4948
  return false;
4949
4949
  };
4950
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_react54.default.Fragment, { children: [
4951
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "block mb-1", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }) }),
4952
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex gap-6 bg-neutral-100 rounded p-2", children: [
4953
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
4950
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_react54.default.Fragment, { children: [
4951
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("label", { className: "block mb-1", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }) }),
4952
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex gap-6 bg-neutral-100 rounded p-2", children: [
4953
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
4954
4954
  ClientButton_default,
4955
4955
  {
4956
4956
  className: assetType === "image" ? "px-2 py-1 rounded bg-body-200 scale-95" : "text-neutral-700",
@@ -4960,7 +4960,7 @@ var init_AssetUpload = __esm({
4960
4960
  children: "Image Upload"
4961
4961
  }
4962
4962
  ),
4963
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
4963
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
4964
4964
  ClientButton_default,
4965
4965
  {
4966
4966
  className: assetType === "video" ? "bg-body-200 px-2 py-1 rounded-md scale-95" : "text-neutral-700",
@@ -4971,13 +4971,13 @@ var init_AssetUpload = __esm({
4971
4971
  }
4972
4972
  )
4973
4973
  ] }),
4974
- shouldShowDetails() && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "relative mt-4 rounded-md p-4 border-2 border-dotted border-gray-300 bg-gray-50", children: [
4975
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "absolute -top-2.5 left-3 bg-primary-600 text-white text-xs px-2 py-0.5 rounded-full", children: getAssetType(allValues[0]) === "video" ? "Video" : "Image" }),
4976
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "flex flex-col gap-3", children: allValues.map((digitalAsset, index) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex justify-between items-start gap-5", children: [
4977
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "grid grid-cols-2 gap-x-8 gap-y-3 text-sm w-full", children: [
4978
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { children: [
4979
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-gray-500", children: "Title" }),
4980
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
4974
+ shouldShowDetails() && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "relative mt-4 rounded-md p-4 border-2 border-dotted border-gray-300 bg-gray-50", children: [
4975
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "absolute -top-2.5 left-3 bg-primary-600 text-white text-xs px-2 py-0.5 rounded-full", children: getAssetType(allValues[0]) === "video" ? "Video" : "Image" }),
4976
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "flex flex-col gap-3", children: allValues.map((digitalAsset, index) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex justify-between items-start gap-5", children: [
4977
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "grid grid-cols-2 gap-x-8 gap-y-3 text-sm w-full", children: [
4978
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { children: [
4979
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-gray-500", children: "Title" }),
4980
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
4981
4981
  "input",
4982
4982
  {
4983
4983
  type: "text",
@@ -4989,18 +4989,18 @@ var init_AssetUpload = __esm({
4989
4989
  }
4990
4990
  )
4991
4991
  ] }),
4992
- digitalAsset.intrinsicWidth && digitalAsset.intrinsicHeight && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { children: [
4993
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-gray-500", children: "Resolution" }),
4994
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("p", { className: "font-medium text-gray-900 mt-3", children: [
4992
+ digitalAsset.intrinsicWidth && digitalAsset.intrinsicHeight && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { children: [
4993
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-gray-500", children: "Resolution" }),
4994
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("p", { className: "font-medium text-gray-900 mt-3", children: [
4995
4995
  digitalAsset.intrinsicWidth,
4996
4996
  "\xD7",
4997
4997
  digitalAsset.intrinsicHeight
4998
4998
  ] })
4999
4999
  ] }),
5000
- (digitalAsset.assetUrl || digitalAsset.posterUrl) && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { children: [
5001
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-gray-500", children: "Image / Poster" }),
5002
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex-shrink-0 flex flex-col gap-3 mt-1", children: [
5003
- getAssetType(digitalAsset) === "video" && digitalAsset.posterUrl && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5000
+ (digitalAsset.assetUrl || digitalAsset.posterUrl) && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { children: [
5001
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-gray-500", children: "Image / Poster" }),
5002
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex-shrink-0 flex flex-col gap-3 mt-1", children: [
5003
+ getAssetType(digitalAsset) === "video" && digitalAsset.posterUrl && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5004
5004
  "img",
5005
5005
  {
5006
5006
  src: AssetUtility_default.resolveUrl(props.serviceClient?.baseUrl, digitalAsset.posterUrl),
@@ -5008,7 +5008,7 @@ var init_AssetUpload = __esm({
5008
5008
  className: "w-32 h-auto object-cover rounded border p-1"
5009
5009
  }
5010
5010
  ),
5011
- getAssetType(digitalAsset) === "image" && digitalAsset.assetUrl && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5011
+ getAssetType(digitalAsset) === "image" && digitalAsset.assetUrl && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5012
5012
  "img",
5013
5013
  {
5014
5014
  src: AssetUtility_default.resolveUrl(props.serviceClient?.baseUrl, digitalAsset.assetUrl),
@@ -5018,9 +5018,9 @@ var init_AssetUpload = __esm({
5018
5018
  )
5019
5019
  ] })
5020
5020
  ] }),
5021
- digitalAsset.assetUrl?.endsWith(".m3u8") && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "col-span-2", children: [
5022
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-gray-500", children: "HLS Link" }),
5023
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5021
+ digitalAsset.assetUrl?.endsWith(".m3u8") && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "col-span-2", children: [
5022
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-gray-500", children: "HLS Link" }),
5023
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5024
5024
  Hyperlink,
5025
5025
  {
5026
5026
  href: digitalAsset.assetUrl,
@@ -5031,12 +5031,12 @@ var init_AssetUpload = __esm({
5031
5031
  )
5032
5032
  ] })
5033
5033
  ] }),
5034
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5034
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5035
5035
  "span",
5036
5036
  {
5037
5037
  onClick: () => !isDisabled && deleteFile(index),
5038
5038
  className: isDisabled ? "cursor-not-allowed opacity-50" : "cursor-pointer",
5039
- children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon_default, { className: "w-4 h-4 text-primary", name: "delete" })
5039
+ children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon_default, { className: "w-4 h-4 text-primary", name: "delete" })
5040
5040
  }
5041
5041
  )
5042
5042
  ] }, index)) })
@@ -5048,12 +5048,12 @@ var init_AssetUpload = __esm({
5048
5048
  });
5049
5049
 
5050
5050
  // src/components/controls/edit/SwitchInput.tsx
5051
- var import_react55, import_jsx_runtime80, SwitchInput, SwitchInput_default;
5051
+ var import_react55, import_jsx_runtime81, SwitchInput, SwitchInput_default;
5052
5052
  var init_SwitchInput = __esm({
5053
5053
  "src/components/controls/edit/SwitchInput.tsx"() {
5054
5054
  "use strict";
5055
5055
  import_react55 = __toESM(require("react"));
5056
- import_jsx_runtime80 = require("react/jsx-runtime");
5056
+ import_jsx_runtime81 = require("react/jsx-runtime");
5057
5057
  SwitchInput = (props) => {
5058
5058
  const textChangeHandler = (event) => {
5059
5059
  let text = event.target.checked;
@@ -5070,28 +5070,28 @@ var init_SwitchInput = __esm({
5070
5070
  if (props.value != void 0 && props.value != null && props.value != "" && (props.value == "true" || props.value.toString() == "true")) {
5071
5071
  value = true;
5072
5072
  }
5073
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react55.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex items-start justify-between gap-4 py-3", children: [
5074
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "min-w-0", children: [
5075
- props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
5073
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react55.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex items-start justify-between gap-4 py-3", children: [
5074
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "min-w-0", children: [
5075
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
5076
5076
  "label",
5077
5077
  {
5078
5078
  htmlFor: props.name,
5079
5079
  className: "inline-block text-sm font-semibold text-slate-800",
5080
5080
  children: [
5081
5081
  props.attributes.label,
5082
- props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "bg-error-weak", children: "*" })
5082
+ props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "bg-error-weak", children: "*" })
5083
5083
  ]
5084
5084
  }
5085
5085
  ),
5086
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage || "" })
5086
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage || "" })
5087
5087
  ] }),
5088
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
5088
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
5089
5089
  "label",
5090
5090
  {
5091
5091
  htmlFor: props.name,
5092
5092
  className: "relative inline-flex shrink-0 cursor-pointer items-center peer-disabled:cursor-not-allowed",
5093
5093
  children: [
5094
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5094
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5095
5095
  "input",
5096
5096
  {
5097
5097
  type: "checkbox",
@@ -5104,13 +5104,13 @@ var init_SwitchInput = __esm({
5104
5104
  className: "peer sr-only"
5105
5105
  }
5106
5106
  ),
5107
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5107
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5108
5108
  "div",
5109
5109
  {
5110
5110
  className: "h-6 w-11 rounded-full bg-slate-200 shadow-inner\n transition-colors duration-200 ease-in-out\n peer-checked:bg-blue-600\n peer-focus-visible:ring-2 peer-focus-visible:ring-blue-300 peer-focus-visible:ring-offset-2\n peer-disabled:bg-slate-100"
5111
5111
  }
5112
5112
  ),
5113
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
5113
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5114
5114
  "div",
5115
5115
  {
5116
5116
  className: "absolute left-0.5 top-0.5 h-5 w-5 rounded-full bg-default shadow\n transition-transform duration-200 ease-in-out\n peer-checked:translate-x-5\n peer-disabled:bg-slate-50"
@@ -5208,13 +5208,13 @@ var init_DateTimeUtility = __esm({
5208
5208
  });
5209
5209
 
5210
5210
  // src/components/controls/edit/DateInput.tsx
5211
- var import_react56, import_jsx_runtime81, DateInput, DateInput_default;
5211
+ var import_react56, import_jsx_runtime82, DateInput, DateInput_default;
5212
5212
  var init_DateInput = __esm({
5213
5213
  "src/components/controls/edit/DateInput.tsx"() {
5214
5214
  "use strict";
5215
5215
  import_react56 = require("react");
5216
5216
  init_DateTimeUtility();
5217
- import_jsx_runtime81 = require("react/jsx-runtime");
5217
+ import_jsx_runtime82 = require("react/jsx-runtime");
5218
5218
  DateInput = (props) => {
5219
5219
  const value = (0, import_react56.useMemo)(() => {
5220
5220
  if (props.value === void 0 || props.value === null || props.value === "") {
@@ -5248,11 +5248,11 @@ var init_DateInput = __esm({
5248
5248
  groupKey: props.groupKey
5249
5249
  });
5250
5250
  };
5251
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("label", { className: "block mb-1", children: [
5252
- props.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "text-sm font-medium", children: props.attributes.label }),
5251
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("label", { className: "block mb-1", children: [
5252
+ props.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "text-sm font-medium", children: props.attributes.label }),
5253
5253
  " ",
5254
- props.attributes?.label && props.attributes.required && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "bg-error-weak", children: "*" }),
5255
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5254
+ props.attributes?.label && props.attributes.required && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "bg-error-weak", children: "*" }),
5255
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5256
5256
  "input",
5257
5257
  {
5258
5258
  type: "date",
@@ -5266,7 +5266,7 @@ var init_DateInput = __esm({
5266
5266
  className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm ${props.inputClasses ?? ""}`
5267
5267
  }
5268
5268
  ),
5269
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
5269
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
5270
5270
  ] });
5271
5271
  };
5272
5272
  DateInput_default = DateInput;
@@ -5274,13 +5274,13 @@ var init_DateInput = __esm({
5274
5274
  });
5275
5275
 
5276
5276
  // src/components/controls/edit/RadioInput.tsx
5277
- var import_react57, import_jsx_runtime82, RadioInput, RadioInput_default;
5277
+ var import_react57, import_jsx_runtime83, RadioInput, RadioInput_default;
5278
5278
  var init_RadioInput = __esm({
5279
5279
  "src/components/controls/edit/RadioInput.tsx"() {
5280
5280
  "use strict";
5281
5281
  import_react57 = require("react");
5282
5282
  init_Icon();
5283
- import_jsx_runtime82 = require("react/jsx-runtime");
5283
+ import_jsx_runtime83 = require("react/jsx-runtime");
5284
5284
  RadioInput = (props) => {
5285
5285
  const [list, setList] = (0, import_react57.useState)([]);
5286
5286
  (0, import_react57.useEffect)(() => {
@@ -5325,22 +5325,22 @@ var init_RadioInput = __esm({
5325
5325
  });
5326
5326
  }
5327
5327
  };
5328
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "block", children: [
5329
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "text-sm font-medium", children: props.attributes?.label }),
5330
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "flex flex-col gap-3", children: list.map((item, index) => {
5328
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "block", children: [
5329
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: "text-sm font-medium", children: props.attributes?.label }),
5330
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "flex flex-col gap-3", children: list.map((item, index) => {
5331
5331
  const itemValue = item[props.dataKeyFieldName];
5332
5332
  const isSelected = String(itemValue) === String(props.value ?? "");
5333
5333
  const isRecommended = props.dataRecommendedValue !== void 0 && String(itemValue) === String(props.dataRecommendedValue);
5334
5334
  const resultClassName = isSelected ? isRecommended ? "bg-success" : props.dataRecommendedValue ? "bg-alert" : "border-transparent" : "border-transparent";
5335
5335
  const iconName = isSelected && props.dataRecommendedValue ? isRecommended ? "checkCircle" : "xCircle" : void 0;
5336
5336
  const inputId = `${props.name}-${props.index ?? 0}-id-${index}`;
5337
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
5337
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
5338
5338
  "div",
5339
5339
  {
5340
5340
  className: `font-normal flex items-center justify-between gap-4 cursor-pointer border rounded p-2 ${resultClassName}`,
5341
5341
  children: [
5342
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "flex gap-4 items-start", children: [
5343
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5342
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "flex gap-4 items-start", children: [
5343
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5344
5344
  "input",
5345
5345
  {
5346
5346
  type: "radio",
@@ -5354,15 +5354,15 @@ var init_RadioInput = __esm({
5354
5354
  required: props.attributes?.required
5355
5355
  }
5356
5356
  ),
5357
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("label", { className: "text-body-950 pr-2", htmlFor: inputId, children: item[props.dataTextFieldName] })
5357
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("label", { className: "text-body-950 pr-2", htmlFor: inputId, children: item[props.dataTextFieldName] })
5358
5358
  ] }),
5359
- iconName && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Icon_default, { className: "w-5 h-5 text-success", name: iconName })
5359
+ iconName && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Icon_default, { className: "w-5 h-5 text-success", name: iconName })
5360
5360
  ]
5361
5361
  },
5362
5362
  String(itemValue)
5363
5363
  );
5364
5364
  }) }),
5365
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
5365
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
5366
5366
  ] });
5367
5367
  };
5368
5368
  RadioInput_default = RadioInput;
@@ -5370,12 +5370,12 @@ var init_RadioInput = __esm({
5370
5370
  });
5371
5371
 
5372
5372
  // src/components/controls/edit/Switcher.tsx
5373
- var import_react58, import_jsx_runtime83, Switcher, Switcher_default;
5373
+ var import_react58, import_jsx_runtime84, Switcher, Switcher_default;
5374
5374
  var init_Switcher = __esm({
5375
5375
  "src/components/controls/edit/Switcher.tsx"() {
5376
5376
  "use strict";
5377
5377
  import_react58 = require("react");
5378
- import_jsx_runtime83 = require("react/jsx-runtime");
5378
+ import_jsx_runtime84 = require("react/jsx-runtime");
5379
5379
  Switcher = (props) => {
5380
5380
  const [list, setList] = (0, import_react58.useState)([]);
5381
5381
  (0, import_react58.useEffect)(() => {
@@ -5419,9 +5419,9 @@ var init_Switcher = __esm({
5419
5419
  });
5420
5420
  };
5421
5421
  const value = props.value === void 0 || props.value === null ? "" : String(props.value);
5422
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("label", { className: "block mb-1", children: [
5423
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: "text-sm font-medium", children: props.attributes?.label }),
5424
- list.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5422
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("label", { className: "block mb-1", children: [
5423
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "text-sm font-medium", children: props.attributes?.label }),
5424
+ list.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
5425
5425
  "input",
5426
5426
  {
5427
5427
  type: "text",
@@ -5434,7 +5434,7 @@ var init_Switcher = __esm({
5434
5434
  disabled: props.attributes?.readOnly,
5435
5435
  className: `peer input mt-1 py-1.5 block w-full rounded shadow-sm ${props.inputClasses ?? ""}`
5436
5436
  }
5437
- ) : /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
5437
+ ) : /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
5438
5438
  "select",
5439
5439
  {
5440
5440
  name: props.name,
@@ -5445,8 +5445,8 @@ var init_Switcher = __esm({
5445
5445
  disabled: props.attributes?.readOnly,
5446
5446
  className: `peer select my-1 py-1 block w-full rounded shadow-sm ${props.inputClasses ?? ""}`,
5447
5447
  children: [
5448
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("option", { value: "", children: props.attributes?.placeholder || "Select" }),
5449
- list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5448
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("option", { value: "", children: props.attributes?.placeholder || "Select" }),
5449
+ list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
5450
5450
  "option",
5451
5451
  {
5452
5452
  value: item[props.dataKeyFieldName],
@@ -5457,7 +5457,7 @@ var init_Switcher = __esm({
5457
5457
  ]
5458
5458
  }
5459
5459
  ),
5460
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
5460
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props.attributes?.errorMessage ?? "" })
5461
5461
  ] });
5462
5462
  };
5463
5463
  Switcher_default = Switcher;
@@ -5465,14 +5465,14 @@ var init_Switcher = __esm({
5465
5465
  });
5466
5466
 
5467
5467
  // src/components/controls/edit/ReferenceInput.tsx
5468
- var import_jsx_runtime84, ReferenceInput, ReferenceInput_default;
5468
+ var import_jsx_runtime85, ReferenceInput, ReferenceInput_default;
5469
5469
  var init_ReferenceInput = __esm({
5470
5470
  "src/components/controls/edit/ReferenceInput.tsx"() {
5471
5471
  "use strict";
5472
5472
  init_SelectWithSearchInput();
5473
- import_jsx_runtime84 = require("react/jsx-runtime");
5473
+ import_jsx_runtime85 = require("react/jsx-runtime");
5474
5474
  ReferenceInput = (props) => {
5475
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(SelectWithSearchInput_default, { ...props });
5475
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(SelectWithSearchInput_default, { ...props });
5476
5476
  };
5477
5477
  ReferenceInput_default = ReferenceInput;
5478
5478
  }
@@ -5483,7 +5483,7 @@ var InputControlClient_exports = {};
5483
5483
  __export(InputControlClient_exports, {
5484
5484
  default: () => InputControlClient_default
5485
5485
  });
5486
- var import_react59, import_jsx_runtime85, InputControl, InputControlClient_default;
5486
+ var import_react59, import_jsx_runtime86, InputControl, InputControlClient_default;
5487
5487
  var init_InputControlClient = __esm({
5488
5488
  "src/components/controls/edit/InputControlClient.tsx"() {
5489
5489
  "use strict";
@@ -5512,7 +5512,7 @@ var init_InputControlClient = __esm({
5512
5512
  init_RadioInput();
5513
5513
  init_Switcher();
5514
5514
  init_ReferenceInput();
5515
- import_jsx_runtime85 = require("react/jsx-runtime");
5515
+ import_jsx_runtime86 = require("react/jsx-runtime");
5516
5516
  InputControl = import_react59.default.forwardRef(
5517
5517
  (props, ref) => {
5518
5518
  const ControlComponents = {
@@ -5541,7 +5541,7 @@ var init_InputControlClient = __esm({
5541
5541
  [InputControlType_default.referenceInput]: ReferenceInput_default
5542
5542
  };
5543
5543
  const SelectedControlComponent = ControlComponents[props.controlType];
5544
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react59.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
5544
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react59.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
5545
5545
  }
5546
5546
  );
5547
5547
  InputControl.displayName = "InputControl";
@@ -5567,7 +5567,7 @@ var DataBindingControls_exports = {};
5567
5567
  __export(DataBindingControls_exports, {
5568
5568
  default: () => DataBindingControls_default
5569
5569
  });
5570
- var import_react60, import_navigation, import_jsx_runtime86, humanize, escapeODataString, parseFacetSelections, buildFacetFilter, parseODataSearch, normalizeSortOption, DUMMY_FACETS, DUMMY_SORT_OPTIONS, DataBindingControls, DataBindingControls_default;
5570
+ var import_react60, import_navigation, import_jsx_runtime87, humanize, escapeODataString, parseFacetSelections, buildFacetFilter, parseODataSearch, normalizeSortOption, DUMMY_FACETS, DUMMY_SORT_OPTIONS, DataBindingControls, DataBindingControls_default;
5571
5571
  var init_DataBindingControls = __esm({
5572
5572
  "src/components/pageRenderingEngine/nodes/DataBindingControls.tsx"() {
5573
5573
  "use strict";
@@ -5576,7 +5576,7 @@ var init_DataBindingControls = __esm({
5576
5576
  import_navigation = require("next/navigation");
5577
5577
  init_InputControl();
5578
5578
  init_InputControlType();
5579
- import_jsx_runtime86 = require("react/jsx-runtime");
5579
+ import_jsx_runtime87 = require("react/jsx-runtime");
5580
5580
  humanize = (value) => value.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").trim();
5581
5581
  escapeODataString = (value) => value.replace(/'/g, "''");
5582
5582
  parseFacetSelections = (filter) => {
@@ -5725,8 +5725,8 @@ var init_DataBindingControls = __esm({
5725
5725
  if (!shouldShowToolbar && !shouldShowFacets) {
5726
5726
  return null;
5727
5727
  }
5728
- const renderFacetLinks = (field, values, stacked = false) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: stacked ? "flex flex-col gap-1" : "flex flex-wrap gap-2", children: [
5729
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
5728
+ const renderFacetLinks = (field, values, stacked = false) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: stacked ? "flex flex-col gap-1" : "flex flex-wrap gap-2", children: [
5729
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5730
5730
  "button",
5731
5731
  {
5732
5732
  type: "button",
@@ -5738,7 +5738,7 @@ var init_DataBindingControls = __esm({
5738
5738
  ),
5739
5739
  values.map((facet) => {
5740
5740
  const isSelected = selectedFacetValues.get(field) === facet.value;
5741
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
5741
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
5742
5742
  "button",
5743
5743
  {
5744
5744
  type: "button",
@@ -5756,9 +5756,9 @@ var init_DataBindingControls = __esm({
5756
5756
  );
5757
5757
  })
5758
5758
  ] });
5759
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: mode === "toolbar" ? "mb-6" : "flex flex-col gap-2", children: [
5760
- shouldShowToolbar && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
5761
- showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
5759
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: mode === "toolbar" ? "mb-6" : "flex flex-col gap-2", children: [
5760
+ shouldShowToolbar && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
5761
+ showSearchBar && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5762
5762
  InputControl_default,
5763
5763
  {
5764
5764
  name: "searchText",
@@ -5769,9 +5769,9 @@ var init_DataBindingControls = __esm({
5769
5769
  inputClasses: "!mt-0"
5770
5770
  }
5771
5771
  ) }),
5772
- hasSortControls && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex items-center gap-2 text-sm", children: [
5773
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "font-medium", children: "Sort by" }),
5774
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
5772
+ hasSortControls && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-center gap-2 text-sm", children: [
5773
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "font-medium", children: "Sort by" }),
5774
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5775
5775
  InputControl_default,
5776
5776
  {
5777
5777
  name: "sortOptions",
@@ -5792,10 +5792,10 @@ var init_DataBindingControls = __esm({
5792
5792
  )
5793
5793
  ] })
5794
5794
  ] }),
5795
- shouldShowFacets && facetGroups.length === 1 && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("nav", { "aria-label": `${humanize(facetGroups[0][0])} filters`, children: renderFacetLinks(facetGroups[0][0], facetGroups[0][1]) }),
5796
- shouldShowFacets && facetGroups.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "flex flex-col gap-2", children: facetGroups.map(([field, values]) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("details", { className: "border-b", open: true, children: [
5797
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("summary", { className: "cursor-pointer font-semibold", children: humanize(field) }),
5798
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "p-2", children: renderFacetLinks(field, values, true) })
5795
+ shouldShowFacets && facetGroups.length === 1 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("nav", { "aria-label": `${humanize(facetGroups[0][0])} filters`, children: renderFacetLinks(facetGroups[0][0], facetGroups[0][1]) }),
5796
+ shouldShowFacets && facetGroups.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-col gap-2", children: facetGroups.map(([field, values]) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("details", { className: "border-b", open: true, children: [
5797
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("summary", { className: "cursor-pointer font-semibold", children: humanize(field) }),
5798
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "p-2", children: renderFacetLinks(field, values, true) })
5799
5799
  ] }, field)) })
5800
5800
  ] });
5801
5801
  };
@@ -5808,13 +5808,13 @@ var Slider_exports = {};
5808
5808
  __export(Slider_exports, {
5809
5809
  default: () => Slider_default
5810
5810
  });
5811
- var import_react61, import_jsx_runtime87, Slider, ArrowButton, ProgressPill, Slider_default;
5811
+ var import_react61, import_jsx_runtime88, Slider, ArrowButton, ProgressPill, Slider_default;
5812
5812
  var init_Slider = __esm({
5813
5813
  "src/components/Slider.tsx"() {
5814
5814
  "use strict";
5815
5815
  "use client";
5816
5816
  import_react61 = __toESM(require("react"));
5817
- import_jsx_runtime87 = require("react/jsx-runtime");
5817
+ import_jsx_runtime88 = require("react/jsx-runtime");
5818
5818
  Slider = ({
5819
5819
  children,
5820
5820
  slidesToShow = 4,
@@ -5911,7 +5911,7 @@ var init_Slider = __esm({
5911
5911
  if (!import_react61.default.isValidElement(child)) return null;
5912
5912
  const childProps = child.props;
5913
5913
  const mergedClassName = `${childProps.className ?? ""} w-full`.trim();
5914
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5914
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5915
5915
  "div",
5916
5916
  {
5917
5917
  className: `flex-none ${scaleOnHover ? "group hover:z-50" : ""} relative`,
@@ -5934,14 +5934,14 @@ var init_Slider = __esm({
5934
5934
  return "bottom-4";
5935
5935
  }
5936
5936
  };
5937
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
5937
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
5938
5938
  "div",
5939
5939
  {
5940
5940
  className: `relative w-full overflow-hidden ${className}`,
5941
5941
  onMouseEnter: handleMouseEnter,
5942
5942
  onMouseLeave: handleMouseLeave,
5943
5943
  children: [
5944
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5944
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5945
5945
  "div",
5946
5946
  {
5947
5947
  className: "flex h-full",
@@ -5952,18 +5952,18 @@ var init_Slider = __esm({
5952
5952
  children: slides
5953
5953
  }
5954
5954
  ),
5955
- show_arrows && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
5956
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5955
+ show_arrows && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
5956
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5957
5957
  ArrowButton,
5958
5958
  {
5959
5959
  direction: "left",
5960
5960
  onClick: prevSlide,
5961
5961
  visible: infinite_scroll || currentSlide > 0,
5962
5962
  className: arrowClassName,
5963
- children: /* @__PURE__ */ (0, import_jsx_runtime87.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_runtime87.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
5963
+ 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" }) })
5964
5964
  }
5965
5965
  ),
5966
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
5966
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
5967
5967
  ArrowButton,
5968
5968
  {
5969
5969
  direction: "right",
@@ -5971,13 +5971,13 @@ var init_Slider = __esm({
5971
5971
  visible: infinite_scroll || currentSlide < maxSlide,
5972
5972
  className: arrowClassName,
5973
5973
  children: [
5974
- /* @__PURE__ */ (0, import_jsx_runtime87.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_runtime87.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) }),
5974
+ /* @__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" }) }),
5975
5975
  " "
5976
5976
  ]
5977
5977
  }
5978
5978
  )
5979
5979
  ] }),
5980
- show_dots && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: `absolute left-1/2 -translate-x-1/2 flex justify-center space-x-1.5 ${getProgressPositionClass()}`, children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5980
+ show_dots && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `absolute left-1/2 -translate-x-1/2 flex justify-center space-x-1.5 ${getProgressPositionClass()}`, children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5981
5981
  ProgressPill,
5982
5982
  {
5983
5983
  active: index === currentSlide,
@@ -6003,7 +6003,7 @@ var init_Slider = __esm({
6003
6003
  visible,
6004
6004
  children,
6005
6005
  className = ""
6006
- }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6006
+ }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6007
6007
  "button",
6008
6008
  {
6009
6009
  className: `
@@ -6090,7 +6090,7 @@ var init_Slider = __esm({
6090
6090
  const renderProgressBar = () => {
6091
6091
  if (style === "modern" && isActive || style === "cumulative" && shouldShowProgress) {
6092
6092
  const displayProgress = style === "cumulative" && isFilled ? 100 : progress;
6093
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6093
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6094
6094
  "div",
6095
6095
  {
6096
6096
  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`,
@@ -6102,7 +6102,7 @@ var init_Slider = __esm({
6102
6102
  };
6103
6103
  const renderCumulativeFill = () => {
6104
6104
  if (style === "cumulative" && isFilled && !isActive) {
6105
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6105
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6106
6106
  "div",
6107
6107
  {
6108
6108
  className: `absolute top-0 left-0 h-full rounded-full ${activeClassName || "bg-white"} transition-all duration-300`,
@@ -6112,7 +6112,7 @@ var init_Slider = __esm({
6112
6112
  }
6113
6113
  return null;
6114
6114
  };
6115
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6115
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
6116
6116
  "button",
6117
6117
  {
6118
6118
  className: `${baseClasses} ${getStyleClasses()}`,
@@ -6616,7 +6616,8 @@ var ViewControlTypes = {
6616
6616
  aiGeneratedSummary: "aiGeneratedSummary",
6617
6617
  booleanView: "booleanView",
6618
6618
  text: "text",
6619
- commentRenderer: "commentRenderer"
6619
+ commentRenderer: "commentRenderer",
6620
+ avatar: "avatar"
6620
6621
  };
6621
6622
  var ViewControlTypes_default = ViewControlTypes;
6622
6623
 
@@ -6877,8 +6878,61 @@ var CommentRenderer = (0, import_dynamic7.default)(() => Promise.resolve().then(
6877
6878
  });
6878
6879
  var Commentrenderer_default = CommentRenderer;
6879
6880
 
6880
- // src/components/controls/view/ViewControl.tsx
6881
+ // src/components/controls/view/AvatarView.tsx
6881
6882
  var import_jsx_runtime39 = require("react/jsx-runtime");
6883
+ var AVATAR_COLORS = [
6884
+ "bg-error-strong",
6885
+ "bg-accent-base",
6886
+ "bg-warning-base",
6887
+ "bg-success-base",
6888
+ "bg-info-base",
6889
+ "bg-primary-base",
6890
+ "bg-secondary-base"
6891
+ ];
6892
+ var getAvatarColor = (text) => {
6893
+ let hash = 0;
6894
+ for (let i = 0; i < text.length; i += 1) {
6895
+ hash = hash * 31 + text.charCodeAt(i) >>> 0;
6896
+ }
6897
+ return AVATAR_COLORS[hash % AVATAR_COLORS.length];
6898
+ };
6899
+ var getInitials = (text) => {
6900
+ const words = text.trim().split(/\s+/).filter(Boolean);
6901
+ if (words.length === 0) {
6902
+ return "?";
6903
+ }
6904
+ if (words.length === 1) {
6905
+ return words[0].slice(0, 2).toUpperCase();
6906
+ }
6907
+ return `${words[0][0]}${words[words.length - 1][0]}`.toUpperCase();
6908
+ };
6909
+ var AvatarView = (props) => {
6910
+ const text = props.value === null || props.value === void 0 ? "" : String(props.value).trim();
6911
+ if (!text) {
6912
+ return null;
6913
+ }
6914
+ const size = props.width ?? "1.75rem";
6915
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6916
+ "span",
6917
+ {
6918
+ className: `avatar-view inline-flex flex-shrink-0 items-center justify-center rounded-full font-semibold uppercase select-none overflow-hidden ${getAvatarColor(text)}`,
6919
+ title: text,
6920
+ "aria-label": text,
6921
+ style: {
6922
+ width: size,
6923
+ height: size,
6924
+ fontSize: "0.6875rem",
6925
+ letterSpacing: "0.02em",
6926
+ lineHeight: 1
6927
+ },
6928
+ children: getInitials(text)
6929
+ }
6930
+ );
6931
+ };
6932
+ var AvatarView_default = AvatarView;
6933
+
6934
+ // src/components/controls/view/ViewControl.tsx
6935
+ var import_jsx_runtime40 = require("react/jsx-runtime");
6882
6936
  var ViewControl = (props) => {
6883
6937
  const ControlComponents = {
6884
6938
  [ViewControlTypes_default.lineText]: LineTextView_default,
@@ -6906,15 +6960,16 @@ var ViewControl = (props) => {
6906
6960
  [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
6907
6961
  [ViewControlTypes_default.booleanView]: BooleanView_default,
6908
6962
  [ViewControlTypes_default.text]: LineTextView_default,
6909
- [ViewControlTypes_default.commentRenderer]: Commentrenderer_default
6963
+ [ViewControlTypes_default.commentRenderer]: Commentrenderer_default,
6964
+ [ViewControlTypes_default.avatar]: AvatarView_default
6910
6965
  };
6911
6966
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
6912
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react26.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
6967
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_react26.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
6913
6968
  };
6914
6969
  var ViewControl_default = ViewControl;
6915
6970
 
6916
6971
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
6917
- var import_jsx_runtime40 = require("react/jsx-runtime");
6972
+ var import_jsx_runtime41 = require("react/jsx-runtime");
6918
6973
  function getNestedProperty(obj, path) {
6919
6974
  if (!obj || !path) return null;
6920
6975
  if (path.includes(".")) {
@@ -6927,7 +6982,7 @@ function getNestedProperty(obj, path) {
6927
6982
  }
6928
6983
  const value = obj[path];
6929
6984
  if (Array.isArray(value)) {
6930
- return value.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { children: String(item) }, index));
6985
+ return value.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: String(item) }, index));
6931
6986
  }
6932
6987
  return value;
6933
6988
  }
@@ -6990,7 +7045,7 @@ var DatafieldNode = (props) => {
6990
7045
  const dataType = props.node.dataType;
6991
7046
  if (isEmptyValue) return null;
6992
7047
  if (dataType === "rawContent") {
6993
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
7048
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6994
7049
  PageBodyRenderer_default,
6995
7050
  {
6996
7051
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -7006,13 +7061,13 @@ var DatafieldNode = (props) => {
7006
7061
  }
7007
7062
  );
7008
7063
  }
7009
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
7064
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
7010
7065
  "span",
7011
7066
  {
7012
7067
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
7013
7068
  style: styles,
7014
7069
  title,
7015
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
7070
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
7016
7071
  ViewControl_default,
7017
7072
  {
7018
7073
  controlType: dataType,
@@ -7027,7 +7082,7 @@ var DatafieldNode = (props) => {
7027
7082
  var DatafieldNode_default = DatafieldNode;
7028
7083
 
7029
7084
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
7030
- var import_jsx_runtime41 = require("react/jsx-runtime");
7085
+ var import_jsx_runtime42 = require("react/jsx-runtime");
7031
7086
  var ParagraphNode = (props) => {
7032
7087
  const NodeTypes2 = {
7033
7088
  ["text"]: TextNode_default,
@@ -7047,9 +7102,9 @@ var ParagraphNode = (props) => {
7047
7102
  const isInlineOnlyParent = props.parentTag === "summary";
7048
7103
  const hasChildren = props.node.children && props.node.children.length > 0;
7049
7104
  if (isInlineOnlyParent) {
7050
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children: hasChildren && props.node.children.map((node, index) => {
7105
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_jsx_runtime42.Fragment, { children: hasChildren && props.node.children.map((node, index) => {
7051
7106
  const SelectedNode = NodeTypes2[node.type];
7052
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react27.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
7107
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react27.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
7053
7108
  SelectedNode,
7054
7109
  {
7055
7110
  node,
@@ -7062,10 +7117,10 @@ var ParagraphNode = (props) => {
7062
7117
  ) }, index);
7063
7118
  }) });
7064
7119
  }
7065
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: " " + formatClasses, children: [
7120
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: " " + formatClasses, children: [
7066
7121
  hasChildren && props.node.children.map((node, index) => {
7067
7122
  const SelectedNode = NodeTypes2[node.type];
7068
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react27.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
7123
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react27.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
7069
7124
  SelectedNode,
7070
7125
  {
7071
7126
  node,
@@ -7077,14 +7132,14 @@ var ParagraphNode = (props) => {
7077
7132
  }
7078
7133
  ) }, index);
7079
7134
  }),
7080
- !hasChildren && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "py-1.5 lg:py-2" })
7135
+ !hasChildren && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "py-1.5 lg:py-2" })
7081
7136
  ] });
7082
7137
  };
7083
7138
  var ParagraphNode_default = ParagraphNode;
7084
7139
 
7085
7140
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
7086
7141
  var import_react28 = __toESM(require("react"));
7087
- var import_jsx_runtime42 = require("react/jsx-runtime");
7142
+ var import_jsx_runtime43 = require("react/jsx-runtime");
7088
7143
  var HeadingNode = (props) => {
7089
7144
  const NodeTypes2 = {
7090
7145
  ["text"]: TextNode_default,
@@ -7100,12 +7155,12 @@ var HeadingNode = (props) => {
7100
7155
  {
7101
7156
  }
7102
7157
  const formatClasses = FormatClass[props.node.format] || "";
7103
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_jsx_runtime42.Fragment, { children: import_react28.default.createElement(
7158
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, { children: import_react28.default.createElement(
7104
7159
  HeadingTag,
7105
7160
  { className: formatClasses },
7106
7161
  props.node.children && props.node.children.map((childNode, index) => {
7107
7162
  const SelectedNode = NodeTypes2[childNode.type];
7108
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react28.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
7163
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react28.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, assetBaseUrl: props.assetBaseUrl, routeParameters: props.routeParameters }) }, index);
7109
7164
  })
7110
7165
  ) });
7111
7166
  };
@@ -7116,7 +7171,7 @@ var import_react30 = __toESM(require("react"));
7116
7171
 
7117
7172
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
7118
7173
  var import_react29 = __toESM(require("react"));
7119
- var import_jsx_runtime43 = require("react/jsx-runtime");
7174
+ var import_jsx_runtime44 = require("react/jsx-runtime");
7120
7175
  var ListItemNode = (props) => {
7121
7176
  const NodeTypes2 = {
7122
7177
  text: TextNode_default,
@@ -7133,37 +7188,37 @@ var ListItemNode = (props) => {
7133
7188
  liStyle.fontSize = match[1].trim();
7134
7189
  }
7135
7190
  }
7136
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
7191
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
7137
7192
  const SelectedNode = NodeTypes2[node.type];
7138
7193
  if (node.type === "linebreak") {
7139
7194
  if (!foundFirstBreak) {
7140
7195
  foundFirstBreak = true;
7141
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {}, index);
7196
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {}, index);
7142
7197
  } else {
7143
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "py-1 lg:py-2" }, index);
7198
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "py-1 lg:py-2" }, index);
7144
7199
  }
7145
7200
  } else {
7146
7201
  foundFirstBreak = false;
7147
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react29.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
7202
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react29.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
7148
7203
  }
7149
7204
  }) });
7150
7205
  };
7151
7206
  var ListItemNode_default = ListItemNode;
7152
7207
 
7153
7208
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
7154
- var import_jsx_runtime44 = require("react/jsx-runtime");
7209
+ var import_jsx_runtime45 = require("react/jsx-runtime");
7155
7210
  var ListNode = (props) => {
7156
7211
  const NodeTypes2 = {
7157
7212
  listitem: ListItemNode_default
7158
7213
  };
7159
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_react30.default.Fragment, { children: [
7160
- props.node.listType == "bullet" && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("ul", { children: props.node.children && props.node.children.map((node, index) => {
7214
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_react30.default.Fragment, { children: [
7215
+ props.node.listType == "bullet" && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("ul", { children: props.node.children && props.node.children.map((node, index) => {
7161
7216
  const SelectedNode = NodeTypes2[node.type];
7162
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react30.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
7217
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react30.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
7163
7218
  }) }),
7164
- props.node.listType == "number" && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("ol", { children: props.node.children && props.node.children.map((node, index) => {
7219
+ props.node.listType == "number" && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("ol", { children: props.node.children && props.node.children.map((node, index) => {
7165
7220
  const SelectedNode = NodeTypes2[node.type];
7166
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react30.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
7221
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react30.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
7167
7222
  }) })
7168
7223
  ] });
7169
7224
  };
@@ -7171,16 +7226,16 @@ var ListNode_default = ListNode;
7171
7226
 
7172
7227
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
7173
7228
  var import_react31 = __toESM(require("react"));
7174
- var import_jsx_runtime45 = require("react/jsx-runtime");
7229
+ var import_jsx_runtime46 = require("react/jsx-runtime");
7175
7230
  var QuoteNode = (props) => {
7176
7231
  const NodeTypes2 = {
7177
7232
  ["text"]: TextNode_default,
7178
7233
  ["linebreak"]: LineBreakNode_default,
7179
7234
  ["link"]: LinkNode_default
7180
7235
  };
7181
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
7236
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
7182
7237
  const SelectedNode = NodeTypes2[node.type];
7183
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react31.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
7238
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react31.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
7184
7239
  }) });
7185
7240
  };
7186
7241
  var QuoteNode_default = QuoteNode;
@@ -7188,11 +7243,11 @@ var QuoteNode_default = QuoteNode;
7188
7243
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
7189
7244
  var import_react33 = __toESM(require("react"));
7190
7245
  var import_dynamic8 = __toESM(require("next/dynamic"));
7191
- var import_jsx_runtime47 = require("react/jsx-runtime");
7246
+ var import_jsx_runtime48 = require("react/jsx-runtime");
7192
7247
  var CopyButton2 = (0, import_dynamic8.default)(() => Promise.resolve().then(() => (init_CopyButton(), CopyButton_exports)), {
7193
7248
  ssr: false,
7194
7249
  // optional: fallback UI while loading
7195
- loading: () => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-gray-400 text-xs", children: "Copy" })
7250
+ loading: () => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-gray-400 text-xs", children: "Copy" })
7196
7251
  });
7197
7252
  var CodeNode = (props) => {
7198
7253
  const NodeTypes2 = {
@@ -7206,14 +7261,14 @@ var CodeNode = (props) => {
7206
7261
  if (node.type === "link") return node.text || node.url || "";
7207
7262
  return "";
7208
7263
  }).join("") ?? "";
7209
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { children: [
7210
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
7211
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { children: "Code Snippet" }),
7212
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(CopyButton2, { text: textContent })
7264
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { children: [
7265
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
7266
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { children: "Code Snippet" }),
7267
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CopyButton2, { text: textContent })
7213
7268
  ] }),
7214
- /* @__PURE__ */ (0, import_jsx_runtime47.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) => {
7269
+ /* @__PURE__ */ (0, import_jsx_runtime48.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) => {
7215
7270
  const SelectedNode = NodeTypes2[node.type];
7216
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react33.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7271
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react33.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7217
7272
  SelectedNode,
7218
7273
  {
7219
7274
  node,
@@ -7228,15 +7283,15 @@ var CodeNode = (props) => {
7228
7283
  var CodeNode_default = CodeNode;
7229
7284
 
7230
7285
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
7231
- var import_jsx_runtime48 = require("react/jsx-runtime");
7286
+ var import_jsx_runtime49 = require("react/jsx-runtime");
7232
7287
  var HorizontalRuleNode = () => {
7233
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("hr", {});
7288
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("hr", {});
7234
7289
  };
7235
7290
  var HorizontalRuleNode_default = HorizontalRuleNode;
7236
7291
 
7237
7292
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
7238
7293
  var import_react34 = __toESM(require("react"));
7239
- var import_jsx_runtime49 = require("react/jsx-runtime");
7294
+ var import_jsx_runtime50 = require("react/jsx-runtime");
7240
7295
  var WidgetNode = (props) => {
7241
7296
  const getWidgetParameters = () => {
7242
7297
  const widgetInputParameters = {
@@ -7300,7 +7355,7 @@ var WidgetNode = (props) => {
7300
7355
  };
7301
7356
  const widgetCode = props.node?.widgetCode;
7302
7357
  if (!widgetCode) {
7303
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, { children: "Invalid widget" });
7358
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: "Invalid widget" });
7304
7359
  }
7305
7360
  const widgetParams = getWidgetParameters();
7306
7361
  const WidgetRenderer = props.widgetRenderer;
@@ -7309,7 +7364,7 @@ var WidgetNode = (props) => {
7309
7364
  }
7310
7365
  return (
7311
7366
  // eslint-disable-next-line react-hooks/static-components
7312
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react34.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
7367
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react34.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
7313
7368
  WidgetRenderer,
7314
7369
  {
7315
7370
  params: widgetParams,
@@ -7331,7 +7386,7 @@ var import_react62 = __toESM(require("react"));
7331
7386
 
7332
7387
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
7333
7388
  var import_dynamic9 = __toESM(require("next/dynamic"));
7334
- var import_jsx_runtime52 = require("react/jsx-runtime");
7389
+ var import_jsx_runtime53 = require("react/jsx-runtime");
7335
7390
  var IframeClient2 = (0, import_dynamic9.default)(() => Promise.resolve().then(() => (init_IframeClient(), IframeClient_exports)), {
7336
7391
  ssr: false
7337
7392
  });
@@ -7344,7 +7399,7 @@ var EmbedNode = (props) => {
7344
7399
  } else {
7345
7400
  src = props.node.embedSrc;
7346
7401
  }
7347
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "aspect-video", children: src && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(IframeClient2, { src }) });
7402
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "aspect-video", children: src && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(IframeClient2, { src }) });
7348
7403
  };
7349
7404
  var EmbedNode_default = EmbedNode;
7350
7405
 
@@ -7544,10 +7599,10 @@ var PathUtility = class {
7544
7599
  var PathUtility_default = new PathUtility();
7545
7600
 
7546
7601
  // src/components/NoDataFound.tsx
7547
- var import_jsx_runtime53 = require("react/jsx-runtime");
7602
+ var import_jsx_runtime54 = require("react/jsx-runtime");
7548
7603
  var NoDataFound = () => {
7549
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
7550
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "mb-5", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7604
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
7605
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "mb-5", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7551
7606
  "svg",
7552
7607
  {
7553
7608
  className: "w-10 h-10",
@@ -7555,7 +7610,7 @@ var NoDataFound = () => {
7555
7610
  stroke: "currentColor",
7556
7611
  viewBox: "0 0 24 24",
7557
7612
  xmlns: "http://www.w3.org/2000/svg",
7558
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7613
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7559
7614
  "path",
7560
7615
  {
7561
7616
  strokeLinecap: "round",
@@ -7566,8 +7621,8 @@ var NoDataFound = () => {
7566
7621
  )
7567
7622
  }
7568
7623
  ) }) }),
7569
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
7570
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
7624
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
7625
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
7571
7626
  ] });
7572
7627
  };
7573
7628
  var NoDataFound_default = NoDataFound;
@@ -7575,7 +7630,7 @@ var NoDataFound_default = NoDataFound;
7575
7630
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
7576
7631
  init_AssetUtility();
7577
7632
  var import_dynamic10 = __toESM(require("next/dynamic"));
7578
- var import_jsx_runtime54 = require("react/jsx-runtime");
7633
+ var import_jsx_runtime55 = require("react/jsx-runtime");
7579
7634
  var HlsPlayer4 = (0, import_dynamic10.default)(() => Promise.resolve().then(() => (init_HlsPlayer(), HlsPlayer_exports)), { ssr: false });
7580
7635
  var deviceToMediaQuery = (device) => {
7581
7636
  switch (device) {
@@ -7731,8 +7786,8 @@ var ImageGalleryNode = (props) => {
7731
7786
  right: "justify-end"
7732
7787
  };
7733
7788
  const formatClasses = FormatClass[props.node.format || ""] || "";
7734
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
7735
- hlsSources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7789
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
7790
+ hlsSources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7736
7791
  HlsPlayer4,
7737
7792
  {
7738
7793
  sources: hlsSources,
@@ -7747,7 +7802,7 @@ var ImageGalleryNode = (props) => {
7747
7802
  styles: hlsStyles
7748
7803
  }
7749
7804
  ) }),
7750
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("picture", { children: [
7805
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("picture", { children: [
7751
7806
  DEVICE_ORDER.map((deviceKey) => {
7752
7807
  const match = staticSources.find(
7753
7808
  (img) => img.device === deviceKey
@@ -7763,7 +7818,7 @@ var ImageGalleryNode = (props) => {
7763
7818
  if (!srcUrl) {
7764
7819
  return null;
7765
7820
  }
7766
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7821
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7767
7822
  "source",
7768
7823
  {
7769
7824
  media: deviceToMediaQuery(match.device),
@@ -7788,7 +7843,7 @@ var ImageGalleryNode = (props) => {
7788
7843
  if (img.borderRadius) {
7789
7844
  styles.borderRadius = img.borderRadius;
7790
7845
  }
7791
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7846
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7792
7847
  "img",
7793
7848
  {
7794
7849
  loading: "lazy",
@@ -7803,7 +7858,7 @@ var ImageGalleryNode = (props) => {
7803
7858
  })()
7804
7859
  ] }) : (
7805
7860
  /* Case 2: Only device-specific images exist */
7806
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: staticSources.map((img, index) => {
7861
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: staticSources.map((img, index) => {
7807
7862
  const resolved = resolveImage(img);
7808
7863
  const imageUrl = resolved?.imageUrl;
7809
7864
  if (!imageUrl) {
@@ -7830,7 +7885,7 @@ var ImageGalleryNode = (props) => {
7830
7885
  default:
7831
7886
  display = "block";
7832
7887
  }
7833
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7888
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7834
7889
  "img",
7835
7890
  {
7836
7891
  loading: "lazy",
@@ -7971,28 +8026,28 @@ var shouldRenderContainer = (node, dataItem, session) => {
7971
8026
 
7972
8027
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
7973
8028
  init_AssetUtility();
7974
- var import_jsx_runtime55 = require("react/jsx-runtime");
8029
+ var import_jsx_runtime56 = require("react/jsx-runtime");
7975
8030
  var getNestedValue5 = (obj, path) => {
7976
8031
  if (!obj || !path) return void 0;
7977
8032
  return path.split(".").reduce((current, key) => {
7978
8033
  return current && current[key] !== void 0 ? current[key] : void 0;
7979
8034
  }, obj);
7980
8035
  };
7981
- var PdfIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8036
+ var PdfIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
7982
8037
  "svg",
7983
8038
  {
7984
8039
  xmlns: "http://www.w3.org/2000/svg",
7985
8040
  viewBox: "0 0 48 48",
7986
8041
  className: "w-10 h-10",
7987
8042
  children: [
7988
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8043
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7989
8044
  "path",
7990
8045
  {
7991
8046
  fill: "#e53935",
7992
8047
  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"
7993
8048
  }
7994
8049
  ),
7995
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8050
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7996
8051
  "path",
7997
8052
  {
7998
8053
  fill: "#fff",
@@ -8002,55 +8057,55 @@ var PdfIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8002
8057
  ]
8003
8058
  }
8004
8059
  );
8005
- var ExcelIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8060
+ var ExcelIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8006
8061
  "svg",
8007
8062
  {
8008
8063
  xmlns: "http://www.w3.org/2000/svg",
8009
8064
  viewBox: "0 0 48 48",
8010
8065
  className: "w-10 h-10",
8011
8066
  children: [
8012
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8067
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8013
8068
  "path",
8014
8069
  {
8015
8070
  fill: "#169154",
8016
8071
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
8017
8072
  }
8018
8073
  ),
8019
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8074
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8020
8075
  "path",
8021
8076
  {
8022
8077
  fill: "#18482a",
8023
8078
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
8024
8079
  }
8025
8080
  ),
8026
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
8027
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
8028
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("g", { children: [
8029
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8081
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
8082
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
8083
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("g", { children: [
8084
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8030
8085
  "path",
8031
8086
  {
8032
8087
  fill: "#29c27f",
8033
8088
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
8034
8089
  }
8035
8090
  ),
8036
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8091
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8037
8092
  "path",
8038
8093
  {
8039
8094
  fill: "#27663f",
8040
8095
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
8041
8096
  }
8042
8097
  ),
8043
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
8044
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
8098
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
8099
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
8045
8100
  ] }),
8046
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8101
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8047
8102
  "path",
8048
8103
  {
8049
8104
  fill: "#0c7238",
8050
8105
  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"
8051
8106
  }
8052
8107
  ),
8053
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8108
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8054
8109
  "path",
8055
8110
  {
8056
8111
  fill: "#fff",
@@ -8060,7 +8115,7 @@ var ExcelIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8060
8115
  ]
8061
8116
  }
8062
8117
  );
8063
- var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8118
+ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8064
8119
  "svg",
8065
8120
  {
8066
8121
  xmlns: "http://www.w3.org/2000/svg",
@@ -8068,14 +8123,14 @@ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8068
8123
  className: "w-10 h-10",
8069
8124
  baseProfile: "basic",
8070
8125
  children: [
8071
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8126
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8072
8127
  "path",
8073
8128
  {
8074
8129
  fill: "#283593",
8075
8130
  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"
8076
8131
  }
8077
8132
  ),
8078
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8133
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8079
8134
  "linearGradient",
8080
8135
  {
8081
8136
  id: "qh2LT5tehRDFkLLfb-odWa",
@@ -8086,19 +8141,19 @@ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8086
8141
  gradientTransform: "translate(0 -339.89)",
8087
8142
  gradientUnits: "userSpaceOnUse",
8088
8143
  children: [
8089
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("stop", { offset: "0", "stop-color": "#66c0ff" }),
8090
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("stop", { offset: ".26", "stop-color": "#0094f0" })
8144
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("stop", { offset: "0", "stop-color": "#66c0ff" }),
8145
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("stop", { offset: ".26", "stop-color": "#0094f0" })
8091
8146
  ]
8092
8147
  }
8093
8148
  ),
8094
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8149
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8095
8150
  "path",
8096
8151
  {
8097
8152
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
8098
8153
  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"
8099
8154
  }
8100
8155
  ),
8101
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8156
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8102
8157
  "path",
8103
8158
  {
8104
8159
  fill: "#1e88e5",
@@ -8106,21 +8161,21 @@ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8106
8161
  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"
8107
8162
  }
8108
8163
  ),
8109
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8164
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8110
8165
  "path",
8111
8166
  {
8112
8167
  fill: "#00e5ff",
8113
8168
  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"
8114
8169
  }
8115
8170
  ),
8116
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8171
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8117
8172
  "path",
8118
8173
  {
8119
8174
  fill: "#1565c0",
8120
8175
  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"
8121
8176
  }
8122
8177
  ),
8123
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8178
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8124
8179
  "path",
8125
8180
  {
8126
8181
  fill: "#fff",
@@ -8130,42 +8185,42 @@ var WordIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8130
8185
  ]
8131
8186
  }
8132
8187
  );
8133
- var StandardIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8188
+ var StandardIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8134
8189
  "svg",
8135
8190
  {
8136
8191
  xmlns: "http://www.w3.org/2000/svg",
8137
8192
  viewBox: "0 0 48 48",
8138
8193
  className: "w-10 h-10",
8139
8194
  children: [
8140
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
8141
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
8195
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
8196
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
8142
8197
  ]
8143
8198
  }
8144
8199
  );
8145
- var PowerPointIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8200
+ var PowerPointIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8146
8201
  "svg",
8147
8202
  {
8148
8203
  xmlns: "http://www.w3.org/2000/svg",
8149
8204
  viewBox: "0 0 48 48",
8150
8205
  className: "w-10 h-10",
8151
8206
  children: [
8152
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8207
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8153
8208
  "path",
8154
8209
  {
8155
8210
  fill: "#dc4c2c",
8156
8211
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
8157
8212
  }
8158
8213
  ),
8159
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
8160
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
8161
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8214
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
8215
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
8216
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8162
8217
  "path",
8163
8218
  {
8164
8219
  fill: "#9b341f",
8165
8220
  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"
8166
8221
  }
8167
8222
  ),
8168
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8223
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8169
8224
  "path",
8170
8225
  {
8171
8226
  fill: "#fff",
@@ -8175,16 +8230,16 @@ var PowerPointIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8175
8230
  ]
8176
8231
  }
8177
8232
  );
8178
- var TextIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8233
+ var TextIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8179
8234
  "svg",
8180
8235
  {
8181
8236
  xmlns: "http://www.w3.org/2000/svg",
8182
8237
  viewBox: "0 0 48 48",
8183
8238
  className: "w-10 h-10",
8184
8239
  children: [
8185
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
8186
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
8187
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8240
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
8241
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
8242
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8188
8243
  "path",
8189
8244
  {
8190
8245
  fill: "#1976D2",
@@ -8194,7 +8249,7 @@ var TextIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8194
8249
  ]
8195
8250
  }
8196
8251
  );
8197
- var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8252
+ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8198
8253
  "svg",
8199
8254
  {
8200
8255
  xmlns: "http://www.w3.org/2000/svg",
@@ -8204,14 +8259,14 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8204
8259
  version: "1.0",
8205
8260
  className: "w-10 h-10",
8206
8261
  children: [
8207
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8262
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8208
8263
  "path",
8209
8264
  {
8210
8265
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
8211
8266
  "clip-rule": "nonzero"
8212
8267
  }
8213
8268
  ) }) }),
8214
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8269
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8215
8270
  "path",
8216
8271
  {
8217
8272
  fill: "#ff9100",
@@ -8220,7 +8275,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8220
8275
  "fill-rule": "nonzero"
8221
8276
  }
8222
8277
  ) }),
8223
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8278
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8224
8279
  "path",
8225
8280
  {
8226
8281
  fill: "#fbe9e7",
@@ -8229,7 +8284,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8229
8284
  "fill-rule": "nonzero"
8230
8285
  }
8231
8286
  ),
8232
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8287
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8233
8288
  "path",
8234
8289
  {
8235
8290
  fill: "#ffe0b2",
@@ -8238,7 +8293,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8238
8293
  "fill-rule": "nonzero"
8239
8294
  }
8240
8295
  ),
8241
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8296
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8242
8297
  "path",
8243
8298
  {
8244
8299
  fill: "#ffe0b2",
@@ -8247,7 +8302,7 @@ var ArchiveIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8247
8302
  "fill-rule": "nonzero"
8248
8303
  }
8249
8304
  ),
8250
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8305
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8251
8306
  "path",
8252
8307
  {
8253
8308
  fill: "#ffe0b2",
@@ -8322,8 +8377,8 @@ var DocumentNode = (props) => {
8322
8377
  }
8323
8378
  }
8324
8379
  if (documents.length === 0) {
8325
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
8326
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8380
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
8381
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8327
8382
  "svg",
8328
8383
  {
8329
8384
  className: "w-5 h-5",
@@ -8331,7 +8386,7 @@ var DocumentNode = (props) => {
8331
8386
  stroke: "currentColor",
8332
8387
  viewBox: "0 0 24 24",
8333
8388
  xmlns: "http://www.w3.org/2000/svg",
8334
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8389
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8335
8390
  "path",
8336
8391
  {
8337
8392
  strokeLinecap: "round",
@@ -8342,11 +8397,11 @@ var DocumentNode = (props) => {
8342
8397
  )
8343
8398
  }
8344
8399
  ) }),
8345
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "text-sm font-medium", children: "No documents found" }),
8346
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
8400
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "text-sm font-medium", children: "No documents found" }),
8401
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
8347
8402
  ] }) });
8348
8403
  }
8349
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "", children: documents.map((doc, index) => {
8404
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "", children: documents.map((doc, index) => {
8350
8405
  const documentUrl = AssetUtility_default.resolveUrl(
8351
8406
  props.assetBaseUrl,
8352
8407
  doc.assetUrl
@@ -8364,16 +8419,16 @@ var DocumentNode = (props) => {
8364
8419
  }
8365
8420
  }
8366
8421
  const { Icon: Icon2, extLabel } = getFileDetails2(documentUrl);
8367
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8422
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8368
8423
  "div",
8369
8424
  {
8370
8425
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
8371
8426
  children: [
8372
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex items-center space-x-4", children: [
8373
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon2, {}) }),
8374
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("h4", { className: "text-base font-semibold", children: documentTitle }) })
8427
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center space-x-4", children: [
8428
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon2, {}) }),
8429
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("h4", { className: "text-base font-semibold", children: documentTitle }) })
8375
8430
  ] }),
8376
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8431
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8377
8432
  "a",
8378
8433
  {
8379
8434
  href: documentUrl,
@@ -8381,7 +8436,7 @@ var DocumentNode = (props) => {
8381
8436
  rel: "noopener noreferrer",
8382
8437
  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",
8383
8438
  children: [
8384
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
8439
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
8385
8440
  "svg",
8386
8441
  {
8387
8442
  className: "w-4 h-4 mr-2",
@@ -8389,7 +8444,7 @@ var DocumentNode = (props) => {
8389
8444
  stroke: "currentColor",
8390
8445
  viewBox: "0 0 24 24",
8391
8446
  children: [
8392
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8447
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8393
8448
  "path",
8394
8449
  {
8395
8450
  strokeLinecap: "round",
@@ -8398,7 +8453,7 @@ var DocumentNode = (props) => {
8398
8453
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
8399
8454
  }
8400
8455
  ),
8401
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
8456
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8402
8457
  "path",
8403
8458
  {
8404
8459
  strokeLinecap: "round",
@@ -8424,13 +8479,13 @@ var DocumentNode_default = DocumentNode;
8424
8479
 
8425
8480
  // src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
8426
8481
  var import_dynamic11 = __toESM(require("next/dynamic"));
8427
- var import_jsx_runtime56 = require("react/jsx-runtime");
8482
+ var import_jsx_runtime57 = require("react/jsx-runtime");
8428
8483
  var IframeClient3 = (0, import_dynamic11.default)(() => Promise.resolve().then(() => (init_IframeClient(), IframeClient_exports)), {
8429
8484
  ssr: false
8430
8485
  });
8431
8486
  var GoogleMapNode = (props) => {
8432
8487
  let src = props.node.embedUrl;
8433
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "google-map-container", children: src && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
8488
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "google-map-container", children: src && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
8434
8489
  IframeClient3,
8435
8490
  {
8436
8491
  src,
@@ -8442,7 +8497,7 @@ var GoogleMapNode = (props) => {
8442
8497
  var GoogleMapNode_default = GoogleMapNode;
8443
8498
 
8444
8499
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
8445
- var import_jsx_runtime88 = require("react/jsx-runtime");
8500
+ var import_jsx_runtime89 = require("react/jsx-runtime");
8446
8501
  var Pagination2 = (0, import_dynamic13.default)(() => Promise.resolve().then(() => (init_Pagination(), Pagination_exports)), { ssr: true });
8447
8502
  var DataBindingControls2 = (0, import_dynamic13.default)(() => Promise.resolve().then(() => (init_DataBindingControls(), DataBindingControls_exports)), {
8448
8503
  ssr: true
@@ -8701,7 +8756,7 @@ var DivContainer = async (props) => {
8701
8756
  response = await serviceClient.get(endpoint);
8702
8757
  result = response?.result;
8703
8758
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
8704
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(NoDataFound_default, {});
8759
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(NoDataFound_default, {});
8705
8760
  }
8706
8761
  if (dataBindingProperties.childCollectionName && props.dataitem) {
8707
8762
  childCollectionData = getNestedValue6(
@@ -8721,7 +8776,7 @@ var DivContainer = async (props) => {
8721
8776
  }
8722
8777
  const SelectedNode = NodeTypes2[node.type];
8723
8778
  if (!SelectedNode) return null;
8724
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react62.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8779
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react62.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8725
8780
  SelectedNode,
8726
8781
  {
8727
8782
  node,
@@ -8858,7 +8913,7 @@ var DivContainer = async (props) => {
8858
8913
  dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
8859
8914
  );
8860
8915
  const WrapperComponent = Wrapper;
8861
- const renderedContainer = /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8916
+ const renderedContainer = /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8862
8917
  WrapperComponent,
8863
8918
  {
8864
8919
  id: guid,
@@ -8872,11 +8927,11 @@ var DivContainer = async (props) => {
8872
8927
  item,
8873
8928
  idx,
8874
8929
  props.href ? void 0 : item?.links?.view
8875
- )?.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react62.default.Fragment, { children: child }, i)) : renderChildren2(props.node.children, props, item, idx)
8930
+ )?.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react62.default.Fragment, { children: child }, i)) : renderChildren2(props.node.children, props, item, idx)
8876
8931
  )
8877
8932
  }
8878
8933
  );
8879
- const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8934
+ const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8880
8935
  Pagination2,
8881
8936
  {
8882
8937
  path: props.path,
@@ -8884,15 +8939,15 @@ var DivContainer = async (props) => {
8884
8939
  dataset: response
8885
8940
  }
8886
8941
  ) : null;
8887
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_react62.default.Fragment, { children: [
8888
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8942
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_react62.default.Fragment, { children: [
8943
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8889
8944
  "style",
8890
8945
  {
8891
8946
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
8892
8947
  }
8893
8948
  ),
8894
- showDataBindingControls ? /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_react62.default.Fragment, { children: [
8895
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8949
+ showDataBindingControls ? /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_react62.default.Fragment, { children: [
8950
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8896
8951
  DataBindingControls2,
8897
8952
  {
8898
8953
  mode: "toolbar",
@@ -8904,18 +8959,18 @@ var DivContainer = async (props) => {
8904
8959
  showSearchBar: dataBindingProperties?.showSearchBar
8905
8960
  }
8906
8961
  ),
8907
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
8962
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
8908
8963
  "div",
8909
8964
  {
8910
8965
  className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
8911
8966
  children: [
8912
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "min-w-0", children: [
8967
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "min-w-0", children: [
8913
8968
  renderedContainer,
8914
8969
  paginationControl
8915
8970
  ] }),
8916
- dataBindingProperties?.showFacets && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
8917
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
8918
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
8971
+ dataBindingProperties?.showFacets && /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("aside", { className: "border bg-default p-3 lg:sticky lg:top-[90px] lg:self-start", children: [
8972
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("h2", { className: "mb-2 text-lg font-semibold", children: "Filters" }),
8973
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
8919
8974
  DataBindingControls2,
8920
8975
  {
8921
8976
  mode: "facets",
@@ -8929,16 +8984,16 @@ var DivContainer = async (props) => {
8929
8984
  ]
8930
8985
  }
8931
8986
  )
8932
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_react62.default.Fragment, { children: [
8987
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_react62.default.Fragment, { children: [
8933
8988
  renderedContainer,
8934
- paginationControl && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { children: paginationControl })
8989
+ paginationControl && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { children: paginationControl })
8935
8990
  ] })
8936
8991
  ] });
8937
8992
  };
8938
8993
  var DivContainer_default = DivContainer;
8939
8994
 
8940
8995
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
8941
- var import_jsx_runtime89 = require("react/jsx-runtime");
8996
+ var import_jsx_runtime90 = require("react/jsx-runtime");
8942
8997
  var NodeTypes = {
8943
8998
  ["paragraph"]: ParagraphNode_default,
8944
8999
  ["heading"]: HeadingNode_default,
@@ -8976,14 +9031,14 @@ var PageBodyRenderer = (props) => {
8976
9031
  }
8977
9032
  return true;
8978
9033
  };
8979
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react63.default.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
9034
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react63.default.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
8980
9035
  {
8981
9036
  }
8982
9037
  const SelectedNode = NodeTypes[node.type];
8983
9038
  if (!shouldRenderNode(node)) {
8984
9039
  return null;
8985
9040
  }
8986
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react63.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react63.default.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react63.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
9041
+ 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)(
8987
9042
  SelectedNode,
8988
9043
  {
8989
9044
  node,
@@ -8999,7 +9054,7 @@ var PageBodyRenderer = (props) => {
8999
9054
  device: props.device,
9000
9055
  widgetRenderer: props.widgetRenderer
9001
9056
  }
9002
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react63.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
9057
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react63.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
9003
9058
  SelectedNode,
9004
9059
  {
9005
9060
  node,