@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260323092346 → 0.8.1-dev.20260323111546

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1101,53 +1101,28 @@ var ToastService_default = ToastService;
1101
1101
 
1102
1102
  // src/components/StyleTypes.tsx
1103
1103
  var buttonClasses = /* @__PURE__ */ new Map([
1104
- [
1105
- "Primary" /* Primary */,
1106
- "relative inline-flex items-center justify-center bg-primary rounded px-4 py-3 lg:py-2 font-medium shadow-sm hover:shadow-lg hover:bg-primary-strong focus:outline-none active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed transition duration-150 ease-in-out text-white"
1107
- ],
1108
- [
1109
- "Secondary" /* Secondary */,
1110
- "relative inline-flex items-center justify-center bg-gradient-to-b from-secondary to-secondary-strong rounded px-4 py-3 lg:py-2 font-medium shadow-sm hover:shadow-lg focus:outline-none active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed transition duration-150 ease-in-out text-body hover:bg-secondary-strong"
1111
- ],
1112
- [
1113
- "Neutral" /* Neutral */,
1114
- "relative inline-flex items-center justify-center bg-neutral-strong rounded px-4 py-3 lg:py-2 font-medium shadow-sm hover:shadow-lg focus:outline-none active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed transition duration-150 ease-in-out text-body hover:bg-neutral-stronger"
1115
- ],
1116
- [
1117
- "PrimaryHollow" /* PrimaryHollow */,
1118
- "inline-flex font-medium items-center justify-center px-4 py-3 lg:py-2 transparent border-primary border text-primary rounded hover:shadow-md focus:outline-none transition duration-150 ease-in-out active:scale-95"
1119
- ],
1120
- [
1121
- "SecondaryHollow" /* SecondaryHollow */,
1122
- "inline-flex font-medium items-center justify-center px-4 py-3 lg:py-2 transparent border-secondary border text-secondary rounded hover:shadow-md focus:outline-none transition duration-150 ease-in-out active:scale-95"
1123
- ],
1124
- [
1125
- "NeutralHollow" /* NeutralHollow */,
1126
- "inline-flex font-medium items-center justify-center px-4 py-3 lg:py-2 transparent border-neutral border text-neutral rounded hover:shadow-md focus:outline-none transition duration-150 ease-in-out active:scale-95"
1127
- ],
1128
- [
1129
- "Ripple" /* Ripple */,
1130
- "px-3 py-1.5 inline-flex items-center text-sm font-medium rounded border-[1.5px] border-primary ripple btn-bg-primary btn-primary-text"
1131
- ],
1132
- [
1133
- "Danger" /* Danger */,
1134
- "inline-flex text-sm font-medium items-center justify-center px-4 py-2 border border-alert bg-alert text-white rounded hover:bg-alert-600 hover:border-alert-600 focus:outline-none active:ring-1 active:ring-alert"
1135
- ],
1136
- ["Link" /* Link */, ""],
1137
- [
1138
- "Light" /* Light */,
1139
- "inline-flex items-center justify-center rounded bg-white border px-4 py-2 leading-6 text-primary shadow-sm hover:shadow focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary disabled:opacity-50 disabled:cursor-not-allowed"
1140
- ]
1104
+ ["Primary" /* Solid */, "btn-solid"],
1105
+ ["PrimaryHollow" /* Hollow */, "btn-hollow"],
1106
+ ["Link" /* Link */, "btn-link"]
1107
+ // [StyleTypes.Solid, "relative inline-flex items-center justify-center bg-gradient-to-b from-secondary to-secondary-strong rounded px-4 py-3 lg:py-2 font-medium shadow-sm hover:shadow-lg focus:outline-none active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed transition duration-150 ease-in-out text-body hover:bg-secondary-strong"],
1108
+ // [StyleTypes.Solid, "relative inline-flex items-center justify-center bg-neutral-strong rounded px-4 py-3 lg:py-2 font-medium shadow-sm hover:shadow-lg focus:outline-none active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed transition duration-150 ease-in-out text-body hover:bg-neutral-stronger"],
1109
+ // [StyleTypes.Hollow, "inline-flex font-medium items-center justify-center px-4 py-3 lg:py-2 transparent border-primary border text-primary rounded hover:shadow-md focus:outline-none transition duration-150 ease-in-out active:scale-95"],
1110
+ // [StyleTypes.Hollow, "inline-flex font-medium items-center justify-center px-4 py-3 lg:py-2 transparent border-secondary border text-secondary rounded hover:shadow-md focus:outline-none transition duration-150 ease-in-out active:scale-95"],
1111
+ // [StyleTypes.Hollow, "inline-flex font-medium items-center justify-center px-4 py-3 lg:py-2 transparent border-neutral border text-neutral rounded hover:shadow-md focus:outline-none transition duration-150 ease-in-out active:scale-95"],
1112
+ // [StyleTypes.Ripple, "px-3 py-1.5 inline-flex items-center text-sm font-medium rounded border-[1.5px] border-primary ripple btn-bg-primary btn-primary-text"],
1113
+ // [StyleTypes.Danger, "inline-flex text-sm font-medium items-center justify-center px-4 py-2 border border-alert bg-alert text-white rounded hover:bg-alert-600 hover:border-alert-600 focus:outline-none active:ring-1 active:ring-alert"],
1114
+ // [StyleTypes.Link, ""],
1115
+ // [StyleTypes.Light, "inline-flex items-center justify-center rounded bg-white border px-4 py-2 leading-6 text-primary shadow-sm hover:shadow focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary disabled:opacity-50 disabled:cursor-not-allowed"],
1141
1116
  ]);
1142
1117
  var progressClasses = /* @__PURE__ */ new Map([
1143
- ["Primary" /* Primary */, ""],
1144
- ["PrimaryHollow" /* PrimaryHollow */, ""],
1145
- ["Secondary" /* Secondary */, ""],
1146
- ["SecondaryHollow" /* SecondaryHollow */, ""],
1147
- ["Neutral" /* Neutral */, ""],
1148
- ["NeutralHollow" /* NeutralHollow */, ""],
1149
- ["Ripple" /* Ripple */, ""],
1150
- ["Danger" /* Danger */, ""],
1118
+ ["Primary" /* Solid */, ""],
1119
+ ["PrimaryHollow" /* Hollow */, ""],
1120
+ // [StyleTypes.Solid, ""],
1121
+ // [StyleTypes.Hollow, ""],
1122
+ // [StyleTypes.Solid, ""],
1123
+ // [StyleTypes.Hollow, ""],
1124
+ // [StyleTypes.Ripple, ""],
1125
+ // [StyleTypes.Danger, ""],
1151
1126
  ["Link" /* Link */, ""]
1152
1127
  ]);
1153
1128
 
@@ -1156,56 +1131,21 @@ import { useState as useState3 } from "react";
1156
1131
 
1157
1132
  // src/components/ClientButton.tsx
1158
1133
  import React24 from "react";
1159
-
1160
- // src/components/utilities/ToastService.tsx
1161
- var ToastService2 = class {
1162
- static showError(message) {
1163
- console.error(message);
1164
- if (typeof window !== "undefined") {
1165
- alert(message);
1166
- }
1167
- }
1168
- static showSuccess(message) {
1169
- console.log(message);
1170
- if (typeof window !== "undefined") {
1171
- alert(message);
1172
- }
1173
- }
1174
- static showWarning(message) {
1175
- console.warn(message);
1176
- if (typeof window !== "undefined") {
1177
- alert(message);
1178
- }
1179
- }
1180
- static showInfo(message) {
1181
- console.info(message);
1182
- if (typeof window !== "undefined") {
1183
- alert(message);
1184
- }
1185
- }
1186
- };
1187
- var ToastService_default2 = ToastService2;
1188
-
1189
- // src/components/ClientButton.tsx
1190
1134
  import { jsx as jsx24 } from "react/jsx-runtime";
1191
1135
  var ClientButton = (props) => {
1192
1136
  const execute = async (event) => {
1193
- event.preventDefault();
1194
1137
  if (props.onClick !== void 0) {
1195
1138
  props.onClick();
1196
1139
  } else {
1197
- ToastService_default2.showError("No action defined.");
1140
+ ToastService_default.showError("No action defined.");
1198
1141
  }
1199
1142
  };
1200
- let buttonClass = props.ButtonType ? buttonClasses.get(props.ButtonType) : buttonClasses.get("Primary" /* Primary */);
1143
+ let buttonClass = props.ButtonType ? buttonClasses.get(props.ButtonType) : buttonClasses.get("Primary" /* Solid */);
1201
1144
  return /* @__PURE__ */ jsx24(React24.Fragment, { children: /* @__PURE__ */ jsx24(
1202
1145
  "button",
1203
1146
  {
1204
1147
  type: "button",
1205
1148
  onClick: execute,
1206
- "data-role": props.dataRole,
1207
- disabled: props.disabled,
1208
- tabIndex: props.tabIndex,
1209
1149
  className: buttonClass + " " + props.className,
1210
1150
  children: props.children
1211
1151
  }
@@ -1229,21 +1169,27 @@ var Confirm = ({ message, onConfirm, onCancel }) => {
1229
1169
  onCancel();
1230
1170
  }
1231
1171
  };
1232
- return /* @__PURE__ */ jsx25(Fragment, { children: showModal && /* @__PURE__ */ jsxs14("div", { className: "fixed inset-0 flex items-center justify-center z-20", children: [
1172
+ return /* @__PURE__ */ jsx25(Fragment, { children: showModal && /* @__PURE__ */ jsxs14("div", { className: "fixed inset-0 flex items-center justify-center z-50", children: [
1233
1173
  /* @__PURE__ */ jsx25("div", { className: "absolute inset-0 bg-black opacity-70" }),
1234
- /* @__PURE__ */ jsxs14("div", { className: "bg-white rounded-md p-6 shadow border z-50", children: [
1235
- /* @__PURE__ */ jsx25("p", { className: "text-xl font-semibold mb-4", children: "Confirmation" }),
1174
+ /* @__PURE__ */ jsxs14("div", { className: "bg-white rounded-md p-6 w-2/6 shadow border z-50", children: [
1175
+ /* @__PURE__ */ jsx25("p", { className: "text-xl font-medium mb-4", children: "Confirmation" }),
1236
1176
  /* @__PURE__ */ jsx25("p", { className: "mb-4", children: message }),
1237
1177
  /* @__PURE__ */ jsxs14("div", { className: "flex justify-end gap-8", children: [
1238
1178
  /* @__PURE__ */ jsx25(
1239
1179
  ClientButton_default,
1240
1180
  {
1241
1181
  onClick: handleCancelAction,
1242
- ButtonType: "PrimaryHollow" /* PrimaryHollow */,
1182
+ ButtonType: "PrimaryHollow" /* Hollow */,
1243
1183
  children: "Cancel"
1244
1184
  }
1245
1185
  ),
1246
- /* @__PURE__ */ jsx25(ClientButton_default, { onClick: handleConfirmAction, children: "Confirm" })
1186
+ /* @__PURE__ */ jsx25(
1187
+ ClientButton_default,
1188
+ {
1189
+ onClick: handleConfirmAction,
1190
+ children: "Confirm"
1191
+ }
1192
+ )
1247
1193
  ] })
1248
1194
  ] })
1249
1195
  ] }) });
@@ -1261,10 +1207,9 @@ var Button = (props) => {
1261
1207
  const [showModal, setShowModal] = useState4(null);
1262
1208
  const execute = async (event) => {
1263
1209
  event.preventDefault();
1210
+ event.stopPropagation();
1264
1211
  if (props.confirm) {
1265
- const confirmed = await showConfirmation(
1266
- "Are you sure you want to delete this item?"
1267
- );
1212
+ const confirmed = await showConfirmation("Are you sure you want to delete this item?");
1268
1213
  setShowModal(null);
1269
1214
  if (!confirmed) {
1270
1215
  return;
@@ -1279,15 +1224,12 @@ var Button = (props) => {
1279
1224
  isValid = await props.onValidate();
1280
1225
  if (!isValid) {
1281
1226
  setInProgress(false);
1282
- ToastService_default.showError(
1283
- "There are error in the form. Please fix them before proceeding."
1284
- );
1227
+ ToastService_default.showError("There are errors in the form. Please fix them before proceeding.");
1285
1228
  return;
1286
1229
  }
1287
1230
  }
1288
1231
  if (props.onClick !== void 0) {
1289
- let response = await props.onClick(props.index);
1290
- console.log(response);
1232
+ let response = await props.onClick();
1291
1233
  if (response.isSuccessful) {
1292
1234
  setIsActionPerformed(true);
1293
1235
  setResponseMessage(response.message);
@@ -1306,61 +1248,27 @@ var Button = (props) => {
1306
1248
  return new Promise((resolve) => {
1307
1249
  const onConfirm = () => resolve(true);
1308
1250
  const onCancel = () => resolve(false);
1309
- setShowModal(
1310
- /* @__PURE__ */ jsx26(
1311
- Confirm_default,
1312
- {
1313
- message: props.confirmationMessage,
1314
- onConfirm,
1315
- onCancel
1316
- }
1317
- )
1318
- );
1251
+ setShowModal(/* @__PURE__ */ jsx26(Confirm_default, { message: props.confirmationMessage, onConfirm, onCancel }));
1319
1252
  });
1320
1253
  };
1321
- let buttonClass = props.ButtonType ? buttonClasses.get(props.ButtonType) : buttonClasses.get("Primary" /* Primary */);
1322
- let progressClass = props.ButtonType ? progressClasses.get(props.ButtonType) : progressClasses.get("Primary" /* Primary */);
1254
+ let buttonClass = props.ButtonType ? buttonClasses.get(props.ButtonType) : buttonClasses.get("Primary" /* Solid */);
1255
+ let progressClass = props.ButtonType ? progressClasses.get(props.ButtonType) : progressClasses.get("Primary" /* Solid */);
1256
+ const isDisabled = inProgress || isActionPerformed && props.oneTimeAction;
1323
1257
  return /* @__PURE__ */ jsxs15(React26.Fragment, { children: [
1324
1258
  /* @__PURE__ */ jsxs15(
1325
1259
  "button",
1326
1260
  {
1327
1261
  type: "submit",
1328
1262
  onClick: execute,
1329
- id: props.id,
1330
1263
  disabled: props.disabled,
1331
- className: buttonClass + " relative " + (props.className || "") + (props.isActive ? " scale-95 shadow-inner" : ""),
1264
+ title: isDisabled ? "The button is disabled to prevent any action" : "",
1265
+ className: buttonClass + " relative " + props.className,
1332
1266
  children: [
1333
1267
  isActionPerformed && props.oneTimeAction && responseMessage ? responseMessage : props.children,
1334
- inProgress && /* @__PURE__ */ jsx26(React26.Fragment, { children: props.hideProgressIndicator === true ? /* @__PURE__ */ jsx26("div", { className: "absolute bottom-0 left-0 h-0.5 bg-gray-400 rounded animate-progress" }) : /* @__PURE__ */ jsxs15(
1335
- "svg",
1336
- {
1337
- className: "animate-spin ml-2 mr-3 h-5 w-5 " + progressClass,
1338
- xmlns: "http://www.w3.org/2000/svg",
1339
- fill: "none",
1340
- viewBox: "0 0 24 24",
1341
- children: [
1342
- /* @__PURE__ */ jsx26(
1343
- "circle",
1344
- {
1345
- className: "opacity-25",
1346
- cx: "12",
1347
- cy: "12",
1348
- r: "10",
1349
- stroke: "currentColor",
1350
- strokeWidth: "4"
1351
- }
1352
- ),
1353
- /* @__PURE__ */ jsx26(
1354
- "path",
1355
- {
1356
- className: "opacity-75",
1357
- fill: "currentColor",
1358
- d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
1359
- }
1360
- )
1361
- ]
1362
- }
1363
- ) })
1268
+ inProgress && /* @__PURE__ */ jsx26(React26.Fragment, { children: props.hideProgressIndicator === true ? /* @__PURE__ */ jsx26("div", { className: "absolute bottom-0 left-0 h-0.5 bg-gray-400 rounded animate-progress" }) : /* @__PURE__ */ jsxs15("svg", { className: "animate-spin ml-2 mr-3 h-5 w-5 " + progressClass, xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [
1269
+ /* @__PURE__ */ jsx26("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
1270
+ /* @__PURE__ */ jsx26("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })
1271
+ ] }) })
1364
1272
  ]
1365
1273
  }
1366
1274
  ),
@@ -1581,7 +1489,10 @@ var SelectWithSearchPanel = (props) => {
1581
1489
  }
1582
1490
  )
1583
1491
  ] }, field.name)),
1584
- /* @__PURE__ */ jsxs16(Button_default, { onClick: handleSaveModal, className: "w-full", children: [
1492
+ /* @__PURE__ */ jsxs16(Button_default, { onClick: async () => {
1493
+ handleSaveModal();
1494
+ return { isSuccessful: true };
1495
+ }, className: "w-full", children: [
1585
1496
  "Save ",
1586
1497
  props.attributes?.label
1587
1498
  ] })
@@ -1821,7 +1732,7 @@ InputControl.displayName = "InputControl";
1821
1732
  var InputControl_default = InputControl;
1822
1733
 
1823
1734
  // src/components/dataForm/DataList.tsx
1824
- import React35, { useEffect as useEffect6, useState as useState7, useCallback as useCallback2, useReducer } from "react";
1735
+ import React34, { useEffect as useEffect6, useState as useState7, useCallback as useCallback2, useReducer } from "react";
1825
1736
  import { useRouter } from "next/navigation";
1826
1737
 
1827
1738
  // src/components/dataForm/NoContentView.tsx
@@ -1876,27 +1787,25 @@ var ContentView_default = ContentView;
1876
1787
 
1877
1788
  // src/components/dataForm/Hyperlink.tsx
1878
1789
  import Link from "next/link";
1879
- import React34 from "react";
1880
- import { jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
1790
+ import { Fragment as Fragment2, jsx as jsx34 } from "react/jsx-runtime";
1881
1791
  function Hyperlink(props) {
1882
- let linkClass = props.linkType ? buttonClasses.get(props.linkType) : buttonClasses.get("Link" /* Link */);
1883
- const target = props.href?.startsWith("https://") ? "_blank" : "_self";
1884
- const additionalProps = target === "_blank" ? { rel: "noopener noreferrer" } : {};
1885
- return /* @__PURE__ */ jsxs21(React34.Fragment, { children: [
1886
- props.href && /* @__PURE__ */ jsx34(
1887
- Link,
1888
- {
1889
- href: props.href,
1890
- prefetch: false,
1891
- className: linkClass + " " + props.className,
1892
- title: props.title,
1893
- target,
1894
- ...additionalProps,
1895
- children: props.children
1896
- }
1897
- ),
1898
- !props.href && /* @__PURE__ */ jsx34("span", { className: props.className, children: props.children })
1899
- ] });
1792
+ let linkClass = props.linkType ? buttonClasses.get(props.linkType) : "";
1793
+ const target = props?.href?.startsWith("http") ? "_blank" : "_self";
1794
+ const additionalProps = {};
1795
+ if (target == "_blank") {
1796
+ additionalProps.rel = "noopener noreferrer";
1797
+ }
1798
+ return /* @__PURE__ */ jsx34(Fragment2, { children: props.href ? /* @__PURE__ */ jsx34(
1799
+ Link,
1800
+ {
1801
+ href: props.href,
1802
+ prefetch: false,
1803
+ className: `${linkClass} ${props.className ?? ""}`,
1804
+ ...additionalProps,
1805
+ target,
1806
+ children: props.children
1807
+ }
1808
+ ) : props.isHeading ? /* @__PURE__ */ jsx34("h5", { className: props.className + "inline-block", children: props.children }) : /* @__PURE__ */ jsx34("span", { className: props.className, children: props.children }) });
1900
1809
  }
1901
1810
 
1902
1811
  // src/clients/OdataBuilder.tsx
@@ -2147,7 +2056,7 @@ function FormReducer(state, action) {
2147
2056
  var FormReducer_default = FormReducer;
2148
2057
 
2149
2058
  // src/components/dataForm/DataList.tsx
2150
- import { Fragment as Fragment2, jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
2059
+ import { Fragment as Fragment3, jsx as jsx40, jsxs as jsxs21 } from "react/jsx-runtime";
2151
2060
  var DataList = (props) => {
2152
2061
  console.log(props.dataset, "datasetssssss");
2153
2062
  const router = useRouter();
@@ -2226,7 +2135,7 @@ var DataList = (props) => {
2226
2135
  const renderPageNumbers = () => {
2227
2136
  if (pages <= 10) {
2228
2137
  return Array.from({ length: pages }, (_, index) => index + 1).map(
2229
- (page) => /* @__PURE__ */ jsx40(React35.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
2138
+ (page) => /* @__PURE__ */ jsx40(React34.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
2230
2139
  Hyperlink,
2231
2140
  {
2232
2141
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -2239,8 +2148,8 @@ var DataList = (props) => {
2239
2148
  const showFirstPages = activePageNumber <= 5;
2240
2149
  const showLastPages = activePageNumber > pages - 5;
2241
2150
  if (showFirstPages) {
2242
- return /* @__PURE__ */ jsxs22(Fragment2, { children: [
2243
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx40(React35.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
2151
+ return /* @__PURE__ */ jsxs21(Fragment3, { children: [
2152
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx40(React34.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
2244
2153
  Hyperlink,
2245
2154
  {
2246
2155
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -2265,7 +2174,7 @@ var DataList = (props) => {
2265
2174
  children: pages
2266
2175
  }
2267
2176
  ),
2268
- /* @__PURE__ */ jsx40("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs22(
2177
+ /* @__PURE__ */ jsx40("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs21(
2269
2178
  "select",
2270
2179
  {
2271
2180
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -2287,7 +2196,7 @@ var DataList = (props) => {
2287
2196
  ) })
2288
2197
  ] });
2289
2198
  } else if (showLastPages) {
2290
- return /* @__PURE__ */ jsxs22(Fragment2, { children: [
2199
+ return /* @__PURE__ */ jsxs21(Fragment3, { children: [
2291
2200
  /* @__PURE__ */ jsx40(
2292
2201
  Hyperlink,
2293
2202
  {
@@ -2306,7 +2215,7 @@ var DataList = (props) => {
2306
2215
  ),
2307
2216
  /* @__PURE__ */ jsx40("span", { className: "px-2 py-1", children: "..." }),
2308
2217
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
2309
- (page) => /* @__PURE__ */ jsx40(React35.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
2218
+ (page) => /* @__PURE__ */ jsx40(React34.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
2310
2219
  Hyperlink,
2311
2220
  {
2312
2221
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -2317,7 +2226,7 @@ var DataList = (props) => {
2317
2226
  )
2318
2227
  ] });
2319
2228
  } else {
2320
- return /* @__PURE__ */ jsxs22(Fragment2, { children: [
2229
+ return /* @__PURE__ */ jsxs21(Fragment3, { children: [
2321
2230
  /* @__PURE__ */ jsx40(
2322
2231
  Hyperlink,
2323
2232
  {
@@ -2338,7 +2247,7 @@ var DataList = (props) => {
2338
2247
  Array.from(
2339
2248
  { length: 5 },
2340
2249
  (_, index) => activePageNumber - 2 + index
2341
- ).map((page) => /* @__PURE__ */ jsx40(React35.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
2250
+ ).map((page) => /* @__PURE__ */ jsx40(React34.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
2342
2251
  Hyperlink,
2343
2252
  {
2344
2253
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -2363,7 +2272,7 @@ var DataList = (props) => {
2363
2272
  children: pages
2364
2273
  }
2365
2274
  ),
2366
- /* @__PURE__ */ jsx40("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs22(
2275
+ /* @__PURE__ */ jsx40("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs21(
2367
2276
  "select",
2368
2277
  {
2369
2278
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -2384,15 +2293,15 @@ var DataList = (props) => {
2384
2293
  }
2385
2294
  }
2386
2295
  };
2387
- return /* @__PURE__ */ jsxs22(React35.Fragment, { children: [
2388
- /* @__PURE__ */ jsxs22(ContentView_default, { isDataFound, children: [
2389
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs22(
2296
+ return /* @__PURE__ */ jsxs21(React34.Fragment, { children: [
2297
+ /* @__PURE__ */ jsxs21(ContentView_default, { isDataFound, children: [
2298
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs21(
2390
2299
  "div",
2391
2300
  {
2392
2301
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md border-b border-neutral-200 sticky top-0`,
2393
2302
  children: [
2394
2303
  props.title ? /* @__PURE__ */ jsx40("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx40("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx40("div", {}),
2395
- /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-3", children: [
2304
+ /* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-3", children: [
2396
2305
  props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx40(
2397
2306
  InputControl_default,
2398
2307
  {
@@ -2408,11 +2317,11 @@ var DataList = (props) => {
2408
2317
  },
2409
2318
  filter.name
2410
2319
  )),
2411
- props.addLinkHref && /* @__PURE__ */ jsxs22(
2320
+ props.addLinkHref && /* @__PURE__ */ jsxs21(
2412
2321
  Hyperlink,
2413
2322
  {
2414
2323
  className: "gap-1",
2415
- linkType: "Primary" /* Primary */,
2324
+ linkType: "Primary" /* Solid */,
2416
2325
  href: props.addLinkHref,
2417
2326
  children: [
2418
2327
  /* @__PURE__ */ jsx40(Icon_default, { name: "plus", className: "w-4 h-4" }),
@@ -2424,7 +2333,7 @@ var DataList = (props) => {
2424
2333
  ]
2425
2334
  }
2426
2335
  ),
2427
- /* @__PURE__ */ jsx40("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs22("table", { className: "w-full divide-y divide-gray-200", children: [
2336
+ /* @__PURE__ */ jsx40("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs21("table", { className: "w-full divide-y divide-gray-200", children: [
2428
2337
  /* @__PURE__ */ jsx40("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsx40("tr", { children: props?.columns?.map((column) => {
2429
2338
  let url = builder.getNewOrderByUrl(column.name);
2430
2339
  let icon = "chevronUpDown";
@@ -2439,7 +2348,7 @@ var DataList = (props) => {
2439
2348
  "th",
2440
2349
  {
2441
2350
  className: "px-6 py-3 text-left font-medium cursor-pointer bg-neutral-soft " + column.width + (column.controlType == ViewControlTypes_default.moneyView ? " text-right" : ""),
2442
- children: /* @__PURE__ */ jsx40(Hyperlink, { href: url, className: "!text-neutral-contrast ", children: /* @__PURE__ */ jsxs22("span", { className: "flex items-center space-x-1", children: [
2351
+ children: /* @__PURE__ */ jsx40(Hyperlink, { href: url, className: "!text-neutral-contrast ", children: /* @__PURE__ */ jsxs21("span", { className: "flex items-center space-x-1", children: [
2443
2352
  /* @__PURE__ */ jsx40("span", { className: "text-black", children: column.label }),
2444
2353
  column.enableSorting && /* @__PURE__ */ jsx40(Icon_default, { className: "w-4 h-4", name: icon })
2445
2354
  ] }) })
@@ -2455,7 +2364,7 @@ var DataList = (props) => {
2455
2364
  }
2456
2365
  return /* @__PURE__ */ jsx40("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
2457
2366
  console.log("column", column);
2458
- return /* @__PURE__ */ jsx40(React35.Fragment, { children: /* @__PURE__ */ jsx40(
2367
+ return /* @__PURE__ */ jsx40(React34.Fragment, { children: /* @__PURE__ */ jsx40(
2459
2368
  "td",
2460
2369
  {
2461
2370
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.moneyView ? "" : ""),
@@ -2505,9 +2414,9 @@ var DataList = (props) => {
2505
2414
  }) }, index);
2506
2415
  }) })
2507
2416
  ] }) }),
2508
- /* @__PURE__ */ jsx40("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs22("div", { className: "flex items-center justify-between", children: [
2417
+ /* @__PURE__ */ jsx40("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs21("div", { className: "flex items-center justify-between", children: [
2509
2418
  /* @__PURE__ */ jsx40("div", { className: "text-gray-700", children: label }),
2510
- /* @__PURE__ */ jsxs22("div", { className: "flex space-x-2 items-center", children: [
2419
+ /* @__PURE__ */ jsxs21("div", { className: "flex space-x-2 items-center", children: [
2511
2420
  activePageNumber > 1 && /* @__PURE__ */ jsx40(
2512
2421
  Hyperlink,
2513
2422
  {
@@ -2530,14 +2439,14 @@ var DataList = (props) => {
2530
2439
  ] })
2531
2440
  ] }) })
2532
2441
  ] }),
2533
- /* @__PURE__ */ jsxs22(NoContentView_default, { isDataFound, children: [
2534
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs22(
2442
+ /* @__PURE__ */ jsxs21(NoContentView_default, { isDataFound, children: [
2443
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs21(
2535
2444
  "div",
2536
2445
  {
2537
2446
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md border-b border-neutral-200`,
2538
2447
  children: [
2539
2448
  props.title ? /* @__PURE__ */ jsx40("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx40("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx40("div", {}),
2540
- /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-3", children: [
2449
+ /* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-3", children: [
2541
2450
  props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx40(
2542
2451
  InputControl_default,
2543
2452
  {
@@ -2553,11 +2462,11 @@ var DataList = (props) => {
2553
2462
  },
2554
2463
  filter.name
2555
2464
  )),
2556
- props.addLinkHref && /* @__PURE__ */ jsxs22(
2465
+ props.addLinkHref && /* @__PURE__ */ jsxs21(
2557
2466
  Hyperlink,
2558
2467
  {
2559
2468
  className: "gap-1",
2560
- linkType: "Primary" /* Primary */,
2469
+ linkType: "Primary" /* Solid */,
2561
2470
  href: props.addLinkHref,
2562
2471
  children: [
2563
2472
  /* @__PURE__ */ jsx40(Icon_default, { name: "plus", className: "w-4 h-4" }),
@@ -2569,7 +2478,7 @@ var DataList = (props) => {
2569
2478
  ]
2570
2479
  }
2571
2480
  ),
2572
- /* @__PURE__ */ jsxs22("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
2481
+ /* @__PURE__ */ jsxs21("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
2573
2482
  /* @__PURE__ */ jsx40("div", { children: /* @__PURE__ */ jsx40("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx40("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx40("tr", { children: props?.columns?.map((column) => {
2574
2483
  let url = builder.getNewOrderByUrl(column.name);
2575
2484
  let icon = "chevronUpDown";
@@ -2584,7 +2493,7 @@ var DataList = (props) => {
2584
2493
  "th",
2585
2494
  {
2586
2495
  className: "px-6 py-3 text-left font-medium cursor-pointer bg-neutral-soft " + column.width + (column.controlType == ViewControlTypes_default.moneyView ? " text-right" : ""),
2587
- children: /* @__PURE__ */ jsx40(Hyperlink, { href: url, className: "text-body-950", children: /* @__PURE__ */ jsxs22("span", { className: "flex items-center space-x-1", children: [
2496
+ children: /* @__PURE__ */ jsx40(Hyperlink, { href: url, className: "text-body-950", children: /* @__PURE__ */ jsxs21("span", { className: "flex items-center space-x-1", children: [
2588
2497
  /* @__PURE__ */ jsx40("span", { children: column.label }),
2589
2498
  column.enableSorting && /* @__PURE__ */ jsx40(Icon_default, { className: "w-4 h-4", name: icon })
2590
2499
  ] }) })
@@ -2600,10 +2509,10 @@ var DataList = (props) => {
2600
2509
  var DataList_default = DataList;
2601
2510
 
2602
2511
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2603
- import React54 from "react";
2512
+ import React53 from "react";
2604
2513
 
2605
2514
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
2606
- import React37 from "react";
2515
+ import React36 from "react";
2607
2516
 
2608
2517
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
2609
2518
  import { jsx as jsx41 } from "react/jsx-runtime";
@@ -2675,9 +2584,9 @@ var LineBreakNode = (props) => {
2675
2584
  var LineBreakNode_default = LineBreakNode;
2676
2585
 
2677
2586
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
2678
- import React36 from "react";
2587
+ import React35 from "react";
2679
2588
  import Link2 from "next/link";
2680
- import { jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
2589
+ import { jsx as jsx43, jsxs as jsxs22 } from "react/jsx-runtime";
2681
2590
  var LinkNode = (props) => {
2682
2591
  const NodeTypes2 = {
2683
2592
  ["text"]: TextNode_default
@@ -2685,10 +2594,10 @@ var LinkNode = (props) => {
2685
2594
  {
2686
2595
  }
2687
2596
  let formatClasses = props.node.cssClass || "";
2688
- return /* @__PURE__ */ jsxs23(Link2, { className: formatClasses, href: props.node.url, title: props.node.title, children: [
2597
+ return /* @__PURE__ */ jsxs22(Link2, { className: formatClasses, href: props.node.url, title: props.node.title, children: [
2689
2598
  props.node.children && props.node.children.map((node, index) => {
2690
2599
  const SelectedNode = NodeTypes2[node.type];
2691
- return /* @__PURE__ */ jsx43(React36.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx43(SelectedNode, { node }) }, index);
2600
+ return /* @__PURE__ */ jsx43(React35.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx43(SelectedNode, { node }) }, index);
2692
2601
  }),
2693
2602
  props.node.children.length == 0 && /* @__PURE__ */ jsx43("br", {})
2694
2603
  ] });
@@ -2852,7 +2761,7 @@ var DatafieldNode = (props) => {
2852
2761
  var DatafieldNode_default = DatafieldNode;
2853
2762
 
2854
2763
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
2855
- import { Fragment as Fragment3, jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
2764
+ import { Fragment as Fragment4, jsx as jsx47, jsxs as jsxs23 } from "react/jsx-runtime";
2856
2765
  var ParagraphNode = (props) => {
2857
2766
  const NodeTypes2 = {
2858
2767
  ["text"]: TextNode_default,
@@ -2872,9 +2781,9 @@ var ParagraphNode = (props) => {
2872
2781
  const isInlineOnlyParent = props.parentTag === "summary";
2873
2782
  const hasChildren = props.node.children && props.node.children.length > 0;
2874
2783
  if (isInlineOnlyParent) {
2875
- return /* @__PURE__ */ jsx47(Fragment3, { children: hasChildren && props.node.children.map((node, index) => {
2784
+ return /* @__PURE__ */ jsx47(Fragment4, { children: hasChildren && props.node.children.map((node, index) => {
2876
2785
  const SelectedNode = NodeTypes2[node.type];
2877
- return /* @__PURE__ */ jsx47(React37.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx47(
2786
+ return /* @__PURE__ */ jsx47(React36.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx47(
2878
2787
  SelectedNode,
2879
2788
  {
2880
2789
  node,
@@ -2886,10 +2795,10 @@ var ParagraphNode = (props) => {
2886
2795
  ) }, index);
2887
2796
  }) });
2888
2797
  }
2889
- return /* @__PURE__ */ jsxs24("div", { className: " " + formatClasses, children: [
2798
+ return /* @__PURE__ */ jsxs23("div", { className: " " + formatClasses, children: [
2890
2799
  hasChildren && props.node.children.map((node, index) => {
2891
2800
  const SelectedNode = NodeTypes2[node.type];
2892
- return /* @__PURE__ */ jsx47(React37.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx47(
2801
+ return /* @__PURE__ */ jsx47(React36.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx47(
2893
2802
  SelectedNode,
2894
2803
  {
2895
2804
  node,
@@ -2906,8 +2815,8 @@ var ParagraphNode = (props) => {
2906
2815
  var ParagraphNode_default = ParagraphNode;
2907
2816
 
2908
2817
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
2909
- import React38 from "react";
2910
- import { Fragment as Fragment4, jsx as jsx48 } from "react/jsx-runtime";
2818
+ import React37 from "react";
2819
+ import { Fragment as Fragment5, jsx as jsx48 } from "react/jsx-runtime";
2911
2820
  var HeadingNode = (props) => {
2912
2821
  const NodeTypes2 = {
2913
2822
  ["text"]: TextNode_default,
@@ -2923,22 +2832,22 @@ var HeadingNode = (props) => {
2923
2832
  {
2924
2833
  }
2925
2834
  let formatClasses = FormatClass[props.node.format] || "";
2926
- return /* @__PURE__ */ jsx48(Fragment4, { children: React38.createElement(
2835
+ return /* @__PURE__ */ jsx48(Fragment5, { children: React37.createElement(
2927
2836
  HeadingTag,
2928
2837
  { className: formatClasses },
2929
2838
  props.node.children && props.node.children.map((childNode, index) => {
2930
2839
  const SelectedNode = NodeTypes2[childNode.type];
2931
- return /* @__PURE__ */ jsx48(React38.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx48(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
2840
+ return /* @__PURE__ */ jsx48(React37.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx48(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
2932
2841
  })
2933
2842
  ) });
2934
2843
  };
2935
2844
  var HeadingNode_default = HeadingNode;
2936
2845
 
2937
2846
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
2938
- import React40 from "react";
2847
+ import React39 from "react";
2939
2848
 
2940
2849
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
2941
- import React39 from "react";
2850
+ import React38 from "react";
2942
2851
  import { jsx as jsx49 } from "react/jsx-runtime";
2943
2852
  var ListItemNode = (props) => {
2944
2853
  const NodeTypes2 = {
@@ -2967,33 +2876,33 @@ var ListItemNode = (props) => {
2967
2876
  }
2968
2877
  } else {
2969
2878
  foundFirstBreak = false;
2970
- return /* @__PURE__ */ jsx49(React39.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx49(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
2879
+ return /* @__PURE__ */ jsx49(React38.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx49(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
2971
2880
  }
2972
2881
  }) });
2973
2882
  };
2974
2883
  var ListItemNode_default = ListItemNode;
2975
2884
 
2976
2885
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
2977
- import { jsx as jsx50, jsxs as jsxs25 } from "react/jsx-runtime";
2886
+ import { jsx as jsx50, jsxs as jsxs24 } from "react/jsx-runtime";
2978
2887
  var ListNode = (props) => {
2979
2888
  const NodeTypes2 = {
2980
2889
  listitem: ListItemNode_default
2981
2890
  };
2982
- return /* @__PURE__ */ jsxs25(React40.Fragment, { children: [
2891
+ return /* @__PURE__ */ jsxs24(React39.Fragment, { children: [
2983
2892
  props.node.listType == "bullet" && /* @__PURE__ */ jsx50("ul", { children: props.node.children && props.node.children.map((node, index) => {
2984
2893
  const SelectedNode = NodeTypes2[node.type];
2985
- return /* @__PURE__ */ jsx50(React40.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx50(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
2894
+ return /* @__PURE__ */ jsx50(React39.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx50(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
2986
2895
  }) }),
2987
2896
  props.node.listType == "number" && /* @__PURE__ */ jsx50("ol", { children: props.node.children && props.node.children.map((node, index) => {
2988
2897
  const SelectedNode = NodeTypes2[node.type];
2989
- return /* @__PURE__ */ jsx50(React40.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx50(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
2898
+ return /* @__PURE__ */ jsx50(React39.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx50(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
2990
2899
  }) })
2991
2900
  ] });
2992
2901
  };
2993
2902
  var ListNode_default = ListNode;
2994
2903
 
2995
2904
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
2996
- import React41 from "react";
2905
+ import React40 from "react";
2997
2906
  import { jsx as jsx51 } from "react/jsx-runtime";
2998
2907
  var QuoteNode = (props) => {
2999
2908
  const NodeTypes2 = {
@@ -3003,17 +2912,17 @@ var QuoteNode = (props) => {
3003
2912
  };
3004
2913
  return /* @__PURE__ */ jsx51("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
3005
2914
  const SelectedNode = NodeTypes2[node.type];
3006
- return /* @__PURE__ */ jsx51(React41.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx51(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
2915
+ return /* @__PURE__ */ jsx51(React40.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx51(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
3007
2916
  }) });
3008
2917
  };
3009
2918
  var QuoteNode_default = QuoteNode;
3010
2919
 
3011
2920
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
3012
- import React42 from "react";
2921
+ import React41 from "react";
3013
2922
 
3014
2923
  // src/components/CopyButton.tsx
3015
2924
  import { useState as useState8, useRef as useRef3, useEffect as useEffect7 } from "react";
3016
- import { jsx as jsx52, jsxs as jsxs26 } from "react/jsx-runtime";
2925
+ import { jsx as jsx52, jsxs as jsxs25 } from "react/jsx-runtime";
3017
2926
  function CopyButton({ text }) {
3018
2927
  const [copied, setCopied] = useState8(false);
3019
2928
  const timeoutRef = useRef3(null);
@@ -3032,7 +2941,7 @@ function CopyButton({ text }) {
3032
2941
  console.error("Failed to copy: ", err);
3033
2942
  }
3034
2943
  };
3035
- return /* @__PURE__ */ jsxs26(
2944
+ return /* @__PURE__ */ jsxs25(
3036
2945
  "button",
3037
2946
  {
3038
2947
  onClick: handleCopy,
@@ -3063,7 +2972,7 @@ function CopyButton({ text }) {
3063
2972
  }
3064
2973
 
3065
2974
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
3066
- import { jsx as jsx53, jsxs as jsxs27 } from "react/jsx-runtime";
2975
+ import { jsx as jsx53, jsxs as jsxs26 } from "react/jsx-runtime";
3067
2976
  var CodeNode = (props) => {
3068
2977
  const NodeTypes2 = {
3069
2978
  ["text"]: TextNode_default,
@@ -3076,14 +2985,14 @@ var CodeNode = (props) => {
3076
2985
  if (node.type === "link") return node.text || node.url || "";
3077
2986
  return "";
3078
2987
  }).join("") ?? "";
3079
- return /* @__PURE__ */ jsxs27("div", { className: "code-block", children: [
3080
- /* @__PURE__ */ jsxs27("div", { className: "flex items-center relative text-gray-200 bg-gray-800 px-4 py-2.5 text-xs font-sans justify-between rounded-t-md", children: [
2988
+ return /* @__PURE__ */ jsxs26("div", { className: "code-block", children: [
2989
+ /* @__PURE__ */ jsxs26("div", { className: "flex items-center relative text-gray-200 bg-gray-800 px-4 py-2.5 text-xs font-sans justify-between rounded-t-md", children: [
3081
2990
  /* @__PURE__ */ jsx53("span", { children: "Code Snippet" }),
3082
2991
  /* @__PURE__ */ jsx53(CopyButton, { text: textContent })
3083
2992
  ] }),
3084
2993
  /* @__PURE__ */ jsx53("code", { className: "block bg-gray-900 text-gray-100 p-4 rounded-b-md text-sm whitespace-pre-wrap", children: props.node.children && props.node.children.map((node, index) => {
3085
2994
  const SelectedNode = NodeTypes2[node.type];
3086
- return /* @__PURE__ */ jsx53(React42.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx53(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
2995
+ return /* @__PURE__ */ jsx53(React41.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx53(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
3087
2996
  }) })
3088
2997
  ] });
3089
2998
  };
@@ -3097,15 +3006,15 @@ var HorizontalRuleNode = (props) => {
3097
3006
  var HorizontalRuleNode_default = HorizontalRuleNode;
3098
3007
 
3099
3008
  // src/components/pageRenderingEngine/nodes/LayoutItemNode.tsx
3100
- import React48 from "react";
3009
+ import React47 from "react";
3101
3010
 
3102
3011
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
3103
- import React43 from "react";
3012
+ import React42 from "react";
3104
3013
  import { jsx as jsx55 } from "react/jsx-runtime";
3105
3014
  var ImageNode = (props) => {
3106
3015
  const { node, apiBaseUrl = "" } = props;
3107
3016
  let imageUrl = node.imageUrl.startsWith("http") ? node.imageUrl : `${apiBaseUrl}/digitalassets/storefront/${node.imageUrl}`;
3108
- return /* @__PURE__ */ jsx55(React43.Fragment, { children: node.width ? /* @__PURE__ */ jsx55("div", { style: { width: node.width }, children: /* @__PURE__ */ jsx55(
3017
+ return /* @__PURE__ */ jsx55(React42.Fragment, { children: node.width ? /* @__PURE__ */ jsx55("div", { style: { width: node.width }, children: /* @__PURE__ */ jsx55(
3109
3018
  "img",
3110
3019
  {
3111
3020
  loading: "lazy",
@@ -3131,7 +3040,7 @@ var ImageNode_default = ImageNode;
3131
3040
 
3132
3041
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
3133
3042
  import { Suspense } from "react";
3134
- import { Fragment as Fragment5, jsx as jsx56, jsxs as jsxs28 } from "react/jsx-runtime";
3043
+ import { Fragment as Fragment6, jsx as jsx56, jsxs as jsxs27 } from "react/jsx-runtime";
3135
3044
  var WidgetNode = (props) => {
3136
3045
  const getWidgetParameters = () => {
3137
3046
  const widgetInputParameters = { ...props.routeParameters ?? {} };
@@ -3186,7 +3095,7 @@ var WidgetNode = (props) => {
3186
3095
  const SelectedWidget = props.widgetRegistry?.[props.node.widgetCode];
3187
3096
  if (!SelectedWidget) {
3188
3097
  console.warn("Widget not found:", props.node.widgetCode);
3189
- return /* @__PURE__ */ jsxs28(Fragment5, { children: [
3098
+ return /* @__PURE__ */ jsxs27(Fragment6, { children: [
3190
3099
  "Widget not found: ",
3191
3100
  props.node.widgetCode
3192
3101
  ] });
@@ -3206,37 +3115,37 @@ var WidgetNode = (props) => {
3206
3115
  var WidgetNode_default = WidgetNode;
3207
3116
 
3208
3117
  // src/components/pageRenderingEngine/nodes/IframeClient.tsx
3209
- import React46, { useEffect as useEffect8, useRef as useRef4, useState as useState9 } from "react";
3118
+ import React45, { useEffect as useEffect8, useRef as useRef4, useState as useState9 } from "react";
3210
3119
 
3211
3120
  // src/components/IFrameLoaderView.tsx
3212
- import React45 from "react";
3213
- import { jsx as jsx57, jsxs as jsxs29 } from "react/jsx-runtime";
3121
+ import React44 from "react";
3122
+ import { jsx as jsx57, jsxs as jsxs28 } from "react/jsx-runtime";
3214
3123
  var IFrameLoaderView = (props) => {
3215
- return /* @__PURE__ */ jsxs29(React45.Fragment, { children: [
3216
- props.isDataFound == null && /* @__PURE__ */ jsx57("div", { className: "", children: /* @__PURE__ */ jsxs29("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
3217
- /* @__PURE__ */ jsxs29("div", { className: "flex items-center mb-4", children: [
3124
+ return /* @__PURE__ */ jsxs28(React44.Fragment, { children: [
3125
+ props.isDataFound == null && /* @__PURE__ */ jsx57("div", { className: "", children: /* @__PURE__ */ jsxs28("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
3126
+ /* @__PURE__ */ jsxs28("div", { className: "flex items-center mb-4", children: [
3218
3127
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3219
- /* @__PURE__ */ jsxs29("div", { className: "ml-2", children: [
3128
+ /* @__PURE__ */ jsxs28("div", { className: "ml-2", children: [
3220
3129
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3221
3130
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3222
3131
  ] })
3223
3132
  ] }),
3224
- /* @__PURE__ */ jsxs29("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3225
- /* @__PURE__ */ jsxs29("div", { className: "animate-pulse", children: [
3133
+ /* @__PURE__ */ jsxs28("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3134
+ /* @__PURE__ */ jsxs28("div", { className: "animate-pulse", children: [
3226
3135
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3227
3136
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3228
3137
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3229
3138
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3230
3139
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3231
3140
  ] }),
3232
- /* @__PURE__ */ jsxs29("div", { className: "animate-pulse", children: [
3141
+ /* @__PURE__ */ jsxs28("div", { className: "animate-pulse", children: [
3233
3142
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3234
3143
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3235
3144
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3236
3145
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3237
3146
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3238
3147
  ] }),
3239
- /* @__PURE__ */ jsxs29("div", { className: "animate-pulse", children: [
3148
+ /* @__PURE__ */ jsxs28("div", { className: "animate-pulse", children: [
3240
3149
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3241
3150
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3242
3151
  /* @__PURE__ */ jsx57("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
@@ -3283,7 +3192,7 @@ var IframeClient = ({ src }) => {
3283
3192
  const handleIframeLoad = () => {
3284
3193
  setIsDataFound(true);
3285
3194
  };
3286
- return /* @__PURE__ */ jsx58(React46.Fragment, { children: /* @__PURE__ */ jsx58(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ jsx58(
3195
+ return /* @__PURE__ */ jsx58(React45.Fragment, { children: /* @__PURE__ */ jsx58(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ jsx58(
3287
3196
  "iframe",
3288
3197
  {
3289
3198
  ref: iframeRef,
@@ -3312,7 +3221,7 @@ var EmbedNode = (props) => {
3312
3221
  var EmbedNode_default = EmbedNode;
3313
3222
 
3314
3223
  // src/components/pageRenderingEngine/nodes/VideoNode.tsx
3315
- import React47 from "react";
3224
+ import React46 from "react";
3316
3225
  import { jsx as jsx60 } from "react/jsx-runtime";
3317
3226
  var VideoNode = (props) => {
3318
3227
  let src;
@@ -3321,7 +3230,7 @@ var VideoNode = (props) => {
3321
3230
  } else if (props.node.provider == "bunny") {
3322
3231
  src = `https://iframe.mediadelivery.net/embed/${props.node.videoId}?autoplay=false&loop=false&muted=false&preload=true&responsive=true`;
3323
3232
  }
3324
- return /* @__PURE__ */ jsx60(React47.Fragment, { children: src && /* @__PURE__ */ jsx60("iframe", { className: "w-full aspect-video rounded", src, loading: "lazy", allow: "accelerometer;gyroscope;autoplay;encrypted-media;picture-in-picture;", allowFullScreen: true }) });
3233
+ return /* @__PURE__ */ jsx60(React46.Fragment, { children: src && /* @__PURE__ */ jsx60("iframe", { className: "w-full aspect-video rounded", src, loading: "lazy", allow: "accelerometer;gyroscope;autoplay;encrypted-media;picture-in-picture;", allowFullScreen: true }) });
3325
3234
  };
3326
3235
  var VideoNode_default = VideoNode;
3327
3236
 
@@ -3387,11 +3296,11 @@ var LayoutItemNode = (props) => {
3387
3296
  } else {
3388
3297
  updatedLayout = removeParagraphsAtStartAndEnd(props.node);
3389
3298
  }
3390
- return /* @__PURE__ */ jsx61(React48.Fragment, { children: /* @__PURE__ */ jsx61("div", { className: "layout-item " + cssClasses, style: { ...styles }, children: updatedLayout.children.map((node, index) => {
3299
+ return /* @__PURE__ */ jsx61(React47.Fragment, { children: /* @__PURE__ */ jsx61("div", { className: "layout-item " + cssClasses, style: { ...styles }, children: updatedLayout.children.map((node, index) => {
3391
3300
  {
3392
3301
  }
3393
3302
  const SelectedNode = NodeTypes2[node.type];
3394
- return /* @__PURE__ */ jsx61(React48.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx61(
3303
+ return /* @__PURE__ */ jsx61(React47.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx61(
3395
3304
  SelectedNode,
3396
3305
  {
3397
3306
  node,
@@ -3421,7 +3330,7 @@ var AssetUtility = class {
3421
3330
  var AssetUtility_default = AssetUtility;
3422
3331
 
3423
3332
  // src/components/pageRenderingEngine/nodes/LayoutContainerNode.tsx
3424
- import { Fragment as Fragment6, jsx as jsx62, jsxs as jsxs30 } from "react/jsx-runtime";
3333
+ import { Fragment as Fragment7, jsx as jsx62, jsxs as jsxs29 } from "react/jsx-runtime";
3425
3334
  var LayoutContainerNode = (props) => {
3426
3335
  const VERTICAL_ALIGNMENT_CLASSES = {
3427
3336
  start: "items-start",
@@ -3505,7 +3414,7 @@ var LayoutContainerNode = (props) => {
3505
3414
  },
3506
3415
  index
3507
3416
  ));
3508
- return /* @__PURE__ */ jsxs30(Fragment6, { children: [
3417
+ return /* @__PURE__ */ jsxs29(Fragment7, { children: [
3509
3418
  sectionWidth === "mixed" && /* @__PURE__ */ jsx62("div", { className: cssClasses, style: styles, children: /* @__PURE__ */ jsx62("div", { className: "container", children: /* @__PURE__ */ jsx62(
3510
3419
  "div",
3511
3420
  {
@@ -3535,7 +3444,7 @@ var LayoutContainerNode = (props) => {
3535
3444
  var LayoutContainerNode_default = LayoutContainerNode;
3536
3445
 
3537
3446
  // src/components/pageRenderingEngine/nodes/FormContainerNode.tsx
3538
- import React49, { useRef as useRef5, useReducer as useReducer2, useCallback as useCallback3, useEffect as useEffect9 } from "react";
3447
+ import React48, { useRef as useRef5, useReducer as useReducer2, useCallback as useCallback3, useEffect as useEffect9 } from "react";
3539
3448
 
3540
3449
  // src/components/pageRenderingEngine/nodes/InputControlNode.tsx
3541
3450
  import { jsx as jsx63 } from "react/jsx-runtime";
@@ -3569,7 +3478,7 @@ var InputControlNode = (props) => {
3569
3478
  var InputControlNode_default = InputControlNode;
3570
3479
 
3571
3480
  // src/components/pageRenderingEngine/nodes/FormContainerNode.tsx
3572
- import { jsx as jsx64, jsxs as jsxs31 } from "react/jsx-runtime";
3481
+ import { jsx as jsx64, jsxs as jsxs30 } from "react/jsx-runtime";
3573
3482
  var FormContainerNode = (props) => {
3574
3483
  const NodeTypes2 = {
3575
3484
  ["input-control"]: InputControlNode_default
@@ -3609,12 +3518,12 @@ var FormContainerNode = (props) => {
3609
3518
  };
3610
3519
  fetchInitialData();
3611
3520
  }, [props.fetchData, node.dataFetchApi, props.routeParameters]);
3612
- return /* @__PURE__ */ jsxs31("form", { className: "group space-y-6 pb-6 overflow-y-auto", noValidate: true, ref: formRef, children: [
3521
+ return /* @__PURE__ */ jsxs30("form", { className: "group space-y-6 pb-6 overflow-y-auto", noValidate: true, ref: formRef, children: [
3613
3522
  node.children && node.children.map((node2, index) => {
3614
3523
  {
3615
3524
  }
3616
3525
  const SelectedNode = NodeTypes2[node2.type];
3617
- return /* @__PURE__ */ jsx64(React49.Fragment, { children: SelectedNode && node2.type == "input-control" && /* @__PURE__ */ jsx64(
3526
+ return /* @__PURE__ */ jsx64(React48.Fragment, { children: SelectedNode && node2.type == "input-control" && /* @__PURE__ */ jsx64(
3618
3527
  InputControlNode_default,
3619
3528
  {
3620
3529
  value: formState.inputValues[node2.name],
@@ -3629,7 +3538,7 @@ var FormContainerNode = (props) => {
3629
3538
  var FormContainerNode_default = FormContainerNode;
3630
3539
 
3631
3540
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
3632
- import React53 from "react";
3541
+ import React52 from "react";
3633
3542
 
3634
3543
  // src/components/utilities/AnimationUtility.tsx
3635
3544
  var AnimationUtility = class {
@@ -3741,7 +3650,7 @@ var AnimationUtility_default = AnimationUtility;
3741
3650
 
3742
3651
  // src/components/Pagination.tsx
3743
3652
  import { useMemo } from "react";
3744
- import { jsx as jsx65, jsxs as jsxs32 } from "react/jsx-runtime";
3653
+ import { jsx as jsx65, jsxs as jsxs31 } from "react/jsx-runtime";
3745
3654
  var Pagination = (props) => {
3746
3655
  const { dataset, path, query, showPageSizeSelector = false, showJumpToPage = false } = props;
3747
3656
  const builder = useMemo(() => {
@@ -3812,11 +3721,11 @@ var Pagination = (props) => {
3812
3721
  );
3813
3722
  };
3814
3723
  if (totalPages <= 1 && totalItems === 0) return null;
3815
- return /* @__PURE__ */ jsxs32("div", { className: "py-6 border-t bg-default", children: [
3816
- /* @__PURE__ */ jsxs32("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
3817
- /* @__PURE__ */ jsxs32("div", { className: "text-sm", children: [
3724
+ return /* @__PURE__ */ jsxs31("div", { className: "py-6 border-t bg-default", children: [
3725
+ /* @__PURE__ */ jsxs31("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
3726
+ /* @__PURE__ */ jsxs31("div", { className: "text-sm", children: [
3818
3727
  "Showing ",
3819
- /* @__PURE__ */ jsxs32("span", { className: "font-semibold", children: [
3728
+ /* @__PURE__ */ jsxs31("span", { className: "font-semibold", children: [
3820
3729
  startItem,
3821
3730
  "-",
3822
3731
  endItem
@@ -3826,8 +3735,8 @@ var Pagination = (props) => {
3826
3735
  /* @__PURE__ */ jsx65("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
3827
3736
  " results"
3828
3737
  ] }),
3829
- totalPages > 1 && /* @__PURE__ */ jsxs32("div", { className: "flex items-center space-x-1", children: [
3830
- /* @__PURE__ */ jsxs32(
3738
+ totalPages > 1 && /* @__PURE__ */ jsxs31("div", { className: "flex items-center space-x-1", children: [
3739
+ /* @__PURE__ */ jsxs31(
3831
3740
  NavigationButton,
3832
3741
  {
3833
3742
  page: activePageNumber - 1,
@@ -3852,7 +3761,7 @@ var Pagination = (props) => {
3852
3761
  const page = item;
3853
3762
  return /* @__PURE__ */ jsx65(PageButton, { page, children: page }, page);
3854
3763
  }),
3855
- /* @__PURE__ */ jsxs32(
3764
+ /* @__PURE__ */ jsxs31(
3856
3765
  NavigationButton,
3857
3766
  {
3858
3767
  page: activePageNumber + 1,
@@ -3864,7 +3773,7 @@ var Pagination = (props) => {
3864
3773
  }
3865
3774
  )
3866
3775
  ] }),
3867
- showJumpToPage && totalPages > 5 && /* @__PURE__ */ jsxs32("div", { className: "flex items-center space-x-2", children: [
3776
+ showJumpToPage && totalPages > 5 && /* @__PURE__ */ jsxs31("div", { className: "flex items-center space-x-2", children: [
3868
3777
  /* @__PURE__ */ jsx65("span", { className: "text-sm", children: "Go to:" }),
3869
3778
  /* @__PURE__ */ jsx65("div", { className: "relative", children: /* @__PURE__ */ jsx65(
3870
3779
  "input",
@@ -3887,7 +3796,7 @@ var Pagination = (props) => {
3887
3796
  ) })
3888
3797
  ] })
3889
3798
  ] }),
3890
- showPageSizeSelector && /* @__PURE__ */ jsx65("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center justify-center space-x-2", children: [
3799
+ showPageSizeSelector && /* @__PURE__ */ jsx65("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ jsxs31("div", { className: "flex items-center justify-center space-x-2", children: [
3891
3800
  /* @__PURE__ */ jsx65("span", { className: "text-sm", children: "Show:" }),
3892
3801
  /* @__PURE__ */ jsx65("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ jsx65(
3893
3802
  Hyperlink,
@@ -3959,8 +3868,8 @@ var PathUtility = class {
3959
3868
  var PathUtility_default = new PathUtility();
3960
3869
 
3961
3870
  // src/components/pageRenderingEngine/nodes/EnterAnimationClient.tsx
3962
- import React51, { useEffect as useEffect10, useRef as useRef6 } from "react";
3963
- import { Fragment as Fragment7, jsx as jsx66 } from "react/jsx-runtime";
3871
+ import React50, { useEffect as useEffect10, useRef as useRef6 } from "react";
3872
+ import { Fragment as Fragment8, jsx as jsx66 } from "react/jsx-runtime";
3964
3873
  function EnterAnimationClient({ hasEnterAnimation, children }) {
3965
3874
  const ref = useRef6(null);
3966
3875
  useEffect10(() => {
@@ -3979,14 +3888,14 @@ function EnterAnimationClient({ hasEnterAnimation, children }) {
3979
3888
  observer.observe(ref.current);
3980
3889
  return () => observer.disconnect();
3981
3890
  }, [hasEnterAnimation]);
3982
- return /* @__PURE__ */ jsx66(Fragment7, { children: children && // enforce passing the ref to Wrapper
3891
+ return /* @__PURE__ */ jsx66(Fragment8, { children: children && // enforce passing the ref to Wrapper
3983
3892
  //@ts-ignore
3984
- React51.cloneElement(children, { ref }) });
3893
+ React50.cloneElement(children, { ref }) });
3985
3894
  }
3986
3895
 
3987
3896
  // src/components/Slider.tsx
3988
- import React52, { useState as useState11, useEffect as useEffect11, Children, cloneElement } from "react";
3989
- import { Fragment as Fragment8, jsx as jsx67, jsxs as jsxs33 } from "react/jsx-runtime";
3897
+ import React51, { useState as useState11, useEffect as useEffect11, Children, cloneElement } from "react";
3898
+ import { Fragment as Fragment9, jsx as jsx67, jsxs as jsxs32 } from "react/jsx-runtime";
3990
3899
  var Slider = ({
3991
3900
  children,
3992
3901
  slidesToShow = 4,
@@ -4080,7 +3989,7 @@ var Slider = ({
4080
3989
  };
4081
3990
  const translateX = -currentSlide * (100 / slidesToShowState);
4082
3991
  const slides = Children.map(children, (child, index) => {
4083
- if (!React52.isValidElement(child)) return null;
3992
+ if (!React51.isValidElement(child)) return null;
4084
3993
  const childProps = child.props;
4085
3994
  const mergedClassName = `${childProps.className ?? ""} w-full`.trim();
4086
3995
  return /* @__PURE__ */ jsx67(
@@ -4106,7 +4015,7 @@ var Slider = ({
4106
4015
  return "bottom-4";
4107
4016
  }
4108
4017
  };
4109
- return /* @__PURE__ */ jsxs33(
4018
+ return /* @__PURE__ */ jsxs32(
4110
4019
  "div",
4111
4020
  {
4112
4021
  className: `relative w-full overflow-hidden ${className}`,
@@ -4124,7 +4033,7 @@ var Slider = ({
4124
4033
  children: slides
4125
4034
  }
4126
4035
  ),
4127
- show_arrows && /* @__PURE__ */ jsxs33(Fragment8, { children: [
4036
+ show_arrows && /* @__PURE__ */ jsxs32(Fragment9, { children: [
4128
4037
  /* @__PURE__ */ jsx67(
4129
4038
  ArrowButton,
4130
4039
  {
@@ -4135,7 +4044,7 @@ var Slider = ({
4135
4044
  children: /* @__PURE__ */ jsx67("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__ */ jsx67("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
4136
4045
  }
4137
4046
  ),
4138
- /* @__PURE__ */ jsxs33(
4047
+ /* @__PURE__ */ jsxs32(
4139
4048
  ArrowButton,
4140
4049
  {
4141
4050
  direction: "right",
@@ -4284,7 +4193,7 @@ var ProgressPill = ({
4284
4193
  }
4285
4194
  return null;
4286
4195
  };
4287
- return /* @__PURE__ */ jsxs33(
4196
+ return /* @__PURE__ */ jsxs32(
4288
4197
  "button",
4289
4198
  {
4290
4199
  className: `${baseClasses} ${getStyleClasses()}`,
@@ -4301,9 +4210,9 @@ var ProgressPill = ({
4301
4210
  var Slider_default = Slider;
4302
4211
 
4303
4212
  // src/components/NoDataFound.tsx
4304
- import { jsx as jsx68, jsxs as jsxs34 } from "react/jsx-runtime";
4213
+ import { jsx as jsx68, jsxs as jsxs33 } from "react/jsx-runtime";
4305
4214
  var NoDataFound = () => {
4306
- return /* @__PURE__ */ jsxs34("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
4215
+ return /* @__PURE__ */ jsxs33("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
4307
4216
  /* @__PURE__ */ jsx68("div", { className: "mb-5", children: /* @__PURE__ */ jsx68("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx68(
4308
4217
  "svg",
4309
4218
  {
@@ -4330,7 +4239,7 @@ var NoDataFound = () => {
4330
4239
  var NoDataFound_default = NoDataFound;
4331
4240
 
4332
4241
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
4333
- import { jsx as jsx69, jsxs as jsxs35 } from "react/jsx-runtime";
4242
+ import { jsx as jsx69, jsxs as jsxs34 } from "react/jsx-runtime";
4334
4243
  function toCamelCase(str) {
4335
4244
  return str.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
4336
4245
  }
@@ -4483,31 +4392,11 @@ var DivContainer = async (props) => {
4483
4392
  return fieldValue !== void 0 && fieldValue === false;
4484
4393
  };
4485
4394
  const isHidden = shouldHideContainer();
4486
- let odataString = void 0;
4487
- let endpoint = void 0;
4488
- let result = null;
4489
- let response = null;
4395
+ const nodeData = props.dataMap?.[props.node.__id];
4396
+ let result = nodeData?.result;
4397
+ let response = nodeData?.response;
4490
4398
  let childCollectionData = null;
4491
4399
  if (dataBindingProperties) {
4492
- endpoint = dataBindingProperties.dataSource;
4493
- endpoint = endpoint.replace(/\{(\w+)\}/g, (_, key) => {
4494
- return props.routeParameters?.[key] ?? `{${key}}`;
4495
- });
4496
- if (dataBindingProperties.applyODataParams) {
4497
- odataString = OdataBuilder.getOdataQueryString(props.query);
4498
- if (odataString) {
4499
- const separator = endpoint.includes("?") ? "&" : "?";
4500
- endpoint += separator + odataString;
4501
- }
4502
- }
4503
- if (props.fetchData) {
4504
- response = await props.fetchData(endpoint);
4505
- result = response?.result;
4506
- } else {
4507
- console.warn(
4508
- "DivContainer data binding needs `fetchData` prop but none was provided."
4509
- );
4510
- }
4511
4400
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || Array.isArray(result) && result.length == 0)) {
4512
4401
  return /* @__PURE__ */ jsx69(NoDataFound_default, {});
4513
4402
  }
@@ -4519,7 +4408,7 @@ var DivContainer = async (props) => {
4519
4408
  function renderNode(node, props2, dataitem, key, href) {
4520
4409
  const SelectedNode = NodeTypes2[node.type];
4521
4410
  if (!SelectedNode) return null;
4522
- return /* @__PURE__ */ jsx69(React53.Fragment, { children: /* @__PURE__ */ jsx69(
4411
+ return /* @__PURE__ */ jsx69(React52.Fragment, { children: /* @__PURE__ */ jsx69(
4523
4412
  SelectedNode,
4524
4413
  {
4525
4414
  node,
@@ -4530,11 +4419,11 @@ var DivContainer = async (props) => {
4530
4419
  host: props2.host,
4531
4420
  path: props2.path,
4532
4421
  apiBaseUrl: props2.apiBaseUrl,
4533
- serviceClient: props2.serviceClient,
4534
4422
  resolveAssetUrl: props2.resolveAssetUrl,
4535
4423
  breadcrumb: props2.breadcrumb,
4536
4424
  dataitem,
4537
- href
4425
+ href,
4426
+ dataMap: props2.dataMap
4538
4427
  }
4539
4428
  ) }, key);
4540
4429
  }
@@ -4616,9 +4505,9 @@ var DivContainer = async (props) => {
4616
4505
  props.node.autoFormat && "auto-format",
4617
4506
  props.node.bgClass
4618
4507
  ].filter(Boolean).join(" ");
4619
- return /* @__PURE__ */ jsxs35(React53.Fragment, { children: [
4508
+ return /* @__PURE__ */ jsxs34(React52.Fragment, { children: [
4620
4509
  /* @__PURE__ */ jsx69("style", { dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS } }),
4621
- /* @__PURE__ */ jsx69(EnterAnimationClient, { hasEnterAnimation: !!props.node.enterAnimation, children: /* @__PURE__ */ jsx69(React53.Fragment, { children: /* @__PURE__ */ jsx69(
4510
+ /* @__PURE__ */ jsx69(EnterAnimationClient, { hasEnterAnimation: !!props.node.enterAnimation, children: /* @__PURE__ */ jsx69(React52.Fragment, { children: /* @__PURE__ */ jsx69(
4622
4511
  Wrapper,
4623
4512
  {
4624
4513
  id: guid,
@@ -4627,7 +4516,7 @@ var DivContainer = async (props) => {
4627
4516
  ...wrapperProps,
4628
4517
  children: dataToRender.map(
4629
4518
  (item, idx) => item?.links?.view && renderLink ? renderChildren(props.node.children, props, item, idx, props.href ? void 0 : item?.links?.view)?.map(
4630
- (child, i) => /* @__PURE__ */ jsx69(React53.Fragment, { children: child }, i)
4519
+ (child, i) => /* @__PURE__ */ jsx69(React52.Fragment, { children: child }, i)
4631
4520
  ) : renderChildren(props.node.children, props, item, idx)
4632
4521
  )
4633
4522
  }
@@ -4666,11 +4555,11 @@ var PageBodyRenderer = (props) => {
4666
4555
  if (pageBodyTree && pageBodyTree.root) {
4667
4556
  rootNode = pageBodyTree.root;
4668
4557
  }
4669
- return /* @__PURE__ */ jsx70(React54.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
4558
+ return /* @__PURE__ */ jsx70(React53.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
4670
4559
  {
4671
4560
  }
4672
4561
  const SelectedNode = NodeTypes[node.type];
4673
- return /* @__PURE__ */ jsx70(React54.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx70(React54.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx70(React54.Fragment, { children: /* @__PURE__ */ jsx70(
4562
+ return /* @__PURE__ */ jsx70(React53.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx70(React53.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx70(React53.Fragment, { children: /* @__PURE__ */ jsx70(
4674
4563
  SelectedNode,
4675
4564
  {
4676
4565
  node,
@@ -4684,9 +4573,9 @@ var PageBodyRenderer = (props) => {
4684
4573
  widgetRegistry: props.widgetRegistry,
4685
4574
  serviceClient: props.serviceClient,
4686
4575
  resolveAssetUrl: props.resolveAssetUrl,
4687
- fetchData: props.fetchData
4576
+ dataMap: props.dataMap
4688
4577
  }
4689
- ) }) : /* @__PURE__ */ jsx70(React54.Fragment, { children: /* @__PURE__ */ jsx70(
4578
+ ) }) : /* @__PURE__ */ jsx70(React53.Fragment, { children: /* @__PURE__ */ jsx70(
4690
4579
  SelectedNode,
4691
4580
  {
4692
4581
  node,
@@ -4699,7 +4588,7 @@ var PageBodyRenderer = (props) => {
4699
4588
  widgetRegistry: props.widgetRegistry,
4700
4589
  serviceClient: props.serviceClient,
4701
4590
  resolveAssetUrl: props.resolveAssetUrl,
4702
- fetchData: props.fetchData
4591
+ dataMap: props.dataMap
4703
4592
  }
4704
4593
  ) }) }) }, index);
4705
4594
  }) });